When both a capacitor and an inductor are placed in series in a circuit, their contributions to the total circuit impedance are opposite. Capacitive reactance X C and inductive reactance X L contribute to the total reactance X as follows: