A750 of 56
0 XP
  1. Hook
  2. Predict
  3. Name it
  4. Check
  5. Explain

A7 · Lesson 50 · Complex matrices for AC

The same matrix equation, with phasors

With capacitors and inductors in the circuit and a sinusoidal source, every voltage and current is a phasor and every component has a complex impedance (A3). Nodal analysis doesn't change at all: you still build a matrix from what joins what, and solve one linear system. The only difference is that the numbers are complex, which Python handles without a second thought.

Predict

In an AC circuit's nodal matrix, what replaces the conductance 1/R of a capacitor joining two nodes?

Name it

Y𝐕=𝐈

At a single frequency ω, each element's admittance (one over its impedance) is:

ElementImpedance ZAdmittance Y=1/Z
resistorR1/R
capacitor1jωCjωC
inductorjωL1jωL

Build Y exactly as you built G: each diagonal entry sums the admittances touching that node, each off-diagonal entry is minus the admittance joining two nodes. Sources become phasors. Then solve Y𝐕=𝐈; each answer is a phasor whose magnitude is an amplitude and whose angle is a phase.

Everything else carries over. Elimination works the same with complex arithmetic. A complex matrix is singular when its determinant is zero, which can happen at particular frequencies: that's resonance in an ideal LC circuit, where the admittances of the inductor and capacitor cancel. And to find a filter's response, you solve the system at many frequencies, one matrix per frequency, which is exactly what an AC sweep in a circuit simulator does.

For the RC low-pass filter, with one node:

(1R+jωC)Vout=VinR⇒VoutVin=11+jωRC

the transfer function from A3, now as a one-row admittance matrix.

Worked example

What admittance does a 1 µF capacitor have at 1 kHz?

Show the solution
  1. Admittance. Y=jωC=j×2π×1000×10−6=j0.00628S
  2. In the nodal matrix. It enters the nodal matrix exactly like a conductance, as an imaginary one.

Answer Y=j0.00628 S.

Worked example

A 1 V source feeds a node through 1 kΩ, with 1 µF from the node to ground, at ω = 1000 rad/s. Find the node voltage.

Show the solution
  1. KCL. (11000+j0.001)V=11000
  2. Solve. V=11+j=0.5−0.5j
  3. Magnitude and angle. That's 0.707 V at −45°: this ω is the RC low-pass's corner frequency.

Answer V=0.5−0.5j V, which is 0.707 V at −45°.

Worked example

Two nodes are joined by 1 S, and each has an admittance of j S to ground. A 1 A phasor current is injected at node 1. Find both node voltages.

Show the solution
  1. Admittance matrix. Y=[1+j−1−11+j]
  2. Determinant. det⁡Y=(1+j)2−1=−1+2j
  3. Cramer's rule. V1=1+j−1+2j=0.2−0.6jVV2=1−1+2j=−0.2−0.4jV Their magnitudes are 0.632 V and 0.447 V.
  4. Symmetry. Y is symmetric, as a circuit of passive parts always is, but not Hermitian: its imaginary parts don't change sign across the diagonal.

Answer V1=0.2−0.6j V (0.632 V) and V2=−0.2−0.4j V (0.447 V).

Check

What is the size of the admittance of a 47 nF capacitor at 100 Hz?

Write units the way you normally would: 1.5 S, 1500 mS and 0.0015 kS are the same answer.

Check

A two-node RC ladder: Vin = 1 V feeds node 1 through R, a capacitor C goes from node 1 to ground, another R joins node 1 to node 2, and another C goes from node 2 to ground. Build the complex admittance matrix Y at 10000 Hz, solve for V (two phasors), and set gain to |V2| and phase to the angle of V2 in degrees.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

An ideal inductor and capacitor in parallel make the admittance matrix singular at one frequency. Which?

Check

An impedance is Z=2+j1 Ω.

(a)

What is the real part of Y=1/Z, in siemens?

Write units the way you normally would: 1.5 S, 1500 mS and 0.0015 kS are the same answer.

(b)

What is its imaginary part?

Check

An RC low-pass has R = 1 Ω and C = 1 F, driven at ω=w.

Step 1

What is |ZC|?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Check

A 1 V source feeds a node through 100 Ω, and an inductor of 10 mH goes from the node to ground. At ω = 5000 rad/s, what is the size of the node voltage, in volts?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

Explain why

Why can AC nodal analysis use exactly the same method as DC, just with complex numbers?

Practice

Keep practicing

6 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.