I understand that a capacitor has a -90 degrees phase shift of the voltage compared to current. But how does this translate to a phase shift of the output voltage to the source voltage in an RC low pass filter? Without the resistor there the voltage across the capacitor is in phase to the source, only the current leads the voltage. Also looking for recommendations for good sources on complex impedance, phase shift, etc.