4.10d - Second order homogeneous equations

4.10d - Second order homogeneous equations

A quadratic equation can determine an entire family of functions. You will use the auxiliary equation to solve second order homogeneous differential equations, choose the right form for real, repeated or complex roots, and determine the constants from conditions.

The auxiliary equation and distinct roots

Why can solving a quadratic tell you the shape of a curve? Exponentials keep their form when differentiated: if y=emxy=e^{mx}, then y′=memxy'=me^{mx} and y′′=m2emxy''=m^2e^{mx}. This turns a differential equation into algebra.

You already know

A second order general solution has two independent arbitrary constants. A quadratic has distinct real roots, a repeated real root or conjugate complex roots according as its discriminant is positive, zero or negative.

A second order linear equation with constant coefficients can be written y′′+ay′+by=0y''+ay'+by=0, where aa and bb are real constants. Homogeneous means that its right-hand side is zero; it does not mean that every coefficient is zero. If the coefficient of y′′y'' is a non-zero constant, divide by it first.

Substitute the trial function emxe^{mx}:

m2emx+amemx+bemx=0substitute the derivativesemx(m2+am+b)=0factor out emxm2+am+b=0emx≠0\begin{aligned} m^2e^{mx}+ame^{mx}+be^{mx}&=0 &&\text{substitute the derivatives}\\ e^{mx}(m^2+am+b)&=0 &&\text{factor out }e^{mx}\\ m^2+am+b&=0 && e^{mx}\ne0 \end{aligned}

Auxiliary equation

The auxiliary equation for y′′+ay′+by=0y''+ay'+by=0 is m2+am+b=0m^2+am+b=0. Its roots determine the form of the general solution. The numbers mm are exponents, not values of xx or yy.

If y1y_1 and y2y_2 solve this homogeneous equation, so does Ay1+By2Ay_1+By_2: differentiation and multiplication distribute over the sum, so the left-hand side becomes A(0)+B(0)A(0)+B(0). Distinct exponentials supply two independent choices.

Distinct real roots

For real constants aa, bb, if m2+am+b=0m^2+am+b=0 has distinct real roots m1m_1 and m2m_2, then

y=Aem1x+Bem2xy=Ae^{m_1x}+Be^{m_2x}

where AA and BB are independent arbitrary real constants. This case occurs when a2−4b>0a^2-4b>0.
Not in the formula booklet: learn it.

Solve the quadratic before writing the function; the sign of each root becomes the sign in its exponent.

Worked example 1: two distinct real roots

Question. Find the general solution of 2y′′=2y′+12y2y''=2y'+12y.

Plan. Rearrange and divide by two, solve the auxiliary equation, then attach one independent constant to each exponential.

y′′−y′−6y=0rearrange and divide by 2m2−m−6=0auxiliary equation(m−3)(m+2)=0factorisem=3 or −2distinct rootsy=Ae3x+Be−2xtwo exponential solutions\begin{aligned} y''-y'-6y&=0 &&\text{rearrange and divide by }2\\ m^2-m-6&=0 &&\text{auxiliary equation}\\ (m-3)(m+2)&=0 &&\text{factorise}\\ m&=3\text{ or }-2 &&\text{distinct roots}\\ y&=Ae^{3x}+Be^{-2x} &&\text{two exponential solutions} \end{aligned}

Why this step? The roots are rates in the exponentials; y=A(3)+B(−2)y=A(3)+B(-2) would just be a constant, not the required family.

Answer. y=Ae3x+Be−2xy=Ae^{3x}+Be^{-2x}.

Check. Substitution gives coefficients 32−3−6=03^2-3-6=0 and (−2)2−(−2)−6=0(-2)^2-(-2)-6=0, so both exponential terms satisfy the equation.

Change only the coefficient of yy from −6-6 to −2-2. Recalculate the roots instead of carrying the old exponents forward.

Worked example 2: changing one coefficient

Question. Find the general solution of 2y′′=2y′+4y2y''=2y'+4y.

Plan. Factorise the new auxiliary quadratic, then use its two roots.

y′′−y′−2y=0rearrange and divide by 2m2−m−2=0auxiliary equation(m−2)(m+1)=0factorisem=2 or −1read the rootsy=Ae2x+Be−xdistinct-root form\begin{aligned} y''-y'-2y&=0 &&\text{rearrange and divide by }2\\ m^2-m-2&=0 &&\text{auxiliary equation}\\ (m-2)(m+1)&=0 &&\text{factorise}\\ m&=2\text{ or }-1 &&\text{read the roots}\\ y&=Ae^{2x}+Be^{-x} &&\text{distinct-root form} \end{aligned}

Why this step? The coefficient of yy affects the product of the roots and therefore both exponential rates.

Answer. y=Ae2x+Be−xy=Ae^{2x}+Be^{-x}.

Check. The two coefficients after substitution are 4−2−2=04-2-2=0 and 1+1−2=01+1-2=0.

An absent yy term is allowed: y′′+2y′=0y''+2y'=0 has roots 00, −2-2, so its solution is A+Be−2xA+Be^{-2x}. The zero root gives the constant function e0x=1e^{0x}=1.

Watch out

Wrong: m=−2m=-2 gives e2xe^{2x}. Right: the root itself is the exponent coefficient, so it gives e−2xe^{-2x}.

Vary the final coefficient again, keeping track of both signs.

A repeated auxiliary root

When both roots are mm, writing Aemx+BemxAe^{mx}+Be^{mx} gives only (A+B)emx(A+B)e^{mx}. One independent constant has disappeared. The missing second solution is xemxxe^{mx}.

You can see why without guessing. A repeated root means a=−2ma=-2m, b=m2b=m^2. Substitute y=u(x)emxy=u(x)e^{mx}, where uu is an unknown function:

y′=emx(u′+mu)product ruley′′=emx(u′′+2mu′+m2u)differentiate againy′′−2my′+m2y=emxu′′cancel the other terms\begin{aligned} y'&=e^{mx}(u'+mu) &&\text{product rule}\\ y''&=e^{mx}(u''+2mu'+m^2u) &&\text{differentiate again}\\ y''-2my'+m^2y&=e^{mx}u'' &&\text{cancel the other terms} \end{aligned}

Thus u′′=0u''=0, giving u=A+Bxu=A+Bx. The extra factor of xx restores the second independent constant.

Repeated real root

If m2+am+b=0m^2+am+b=0 has repeated root m=−a/2m=-a/2, then

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

where AA and BB are independent arbitrary real constants. This case occurs when a2−4b=0a^2-4b=0.
Not in the formula booklet: learn it.

A repeated root is one root counted twice, so its general solution is structurally different from the distinct-root case.

Worked example 3: recognising a repeated root

Question. Find the general solution of y′′−4y′+4y=0y''-4y'+4y=0.

Plan. Factorise the auxiliary equation and use the repeated-root form.

m2−4m+4=0auxiliary equation(m−2)2=0perfect squarem=2 repeatedone root counted twicey=(A+Bx)e2xinclude the x factor\begin{aligned} m^2-4m+4&=0 &&\text{auxiliary equation}\\ (m-2)^2&=0 &&\text{perfect square}\\ m&=2\text{ repeated} &&\text{one root counted twice}\\ y&=(A+Bx)e^{2x} &&\text{include the }x\text{ factor} \end{aligned}

Why this step? The functions e2xe^{2x} and xe2xxe^{2x} are independent; two copies of e2xe^{2x} are not.

Answer. y=(A+Bx)e2xy=(A+Bx)e^{2x}.

Check. The derivation above with m=2m=2 reduces the left-hand side to e2xu′′=0e^{2x}u''=0, since u=A+Bxu=A+Bx.

Change only the sign of the coefficient of y′y'. The root changes sign but remains repeated, so the factor of xx must remain.

Worked example 4: a negative repeated root

Question. Find the general solution of y′′+4y′+4y=0y''+4y'+4y=0.

Plan. Solve the auxiliary equation and keep the repeated-root structure.

m2+4m+4=0auxiliary equation(m+2)2=0factorisem=−2 repeatedread the signy=(A+Bx)e−2xrepeated-root form\begin{aligned} m^2+4m+4&=0 &&\text{auxiliary equation}\\ (m+2)^2&=0 &&\text{factorise}\\ m&=-2\text{ repeated} &&\text{read the sign}\\ y&=(A+Bx)e^{-2x} &&\text{repeated-root form} \end{aligned}

Why this step? A negative exponent changes growth to decay as xx increases; it does not remove the second independent solution.

Answer. y=(A+Bx)e−2xy=(A+Bx)e^{-2x}.

Check. Taking A=0A=0, B=1B=1 gives y′=e−2x(1−2x)y'=e^{-2x}(1-2x), y′′=e−2x(4x−4)y''=e^{-2x}(4x-4). Hence y′′+4y′+4y=e−2x[(4x−4)+4(1−2x)+4x]=0y''+4y'+4y=e^{-2x}[(4x-4)+4(1-2x)+4x]=0.

The repeated-root rule also includes m=0m=0: y′′=0y''=0 gives y=A+Bxy=A+Bx, matching integration twice.

Watch out

Wrong: y=Ae−2x+Be−2xy=Ae^{-2x}+Be^{-2x} for a repeated root. Right: y=(A+Bx)e−2xy=(A+Bx)e^{-2x}, with the extra xx multiplying one term.

Apply the same structure when the repeated root is a different negative number.

Complex auxiliary roots

A negative discriminant does not mean that a real solution is impossible. Conjugate complex roots combine into real sine and cosine functions.

If the roots are α±iβ\alpha\pm i\beta, where β>0\beta>0, Euler's formula gives

e(α±iβ)x=eαx(cos⁡βx±isin⁡βx)e^{(\alpha\pm i\beta)x}=e^{\alpha x}(\cos\beta x\pm i\sin\beta x)

Adding the two functions gives 2eαxcos⁡βx2e^{\alpha x}\cos\beta x; subtracting and dividing by ii gives 2eαxsin⁡βx2e^{\alpha x}\sin\beta x. Both are real solutions, so arbitrary real multiples give the required real family. The root's real part controls the exponential factor; the imaginary part controls the trigonometric argument.

Conjugate complex roots

For auxiliary roots α±iβ\alpha\pm i\beta, with α\alpha real and β>0\beta>0, the real general solution is

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

where AA, BB are independent arbitrary real constants. This case occurs when a2−4b<0a^2-4b<0.
Not in the formula booklet: learn it.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account