Mathwords logoMathwords

Homogeneous Linear Second Order Equation — Formula & Example

A homogeneous linear second order equation is a differential equation built only from y, y', and y'', each multiplied by a function of x, with zero on the right-hand side. No term depends on x alone, so the function y = 0 is always a solution.

On an interval II, it is an equation a(x)y′′+b(x)y′+c(x)y=0a(x)y'' + b(x)y' + c(x)y = 0, where aa, bb, cc are continuous and a(x)≠0a(x) \neq 0 on II. Its solution set is a two-dimensional vector space. Any two solutions y1,y2y_1, y_2 with nonzero Wronskian W=y1y2′−y2y1′W = y_1y_2' - y_2y_1' form a fundamental set, and every solution equals C1y1+C2y2C_1y_1 + C_2y_2 for some constants C1C_1 and C2C_2.

Key Formula

a(x) y′′+b(x) y′+c(x) y=0,y=C1 y1(x)+C2 y2(x)a(x)\,y'' + b(x)\,y' + c(x)\,y = 0, \qquad y = C_1\,y_1(x) + C_2\,y_2(x)
Where:
  • a(x),b(x),c(x)a(x), b(x), c(x) = Coefficient functions of x only, with a(x) nonzero on the interval
  • y1,y2y_1, y_2 = Two linearly independent solutions (a fundamental set)
  • C1,C2C_1, C_2 = Arbitrary constants, fixed by two initial or boundary conditions

Worked Example

Problem: For x>0x > 0, solve the initial value problem x2y′′−2xy′+2y=0x^2y'' - 2xy' + 2y = 0, y(1)=3y(1) = 3, y′(1)=4y'(1) = 4. Test the candidates y1=xy_1 = x and y2=x2y_2 = x^2.
Step 1: Check that each candidate makes the left side zero. The leading coefficient x2x^2 is nonzero for x>0x > 0, so the theory applies on that interval.
y1=x:  x2(0)−2x(1)+2x=0y2=x2:  x2(2)−2x(2x)+2x2=0y_1 = x:\; x^2(0) - 2x(1) + 2x = 0 \qquad y_2 = x^2:\; x^2(2) - 2x(2x) + 2x^2 = 0
Step 2: Compute the Wronskian to confirm the two solutions are independent. Because it is never zero for x>0x > 0, superposition gives the general solution.
W=y1y2′−y2y1′=x(2x)−x2(1)=x2≠0  ⟹  y=C1x+C2x2W = y_1y_2' - y_2y_1' = x(2x) - x^2(1) = x^2 \neq 0 \implies y = C_1x + C_2x^2
Step 3: Use y′=C1+2C2xy' = C_1 + 2C_2x and plug in x=1x = 1. Subtracting the first equation from the second gives C2C_2.
{C1+C2=3C1+2C2=4  ⟹  C2=1,  C1=2\begin{cases} C_1 + C_2 = 3 \\ C_1 + 2C_2 = 4 \end{cases} \implies C_2 = 1,\; C_1 = 2
Answer: y=x2+2xy = x^2 + 2x for x>0x > 0. Check: y(1)=1+2=3y(1) = 1 + 2 = 3 and y′(1)=2+2=4y'(1) = 2 + 2 = 4.

Why It Matters

An unforced spring-mass system, my′′+cy′+ky=0my'' + cy' + ky = 0, and a series RLC circuit with no voltage source are both homogeneous linear second order equations. In a first ODE course, solving the homogeneous version is always the first step for a nonhomogeneous equation, because its general solution is the complementary part yhy_h of every answer.

Common Mistakes

Mistake: Building the general solution from two solutions that are multiples of each other, such as y=C1x+C2(3x)y = C_1x + C_2(3x).
Correction: Their Wronskian is x(3)−3x(1)=0x(3) - 3x(1) = 0, so they are linearly dependent and collapse into one family. You need two solutions with W≠0W \neq 0 to capture every solution.

Related Terms