Second-Order Circuit Problems
Second-Order Differential Equations in Electrical Circuits
A circuit containing resistance, inductance, and capacitance can be modeled with a second-order differential equation. The mathematics closely resembles that used for spring–mass systems: both describe how a system responds over time when forces or effects resist motion and may cause oscillation. The interpretation differs. In a circuit, the central quantity is usually the charge stored in the circuit; in a spring–mass system, it is the object’s displacement from equilibrium.
The circuit variables and their relationships
Let q(t) represent the electric charge in a circuit at time t, and let i(t) represent the current. Current measures how quickly charge changes, so
q′(t)=i(t).Equivalently, if the current is known, the charge can be found by integrating it:
q(t)=∫i(t)dt,with an initial charge used to determine the integration constant.
A basic series circuit model uses three parameters:
- Resistance, denoted by R, opposes current.
- Inductance, denoted by L, is associated with the inductor’s effect on changing current.
- Capacitance, denoted by C, describes the capacitor’s ability to store charge.
An electromotive force, or EMF, is an applied source that drives the circuit. It is written as a function of time, such as E(t). A time-varying EMF plays a role similar to an external driving force in a spring–mass system.
Charge, current, and their rates of change are connected by q′(t)=i(t). This relationship lets a circuit’s behavior be modeled using a differential equation for charge.
For the circuit considered here, the governing equation is
Lq′′(t)+Rq′(t)+C1q(t)=E(t).The three terms on the left represent the circuit’s inductive, resistive, and capacitive effects, while E(t) represents the applied EMF. If the circuit has no applied EMF, then E(t)=0, and the equation is homogeneous:
Lq′′(t)+Rq′(t)+C1q(t)=0.Dividing by L gives the standard form
q′′(t)+LRq′(t)+LC1q(t)=L1E(t).This form makes the constant coefficients visible. In the usual circuit model, L and C are positive, and resistance is nonnegative. Their values affect whether the charge decays smoothly or oscillates as it decays.
Initial conditions
A complete circuit problem often gives the initial charge and the initial current:
q(0)=q0,q′(0)=i(0)=i0.These are the two initial conditions needed to determine the constants in a second-order solution. For example, knowing the initial charge tells how much charge is present at the start, while knowing the initial current tells whether the charge is initially increasing or decreasing, and how quickly.
Think About It: If q′(0) is negative, what does that indicate about the charge at the start of the circuit’s motion?
Solving the unforced circuit equation
When there is no EMF, the circuit follows the homogeneous equation
q′′+LRq′+LC1q=0.Because its coefficients are constant, the equation can be solved using the characteristic equation. Trying a solution of the form q(t)=eλt leads to
λ2+LRλ+LC1=0.The roots of this quadratic determine the form of the charge response. The key expression for classifying those roots is the discriminant. Multiplying the usual quadratic discriminant by the positive quantity L2 gives an equivalent expression:
R2−C4L.Its sign identifies three types of damping.
Overdamped circuits
If
R2−C4L>0,the characteristic equation has two distinct real roots. The charge has the form
q(t)=c1eλ1t+c2eλ2t.For positive R, L, and C, both roots are negative. Each exponential therefore decays over time. The charge approaches zero without repeatedly oscillating through it. This is called overdamping: resistance is strong enough relative to the inductance and capacitance that the response returns toward equilibrium without oscillation.
Critically damped circuits
If
R2−C4L=0,the characteristic equation has a repeated real root, say λ. The solution is
q(t)=c1eλt+c2teλt.This is critical damping. The extra factor t distinguishes the repeated-root solution from the overdamped one. With positive resistance, the charge still decays toward zero without oscillating.
Underdamped circuits
If
R2−C4L<0,the roots are complex. The resulting charge response has the form
q(t)=eat(c1cos(bt)+c2sin(bt)),where a is the real part of the roots and b is the magnitude of their imaginary part. For a circuit with positive resistance, a is negative. The sine and cosine terms make the charge oscillate, while the factor eat makes those oscillations shrink over time. This is underdamping.
The three cases can be distinguished by the roots: distinct real roots produce overdamping, a repeated real root produces critical damping, and complex roots produce underdamping.
Think About It: In an underdamped circuit, which part of the solution causes oscillation, and which part makes the oscillation shrink?
Amplitude and phase form
The underdamped solution can be rewritten in a form that makes its oscillations easier to interpret. Start with
q(t)=eat(c1cos(bt)+c2sin(bt)).Define an amplitude A and phase angle ϕ by
A=c12+c22,c1=Acosϕ,c2=Asinϕ.The angle can be chosen using
ϕ=atan2(c2,c1),which takes account of the signs of both constants. The trigonometric identity
cos(bt−ϕ)=cos(bt)cosϕ+sin(bt)sinϕthen gives
q(t)=Aeatcos(bt−ϕ).Here, A is the initial amplitude factor for the oscillating part, and ϕ is its phase angle. The oscillation period is
T=b2π.The exponential factor changes the size of the oscillations over time, while b determines how quickly they cycle. If a<0, the oscillations become smaller; if a=0, the exponential factor does not shrink them.
Example: an unforced, underdamped circuit
Consider a circuit with
R=30,L=5,C=751,and initial conditions
q(0)=5,q′(0)=3.There is no EMF, so the circuit equation is homogeneous:
q′′+530q′+5(1/75)1q=0,which simplifies to
q′′+6q′+15q=0.The characteristic equation is
λ2+6λ+15=0,with roots
λ=−3±i6.Since the roots are complex, the circuit is underdamped. Its charge has the form
q(t)=e−3t(c1cos(6t)+c2sin(6t)).The initial charge gives c1=5. Differentiating the solution and using q′(0)=3 gives
−3c1+6c2=3,so c2=36. Thus,
q(t)=e−3t(5cos(6t)+36sin(6t)).For the amplitude-and-phase version,
A=52+(36)2=79,and
ϕ=atan2(36,5).Therefore,
q(t)=79e−3tcos(6t−ϕ).The cosine describes the oscillation, and e−3t causes its amplitude to decay toward zero.
Circuits with an applied EMF
When an EMF is present, the equation is nonhomogeneous:
q′′+LRq′+LC1q=L1E(t).Its general solution is the sum of two parts:
q(t)=qc(t)+qp(t).The complementary solution qc(t) solves the associated homogeneous equation, where the EMF is set to zero. The particular solution qp(t) accounts for the applied EMF. The initial conditions determine the constants in the complementary part after a particular solution has been found.
A common method for finding qp(t) is to propose a trial solution with the same general trigonometric form as the forcing and then substitute it into the differential equation. If the proposed trial duplicates a term already present in the homogeneous solution, it must be modified—often by multiplying by t—so it can produce a new, independent solution.
Example: forcing at the circuit’s natural frequency
Suppose
R=0,L=21,C=21,and the applied EMF is
E(t)=4cos(2t).Let the initial conditions be
q(0)=8,q′(0)=12.Substitution into the circuit equation gives
q′′+4q=8cos(2t).The associated homogeneous equation is
q′′+4q=0,whose solution is
qc(t)=c1cos(2t)+c2sin(2t).The forcing term cos(2t) already appears in the homogeneous solution. A trial particular solution must therefore be modified by multiplying by t. One suitable choice is
qp(t)=Atcos(2t)+Btsin(2t).Substitution into the differential equation gives A=0 and B=2, so
qp(t)=2tsin(2t).The full solution is
q(t)=c1cos(2t)+c2sin(2t)+2tsin(2t).Using q(0)=8 gives c1=8. Using q′(0)=12 gives c2=6. The resulting charge is
q(t)=8cos(2t)+6sin(2t)+2tsin(2t).The first two terms can be combined using amplitude and phase:
8cos(2t)+6sin(2t)=10cos(2t−ϕ),ϕ=atan2(6,8).Thus,
q(t)=10cos(2t−ϕ)+2tsin(2t).The factor t in the particular solution arises because the forcing frequency matches the natural frequency of the unforced circuit. In this ideal model with no resistance, the forced response grows rather than settling into a fixed-size oscillation.
Transient and steady-state behavior
The complementary solution represents the circuit’s response associated with its initial conditions and its natural behavior. It is often called the transient response because, in a damped circuit, it fades as time passes. The particular solution represents the response associated with the applied EMF; it is commonly called the steady-state response when it persists after the transient has faded.
When the resistance is positive, the complementary terms decay in these circuit models. If the forcing continues, the particular response can remain after those transient terms have become negligible. In this sense, the long-term response is governed by qp(t).
However, “steady state” does not always mean that charge approaches a single fixed value. A periodic EMF can produce a periodic particular solution, so the charge continues to oscillate. Also, the ideal no-resistance example above has a resonant particular solution that grows with time. In that case, the transient does not decay, and the response does not settle into a bounded, fixed-size oscillation. A limit of q(t) as t approaches infinity therefore need not exist.
Review: connecting the ideas
Circuit equations and spring–mass equations share the same central mathematical structure: a second-order differential equation with constant coefficients. In a circuit, charge q(t) is the main dependent quantity, and current is its derivative, q′(t). Resistance, inductance, and capacitance determine the circuit’s natural response, while an EMF supplies external forcing.
For an unforced circuit, the roots of the characteristic equation classify the behavior. Distinct real roots give an overdamped response, a repeated real root gives a critically damped response, and complex roots give an underdamped oscillation. In the underdamped case, amplitude-and-phase form separates the oscillation’s amplitude and phase from its exponential decay.
For a forced circuit, the full solution combines a complementary response and a particular response. Initial conditions determine the remaining constants, and the forcing frequency can affect the particular solution—especially when it matches the circuit’s natural frequency. With damping, transient behavior fades and the forced response can dominate; without damping, oscillations can persist, and resonant forcing can make the response grow.

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