Second order equations with constant coefficients

Second order equations with constant coefficients

Spec I4 · AQA A-Level Further Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • Try y=emxy=e^{mx} in y′′+ay′+by=0y''+ay'+by=0 to get the auxiliary equation m2+am+b=0m^2+am+b=0.
  • Distinct real roots: y=Aem1x+Bem2xy=Ae^{m_1x}+Be^{m_2x}.
  • Repeated root: y=(A+Bx)emxy=(A+Bx)e^{mx}.
  • Complex roots α±iβ\alpha\pm i\beta: y=eαx(Acos⁡βx+Bsin⁡βx)y=e^{\alpha x}(A\cos\beta x+B\sin\beta x).
  • Two constants need two conditions, usually yy and y′y' at one value of xx.

The auxiliary equation

Try y=emxy=e^{mx}: the equation becomes the quadratic m2+am+b=0m^2+am+b=0, whose roots decide the solution.

To solve y′′+ay′+by=0y''+ay'+by=0 with constant a,ba,b, try y=emxy=e^{mx}. Then y′=memxy'=me^{mx} and y′′=m2emxy''=m^2e^{mx}, and since emx≠0e^{mx}\neq0 we need

m2+am+b=0,m^2+am+b=0,

the auxiliary equation.

Its roots decide the form of the general solution, which has two arbitrary constants because the equation is second order. Solve the quadratic by factorising, completing the square or the formula.

−4−3.5−3−2.5−2−1.5−1−0.50.51−1123456xym = −2m = −1m² + 3m + 2
For y″ + 3y′ + 2y = 0 the auxiliary equation is m² + 3m + 2 = 0. Its roots, where the curve crosses the axis, are m = −2 and m = −1.
  • y′′+ay′+by=0y''+ay'+by=0m2+am+b=0m^2+am+b=0

Worked example

Find the auxiliary equation and its roots for y′′−5y′+6y=0y''-5y'+6y=0.

What is the auxiliary equation of y′′+4y′−12y=0y''+4y'-12y=0?

Two distinct real roots

With discriminant a2−4b>0a^2-4b>0 the solution is Aem1x+Bem2xAe^{m_1x}+Be^{m_2x}, with no oscillation.

If the discriminant a2−4b>0a^2-4b>0 there are distinct real roots m1,m2m_1,m_2 and

y=Aem1x+Bem2x.y=Ae^{m_1x}+Be^{m_2x}.

For y′′−5y′+6y=0y''-5y'+6y=0: y=Ae2x+Be3xy=Ae^{2x}+Be^{3x}.

Both exponents are real, so the solution grows or decays without oscillating. If both roots are negative, y→0y\to0 as x→∞x\to\infty.

0.511.522.533.540.511.52xy(0, 2)y = e^(−x) + e^(−2x)
Roots −1 and −2 (A = B = 1): the solution decays without oscillating.

What is the general solution of y′′−y′−6y=0y''-y'-6y=0?

A repeated root

With discriminant 00 the solution is (A+Bx)emx(A+Bx)e^{mx}; the factor xx gives the second independent solution.

If the discriminant is 00 there is one repeated root mm and

y=(A+Bx)emx.y=(A+Bx)e^{mx}.

For y′′+4y′+4y=0y''+4y'+4y=0: (m+2)2=0(m+2)^2=0, so y=(A+Bx)e−2xy=(A+Bx)e^{-2x}. The factor xx supplies a second independent solution.

To find AA and BB use the product rule: y′=(B+mA+mBx)emxy'=\left(B+mA+mBx\right)e^{mx}.

−1−0.50.511.522.533.54−0.20.20.40.60.811.21.41.6xy(−1, 0)(−0.5, 1.36)y = (1 + x)e^(−2x)
Repeated root m = −2 (A = B = 1): one maximum, then decay, no oscillation.

What is the general solution of y′′−6y′+9y=0y''-6y'+9y=0?

Complex roots

A conjugate pair α±iβ\alpha\pm i\beta gives eαx(Acos⁡βx+Bsin⁡βx)e^{\alpha x}(A\cos\beta x+B\sin\beta x): decay or growth times oscillation.

If the discriminant is negative the roots are a conjugate pair m=α±iβm=\alpha\pm i\beta and

y=eαx(Acos⁡βx+Bsin⁡βx).y=e^{\alpha x}\left(A\cos\beta x+B\sin\beta x\right).

For y′′+2y′+5y=0y''+2y'+5y=0: m=−1±2im=-1\pm2i, so y=e−x(Acos⁡2x+Bsin⁡2x)y=e^{-x}(A\cos2x+B\sin2x).

The real part α\alpha gives growth (α>0\alpha>0) or decay (α<0\alpha<0) and β\beta is the angular frequency. If α=0\alpha=0 the amplitude is constant, as in y′′+9y=0y''+9y=0 with y=Acos⁡3x+Bsin⁡3xy=A\cos3x+B\sin3x.

0.511.522.533.544.55−1−0.50.51xy(0, 1)y = e^(−x) cos 2xy = e^(−x)y = −e^(−x)
Oscillation of angular frequency 2 inside the decaying envelopes ±e^(−x).

What is the general solution of y′′+4y′+13y=0y''+4y'+13y=0?

Discriminant and particular solutions

Match a2−4ba^2-4b to the case, then use two conditions to find AA and BB.

Match the discriminant a2−4ba^2-4b to the case:

  • >0>0: Aem1x+Bem2xAe^{m_1x}+Be^{m_2x}
  • =0=0: (A+Bx)emx(A+Bx)e^{mx}
  • <0<0: eαx(Acos⁡βx+Bsin⁡βx)e^{\alpha x}(A\cos\beta x+B\sin\beta x)

Two constants need two conditions, usually yy and dydx\frac{dy}{dx} at one value of xx. Differentiate the general solution, substitute both conditions and solve the simultaneous equations.

−6−4−2246−6−4−224681012xym² + am + b
The auxiliary quadratic m² + am + b. Change a and b: two crossings mean a² − 4b > 0, one touch means = 0, none means < 0.

a2−4b>0a^2-4b>0

  • Distinct real roots
  • Aem1x+Bem2xAe^{m_1x}+Be^{m_2x}

a2−4b=0a^2-4b=0

  • Repeated root
  • (A+Bx)emx(A+Bx)e^{mx}

a2−4b<0a^2-4b<0

  • Complex roots
  • eαx(Acos⁡βx+Bsin⁡βx)e^{\alpha x}(A\cos\beta x+B\sin\beta x)

Worked example

Solve y′′−5y′+6y=0y''-5y'+6y=0 given y=1y=1 and y′=0y'=0 at x=0x=0.

A second order equation has auxiliary equation m2+6m+9=0m^2+6m+9=0. Which form does the solution take?

Try an exam question

Solve y′′−4y′+4y=0y''-4y'+4y=0, given that y=1y=1 and y′=0y'=0 when x=0x=0.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find the roots of the auxiliary equation.

1 mark, marked against the mark scheme

Revision notes