Mathwords logoMathwords

Homogeneous Ordinary Differential Equation — Definition, Formula & Examples

A homogeneous ordinary differential equation is an ODE in which every term involves the unknown function or its derivatives — there is no standalone forcing term (the right-hand side equals zero).

An ordinary differential equation an(x)y(n)+an1(x)y(n1)++a1(x)y+a0(x)y=0a_n(x)y^{(n)} + a_{n-1}(x)y^{(n-1)} + \cdots + a_1(x)y' + a_0(x)y = 0 is called homogeneous if the right-hand side is identically zero. For a linear ODE, this means the equation can be written as L[y]=0L[y] = 0, where LL is a linear differential operator.

Key Formula

any(n)+an1y(n1)++a1y+a0y=0a_n y^{(n)} + a_{n-1} y^{(n-1)} + \cdots + a_1 y' + a_0 y = 0
Where:
  • yy = the unknown function of x
  • y(k)y^{(k)} = the k-th derivative of y with respect to x
  • a0,,ana_0, \ldots, a_n = coefficient functions (often constants)

How It Works

To solve a homogeneous linear ODE with constant coefficients, you substitute y=erxy = e^{rx} into the equation, which converts it into an algebraic equation in rr called the characteristic equation. The roots of the characteristic equation determine the form of the general solution. Distinct real roots give terms like C1er1x+C2er2xC_1 e^{r_1 x} + C_2 e^{r_2 x}, repeated roots introduce factors of xx, and complex roots produce sine and cosine terms. The superposition principle guarantees that any linear combination of solutions to a homogeneous equation is also a solution.

Worked Example

Problem: Solve the homogeneous ODE: y'' - 5y' + 6y = 0.
Step 1: Assume a solution of the form y=erxy = e^{rx} and substitute into the equation to obtain the characteristic equation.
r25r+6=0r^2 - 5r + 6 = 0
Step 2: Factor the characteristic equation to find the roots.
(r2)(r3)=0r=2,  r=3(r - 2)(r - 3) = 0 \quad \Rightarrow \quad r = 2,\; r = 3
Step 3: Write the general solution as a linear combination of the two linearly independent solutions.
y=C1e2x+C2e3xy = C_1 e^{2x} + C_2 e^{3x}
Answer: y=C1e2x+C2e3xy = C_1 e^{2x} + C_2 e^{3x}, where C1C_1 and C2C_2 are arbitrary constants.

Why It Matters

Homogeneous ODEs appear throughout physics and engineering — for example, unforced spring-mass systems and undriven electrical circuits are modeled by homogeneous second-order equations. Mastering them is also essential because the method of solving the nonhomogeneous case (variation of parameters, undetermined coefficients) requires you to first solve the associated homogeneous equation.

Common Mistakes

Mistake: Confusing a 'homogeneous ODE' (right-hand side equals zero) with a 'homogeneous first-order ODE' of the form y=f(y/x)y' = f(y/x), which uses a substitution v=y/xv = y/x.
Correction: These are two different meanings of 'homogeneous' in differential equations. Check the context: if the equation is linear and set equal to zero, it is homogeneous in the linear-algebra sense. If the equation has the form M(x,y)dx+N(x,y)dy=0M(x,y)dx + N(x,y)dy = 0 where MM and NN are homogeneous functions of the same degree, a different technique applies.