Solve a 2nd order linear DE: y'' - 5y' + 6y = 0 — characteristic equation method

hard JEE-ADVANCED JEE Advanced 2021 3 min read

Question

Solve the differential equation y5y+6y=0y'' - 5y' + 6y = 0.

(JEE Advanced 2021, similar pattern)


Solution — Step by Step

For a linear DE with constant coefficients, we assume y=emxy = e^{mx}, where mm is a constant to be determined.

Then: y=memxy' = me^{mx} and y=m2emxy'' = m^2 e^{mx}.

Substituting into y5y+6y=0y'' - 5y' + 6y = 0:

m2emx5memx+6emx=0m^2 e^{mx} - 5me^{mx} + 6e^{mx} = 0

Since emx0e^{mx} \neq 0, divide through:

m25m+6=0m^2 - 5m + 6 = 0

This is the characteristic equation (also called the auxiliary equation).

m25m+6=0m^2 - 5m + 6 = 0 (m2)(m3)=0(m - 2)(m - 3) = 0 m=2 or m=3m = 2 \text{ or } m = 3

We get two distinct real roots.

When the characteristic equation has two distinct real roots m1m_1 and m2m_2, the general solution is:

y=C1em1x+C2em2xy = C_1 e^{m_1 x} + C_2 e^{m_2 x} y=C1e2x+C2e3x\boxed{y = C_1 e^{2x} + C_2 e^{3x}}

where C1C_1 and C2C_2 are arbitrary constants determined by initial/boundary conditions.


Why This Works

The assumption y=emxy = e^{mx} works because exponential functions have the special property that their derivatives are proportional to themselves. This transforms the differential equation into an algebraic equation in mm, which is much easier to solve.

The two linearly independent solutions e2xe^{2x} and e3xe^{3x} form a fundamental set — any solution of the DE can be written as a linear combination of these two. This is guaranteed by the theory of linear ODEs: a 2nd order linear ODE always has exactly 2 linearly independent solutions.


Alternative Method — The three cases

Depending on the discriminant of the characteristic equation am2+bm+c=0am^2 + bm + c = 0:

DiscriminantRootsGeneral Solution
b24ac>0b^2 - 4ac > 0Two distinct real: m1,m2m_1, m_2C1em1x+C2em2xC_1 e^{m_1 x} + C_2 e^{m_2 x}
b24ac=0b^2 - 4ac = 0Repeated real: mm(C1+C2x)emx(C_1 + C_2 x)e^{mx}
b24ac<0b^2 - 4ac < 0Complex: α±iβ\alpha \pm i\betaeαx(C1cosβx+C2sinβx)e^{\alpha x}(C_1\cos\beta x + C_2\sin\beta x)

Our problem falls in case 1 (discriminant =2524=1>0= 25 - 24 = 1 > 0).

For JEE Advanced, you must know all three cases. The repeated root case (case 2) is the trickiest — note the extra xx factor in (C1+C2x)emx(C_1 + C_2 x)e^{mx}. The complex root case (case 3) gives oscillatory solutions, which appear in problems involving simple harmonic motion and LC circuits.


Common Mistake

When roots are repeated (m1=m2=mm_1 = m_2 = m), students write the general solution as y=(C1+C2)emx=Cemxy = (C_1 + C_2)e^{mx} = Ce^{mx}. This has only ONE arbitrary constant, not two — so it cannot be the general solution of a 2nd order DE (which always needs two constants). The correct form is (C1+C2x)emx(C_1 + C_2 x)e^{mx} — the factor of xx in front of C2C_2 is essential for linear independence.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next