Second-Order Linear Differential Equations, Mechanical Vibrations, and Variable Coefficient Methods
Fundamentals of Second-Order Linear Differential Equations
Second-order differential equations play a central role in mathematics and physics because they model physical systems governed by acceleration, such as Newton's second law of motion, my′′(t)=F(t). The general form of a second-order linear differential equation is given by:
a2(x)y′′+a1(x)y′+a0(x)y=f(x)
where a2(x)=0 on the interval of interest. When the forcing function f(x) is identically zero, the equation is called homogeneous:
a2(x)y′′+a1(x)y′+a0(x)y=0
Dividing through by the leading coefficient function a2(x) yields the standard homogeneous form:
y′′+p(x)y′+q(x)y=0
where p(x)=a2(x)a1(x) and q(x)=a2(x)a0(x).
While a first-order differential equation such as y′=ky requires only a single initial condition y(0)=y0 to uniquely determine an arbitrary constant, a second-order linear differential equation requires two initial conditions to determine a unique specific solution:
y(0)=y0
y′(0)=v0
Geometrically and physically, these conditions specify the initial position and the initial velocity of the state variable.
The fundamental algebraic structure of the solution space for homogeneous linear differential equations is governed by the Principle of Superposition. Let y1(x) and y2(x) be any two solutions of the homogeneous equation a2(x)y′′+a1(x)y′+a0(x)y=0. Then any linear combination:
y(x)=C1y1(x)+C2y2(x)
is also a solution of the differential equation for arbitrary constants C1 and C2.
This principle can be verified directly by substitution. Substituting y(x)=C1y1(x)+C2y2(x) into the differential operator yields:
Because y1 and y2 are solutions, both bracketed expressions equal zero:
=C1(0)+C2(0)=0
To construct the general solution to a second-order homogeneous linear equation, the two solutions must be linearly independent. Not every pair of solutions suffices; for instance, the functions ex and 2ex are constant multiples of each other, meaning they span only a one-dimensional solution space. Conversely, for the equation y′′−y=0, the two functions y1(x)=ex and y2(x)=e−x are linearly independent because neither is a scalar multiple of the other. Thus, the general solution of y′′−y=0 is:
y(x)=C1ex+C2e−x
Homogeneous Equations with Constant Coefficients
When the coefficient functions are real constants, the equation takes the form:
ay′′+by′+cy=0
where a=0, and b and c are real constants. Because differentiating exponential functions reproduces the original function scaled by a constant factor, a trial solution of the form y=erx is utilized. Differentiating yields y′=rerx and y′′=r2erx. Substituting these derivatives into the differential equation gives:
a(r2erx)+b(rerx)+c(erx)=0
(ar2+br+c)erx=0
Since erx=0 for all real and complex values of x, the polynomial expression in parentheses must vanish. This leads to the characteristic equation (also known as the auxiliary equation):
ar2+br+c=0
The nature of the roots of this quadratic polynomial determines the functional form of the general solution. There are three mutually exclusive cases based on the discriminant Δ=b2−4ac.
In Case 1, the discriminant is strictly positive (b2−4ac>0), yielding two distinct real roots r1=r2. In this scenario, the two solutions y1(x)=er1x and y2(x)=er2x are linearly independent. The general solution is:
y(x)=C1er1x+C2er2x
Consider the differential equation y′′−5y′+6y=0. Its characteristic equation is:
r2−5r+6=0
(r−2)(r−3)=0
This gives the distinct real roots r1=2 and r2=3. The general solution is:
y(x)=C1e2x+C2e3x
To solve the initial value problem with initial conditions y(0)=1 and y′(0)=0, first evaluate y(0):
y(0)=C1e0+C2e0=C1+C2=1
Next, compute the derivative of the general solution:
y′(x)=2C1e2x+3C2e3x
Evaluating the derivative at x=0 yields:
y′(0)=2C1+3C2=0
From the first equation, C1=1−C2. Substituting this into the velocity equation gives:
2(1−C2)+3C2=0
2−2C2+3C2=0
C2=−2
C1=1−(−2)=3
Thus, the specific solution to the initial value problem is:
y(x)=3e2x−2e3x
In Case 2, the discriminant is zero (b2−4ac=0), yielding a single repeated real root r=−2ab. The exponential guess yields only one independent solution, y1(x)=erx. A second linearly independent solution is formed by multiplying by x, giving y2(x)=xerx. The general solution is:
y(x)=(C1+C2x)erx
Consider the equation y′′+6y′+9y=0 subject to initial conditions y(0)=2 and y′(0)=−4. The characteristic equation is:
r2+6r+9=0
(r+3)2=0
This yields the repeated root r=−3. The general solution is:
y(x)=(C1+C2x)e−3x
Applying the first initial condition y(0)=2:
y(0)=(C1+C2(0))e0=C1=2
Differentiating the general solution via the product rule:
y′(x)=C2e−3x−3(C1+C2x)e−3x
Applying the second initial condition y′(0)=−4:
y′(0)=C2−3C1=−4
C2−3(2)=−4
C2−6=−4
C2=2
Therefore, the specific solution to the initial value problem is:
y(x)=(2+2x)e−3x
In Case 3, the discriminant is strictly negative (b2−4ac<0), yielding complex conjugate roots of the form r=ω±iϵ, where ϵ=0. Using Euler's formula, eiθ=cos(θ)+isin(θ), the complex exponential solutions can be transformed into real-valued basis functions:
e(ω±iϵ)x=eωxe±iϵx=eωx(cos(ϵx)±isin(ϵx))
Taking linear combinations to extract the real and imaginary components yields the general real solution:
y(x)=eωx(C1cos(ϵx)+C2sin(ϵx))
Consider the undamped harmonic oscillator y′′+4y=0 with y(0)=0 and y′(0)=6. The characteristic equation is:
r2+4=0
r=±2i
Here, the real part is ω=0 and the imaginary frequency parameter is ϵ=2. The general solution is:
y(x)=C1cos(2x)+C2sin(2x)
Applying the initial position condition y(0)=0:
y(0)=C1cos(0)+C2sin(0)=C1=0
Differentiating the remaining term y(x)=C2sin(2x):
y′(x)=2C2cos(2x)
Applying the initial velocity condition y′(0)=6:
y′(0)=2C2=6
C2=3
Thus, the solution is purely oscillatory with constant amplitude:
y(x)=3sin(2x)
Now consider an equation exhibiting oscillation with decay: y′′+2y′+5y=0. The characteristic equation is:
r2+2r+5=0
r=2−2±4−20=2−2±−16=−1±2i
Here, ω=−1 and ϵ=2. The general solution is:
y(x)=e−x(C1cos(2x)+C2sin(2x))
Unlike the pure oscillation of y′′+4y=0, the presence of the negative real part ω=−1 introduces the damping envelope e−x, causing the oscillations to attenuate toward zero as x→∞.
A quick classification of characteristic roots is illustrated by comparing y′′−9y=0 and y′′+6y′+9y=0. In the former, r2−9=0⟹r=±3, which corresponds to Case 1 (two distinct real roots). In the latter, r2+6r+9=(r+3)2=0⟹r=−3, which corresponds to Case 2 (a repeated real root).
Mathematical Modeling of Mass-Spring Systems
Consider a body of mass m (measured in kg) attached to a spring moving horizontally on a surface. Let x(t) represent the signed displacement of the mass from its static equilibrium position at time t, where displacement to the right is defined as positive (x>0) and displacement to the left is negative (x<0). Static equilibrium corresponds to x=0.
According to Hooke's Law, when a spring is stretched or compressed, it exerts a restoring force Fs proportional to the displacement from equilibrium:
Fs=−kx
where k>0 is the spring constant, measured in N/m. The negative sign indicates that the restoring force always opposes the direction of displacement.
When resistive forces are present, such as viscous fluid drag or mechanical friction, they are modeled to first approximation as proportional to velocity:
Fd=−cx′
where c>0 is the damping coefficient, measured in N⋅s/m. The negative sign reflects that friction opposes the instantaneous direction of motion.
Let Fext(t) denote an externally applied driving force measured in Newtons (N). By Newton's second law, the equation of motion is mx′′=∑F:
mx′′=Fs+Fd+Fext(t)
mx′′=−kx−cx′+Fext(t)
Rearranging gives the second-order linear differential equation governing mechanical vibrations:
mx′′+cx′+kx=Fext(t)
When no driving force acts on the system (Fext(t)=0), the motion is classified as free motion:
mx′′+cx′+kx=0
When multiple springs are combined, their equivalent stiffness depends on their physical arrangement. For two springs arranged in parallel with spring constants k1 and k2, both springs experience the exact same displacement x. The net restoring force is the sum of the individual forces:
F=F1+F2=−k1x−k2x=−(k1+k2)x
Therefore, the effective spring constant for springs in parallel is:
keff=k1+k2
For two springs arranged in series, both springs transmit the exact same internal force magnitude F, while their individual displacements x1 and x2 add to produce the total displacement x=x1+x2. Since x1=−k1F and x2=−k2F:
x=−F(k11+k21)
Solving for the force F gives:
F=−(k11+k21)−1x
Thus, the effective spring constant for two springs in series is:
keff=(k11+k21)−1=k1+k2k1k2
In a vertical mass-spring system, gravity acts continuously downward. When a mass m is attached to an unstretched vertical spring, gravity causes an initial static elongation Δ until the system reaches static equilibrium, satisfying:
kΔ=mg
Let x(t) represent the additional dynamic displacement measured downward from this static equilibrium position. The total elongation of the spring is x+Δ. The net downward force acting on the mass is:
Fnet=mg−k(x+Δ)=mg−kx−kΔ
Because kΔ=mg, the gravitational force cancels exactly with the static spring pre-tension:
Fnet=mg−kx−mg=−kx
Applying Newton's second law shows that the dynamic equation of motion for a vertical spring, when measured from static equilibrium, is identical to that of the horizontal system:
mx′′+cx′+kx=Fext(t)
Dynamics of Free Undamped Vibrations
When damping is negligible (c=0) and no external driving force acts (Fext=0), the governing equation reduces to the undamped free oscillation model:
mx′′+kx=0
Dividing by the mass m yields:
x′′+mkx=0
The characteristic equation is mr2+k=0, which gives the purely imaginary roots:
r=±imk
The parameter ω0=mk is defined as the natural angular frequency of the system, measured in rad/s. The general solution can be written as a linear combination of trigonometric functions:
x(t)=C1cos(ω0t)+C2sin(ω0t)
This linear combination can be expressed as a single phase-shifted cosine wave:
x(t)=Rcos(ω0t−δ)
Using the cosine angle-difference identity, this expression expands to:
Rcos(ω0t−δ)=Rcos(δ)cos(ω0t)+Rsin(δ)sin(ω0t)
Matching coefficients with the original form gives:
C1=Rcos(δ)
C2=Rsin(δ)
Squaring and adding these equations yields the oscillation amplitude R:
R2=C12+C22
R=C12+C22
Dividing the second equation by the first yields the phase angle δ:
tan(δ)=C1C2
A function u(t) is periodic if there exists a positive number T>0 such that u(t+T)=u(t) for all t. The smallest such value T is the period. For x(t)=Rcos(ω0t−δ), periodicity requires:
Rcos(ω0(t+T)−δ)=Rcos(ω0t−δ+ω0T)=Rcos(ω0t−δ)
This equality holds when ω0T=2π. Consequently, the period T and natural cyclic frequency f are:
T=ω02π
f=T1=2πω0
As a concrete example, consider an object of mass m=2kg attached to a spring on a frictionless horizontal surface with spring constant k=8N/m. The initial displacement is x(0)=0.1m and the initial velocity is x′(0)=0.2m/s. The governing differential equation is:
2x′′+8x=0
x′′+4x=0
The natural angular frequency is:
ω0=mk=28=2rad/s
The general solution is:
x(t)=C1cos(2t)+C2sin(2t)
Applying the initial condition x(0)=0.1m:
x(0)=C1=0.1
Differentiating to obtain velocity:
x′(t)=−2C1sin(2t)+2C2cos(2t)
Applying x′(0)=0.2m/s:
x′(0)=2C2=0.2
C2=0.1
Thus, the specific equation of motion is:
x(t)=0.1cos(2t)+0.1sin(2t)
In a second scenario, a 0.1kg mass suspended vertically stretches a spring by 0.15m under gravity (g=9.8m/s2). Using static equilibrium kΔ=mg:
k=Δmg=0.150.1×9.8=0.150.98=1598≈6.533N/m
If this mass and spring are placed on a frictionless horizontal surface in a vacuum, pulled 0.3m to the right, and released with an initial leftward speed of 2m/s, the angular frequency is:
ω0=mk=0.198/15=15980=3196≈8.083rad/s
Approximating ω0≈8rad/s, the general solution is:
x(t)=C1cos(8t)+C2sin(8t)
The initial conditions are x(0)=0.3 and x′(0)=−2 (the negative sign indicates leftward velocity). Substituting x(0)
x(0)=C1=0.3
Differentiating gives:
x′(t)=−8C1sin(8t)+8C2cos(8t)
x′(0)=8C2=−2
C2=−0.25
The resulting equation of motion is:
x(t)=0.3cos(8t)−0.25sin(8t)
Free Damped Vibrations and Damping Regimes
When viscous damping is included in free motion (Fext=0), the equation of motion is:
mx′′+cx′+kx=0
with m>0, c>0, and k>0. The characteristic equation is:
mr2+cr+k=0
Applying the quadratic formula yields the roots:
r=2m−c±c2−4mk
The sign of the discriminant Δ=c2−4mk defines three distinct physical damping regimes.
Underdamped motion occurs when c2<4mk. In this case, the discriminant is negative, producing complex conjugate roots:
r=−γ±iωd
where the exponential decay parameter γ and the damped natural frequency (quasi-frequency) ωd are defined as:
The motion consists of rapid oscillations at frequency ωd (which is strictly less than the natural frequency ω0) trapped inside an exponentially decaying envelope defined by ±Re−γt.
Critical damping occurs when c2=4mk. The discriminant vanishes, yielding a single repeated real root:
r=−2mc
The general solution is:
x(t)=(C1+C2t)e−2mct
Under critical damping, the system returns to equilibrium as rapidly as possible without sustained oscillations. The trajectory can pass through equilibrium (x=0) at most once before decaying asymptotically to zero. Critical damping represents the operational threshold between oscillatory and purely dissipative behavior.
Overdamped motion occurs when c2>4mk. The discriminant is strictly positive, yielding two distinct, negative real roots r1,r2<0:
r1=2m−c+c2−4mk
r2=2m−c−c2−4mk
The general solution is a sum of purely decaying exponentials:
x(t)=C1er1t+C2er2t
Because the damping force dominates, the mass moves sluggishly back toward equilibrium without oscillating.
To illustrate underdamped motion, consider a system with mass m=1kg, spring constant k=25N/m, and damping coefficient c=6N⋅s/m. The initial displacement is x(0)=0.10m and the system is released from rest (x′(0)=0m/s). Evaluating the discriminant:
c2−4mk=62−4(1)(25)=36−100=−64<0
Because the discriminant is negative, the system is underdamped. The characteristic roots are:
r=2(1)−6±−64=−3±4i
Here, γ=3 and ωd=4rad/s. The general solution is:
The influence of changing the damping coefficient can be examined for fixed parameters m=1kg and k=9N/m, with fixed initial conditions x(0)=1 and x′(0)=0. The critical damping value is:
ccrit=4mk=4(1)(9)=6N⋅s/m
For c=1N⋅s/m, c2=1<36, so the system is underdamped and oscillates with decaying amplitude. For c=6N⋅s/m, c2=36, so the system is critically damped and achieves the fastest non-oscillatory return to equilibrium. For c=8N⋅s/m, c2=64>36, so the system is overdamped, resulting in an exponential decay to equilibrium that is slower than in the critically damped case.
Euler-Cauchy Equations
When a second-order linear differential equation has variable coefficients, standard exponential trial functions erx generally fail. However, a significant class of variable-coefficient equations can be solved algebraically: the Euler-Cauchy (or equidimensional) equations. The general homogeneous second-order Euler-Cauchy equation is:
x2y′′+axy′+by=0
for x>0, where a and b are constants. Notice that the power of x in each coefficient matches the order of the derivative it multiplies: x2y′′, x1y′, and x0y. Higher-order equations follow this pattern, such as a3x3y′′′+a2x2y′′+a1xy′+a0y=0.
Because each differentiation of a power function xm lowers the power by one, multiplying by the corresponding power of x restores the exponent to m. Thus, a power function trial solution is employed:
y=xm
Differentiating gives:
y′=mxm−1
y′′=m(m−1)xm−2
Substituting these derivatives into the differential equation gives:
x2[m(m−1)xm−2]+ax[mxm−1]+b[xm]=0
m(m−1)xm+amxm+bxm=0
[m(m−1)+am+b]xm=0
Since x>0, xm=0, yielding the Euler-Cauchy auxiliary equation:
m(m−1)+am+b=0
m2+(a−1)m+b=0
This quadratic equation produces three distinct cases depending on its roots.
In Case 1, the auxiliary equation has two distinct real roots m1=m2. The general solution is:
y(x)=C1xm1+C2xm2
For example, consider the equation x2y′′−2xy′+2y=0 for x>0. Here a=−2 and b=2. The auxiliary equation is:
m2+(−2−1)m+2=0
m2−3m+2=0
(m−1)(m−2)=0
This gives distinct roots m1=1 and m2=2. The general solution is:
y(x)=C1x+C2x2
To solve the initial value problem with y(1)=3 and y′(1)=4, evaluate y(1):
y(1)=C1(1)+C2(1)2=C1+C2=3
Computing the derivative:
y′(x)=C1+2C2x
Evaluating at x=1:
y′(1)=C1+2C2=4
Subtracting the first equation from the second:
(C1+2C2)−(C1+C2)=4−3
C2=1
C1=3−1=2
Thus, the specific solution is:
y(x)=2x+x2
In Case 2, the auxiliary equation has a repeated real root m. The power trial solution yields y1(x)=xm. A second linearly independent solution is y2(x)=xmln(x). The general solution is:
y(x)=xm(C1+C2ln(x))
Consider the equation x2y′′−3xy′+4y=0. Here a=−3 and b=4. The auxiliary equation is:
m2+(−3−1)m+4=0
m2−4m+4=0
(m−2)2=0
This gives a double root at m=2. The general solution is:
y(x)=x2(C1+C2ln(x))
In Case 3, the auxiliary equation has complex conjugate roots m=ω±iϵ, where ϵ=0. Using the identity xm=emln(x):
Extracting linearly independent real solutions gives:
y(x)=xω[C1cos(ϵln(x))+C2sin(ϵln(x))]
Consider x2y′′−xy′+5y=0. Here a=−1 and b=5. The auxiliary equation is:
m2+(−1−1)m+5=0
m2−2m+5=0
m=22±4−20=1±2i
Here ω=1 and ϵ=2. The general solution for x>0 is:
y(x)=x[C1cos(2ln(x))+C2sin(2ln(x))]
When solving Euler-Cauchy equations on the domain x<0, the variable x is replaced by its absolute value ∣x∣, yielding basis terms such as ∣x∣m and ln∣x∣.
The Method of Reduction of Order
For a general second-order linear homogeneous differential equation with variable coefficients:
y′′+p(x)y′+q(x)y=0
knowing one non-zero solution y1(x) allows a second linearly independent solution y2(x) to be determined using the method of reduction of order.
To understand the underlying mechanism, consider the special case where q(x)=0:
y′′+p(x)y′=0
Because the dependent variable y does not appear explicitly, y1(x)=1 is an obvious solution. Substituting w(x)=y′(x) reduces the second-order equation to a first-order linear differential equation in w:
w′+p(x)w=0
Separating variables yields:
wdw=−p(x)dx
ln∣w∣=−∫p(x)dx
w(x)=w(x0)e−∫p(x)dx
Because w(x)=y′(x), integrating once more recovers the second solution:
y2(x)=∫w(x)dx=∫w(x0)e−∫p(x)dxdx
For the general case where q(x)=0, a second solution is sought in the form of a variable multiple of the known solution:
y2(x)=u(x)y1(x)
Differentiating using the product rule:
y2′(x)=u′y1+uy1′
y2′′(x)=u′′y1+2u′y1′+uy1′′
Substituting y2, y2′, and y2′′ into y′′+p(x)y′+q(x)y=0:
Because y1 is an exact solution of the original differential equation, the coefficient multiplying u vanishes identically:
y1′′+p(x)y1′+q(x)y1=0
This simplifies the equation to:
y1u′′+[2y1′+p(x)y1]u′=0
Setting v(x)=u′(x) reduces this second-order equation for u into a first-order separable differential equation for v:
y1v′+[2y1′+p(x)y1]v=0
Dividing through by y1v:
vv′+2y1y1′+p(x)=0
vv′=−2y1y1′−p(x)
Integrating both sides with respect to x:
ln∣v∣=−2ln∣y1∣−∫p(x)dx=ln([y1(x)]21)−∫p(x)dx
Exponentiating both sides gives:
v(x)=[y1(x)]2e−∫p(x)dx
Since u′(x)=v(x), integrating once more yields u(x):
u(x)=∫[y1(x)]2e−∫p(x)dxdx
Multiplying by y1(x) gives the reduction of order formula:
y2(x)=y1(x)∫[y1(x)]2e−∫p(x)dxdx
This formula provides the theoretical justification for the factor of x that appears in Case 2 of constant-coefficient equations. For y′′+2y′+y=0, the characteristic equation has a repeated root r=−1, giving y1(x)=e−x. Here, p(x)=2. Applying the reduction of order formula:
e−∫p(x)dx=e−∫2dx=e−2x
[y1(x)]2=(e−x)2=e−2x
[y1(x)]2e−∫p(x)dx=e−2xe−2x=1
Integrating gives:
u(x)=∫1dx=x
y2(x)=xy1(x)=xe−x
This demonstrates that the factor x arises directly from the quotient of exponential terms in the reduction of order integral.
Now consider the variable-coefficient equation xy′′−(2x+1)y′+(x+1)y=0 for x>0, given that y1(x)=ex is a known solution. First, write the differential equation in standard form by dividing by x:
y′′−x2x+1y′+xx+1y=0
Identify p(x):
p(x)=−(2+x1)
Evaluate the integrating exponent:
−∫p(x)dx=∫(2+x1)dx=2x+ln(x)
e−∫p(x)dx=e2x+ln(x)=e2xeln(x)=xe2x
Next, compute the denominator of the integrand:
[y1(x)]2=(ex)2=e2x
Form the ratio inside the integral:
[y1(x)]2e−∫p(x)dx=e2xxe2x=x
Integrate with respect to x:
u(x)=∫xdx=2x2
Multiplying by y1(x) gives the second solution:
y2(x)=21x2ex
Because any constant multiple of a solution to a homogeneous linear ODE is also a solution, the constant factor 21 can be absorbed, yielding the simpler basis solution y2(x)=x2ex. The general solution is:
y(x)=C1ex+C2x2ex
Linear Independence, the Wronskian, and Abel's Formula
Two functions y1(x) and y2(x) defined on an interval I are linearly independent if the equation:
C1y1(x)+C2y2(x)=0
for all x∈I implies that C1=0 and C2=0. If there exist constants not both zero such that the equation holds identically on I, the functions are linearly dependent.
For a second-order homogeneous linear equation y′′+p(x)y′+q(x)y=0 with continuous coefficients p(x) and q(x) on I, any two linearly independent solutions y1(x) and y2(x) form a fundamental set of solutions (or fundamental pair). Every solution on I can be uniquely represented as a linear combination of these basis functions:
y(x)=C1y1(x)+C2y2(x)
To determine linear independence without relying on ad hoc algebraic manipulation, the Wronskian determinant is used. For two differentiable functions y1 and y2, the Wronskian is defined as:
W(y1,y2)(x)=y1(x)y2′(x)−y1′(x)y2(x)
If the Wronskian evaluated at any single point x0∈I is non-zero (W(x0)=0), then the functions y1 and y2 are linearly independent on I. For solutions of a homogeneous linear differential equation, if W(x0)=0, the solutions are linearly dependent throughout I.
For the equation y′′+ω2y=0 with ω>0, the solutions are y1(x)=cos(ωx) and y2(x)=sin(ωx). Computing their derivatives:
Because ω>0, the Wronskian is a non-zero constant (W=ω=0) for all x, confirming that cos(ωx) and sin(ωx) form a fundamental set.
Similarly, for the Euler-Cauchy equation x2y′′−2xy′+2y=0 on the interval (0,∞), the solutions are y1(x)=x and y2(x)=x2. Computing their derivatives gives y1′(x)=1 and y2′(x)=2x. The Wronskian is:
W(x,x2)=x(2x)−(1)(x2)=2x2−x2=x2
Because x2>0 for all x∈(0,∞), W(x)=0, confirming that y1=x and y2=x2 form a fundamental pair on (0,∞).
The behavior of the Wronskian over an interval is governed by Abel's Formula. Let y1 and y2 be solutions of y′′+p(x)y′+q(x)y=0. Differentiating the Wronskian W=y1y2′−y1′y2 with respect to x using the product rule:
This is a first-order separable differential equation in W:
WdW=−p(x)dx
Integrating from x0 to x yields Abel's formula:
ln(W(x0)W(x))=−∫x0xp(s)ds
W(x)=W(x0)exp(−∫x0xp(s)ds)
Because the exponential function is strictly positive for all real exponents, Abel's formula reveals a crucial property: if the Wronskian is non-zero at a single point x0, it is non-zero at every point in the interval I. Conversely, if W(x0)=0, then W(x) is identically zero throughout I.
When a non-zero driving force is introduced on the right-hand side, the equation becomes non-homogeneous:
a2(x)y′′+a1(x)y′+a0(x)y=f(x)
Solving such non-homogeneous equations requires finding both the complementary solution to the homogeneous equation and a particular solution corresponding to f(x).