ELECTRONICS - FilterS - guide series
Introduction to Electronics - Filters: Voltage division in AC using reactance
Explore how voltage divides across resistors, capacitors, and inductors in AC circuits, and how frequency-dependent reactance shapes signal behavior. Learn how impedance, phase, and frequency interact in RC and RL voltage dividers through analysis and visualisation.
Voltage division in AC circuits is an extension of the classic resistive voltage divider concept, incorporating the frequency-dependent behaviour of reactive components. In AC, capacitors and inductors offer reactance—denoted by
Reactance and Impedance
Reactance is the frequency-dependent opposition to current flow presented by capacitors and inductors. It is a component of impedance, which is the total opposition that a circuit element offers to alternating current (AC).
Impedance, denoted by
Here,
In a purely resistive circuit,
This relationship is important in voltage division for AC circuits, where voltage is divided not just by resistances, but by the magnitudes of impedances. For example, in an RC voltage divider, the output voltage depends on the relative magnitudes of
Understanding the role of reactance as a component of impedance helps explain how capacitors and inductors influence circuit behaviour at different frequencies, and why voltage division formulas in AC analysis use
Frequency dependence of reactance
The reactance of capacitors and inductors changes significantly depending on the frequency of the input signal.
Capacitive Reactance (XC )
The reactance of a capacitor is given by:
From this formula, notice the following:
- At very low frequencies (
f→0 ),XC becomes very large. This means a capacitor behaves like an open circuit to DC and low-frequency signals. - At very high frequencies (
f→∞ ),XC approaches zero. The capacitor behaves like a short circuit, allowing high-frequency signals to pass through easily.
Inductive Reactance (XL )
The reactance of an inductor is given by:
As with the capacitive reactance formula, notice the following points for the reactance of an inductor:
- At very low frequencies (
f→0 ),XL becomes very small. An inductor behaves like a short circuit to DC and low-frequency signals. - At very high frequencies (
f→∞ ),XL becomes very large. The inductor acts like an open circuit, blocking high-frequency signals.
These frequency-dependent behaviours are fundamental in the design of filters, where components are chosen to either pass or block specific ranges of frequencies. Understanding how
RC circuit reactance
Consider a simple AC voltage divider composed of a resistor and a capacitor in series. The output voltage is taken across the capacitor. The schematic is as follows:
We’ll examine the AC voltage divider of this circuit.
In this circuit, the resistor (R) has a constant impedance, while the capacitor (C) has an impedance given by
The voltage divider rule in AC circuits is similar to the resistive case, but it uses complex impedances. For the above circuit, the output voltage across the capacitor is given by:
Substituting the capacitor's impedance, we have:
This expression can be simplified to analyse both the magnitude and phase of the output voltage. The magnitude of the voltage division ratio is:
This formula shows that at low frequencies (small
A similar approach applies to RL circuits, where the inductor’s impedance is
RC circuit demo Python script
Below is a Python script that demonstrates voltage division in an RC circuit by plotting the reactance of a capacitor and a resistor over a range of frequencies. The script compares the reactance behaviour of the resistor, which depends on the frequency, against the resistor.
import numpy as np
import matplotlib.pyplot as plt
# Define component values
R = 100 # Resistance in Ohms
C = 1e-6 # Capacitance in Farads
# Frequency range: 10 Hz to 1 MHz (logarithmic spacing)
frequencies = np.logspace(1, 6, 500) # 10^1 to 10^6 Hz
# Calculate reactances
X_R = np.full_like(frequencies, R) # Constant for resistor
X_C = 1 / (2 * np.pi * frequencies * C) # Capacitive reactance
# Plotting
plt.figure(figsize=(10, 6))
plt.semilogx(frequencies,
X_R,
label='Resistor (100 $\\Omega$)',
linestyle='--')
plt.semilogx(frequencies,
X_C,
label='Capacitor (1 $\\mu$F)',
linewidth=2)
# Decorations
plt.title('Reactance vs Frequency for Resistor and Capacitor')
plt.xlabel('Frequency (Hz)')
plt.ylabel('Reactance ($\\Omega$)')
plt.grid(True, which='both', linestyle=':')
plt.legend()
plt.tight_layout()
plt.show()
Here’s the plot:
Plot of the reactance of a capacitor and resistor of a simple RC voltage divide
In this plot, you will see how reactance behaves differently for a resistor and a capacitor as the frequency of the signal increases. The flat dashed line shows the reactance of a resistor. It stays constant at 100 ohms no matter what the frequency is. This means that a resistor always offers the same amount of opposition to current. It doesn’t care if the signal is slow or fast—it resists the same way.
The curved line shows the reactance of a capacitor. At low frequencies, this line is high, which means the capacitor resists the current strongly. But as the frequency increases, the line drops, showing that the capacitor offers less opposition to the current. In other words, the faster the signal, the more easily it passes through the capacitor.
The key lesson here is that a resistor’s reactance doesn’t change with frequency, but a capacitor’s does. This helps explain why capacitors are used to filter out certain frequencies in electronic circuits.
RL circuit reactance
Let us now consider an AC voltage divider composed of a resistor and an inductor in series. This time, the output voltage is taken across the inductor. The schematic is as follows:
We will examine how this voltage divider behaves in the presence of inductive reactance.
In this circuit, the resistor (R) once again provides a constant impedance. The inductor (L), however, introduces a frequency-dependent impedance given by:
This impedance grows as the angular frequency (
We use the same voltage divider rule as before, this time applying it to the inductor. The output voltage across the inductor is:
Substituting the impedance of the inductor, we get:
From this, we can determine the magnitude of the voltage division ratio:
This equation tells us that at low frequencies (small
This frequency-dependent behaviour makes inductors useful in applications where we want to allow high-frequency signals to pass, while blocking lower frequencies—such as in certain types of filter circuits.
RL circuit demo Python script
Below is a Python script that plots the reactance of both the resistor and the inductor across a wide frequency range. This will help you visualise how the inductor's reactance changes with frequency, and how it compares to the resistor’s constant impedance.
import numpy as np
import matplotlib.pyplot as plt
# Define component values
R = 100 # Resistance in Ohms
L = 1e-3 # Inductance in Henrys (1 mH)
# Frequency range: 10 Hz to 1 MHz (logarithmic spacing)
frequencies = np.logspace(1, 6, 500) # 10^1 to 10^6 Hz
# Calculate reactances
X_R = np.full_like(frequencies, R) # Constant for resistor
X_L = 2 * np.pi * frequencies * L # Inductive reactance
# Plotting
plt.figure(figsize=(10, 6))
plt.semilogx(frequencies,
X_R,
label='Resistor (100 $\\Omega$)',
linestyle='--')
plt.semilogx(frequencies,
X_L,
label='Inductor (1 mH)',
linewidth=2)
# Decorations
plt.title('Reactance vs Frequency for Resistor and Inductor')
plt.xlabel('Frequency (Hz)')
plt.ylabel('Reactance ($\\Omega$)')
plt.grid(True, which='both', linestyle=':')
plt.legend()
plt.tight_layout()
plt.show()
Here’s the plot:
Plot of the reactance of a resistor and an inductor in a simple RL voltage divider
In the plot, the flat dashed line again represents the resistor’s constant impedance of 100 ohms, unaffected by frequency. The curved line represents the inductor’s reactance. At low frequencies, it is close to zero, meaning the inductor does not resist the current much. As the frequency increases, the inductor’s reactance rises sharply, showing that it opposes higher-frequency currents more strongly.
The key insight here is that while a resistor always resists current equally, an inductor resists changes in current depending on how fast those changes are. This makes inductors valuable tools for managing frequency-dependent behaviour in AC circuits.
Key takeaways
So, what should you remember?
- In AC circuits, the division of voltage across components depends on both resistance and reactance, the latter being frequency-dependent.
- Reactive components introduce a phase angle, so voltage division must consider both magnitude and phase.
- The output voltage across a reactive component in a series circuit is given by
Vout=Vin×ZreactiveR+Zreactive , whereZreactive varies with frequency.
Ready for the next tutorial in this series? Here's the next one, or choose an alternative from the list of articles in the side bar. There's also lots of interesting article in our Blog. where you can read about off-grid communication technologies, electronics test equipment, course updates, and much more.
INTRODUCTION TO ELECTRONICS FILTERS
This course and eBook introduces the core concepts of RC and RL filters, helping you understand, design, and analyse these essential circuits. You will learn how low-pass and high-pass filters shape signals, calculate key parameters like cutoff frequency and phase shift, and explore practical applications such as audio tone control, noise filtering, sensor signal conditioning, and switch debouncing.
Jump to another article
- Introduction to Filters
- Real-world applications of first- and second-order filters
- The four filters: low-pass, high-pass, band-pass, and band-stop
- Example: Compare a filtered and unfiltered signal
- Dive into first order RC and RL filters
- What is a first-order filter?
- RC low-pass filter behaviour
- RC high-pass filter behaviour
- RL low-pass filter behaviour
- RL high-pass filter behaviour
- Voltage division in AC using reactance
- Cutoff frequency
- Phase shift
- Step response of first-order filters
- Impulse response of first-order filters
- Just in case... definitions
Last Updated 12 hours ago.
We publish fresh content each week. Read how-to's on Arduino, ESP32, KiCad, Node-RED, drones and more. Listen to interviews. Learn about new tech with our comprehensive reviews. Get discount offers for our courses and books. Interact with our community. One email per week, no spam; unsubscribe at any time