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 XC for capacitors and XL for inductors—that affects how the input voltage is distributed across circuit elements. Unlike purely resistive circuits, the voltage division in AC depends on the magnitude and phase of each component’s impedance, making it essential to consider both the amplitude and phase angle when analysing signal behaviour.

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 Z, is a complex quantity that combines resistance (R) and reactance (X) in the following way:

Z=R+jX

Here, j is the imaginary unit (1). The reactance X can be positive (for inductive reactance, XL) or negative (for capacitive reactance, XC).

In a purely resistive circuit, X=0, so the impedance is real. In a circuit with reactive components, the impedance is complex, and both the magnitude and phase of the voltage and current are affected. The magnitude of the impedance is given by:

|Z|=R2+X2

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 R and XC, both of which determine how the input voltage is split.

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 Z instead of just R.

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:

XC=12πfC

From this formula, notice the following:

  • At very low frequencies (f0), 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:

XL=2πfL

As with the capacitive reactance formula, notice the following points for the reactance of an inductor:

  • At very low frequencies (f0), 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 XC and XL change with frequency is essential to predicting and controlling circuit behaviour in the frequency domain.

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.

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 ZC=1jωC, where Ω is the angular frequency. The voltage division across the capacitor changes with frequency due to its reactive nature. As you can probably imagine, when the angular frequency becomes very large, the impedance of the capacitor becomes very small, until eventually, for practical purposes, it becomes very close to zero.

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:

Vout=Vin×ZCR+ZC

Substituting the capacitor's impedance, we have:

Vout=Vin×1jωCR+1jωC

This expression can be simplified to analyse both the magnitude and phase of the output voltage. The magnitude of the voltage division ratio is:

|VoutVin|=11+(ωRC)2

This formula shows that at low frequencies (small Ω), the capacitor’s impedance is high, and most of the input voltage appears across it. As the frequency increases, the capacitor’s impedance decreases, reducing the output voltage magnitude.

A similar approach applies to RL circuits, where the inductor’s impedance is ZL=jωL, leading to a voltage division ratio when the output is taken across the resistor or the inductor.

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

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.

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:

ZL=jωL

This impedance grows as the angular frequency (ω) increases. In other words, inductors resist changes in current more strongly at higher frequencies. When the frequency is very low (close to zero), the inductor behaves almost like a short circuit, offering minimal opposition to current. But at very high frequencies, the inductive reactance becomes large, impeding the current flow significantly.

We use the same voltage divider rule as before, this time applying it to the inductor. The output voltage across the inductor is:

Vout=Vin×ZLR+ZL

Substituting the impedance of the inductor, we get:

Vout=Vin×jωLR+jωL

From this, we can determine the magnitude of the voltage division ratio:

|VoutVin|=ωLR2+(ωL)2

This equation tells us that at low frequencies (small ω), the inductor’s impedance is small, so the voltage drop across it is also small. But as the frequency increases, the inductive impedance increases, and the output voltage rises accordingly.

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

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, where Zreactive 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.

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

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}