TheoremComplete

Superposition Principle

The superposition principle is a fundamental property of linear differential equations that allows us to build complex solutions from simpler ones. This principle is crucial for understanding the structure of solution spaces.

TheoremSuperposition Principle for Homogeneous Equations

If y1(x)y_1(x) and y2(x)y_2(x) are solutions of the homogeneous linear differential equation:

ay+by+cy=0ay'' + by' + cy = 0

then any linear combination:

y=c1y1(x)+c2y2(x)y = c_1y_1(x) + c_2y_2(x)

is also a solution, where c1c_1 and c2c_2 are arbitrary constants.

Proof

Let L[y]=ay+by+cyL[y] = ay'' + by' + cy be the differential operator. We need to show L[c1y1+c2y2]=0L[c_1y_1 + c_2y_2] = 0.

By linearity of differentiation:

L[c1y1+c2y2]=a(c1y1+c2y2)+b(c1y1+c2y2)+c(c1y1+c2y2)L[c_1y_1 + c_2y_2] = a(c_1y_1 + c_2y_2)'' + b(c_1y_1 + c_2y_2)' + c(c_1y_1 + c_2y_2)

=c1(ay1+by1+cy1)+c2(ay2+by2+cy2)= c_1(ay_1'' + by_1' + cy_1) + c_2(ay_2'' + by_2' + cy_2)

=c10+c20=0= c_1 \cdot 0 + c_2 \cdot 0 = 0

since y1y_1 and y2y_2 are solutions. Therefore c1y1+c2y2c_1y_1 + c_2y_2 is also a solution.

TheoremGeneral Solution Structure

The general solution of a second-order homogeneous linear ODE is:

y=c1y1+c2y2y = c_1y_1 + c_2y_2

where y1y_1 and y2y_2 are linearly independent solutions forming a fundamental set.

Two solutions are linearly independent if and only if their Wronskian is nonzero:

W(y1,y2)=y1y2y1y20W(y_1, y_2) = y_1y_2' - y_1'y_2 \neq 0

ExampleVerifying Linear Independence

Consider y1=e2xy_1 = e^{2x} and y2=e3xy_2 = e^{3x}, solutions of y5y+6y=0y'' - 5y' + 6y = 0.

Compute the Wronskian:

W=e2x3e3x2e2xe3x=3e5x2e5x=e5x0W = e^{2x} \cdot 3e^{3x} - 2e^{2x} \cdot e^{3x} = 3e^{5x} - 2e^{5x} = e^{5x} \neq 0

Since W0W \neq 0, the solutions are linearly independent, and:

y=c1e2x+c2e3xy = c_1e^{2x} + c_2e^{3x}

is the general solution containing all possible solutions.

TheoremSuperposition for Nonhomogeneous Equations

If ypy_p is a particular solution of the nonhomogeneous equation:

ay+by+cy=f(x)ay'' + by' + cy = f(x)

and yh=c1y1+c2y2y_h = c_1y_1 + c_2y_2 is the general solution of the associated homogeneous equation, then the general solution of the nonhomogeneous equation is:

y=yh+yp=c1y1+c2y2+ypy = y_h + y_p = c_1y_1 + c_2y_2 + y_p

Remark

The superposition principle fails for nonlinear equations. For example, if y1y_1 and y2y_2 satisfy y+y2=0y'' + y^2 = 0, then y1+y2y_1 + y_2 does NOT satisfy the equation because:

(y1+y2)2=y12+2y1y2+y22y12+y22(y_1+y_2)^2 = y_1^2 + 2y_1y_2 + y_2^2 \neq y_1^2 + y_2^2

This is why linear equations are fundamentally easier to solve than nonlinear ones.

ExampleMultiple Forcing Functions

Suppose we know particular solutions for:

  • y+y=sinxy'' + y = \sin x has yp1=12xcosxy_{p1} = -\frac{1}{2}x\cos x
  • y+y=cosxy'' + y = \cos x has yp2=12xsinxy_{p2} = \frac{1}{2}x\sin x

Then by superposition, a particular solution of:

y+y=3sinx+2cosxy'' + y = 3\sin x + 2\cos x

is:

yp=3yp1+2yp2=32xcosx+xsinxy_p = 3y_{p1} + 2y_{p2} = -\frac{3}{2}x\cos x + x\sin x

The superposition principle is not just a computational tool but reveals the vector space structure of linear differential equations. The solution space of an nn-th order homogeneous linear ODE is an nn-dimensional vector space.