In phasor or vector diagram, a capacitor that is parallel to the supply can improve power factor. I know this is practically true but I don't understand the mathematical equation: The total impedance (Z) of the following circuit has imaginary part i=root(-1). That means it has a reactants and it will consume reactive power. If XL = Xc , the reacance should be infinity or has a very large value so it will consume large reactive power. I feel like algebra does not support phasor diagram... Would you tell me what I'm missing? Thank you, [![enter image description here][1]][1] [1]: https://i.sstatic.net/sloGz.jpg