Second Order Differential Equation Basics

On this page
  1. Direct answer
  2. What you must remember
  3. One equation, two conditions
  4. Where the exam tries to catch you
  5. Frequently asked questions
  6. Related topics

Direct answer

For y″ + py′ + qy = 0 with constant coefficients, the trial y = e^(mx) works only when m solves the auxiliary equation m² + pm + q = 0. The nature of the roots then writes the general solution directly. Distinct real roots give two exponentials, a repeated root gives (c1 + c2x)e^(mx), and complex roots α ± iβ give e^(αx)(c1 cos βx + c2 sin βx).

What you must remember

  • Auxiliary equation: substituting y = e^(mx) into y″ + py′ + qy = 0 gives m² + pm + q = 0.
  • Three root cases: distinct real roots give two exponentials; a repeated root needs the factor x; complex roots α ± iβ give an exponential times a cosine-sine pair.
  • Complex case reading: the real part α drives the exponential envelope, and the imaginary part β sets the oscillation frequency.
  • CF + PI: the general solution of the non-homogeneous equation is the complementary function plus any one particular integral, never the particular integral alone.
  • Trial discipline: for a polynomial forcing term, try a polynomial of the same degree; for e^(kx), try Ae^(kx), multiplied by x if k is already a root; for cos or sin, try A cos + B sin together.
  • Superposition: for a sum of forcing terms, add the individual particular trials.
  • Initial conditions: two conditions fix the two constants, after the general solution has been differentiated.
  • Syllabus placement: the JEE Main syllabus lists first order, first degree equations, so constant-coefficient second order work is mainly Advanced-level.

One equation, two conditions

Solve y″ − 5y′ + 6y = 0 with y(0) = 1 and y′(0) = 0. The auxiliary equation decides the shape of the family, and the two initial conditions pick out one member of it. The method is the same for every constant-coefficient problem of this type.

  1. Form the auxiliary equation: m² − 5m + 6 = 0 factors as (m − 2)(m − 3) = 0, giving distinct real roots 2 and 3.
  2. Write the general solution: y = c1 e^(2x) + c2 e^(3x).
  3. Differentiate first: y′ = 2c1 e^(2x) + 3c2 e^(3x). Then y(0) gives c1 + c2 = 1, and y′(0) gives 2c1 + 3c2 = 0.
  4. Solve and verify: the simultaneous equations give c2 = −2 and c1 = 3, so y = 3e^(2x) − 2e^(3x). Both conditions check out: y(0) = 1 and y′(0) = 0.

A repeated root would have placed x inside the family, as (c1 + c2x)e^(mx), before the same two conditions were applied.

Where the exam tries to catch you

The habitual losses come from the root cases and from the order of operations. Each one converts a routine solve into a confidently wrong answer.

  • Trap: writing e^(mx) twice for a repeated root, which gives two proportional terms and only one real constant. Correct: multiply the second solution by x, giving (c1 + c2x)e^(mx).
  • Trap: using the trial Ae^(kx) when k already solves the auxiliary equation. Correct: use Axe^(kx), the resonance case that Advanced questions set deliberately.
  • Trap: substituting x = 0 into the general solution before differentiating it. Correct: differentiate first, then substitute each condition, so the two equations are independent.

Frequently asked questions

What is the auxiliary equation of y″ + py′ + qy = 0?

The auxiliary equation is m² + pm + q = 0, obtained by testing y = e^(mx) in the differential equation. Its roots determine the form of the general solution completely.

What changes when the auxiliary equation has a repeated root?

A repeated root m gives the general solution y = (c1 + c2x)e^(mx). The factor x is essential, because without it the two constants would collapse into one.

What form does the solution take for complex roots α ± iβ?

For complex roots α ± iβ, the solution is y = e^(αx)(c1 cos βx + c2 sin βx). The real part α controls the exponential envelope, and the imaginary part β controls the oscillation.

Why is the general solution the complementary function plus a particular integral?

The complementary function carries the two arbitrary constants, while one particular solution accounts for the forcing term. Adding that particular solution to the complementary function gives the complete general solution.

Is second order constant-coefficient work part of the JEE Main syllabus?

The JEE Main syllabus lists first order, first degree equations, so constant-coefficient second order equations are mainly Advanced-level work. They also support the oscillation language used in physics.

Practise this in the PrepElephant app

Question banks, previous-year questions, mock tests and revision tools — for Second Order Differential Equation Basics and JEE Mathematics. Free to start.

Get the free app WhatsApp