1. Home
  2. Explore
  3. Engineering
  4. Second-Order Circuit Problems

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Second-Order Circuit Problems

Second-Order Differential Equations in Circuits

Circuit variables and the governing equation

A circuit’s charge and current are related by

i(t)=q′(t)=dqdt.i(t)=q'(t)=\frac{dq}{dt}.i(t)=q′(t)=dtdq​.

Here, q(t)q(t)q(t) is the charge in the circuit and i(t)i(t)i(t) is the current. Thus, if the current is known, the charge can be found by integrating:

q(t)=∫i(t) dt,q(t)=\int i(t)\,dt,q(t)=∫i(t)dt,

with an integration constant determined by the initial charge.

A basic circuit model also includes:

  • Resistance RRR, which opposes current flow.

  • Inductance LLL, which resists changes in current.

  • Capacitance CCC, which relates stored charge to voltage.

  • Electromotive force E(t)E(t)E(t), an external source that supplies energy to the circuit.

For a series circuit, the charge satisfies

Lq′′+Rq′+1Cq=E(t).Lq''+Rq'+\frac{1}{C}q=E(t).Lq′′+Rq′+C1​q=E(t).

The terms represent the circuit’s responses to changing current, current flow, and stored charge, respectively. The external electromotive force acts as the input.

Dividing by LLL gives the standard form

q′′+RLq′+1LCq=E(t)L.q''+\frac{R}{L}q'+\frac{1}{LC}q=\frac{E(t)}{L}.q′′+LR​q′+LC1​q=LE(t)​.

When there is no external electromotive force, E(t)=0E(t)=0E(t)=0, and the circuit equation is homogeneous:

q′′+RLq′+1LCq=0.q''+\frac{R}{L}q'+\frac{1}{LC}q=0.q′′+LR​q′+LC1​q=0.

An initial-value problem specifies the initial charge and current:

q(0)=q0,q′(0)=i0.q(0)=q_0,\qquad q'(0)=i_0.q(0)=q0​,q′(0)=i0​.

Since q′(t)=i(t)q'(t)=i(t)q′(t)=i(t), the initial derivative of charge is the initial current.

Circuit equations have the same mathematical structure as spring–mass equations with damping and external forcing. The solution methods are the same; the physical interpretation differs. In a circuit, the principal dependent variable is charge rather than displacement.


Solving the unforced circuit equation

For the homogeneous equation

q′′+RLq′+1LCq=0,q''+\frac{R}{L}q'+\frac{1}{LC}q=0,q′′+LR​q′+LC1​q=0,

a trial solution of the form q(t)=eλtq(t)=e^{\lambda t}q(t)=eλt leads to the characteristic equation

λ2+RLλ+1LC=0.\lambda^2+\frac{R}{L}\lambda+\frac{1}{LC}=0.λ2+LR​λ+LC1​=0.

Its roots are

λ=−R±R2−4LC2L.\lambda=\frac{-R\pm\sqrt{R^2-\frac{4L}{C}}}{2L}.λ=2L−R±R2−C4L​​​.

The expression under the square root determines the type of roots and therefore the circuit’s damping behavior. Because L>0L>0L>0, the sign of this expression is also the sign of the characteristic equation’s discriminant.

Overdamped circuits

An overdamped circuit satisfies

R2−4LC>0.R^2-\frac{4L}{C}>0.R2−C4L​>0.

The characteristic equation has two distinct real roots, so the charge is a sum of two exponential terms:

q(t)=C1eλ1t+C2eλ2t.q(t)=C_1e^{\lambda_1t}+C_2e^{\lambda_2t}.q(t)=C1​eλ1​t+C2​eλ2​t.

For positive resistance, inductance, and capacitance, both roots are negative. The charge therefore decays without oscillating.

Critically damped circuits

A critically damped circuit satisfies

R2−4LC=0.R^2-\frac{4L}{C}=0.R2−C4L​=0.

The characteristic equation has a repeated real root, λ=−R/(2L)\lambda=-R/(2L)λ=−R/(2L). The solution is

q(t)=(C1+C2t)eλt.q(t)=(C_1+C_2t)e^{\lambda t}.q(t)=(C1​+C2​t)eλt.

The charge decays without oscillation. Critical damping is the boundary between nonoscillatory decay and oscillatory decay.

Underdamped circuits

An underdamped circuit satisfies

R2−4LC<0.R^2-\frac{4L}{C}<0.R2−C4L​<0.

The characteristic roots are complex:

λ=a±ib,\lambda=a\pm ib,λ=a±ib,

where a<0a<0a<0 for positive resistance. The real-valued solution can be written as

q(t)=eat(C1cos⁡(bt)+C2sin⁡(bt)).q(t)=e^{at}\left(C_1\cos(bt)+C_2\sin(bt)\right).q(t)=eat(C1​cos(bt)+C2​sin(bt)).

The sine and cosine terms produce oscillation, while the decaying exponential eate^{at}eat reduces its amplitude over time. The charge oscillates while gradually approaching zero.

Damping summary

  • Overdamped: two distinct real roots; nonoscillatory decay.

  • Critically damped: one repeated real root; nonoscillatory decay at the critical boundary.

  • Underdamped: complex roots; oscillation with a decaying amplitude when R>0R>0R>0.


Amplitude–phase form

An oscillatory solution often appears in the form

y(t)=eat(C1cos⁡(bt)+C2sin⁡(bt)).y(t)=e^{at}\left(C_1\cos(bt)+C_2\sin(bt)\right).y(t)=eat(C1​cos(bt)+C2​sin(bt)).

The two trigonometric terms can be combined into a single cosine. Define the amplitude

A=C12+C22A=\sqrt{C_1^2+C_2^2}A=C12​+C22​​

and choose the phase angle ϕ\phiϕ so that

C1=Acos⁡ϕ,C2=Asin⁡ϕ.C_1=A\cos\phi,\qquad C_2=A\sin\phi.C1​=Acosϕ,C2​=Asinϕ.

When C1>0C_1>0C1​>0, this gives ϕ=tan⁡−1(C2/C1)\phi=\tan^{-1}(C_2/C_1)ϕ=tan−1(C2​/C1​); more generally, the angle must be chosen in the correct quadrant. Using the identity

cos⁡(bt−ϕ)=cos⁡(bt)cos⁡ϕ+sin⁡(bt)sin⁡ϕ,\cos(bt-\phi)=\cos(bt)\cos\phi+\sin(bt)\sin\phi,cos(bt−ϕ)=cos(bt)cosϕ+sin(bt)sinϕ,

the solution becomes

y(t)=Aeatcos⁡(bt−ϕ).y(t)=Ae^{at}\cos(bt-\phi).y(t)=Aeatcos(bt−ϕ).

In this form:

  • AAA is the initial oscillation amplitude before accounting for the exponential factor.

  • ϕ\phiϕ is the phase shift.

  • bbb determines the oscillation frequency.

  • The period of the trigonometric oscillation is 2πb\frac{2\pi}{b}b2π​.

When a<0a<0a<0, the actual oscillation envelope shrinks over time according to eate^{at}eat.


Example 1: An unforced underdamped circuit

Consider a circuit with

R=30,L=5,C=175,R=30,\qquad L=5,\qquad C=\frac{1}{75},R=30,L=5,C=751​,

and initial conditions

q(0)=5,q′(0)=3.q(0)=5,\qquad q'(0)=3.q(0)=5,q′(0)=3.

There is no external electromotive force, so the governing equation is

q′′+305q′+15(1/75)q=0,q''+\frac{30}{5}q'+\frac{1}{5(1/75)}q=0,q′′+530​q′+5(1/75)1​q=0,

or

q′′+6q′+15q=0.q''+6q'+15q=0.q′′+6q′+15q=0.

Classifying the damping

The damping expression is

R2−4LC=302−4(5)1/75=900−1500=−600.R^2-\frac{4L}{C} =30^2-\frac{4(5)}{1/75} =900-1500 =-600.R2−C4L​=302−1/754(5)​=900−1500=−600.

Because it is negative, the circuit is underdamped.

Solving the equation

The characteristic equation is

λ2+6λ+15=0,\lambda^2+6\lambda+15=0,λ2+6λ+15=0,

with roots

λ=−3±i6.\lambda=-3\pm i\sqrt{6}.λ=−3±i6​.

Therefore,

q(t)=e−3t(C1cos⁡(6 t)+C2sin⁡(6 t)).q(t)=e^{-3t}\left(C_1\cos(\sqrt{6}\,t)+C_2\sin(\sqrt{6}\,t)\right).q(t)=e−3t(C1​cos(6​t)+C2​sin(6​t)).

The initial charge gives C1=5C_1=5C1​=5. Differentiating and applying q′(0)=3q'(0)=3q′(0)=3 gives

−3C1+6 C2=3,-3C_1+\sqrt{6}\,C_2=3,−3C1​+6​C2​=3,

so C2=36C_2=3\sqrt{6}C2​=36​. The solution is

q(t)=e−3t(5cos⁡(6 t)+36sin⁡(6 t)).q(t)=e^{-3t}\left(5\cos(\sqrt{6}\,t)+3\sqrt{6}\sin(\sqrt{6}\,t)\right).q(t)=e−3t(5cos(6​t)+36​sin(6​t)).

Its amplitude–phase form is

q(t)=79 e−3tcos⁡(6 t−ϕ),ϕ=tan⁡−1(365).q(t)=\sqrt{79}\,e^{-3t}\cos\left(\sqrt{6}\,t-\phi\right), \qquad \phi=\tan^{-1}\left(\frac{3\sqrt{6}}{5}\right).q(t)=79​e−3tcos(6​t−ϕ),ϕ=tan−1(536​​).

The oscillation has period 2π6\frac{2\pi}{\sqrt{6}}6​2π​, while the factor e−3te^{-3t}e−3t causes its amplitude to decay.


Forced circuits and particular solutions

When an electromotive force is present, the equation is nonhomogeneous:

q′′+RLq′+1LCq=E(t)L.q''+\frac{R}{L}q'+\frac{1}{LC}q=\frac{E(t)}{L}.q′′+LR​q′+LC1​q=LE(t)​.

Its general solution has two parts:

q(t)=qc(t)+qp(t),q(t)=q_c(t)+q_p(t),q(t)=qc​(t)+qp​(t),

where:

  • qc(t)q_c(t)qc​(t) is the complementary solution, which solves the associated homogeneous equation.

  • qp(t)q_p(t)qp​(t) is a particular solution, which accounts for the external forcing.

A particular solution is often found using undetermined coefficients. The trial form should match the forcing function. If the trial form duplicates a term already in the complementary solution, it must be multiplied by ttt (and, if necessary, a higher power of ttt) to obtain a linearly independent trial.


Example 2: A resonantly forced circuit with no resistance

Consider a circuit with

R=0,L=12,C=12,R=0,\qquad L=\frac{1}{2},\qquad C=\frac{1}{2},R=0,L=21​,C=21​,

and external electromotive force

E(t)=4cos⁡(2t).E(t)=4\cos(2t).E(t)=4cos(2t).

Let the initial conditions be

q(0)=8,q′(0)=12.q(0)=8,\qquad q'(0)=12.q(0)=8,q′(0)=12.

The standard-form equation is

q′′+4q=8cos⁡(2t).q''+4q=8\cos(2t).q′′+4q=8cos(2t).

Complementary solution

The homogeneous equation is

q′′+4q=0.q''+4q=0.q′′+4q=0.

Its characteristic roots are λ=±2i\lambda=\pm 2iλ=±2i, giving

qc(t)=C1cos⁡(2t)+C2sin⁡(2t).q_c(t)=C_1\cos(2t)+C_2\sin(2t).qc​(t)=C1​cos(2t)+C2​sin(2t).

Particular solution

The forcing term cos⁡(2t)\cos(2t)cos(2t) has the same frequency as the homogeneous solution, so a usual trial of the form Acos⁡(2t)+Bsin⁡(2t)A\cos(2t)+B\sin(2t)Acos(2t)+Bsin(2t) would duplicate terms already in qcq_cqc​. The trial must be multiplied by ttt. A suitable trial is

qp(t)=t(Acos⁡(2t)+Bsin⁡(2t)).q_p(t)=t\left(A\cos(2t)+B\sin(2t)\right).qp​(t)=t(Acos(2t)+Bsin(2t)).

Substitution gives A=0A=0A=0 and B=2B=2B=2, so

qp(t)=2tsin⁡(2t).q_p(t)=2t\sin(2t).qp​(t)=2tsin(2t).

Thus the general solution is

q(t)=C1cos⁡(2t)+C2sin⁡(2t)+2tsin⁡(2t).q(t)=C_1\cos(2t)+C_2\sin(2t)+2t\sin(2t).q(t)=C1​cos(2t)+C2​sin(2t)+2tsin(2t).

Applying q(0)=8q(0)=8q(0)=8 gives C1=8C_1=8C1​=8. Applying q′(0)=12q'(0)=12q′(0)=12 gives 2C2=122C_2=122C2​=12, so C2=6C_2=6C2​=6. Therefore,

q(t)=8cos⁡(2t)+6sin⁡(2t)+2tsin⁡(2t).q(t)=8\cos(2t)+6\sin(2t)+2t\sin(2t).q(t)=8cos(2t)+6sin(2t)+2tsin(2t).

The first two terms can be expressed in amplitude–phase form:

q(t)=10cos⁡(2t−ϕ)+2tsin⁡(2t),ϕ=tan⁡−1(68)≈0.6435.q(t)=10\cos\left(2t-\phi\right)+2t\sin(2t), \qquad \phi=\tan^{-1}\left(\frac{6}{8}\right)\approx 0.6435.q(t)=10cos(2t−ϕ)+2tsin(2t),ϕ=tan−1(86​)≈0.6435.

The factor ttt in the forced term means its amplitude grows over time. This occurs because the forcing frequency matches the circuit’s natural oscillation frequency: the system is at resonance. Since this circuit has no resistance, there is no damping to dissipate the added energy.


Transient and steady-state behavior

The transient response is the part of the solution associated with the homogeneous equation, qc(t)q_c(t)qc​(t). It reflects the circuit’s response to its initial conditions. In a circuit with positive resistance, this part decays over time.

The forced response is the particular solution, qp(t)q_p(t)qp​(t). It reflects the continuing effect of the external electromotive force. In a stable circuit with positive resistance, the transient part eventually becomes negligible, leaving the forced response as the long-term behavior.

For such a circuit,

q(t)−qp(t)=qc(t)⟶0as t⟶∞.q(t)-q_p(t)=q_c(t)\longrightarrow 0 \quad\text{as }t\longrightarrow\infty.q(t)−qp​(t)=qc​(t)⟶0as t⟶∞.

A steady-state response is often periodic rather than constant. In that case, the literal limit of q(t)q(t)q(t) as ttt approaches infinity does not exist; instead, the solution approaches the periodic forced response in the sense that the difference q(t)−qp(t)q(t)-q_p(t)q(t)−qp​(t) tends to zero.

The absence of resistance requires special care. The homogeneous response may not decay, and resonance can make the forced response grow without bound. In the second example, the term 2tsin⁡(2t)2t\sin(2t)2tsin(2t) grows in amplitude, so the solution does not settle into a bounded steady-state oscillation.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent