Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Life With and Without Phasors: Example Circuit Analysis

One of the main reasons for many people being confused about phasors is that phasors are abstract, but they don’t understand why the abstraction exists. In other words, they may know what phasors represent, but they don’t know what they replace—they don’t know of any alternative approach for analyzing AC circuits that can be used to put phasors in perspective. This is understandable as many electrical engineering textbooks poorly explain why we use phasors.

With the aid of an example AC circuit (Figure 1), this chapter goes over what’s hidden behind the phasor abstraction. By first trying to solve the circuit without phasors, we will better understand how AC circuit analysis works at its core. And by then solving the circuit with phasors, we will see that it is not only a more concise notation, but also a simpler mathematical representation and a faster method for analyzing AC circuits.

Example circuit with multiple AC sources and a bridge-type topology that does not allow us to consolidate impedances using formulae for impedances in series or in parallel.

Figure 1:Example circuit with multiple AC sources and a bridge-type topology that does not allow us to consolidate impedances using formulae for impedances in series or in parallel.

Say that we want to solve for voltages va(t)v_a(t) and vb(t)v_b(t). Doing so would allow us to solve for the voltage across—and therefore the current through—any one component. Just as for a purely resistive DC network, Kirchhoff’s Current Law (KCL) applies and we can do nodal analysis to determine the voltages at nodes aa and bb. In particular we must use the supernode technique with a single node abab because the current through voltage source vs2v_{s2} cannot be put in terms of va(t)v_a(t) or vb(t)v_b(t). This loses us an equation, but we gain one in its place with the following relationship:

vs2(t)=va(t)−vb(t)v_{s2}(t) = v_a(t) - v_b(t)

Let’s try solving the circuit using node voltage analysis, with and without phasors.

Solving the Circuit Without Phasors

Using KCL, the sum of currents flowing out of supernode abab must sum to zero. We can therefore write:

−iL(t)+iR2(t)−iR1(t)+iC(t)=0-i_\mathrm{L}(t) + i_\mathrm{R2}(t) - i_\mathrm{R1}(t) + i_\mathrm{C}(t) = 0

Substituting in the components’ characteristic equations gives us:

−1L∫0tvL(τ) dτ+vR2(t)R2−vR1(t)R1+CdvC(t)dt=0-\frac{1}{L} \int_0^t v_\mathrm{L}(\tau) \, \mathrm{d}\tau + \frac{v_\mathrm{R2}(t)}{R_2} - \frac{v_\mathrm{R1}(t)}{R_1} + C \frac{\mathrm{d} v_\mathrm{C}(t)}{\mathrm{d}t} = 0

Putting everything in terms of the node voltages yields:

−1L∫0t(vs1(τ)−va(τ)) dτ+va(t)R2−vs1(t)−vb(t)R1+Cdvb(t)dt=0-\frac{1}{L} \int_0^t (v_{s1}(\tau) - v_a(\tau)) \, \mathrm{d}\tau + \frac{v_a(t)}{R_2} - \frac{v_{s1}(t) - v_b(t)}{R_1} + C \frac{\mathrm{d} v_b(t)}{\mathrm{d}t} = 0

Paired with Equation (1), this represents a system of two integro-differential equations. By differentiating, we put this in the more familiar form of a system of differential equations (in which the highest-order derivative is two):

 ⁣−1L(vs1(t)−va(t))+1R2dva(t)dt−1R1ddt(vs1(t)−vb(t))+Cd2vb(t)dt2=0vs2(t)=va(t)−vb(t)\begin{aligned} & \! -\frac{1}{L} (v_{s1}(t) - v_a(t)) + \frac{1}{R_2} \frac{\mathrm{d} v_a(t)}{\mathrm{d}t} - \frac{1}{R_1} \frac{\mathrm{d}}{\mathrm{d}t} (v_{s1}(t) - v_b(t)) + C \frac{\mathrm{d}^2 v_b(t)}{{\mathrm{d}t}^2} = 0 \\ & v_{s2}(t) = v_a(t) - v_b(t) \end{aligned}

We put this into a canonical form of a system of first-order differential equations by introducing an auxiliary variable vb′(t)v_b'(t) and by using Equation (1) to replace the need for variable va(t)v_a(t) with vb′(t)v_b'(t):

dvb(t)dt=vb′(t)dvb′(t)dt=1C[vs1(t)−(vs2(t)+vb(t))L−vs2′(t)+vb′(t)R2+vs1′(t)−vb′(t)R1]\begin{aligned} & \frac{\mathrm{d} v_b(t)}{\mathrm{d}t} = v_b'(t) \\ & \frac{\mathrm{d} v_b'(t)}{\mathrm{d}t} = \frac{1}{C} \left[ \frac{v_{s1}(t) - (v_{s2}(t) + v_b(t))}{L} - \frac{v_{s2}'(t) + v_b'(t)}{R_2} + \frac{v_{s1}'(t) - v_b'(t)}{R_1} \right] \end{aligned}

We specify that vsi(t)=Vsisin⁡ωtv_{si}(t) = V_{si} \sin \omega t (and vsi′(t)=ωVsicos⁡ωtv_{si}'(t) = \omega V_{si} \cos \omega t):

dvb(t)dt=vb′(t)dvb′(t)dt=1C[ (∣Vs1∣−∣Vs2∣)sin⁡ωt−vb(t)L−ω∣Vs2∣cos⁡ωt+vb′(t)R2+ω∣Vs1∣cos⁡ωt−vb′(t)R1 ]\begin{aligned} & \frac{\mathrm{d} v_b(t)}{\mathrm{d}t} = v_b'(t) \\ & \frac{\mathrm{d} v_b'(t)}{\mathrm{d}t} = \frac{1}{C} \left[ \, \begin{aligned} & \frac{(|V_{s1}| - |V_{s2}|) \sin \omega t - v_b(t)}{L} \\ & - \frac{\omega |V_{s2}| \cos \omega t + v_b'(t)}{R_2} \\ & + \frac{\omega |V_{s1}| \cos \omega t - v_b'(t)}{R_1} \end{aligned} \, \right] \end{aligned}

Our system is now in terms of two unknowns—vb(t)v_b(t) and vb′(t)v_b'(t)—two functions to solve for. We start to solve our system of differential equations by assuming a solution of the form:

vb(t)=Vbcos⁡(ωt+θb)vb′(t)=−ωVbsin⁡(ωt+θb)\begin{aligned} v_b(t) & = V_b \cos(\omega t + \theta_b) \\ v_b'(t) & = -\omega V_b \sin(\omega t + \theta_b) \end{aligned}

By substituting into our system of differential equations, we convert it to a regular system of equations—or, in this case, just one equation:

−ω2Vbcos⁡(ωt+θb)=1C[ (∣Vs1∣−∣Vs2∣)sin⁡ωt−Vbcos⁡(ωt+θb)L+ω[(∣Vs1∣R1−∣Vs2∣R2)cos⁡ωt+(1R1+1R2)Vbsin⁡(ωt+θb)] ]\begin{aligned} & -\omega^2 V_b \cos(\omega t + \theta_b) \\ & = \frac{1}{C} \left[ \, \begin{aligned} & \frac{(|V_{s1}| - |V_{s2}|) \sin \omega t - V_b \cos(\omega t + \theta_b)}{L} \\ & + \omega \left[ \left( \frac{|V_{s1}|}{R_1} - \frac{|V_{s2}|}{R_2} \right) \cos \omega t + \left ( \frac{1}{R_1} + \frac{1}{R_2} \right) V_b \sin(\omega t + \theta_b) \right] \end{aligned} \, \right] \end{aligned}

This equation is in terms of two unknowns—VbV_b and θb\theta_b. While having only one equation may appear to be insufficient to solve for two unknowns, the equation is parameterized by tt and must be satisfied for all values of tt. So, in this sense, we actually have an infinite number of equations at our disposal. We can pick two ‘easy’ values of tt that result in two relatively simple equations:

t=0t = 0:

−ω2CVbcos⁡θb=−Vbcos⁡θbL+ω[(∣Vs1∣R1−∣Vs2∣R2)+(1R1+1R2)Vbsin⁡θb]-\omega^2 C V_b \cos \theta_b = \frac{- V_b \cos \theta_b}{L} + \omega \left[ \left( \frac{|V_{s1}|}{R_1} - \frac{|V_{s2}|}{R_2} \right) + \left ( \frac{1}{R_1} + \frac{1}{R_2} \right) V_b \sin \theta_b \right]

t=−θb/ωt = -\theta_b / \omega:

−ω2CVb=−(∣Vs1∣−∣Vs2∣)sin⁡θb−VbL+ω(∣Vs1∣R1−∣Vs2∣R2)cos⁡θb-\omega^2 C V_b = \frac{- (|V_{s1}| - |V_{s2}|) \sin \theta_b - V_b}{L} + \omega \left( \frac{|V_{s1}|}{R_1} - \frac{|V_{s2}|}{R_2} \right) \cos \theta_b

This nonlinear system is inconvenient to solve. We can plot these two equations as shown in Figure 2 and solve the system numerically. However, numerical methods are less efficient than being able to directly calculate the solution. We should be able to solve AC circuits very quickly.

Solving the system of equations  and  graphically.

Figure 2:Solving the system of equations (11) and (12) graphically.

Furthermore, as we have seen, the process to derive the system of equations is long and notation-heavy despite being consistent between different AC circuits.

Before we see how the circuit can be solved with phasors, let’s see how we can solve its system of integro-differential equations with the aid of the Laplace transform.

Solving the Circuit with the Laplace Transform

The Laplace transform L\mathcal{L} converts a function f(t)f(t) (in the time domain) into a function F(s)F(s) (in the complex frequency domain) through the following integration:

F(s)=L{f}(s)=∫0∞f(t) e−st dtF(s) = \mathcal{L} \{ f \}(s) = \int_0^\infty f(t) \, \mathrm{e}^{-s t} \, \mathrm{d} t

The Laplace transform is closely related to the Fourier transform. Both transforms convert to the frequency domain. However, the Laplace transform converts to a frequency domain whose variable ss is a complex number, which can simplify calculations. This domain is known as the ss-domain or Laplace domain.

The Laplace transform has a number of favorable properties. One such property is that differentiating with respect to tt in the time domain becomes multiplication by ss in the Laplace domain. Similarly, integrating with respect to tt in the time domain becomes division by ss in the Laplace domain. Because of this, the Laplace transform is often used to convert a system of differential equations into a regular system of equations which can be solved more easily.

Furthermore, many useful functions in the time domain become simple, rational functions in the Laplace domain, for example those in Table 1.

Table 1:Selected Laplace transforms.

FunctionLaplace transform
Sine waveL{sin⁡(ωt) u(t)}=ωs2+ω2\mathcal{L} \{ \sin(\omega t) \, u(t) \} = \frac{\omega}{s^2 + \omega^2}
Phase-shifted cosine waveL{cos⁡(ωt+θ) u(t)}=scos⁡θ−ωsin⁡θs2+ω2\mathcal{L} \{ \cos(\omega t + \theta) \, u(t) \} = \frac{s \cos \theta - \omega \sin \theta}{s^2 + \omega^2}
Exponential decayL{e−αt u(t)}=1s+α\mathcal{L} \{ \mathrm{e}^{-\alpha t} \, u(t) \} = \frac{1}{s + \alpha}
Exponentially decaying cosine waveL{e−αtcos⁡(ωt) u(t)}=s+α(s+α)2+ω2\mathcal{L} \{ \mathrm{e}^{-\alpha t} \cos(\omega t) \, u(t) \} = \frac{s + \alpha}{(s + \alpha)^2 + \omega^2}

Listings of the Laplace transforms of common functions, such as those above, are called Laplace tables.

u(t)u(t) is the Heaviside step function, which is 1 for t≥0t \geq 0 and 0 otherwise. The time-domain functions are multiplied by u(t)u(t)—that is, only nonzero for t≥0t \geq 0, for the same reason that the lower bound of integration in Equation (13) is 0. The Laplace transform only looks at t≥0t \geq 0, and is thus useful for solving differential equations involving functions that are only nonzero for t≥0t \geq 0. This aspect allows us to answer questions about a system—particularly an electric circuit—that is modeled by differential equations, such as: “what happens when the system is turned on?”, “what happens when the value of this component suddenly changes?”, and “what happens when the circuit’s topology changes in this way?” To consider functions that are nonzero for t<0t < 0, and thus model no sudden change at t=0t = 0, the two-sided or bilateral Laplace transform can be used.

We want to solve the system of two integro-differential equations (1) and (5) that we derived in the previous section. That system was in terms of va(t)v_a(t) and vb(t)v_b(t), in the time domain. First, we will apply the Laplace transform to convert it to a regular system of equations in terms of Va(s)V_a(s) and Vb(s)V_b(s), in the Laplace domain. Then, we will be able to solve for Va(s)V_a(s) and Vb(s)V_b(s) very easily. Finally, we will convert our solution back to the time domain using the inverse Laplace transform.

Applying the Laplace transform to equations (1) and (5) gives us:

 ⁣− ⁣∣Vs1∣(s)−Va(s)Ls+Va(s)R2−∣Vs1∣(s)−Vb(s)R1+CsVb(s)=0∣Vs2∣(s)=Va(s)−Vb(s)\begin{aligned} & \! - \! \frac{|V_{s1}|(s) - V_a(s)}{L s} + \frac{V_a(s)}{R_2} - \frac{|V_{s1}|(s) - V_b(s)}{R_1} + C s V_b(s) = 0 \\ & |V_{s2}|(s) = V_a(s) - V_b(s) \end{aligned}

Here, ∣Vs1∣(s)|V_{s1}|(s) and ∣Vs2∣(s)|V_{s2}|(s) are the Laplace transforms of vs1(t)v_{s1}(t) and vs2(t)v_{s2}(t)—not to be confused with the amplitudes ∣Vs1∣|V_{s1}| and ∣Vs2∣|V_{s2}| of vs1(t)v_{s1}(t) and vs2(t)v_{s2}(t).

Solving for Va(s)V_a(s) in the second equation and substituting it into the first equation yields:

− ⁣∣Vs1∣(s)−(∣Vs2∣(s)+Vb(s))Ls+∣Vs2∣(s)+Vb(s)R2−∣Vs1∣(s)−Vb(s)R1+CsVb(s)=0\begin{aligned} & - \! \frac{|V_{s1}|(s) - (|V_{s2}|(s) + V_b(s))}{L s} + \frac{|V_{s2}|(s) + V_b(s)}{R_2} \\ & \quad - \frac{|V_{s1}|(s) - V_b(s)}{R_1} + C s V_b(s) = 0 \end{aligned}

Solving for Vb(s)V_b(s) gives us:

Vb=R2(R1+Ls)∣Vs1∣(s)−R1(R2+Ls)∣Vs2∣(s)R1R2+(R1+R2)Ls+R1R2LCs2V_b = \frac{R_2 (R_1 + L s) |V_{s1}|(s) - R_1 (R_2 + L s) |V_{s2}|(s)}{R_1 R_2 + (R_1 + R_2) L s + R_1 R_2 L C s^2}

Substituting in Vsi(s)=L{Vsisin⁡(ωt) u(t)}=Vsi ω/(s2+ω2)V_{si}(s) = \mathcal{L} \{ V_{si} \sin(\omega t) \, u(t) \} = V_{si} \, \omega / (s^2 + \omega^2) yields the following. Note that, because the voltage sources are multiplied by u(t)u(t), we are essentially answering the question of how the circuit responds when turned on at t=0t = 0.

Vb=R2(R1+Ls)∣Vs1∣ω−R1(R2+Ls)∣Vs2∣ω(s2+ω2)(R1R2+(R1+R2)Ls+R1R2LCs2)V_b = \frac{R_2 (R_1 + L s) |V_{s1}| \omega - R_1 (R_2 + L s) |V_{s2}| \omega}{(s^2 + \omega^2) (R_1 R_2 + (R_1 + R_2) L s + R_1 R_2 L C s^2)}

At this point, the algebra will be significantly easier if we substitute in known values for our parameters. Let’s introduce numerical values (2), after which we will omit units for brevity. However, Vb(s)V_b(s) is still in units of volts and ss is still, like ω\omega, in units of radians per second.

Vb(s)=(5 Ω)(4 Ω+(6 H)s)(1 V)(3 rad/s)−(4 Ω)(5 Ω−(6 H)s)(2 V)(3 rad/s)(3 rad/s)(−(4 Ω)(5 Ω)+(4 Ω−5 Ω)(6 H)s+(4 Ω)(5 Ω)(6 H)(7 F)s2)=−54s−60(s2+9)(840s2+54s+20)\begin{aligned} & V_b(s) \\ & = \frac{(5 \, \Omega) (4 \, \Omega + (6 \, \mathrm{H}) s) (1 \, \mathrm{V}) (3 \, \mathrm{rad} / \mathrm{s}) - (4 \, \Omega) (5 \, \Omega - (6 \, \mathrm{H}) s) (2 \, \mathrm{V}) (3 \, \mathrm{rad} / \mathrm{s})}{(3 \, \mathrm{rad} / \mathrm{s}) (- (4 \, \Omega) (5 \, \Omega) + (4 \, \Omega - 5 \, \Omega) (6 \, \mathrm{H}) s + (4 \, \Omega) (5 \, \Omega) (6 \, \mathrm{H}) (7 \, \mathrm{F}) s^2)} \\ & = \frac{-54 s - 60}{(s^2 + 9) (840 s^2 + 54 s + 20)} \end{aligned}

We need to convert this solution for Vb(s)V_b(s) back to the time domain. Converting a function from the Laplace domain to the time domain can be done by looking it up in a Laplace table. However, Vb(s)V_b(s) is too complicated in its current form to find a matching function in a Laplace table—in particular, because the order of the polynomial in the denominator is four. This is higher than the highest-order denominator of two that can be found in typical Laplace tables. We can handle this by rewriting our solution as a linear combination of simpler functions that we will be able to find in the Laplace table. To determine such simpler functions, we factor the denominator then apply partial fraction decomposition. The denominator needs to be split into factors whose order is at most two. This is already the case. Next, we assume the following modified format of our VbV_b solution and find the values A1A_1 through A4A_4 that make it true:

Vb(s)=A1s+A2s2+9+A3s+A4840s2+54s+20  ⟹  −54s−60(s2+9)(840s2+54s+20)=A1s+A2s2+9+A3s+A4840s2+54s+20  ⟹  −54s−60=(A1s+A2)(840s2+54s+20)+(A3s+A4)(s2+9)    ⟹   (−840A1−A3)s3+(−54A1−840A2−A4)s2+(−20A1−54A2−9A3−54)s+(−20A2−9A4−60)=0  ⟹  {−840A1−A3=0−54A1−840A2−A4=0−20A1−54A2−9A3−54=0−20A2−9A4−60=0  ⟹  {A1=102600/14219461A2=106539/14219461A3=−86184000/14219461A4=−95033160/14219461\begin{aligned} & V_b(s) = \frac{A_1 s + A_2}{s^2 + 9} + \frac{A_3 s + A_4}{840 s^2 + 54 s + 20} \\ & \implies \frac{-54 s - 60}{(s^2 + 9) (840 s^2 + 54 s + 20)} = \frac{A_1 s + A_2}{s^2 + 9} + \frac{A_3 s + A_4}{840 s^2 + 54 s + 20} \\ & \implies -54 s - 60 = (A_1 s + A_2) (840 s^2 + 54 s + 20) + (A_3 s + A_4) (s^2 + 9) \\ & \begin{aligned} \; \implies \, & (-840 A_1 - A_3) s^3 \\ & + (-54 A_1 - 840 A_2 - A_4) s^2 \\ & + (-20 A_1 - 54 A_2 - 9 A_3 - 54) s \\ & + (-20 A_2 - 9 A_4 - 60) \\ & = 0 \end{aligned} \\ & \implies \left\{ \begin{aligned} -840 A_1 - A_3 & = 0 \\ -54 A_1 - 840 A_2 - A_4 & = 0 \\ -20 A_1 - 54 A_2 - 9 A_3 - 54 & = 0 \\ -20 A_2 - 9 A_4 - 60 & = 0 \end{aligned} \right. \\ & \implies \left\{ \begin{aligned} & A_1 = & 102600 / 14219461 & \\ & A_2 = & 106539 / 14219461 & \\ & A_3 = & -86184000 / 14219461 & \\ & A_4 = & -95033160 / 14219461 & \end{aligned} \right. \end{aligned}

Substituting A1A_1 through A4A_4 gives us:

Vb(s)=10260014219461s+10653914219461s2+9⏟First term+−8618400014219461s−9503316014219461840s2+54s+20⏟Second termV_b(s) = \underbrace{\frac{\frac{102600}{14219461} s + \frac{106539}{14219461}}{s^2 + 9}}_\text{First term} + \underbrace{\frac{-\frac{86184000}{14219461} s - \frac{95033160}{14219461}}{840 s^2 + 54 s + 20}}_\text{Second term}

Inverse Laplace transform of the first term. The first term matches the following Laplace table function:

L{cos⁡(ωt+θ) u(t)}=scos⁡θ+ωsin⁡θs+ω2\mathcal{L} \{ \cos(\omega t + \theta) \, u(t) \} = \frac{s \cos \theta + \omega \sin \theta}{s + \omega^2}

Therefore:

First term=10260014219461s+10653914219461s2+9=B1scos⁡θ1−ω1sin⁡θ1s+ω12\text{First term} = \frac{\frac{102600}{14219461} s + \frac{106539}{14219461}}{s^2 + 9} = B_1 \frac{s \cos \theta_1 - \omega_1 \sin \theta_1}{s + \omega_1^2}

The ω1\omega_1 here is (not coincidentally) the same as our natural frequency ω=3 rad/s\omega = 3 \ \mathrm{rad} / \mathrm{s}. Now, we need to solve for θ1\theta_1 and B1B_1, which we can do by setting up the following system of equations:

B1cos⁡θ1=102600/14219461−3B1sin⁡θ1=106539/14219461\begin{aligned} B_1 \cos \theta_1 & = 102600 / 14219461 \\ -3 B_1 \sin \theta_1 & = 106539 / 14219461 \end{aligned}

We can solve for θ1\theta_1 by dividing the second equation by the first:

106539/14219461102600/14219461=−3tan⁡θ1  ⟹  θ1=arctan⁡ ⁣(−35513102600)=−19.092∘\begin{aligned} & \frac{106539 / 14219461}{102600 / 14219461} = -3 \tan \theta_1 \\ & \implies \theta_1 = \arctan \! \left( -\frac{35513}{102600} \right) = -19.092^\circ \end{aligned}

And we can solve for B1B_1 by dividing the second equation by -3 and adding its square to the square of the first:

(10260014219461)2+(106539−3⋅14219461)2=B12cos⁡2θ1+B12sin⁡2θ1=B12  ⟹  B1=(10260014219461)2+(3551314219461)2=0.007635\begin{aligned} & \left( \frac{102600}{14219461} \right)^2 + \left( \frac{106539}{-3 \cdot 14219461} \right)^2 = B_1^2 \cos^2 \theta_1 + B_1^2 \sin^2 \theta_1 = B_1^2 \\ & \implies B_1 = \sqrt{\left( \frac{102600}{14219461} \right)^2 + \left( \frac{35513}{14219461} \right)^2} = 0.007635 \end{aligned}

Therefore, the inverse Laplace transform of the first term is:

L−1{10260014219461s+10653914219461s2+9}=0.007635cos⁡(3t−19.092∘) u(t)\mathcal{L}^{-1}\left\{ \frac{\frac{102600}{14219461} s + \frac{106539}{14219461}}{s^2 + 9}\right \} = 0.007635 \cos(3 t - 19.092^\circ) \, u(t)

Inverse Laplace transform of the second term. The second term matches the following function from (27):

L{e−αtcos⁡(ωt+θ) u(t)}=(s+α)cos⁡θ−ωsin⁡θ(s+α)2+ω2\mathcal{L} \{ \mathrm{e}^{-\alpha t} \cos(\omega t + \theta) \, u(t) \} = \frac{(s + \alpha) \cos \theta - \omega \sin \theta}{(s + \alpha)^2 + \omega^2}

Therefore:

Second term=−8618400014219461s−B29503316014219461840s2+54s+20=(s+α2)cos⁡θ2−ω2sin⁡θ2(s+α2)2+ω22  ⟹  −10260014219461s−79194399536227s2+9140s+142=B2scos⁡θ2+(α2cos⁡θ2−ω2sin⁡θ2)s2+2α2s+(α22+ω22)\begin{aligned} & \text{Second term} = \frac{-\frac{86184000}{14219461} s - B_2 \frac{95033160}{14219461}}{840 s^2 + 54 s + 20} = \frac{(s + \alpha_2) \cos \theta_2 - \omega_2 \sin \theta_2}{(s + \alpha_2)^2 + \omega_2^2} \\ & \implies \frac{-\frac{102600}{14219461} s - \frac{791943}{99536227}}{s^2 + \frac{9}{140} s + \frac{1}{42}} = B_2 \frac{s \cos \theta_2 + (\alpha_2 \cos \theta_2 - \omega_2 \sin \theta_2)}{s^2 + 2 \alpha_2 s + (\alpha_2^2 + \omega_2^2)} \end{aligned}

We need to solve for α2\alpha_2, ω2\omega_2, θ2\theta_2, and B2B_2:

9/140=2α2  ⟹  α2=9/280=0.03214α22+ω22=142  ⟹  ω2=142−(9280)2=0.15092 rad/s\begin{aligned} & 9 / 140 = 2 \alpha_2 \implies \alpha_2 = 9 / 280 = 0.03214 \\ & \alpha_2^2 + \omega_2^2 = \frac{1}{42} \implies \omega_2 = \sqrt{\frac{1}{42} - \left( \frac{9}{280} \right)^2} = 0.15092 \ \mathrm{rad} / \mathrm{s} \end{aligned}

We can solve for θ2\theta_2 and B2B_2 by setting up and solving the following system of equations:

{−102600/14219461=B2cos⁡θ2−791943/99536227=B2(0.03214cos⁡θ2−0.15092sin⁡θ2) }  ⟹  { ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣θ2=−81.9756∘B2=−0.05169}\begin{aligned} & \left\{ \begin{aligned} & -102600 / 14219461 = B_2 \cos \theta_2 \\ & -791943 / 99536227 = B_2 \left( 0.03214 \cos \theta_2 - 0.15092 \sin \theta_2 \right) \end{aligned} \, \right\} \\ & \implies \left\{ \!\!\!\!\!\!\!\!\!\!\!\! \begin{aligned} \theta_2 & = -81.9756^\circ \\ \qquad B_2 & = -0.05169 \end{aligned} \right\} \end{aligned}
B2=−10260014219461cos⁡θ2B_2 = -\frac{102600}{14219461 \cos \theta_2}

Therefore, the inverse Laplace transform of the second term is:

L−1{−8618400014219461s−9503316014219461840s2+54s+20}=−0.05169 e−0.03214tcos⁡(0.15092 t−81.9756∘) u(t)\begin{aligned} & \mathcal{L}^{-1}\left\{ \frac{-\frac{86184000}{14219461} s - \frac{95033160}{14219461}}{840 s^2 + 54 s + 20} \right\} \\ & \quad = -0.05169 \, \mathrm{e}^{-0.03214 t} \cos(0.15092 \, t - 81.9756^\circ) \, u(t) \end{aligned}

And finally, substituting in the inverse Laplace transforms of the first and second terms yields the following full solution for vb(t)v_b(t) in the time domain:

vb(t)=(0.007635cos⁡(3t−19.092∘)⏟Steady-state response, vbSS(t)−0.05169 e−0.03214tcos⁡(0.15092 t−81.9756∘)⏟Transient response) u(t)\begin{aligned} v_b(t) & = (\underbrace{0.007635 \cos(3 t - 19.092^\circ)}_{\text{Steady-state response, }v_b^{SS}(t)} \\ & - \underbrace{0.05169 \, \mathrm{e}^{-0.03214 t} \cos(0.15092 \, t - 81.9756^\circ)}_\text{Transient response}) \, u(t) \end{aligned}

From this we can calculate va(t)v_a(t) via trigonometric identities. Its transient response is the same as for vb(t)v_b(t), and its steady-state response is:

vaSS(t)=vs2(t)+vbSS(t)=0.007635cos⁡(3t−19.092)+2sin⁡(3t)=1.99752cos⁡(3t−89.7930∘)\begin{aligned} v_a^{SS}(t) & = v_{s2}(t) + v_b^{SS}(t) \\ & = 0.007635 \cos(3t - 19.092) + 2 \sin(3t) \\ % & = 0.007635 (\cos(3t) \cos(-19.092) + \sin(3t) \sin(-19.092)) + 2 \sin(3t) \\ % & = 0.007635 \cos(-19.092) \cos(3t) + (0.007635 \sin(-19.092) + 2) \sin(3t) \\ % & = \sqrt{(0.007635 \cos(-19.092))^2 + (0.007635 \sin(-19.092) + 2)^2} \\ % & \cdot \cos \left( 3 t + \arctan \left( -\frac{0.007635 \sin(-19.092) + 2}{0.007635 \cos(-19.092)} \right) \right) \\ & = 1.99752 \cos(3 t - 89.7930^\circ) \end{aligned}

The solution for vb(t)v_b(t) (and va(t)v_a(t)), plotted in Figure 3, has two distinct terms. It is a linear combination of cosine waves, each with their own natural frequency and phase, but one of the cosine waves is exponentially decaying. The exponentially decaying cosine models how the circuit responds when turned on at t=0t = 0—its transient response. The non-decaying cosine is how the circuit responds in the longer term—its steady-state response as tt tends to infinity (but practically much sooner as the transient quickly dies out).

Transient and steady-state solution for v_a(t) and v_b(t).

Figure 3:Transient and steady-state solution for va(t)v_a(t) and vb(t)v_b(t).

Solving the Circuit with Phasors

Using KCL, the sum of currents flowing out of supernode abab must sum to zero. We can therefore write:

−IL+IR2−IR1+IC=0- I_\mathrm{L} + I_\mathrm{R2} - I_\mathrm{R1} + I_\mathrm{C} = 0
−VLZL+VR2ZR2−VR1ZR1+VCZC=0- \frac{V_\mathrm{L}}{Z_\mathrm{L}} + \frac{V_\mathrm{R2}}{Z_\mathrm{R2}} - \frac{V_\mathrm{R1}}{Z_\mathrm{R1}} + \frac{V_\mathrm{C}}{Z_\mathrm{C}} = 0

Substituting in the components’ impedances and putting everything in terms of the node voltages gives us:

−Vs1−Vaj ωL+VaR2−Vs1−VbR1+Vbj−1ωC=0- \frac{V_{s1} - V_a}{{j} \, \omega L} + \frac{V_a}{R_2} - \frac{V_{s1} - V_b}{R_1} + \frac{V_b}{{j} \frac{-1}{\omega C}} = 0

Paired with Equation (1), Va−Vb=Vs2V_a - V_b = V_{s2}, this represents a system of two linear equations in two unknowns VaV_a and VbV_b. Substituting Equation (1) into the above yields:

jVs1−(Vs2+Vb)ωL+Vs2+VbR2−Vs1−VbR1+j ωCVb=0{j} \frac{V_{s1} - (V_{s2} + V_b)}{\omega L} + \frac{V_{s2} + V_b}{R_2} - \frac{V_{s1} - V_b}{R_1} + {j} \, \omega C V_b = 0

Solving for VbV_b yields the following, and we can solve for VaV_a from this using Equation (1).

Vb=ωL(R2Vs1−R1Vs2)+j R1R2(Vs2−Vs1)ωL(R1+R2)+j (ω2CL−1)R1R2V_b = \frac{\omega L (R_2 V_{s1} - R_1 V_{s2}) + {j} \, R_1 R_2 (V_{s2} - V_{s1})}{\omega L (R_1 + R_2) + {j} \, (\omega^2 C L - 1) R_1 R_2}

Getting here required some algebra involving complex numbers. However, when solving a real circuit whose parameters have known values, this process would have been aided significantly by being able to evaluate/simplify expressions at each step. Let’s introduce numerical values (2) to see how VbV_b and VaV_a can be evaluated.

Vb=(3rad/s)(6H)((5Ω)(j 1V)−(4Ω)(j 2V))+j (4Ω)(5Ω)((j 2V)−(j 1V))(3rad/s)(6H)((4Ω)+(5Ω))+j ((3rad/s)2(7F)(6H)−1)(4Ω)(5Ω)=−20−j 54162+j 7540 V=−20−j 54162+j 7540 162−j 7540162−j 7540 V=(−20−j 54)(162−j 7540)1622+75402 V=−3240+j 150800−j 8748−40716026244+56851600 V=−410400+j 14205256877844 V=(−0.007215+j 0.002497) VVa=Vb+Vs2=(−0.007215+j 0.002497) V+j 2 V=(−0.007215+j 2.002497) V\begin{aligned} & V_b \\ & = \frac{(3 \mathrm{rad} / \mathrm{s}) (6 \mathrm{H}) ((5 \Omega) ({j} \, 1 \mathrm{V}) - (4 \Omega) ({j} \, 2 \mathrm{V})) + {j} \, (4 \Omega) (5 \Omega) (({j} \, 2 \mathrm{V}) - ({j} \, 1 \mathrm{V}))}{(3 \mathrm{rad} / \mathrm{s}) (6 \mathrm{H}) ((4 \Omega) + (5 \Omega)) + {j} \, ((3 \mathrm{rad} / \mathrm{s})^2 (7 \mathrm{F}) (6 \mathrm{H}) - 1) (4 \Omega) (5 \Omega)} \\ & = \frac{-20 - {j} \, 54}{162 + {j} \, 7540} \ \mathrm{V} \\ & = \frac{-20 - {j} \, 54}{162 + {j} \, 7540} \, \frac{162 - {j} \, 7540}{162 - {j} \, 7540} \ \mathrm{V} \\ & = \frac{(-20 - {j} \, 54)(162 - {j} \, 7540)}{162^2 + 7540^2} \ \mathrm{V} \\ & = \frac{-3240 + {j} \, 150800 - {j} \, 8748 - 407160}{26244 + 56851600} \ \mathrm{V} \\ & = \frac{-410400 + {j} \, 142052}{56877844} \ \mathrm{V} \\ & = \boxed{(-0.007215 + {j} \, 0.002497) \ \mathrm{V}} \\\\ V_a & = V_b + V_{s2} \\ & = (-0.007215 + {j} \, 0.002497) \ \mathrm{V} + {j} \, 2 \ \mathrm{V} \\ & = \boxed{(-0.007215 + {j} \, 2.002497) \ \mathrm{V}} \end{aligned}

By calculating the amplitude AA and phase θ\theta, we can convert from complex number phasor notation a+j ba + {j} \, b to either polar phasor notation A∠θA \angle \theta or back into the time domain as Acos⁡(ωt+θ)A \cos(\omega t + \theta). The amplitude and phase are calculated using:

A=a2+b2,θ=arctan⁡baA = \sqrt{a^2 + b^2}, \qquad \theta = \arctan \frac{b}{a}
Vb=0.007635 ∠−19.092∘Va=2.002510 ∠−89.794∘\begin{aligned} V_b & = 0.007635 \, \angle {-19.092}^\circ \\ V_a & = 2.002510 \, \angle {-89.794}^\circ \end{aligned}

With the amplitude and phase calculated, it becomes very easy to plot the solution for va(t)v_a(t) and vb(t)v_b(t), as in Figure 4.

Steady-state solution for v_a(t) and v_b(t).

Figure 4:Steady-state solution for va(t)v_a(t) and vb(t)v_b(t).

Checking the Phasor Solution

At this point, we have derived the equations representing the circuit with and without phasors, and we have solved the circuit with phasors. To check our work, we can plug the solution obtained using phasors into the differential equation (8) obtained without using phasors, and verify that the equation holds true (that the left-hand side equals the right-hand side). This can be done conveniently by plotting both the left- and right-hand sides, as in Figure 5. As can be seen, the left- and right-hand sides are equal.

Checking the solution for v_b(t) by plugging it into Equation  and plotting the left- and right-hand sides.

Figure 5:Checking the solution for vb(t)v_b(t) by plugging it into Equation (8) and plotting the left- and right-hand sides.