CP 9.4, 9.6 - Second-order homogeneous equations

CP 9.4, 9.6 - Second-order homogeneous equations

An auxiliary quadratic turns a second-order differential equation into a root-finding problem. You will solve the homogeneous equation in CP 9.4, use the discriminant to choose the correct solution form in CP 9.6, and apply two conditions to select a particular solution.

The auxiliary equation and distinct real roots

The equation y′′+4y=0y''+4y=0 has the real solution y=cos⁡2xy=\cos2x. Yet trying an exponential y=emxy=\mathrm{e}^{mx} asks for m2=−4m^2=-4. How can complex roots lead to a real sine or cosine curve? The same exponential trial solves the real-root cases first; Euler's formula will then complete the picture.

You already know

A general solution contains arbitrary constants, and supplied conditions select a particular member. Also (emx)′=memx(\mathrm{e}^{mx})'=m\mathrm{e}^{mx}, while eiθ=cos⁡θ+isin⁡θ\mathrm{e}^{\mathrm{i}\theta}=\cos\theta+\mathrm{i}\sin\theta. Complex conjugate roots can therefore be combined to produce real trigonometric expressions.

A second-order linear homogeneous equation with constant coefficients has the form y′′+ay′+by=0y''+ay'+by=0, with real constants a,ba,b. “Homogeneous” refers to the zero right side. The equation y′′+ay′+by=f(x)y''+ay'+by=f(x) with non-zero ff needs a further step, taught next.

Trying y=emxy=\mathrm{e}^{mx} gives

(m2+am+b)emx=0(m^2+am+b)\mathrm{e}^{mx}=0

The exponential never vanishes, so the bracket must be zero. Linearity means that a constant multiple or sum of solutions is also a solution. Two independent solutions provide the two constants in the general solution, also called the complementary function, yCFy_{\mathrm{CF}}.

Distinct real auxiliary roots

For y′′+ay′+by=0y''+ay'+by=0, solve the auxiliary equation

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

If its discriminant a2−4b>0a^2-4b>0, its distinct real roots m1,m2m_1,m_2 give

yCF=Aem1x+Bem2xy_{\mathrm{CF}}=A\mathrm{e}^{m_1x}+B\mathrm{e}^{m_2x}

Here A,BA,B are arbitrary real constants. Not in the formula booklet: learn it.

The independent variable belongs in both exponentials. An expression such as Aem1+Bem2A\mathrm{e}^{m_1}+B\mathrm{e}^{m_2} would just be a constant.

Worked example 1: two positive roots

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

Plan. Form and factor the auxiliary equation, then attach one exponential to each root.

m2−3m+2=0auxiliary equation(m−1)(m−2)=0factorisem=1,2distinct real rootsy=Aex+Be2xgeneral solution\begin{aligned} m^2-3m+2&=0&&\text{auxiliary equation}\\ (m-1)(m-2)&=0&&\text{factorise}\\ m&=1,2&&\text{distinct real roots}\\ y&=A\mathrm{e}^x+B\mathrm{e}^{2x}&&\text{general solution} \end{aligned}

Why this step? Distinct roots give different exponential functions, so their coefficients record two independent choices.

Answer. y=Aex+Be2xy=A\mathrm{e}^x+B\mathrm{e}^{2x}.

Check. The coefficient of AexA\mathrm{e}^x after substitution is 1−3+2=01-3+2=0; that of Be2xB\mathrm{e}^{2x} is 4−6+2=04-6+2=0.

The second example changes only the coefficient of yy. One auxiliary root now becomes negative, producing a decreasing exponential alongside an increasing one.

Worked example 2: roots of opposite signs

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

Plan. Factor the new quadratic and use both roots, retaining their signs.

m2−3m−4=0auxiliary equation(m−4)(m+1)=0factorisem=4,−1two distinct rootsy=Ae4x+Be−xone term per root\begin{aligned} m^2-3m-4&=0&&\text{auxiliary equation}\\ (m-4)(m+1)&=0&&\text{factorise}\\ m&=4,-1&&\text{two distinct roots}\\ y&=A\mathrm{e}^{4x}+B\mathrm{e}^{-x}&&\text{one term per root} \end{aligned}

Why this step? The root −1-1 belongs in the exponent as −x-x. It does not mean a minus sign in front of ex\mathrm{e}^x.

Answer. y=Ae4x+Be−xy=A\mathrm{e}^{4x}+B\mathrm{e}^{-x}.

Check. The two substitution coefficients are 16−12−4=016-12-4=0 and 1+3−4=01+3-4=0.

An auxiliary root of zero is allowed: e0x=1\mathrm{e}^{0x}=1, so its term is a constant. The discriminant identifies the root type, while the roots' signs decide growth or decay.

Watch out

Wrong: m=4,−1m=4,-1, so y=Ae4x−Bexy=A\mathrm{e}^{4x}-B\mathrm{e}^{x}. Right: y=Ae4x+Be−xy=A\mathrm{e}^{4x}+B\mathrm{e}^{-x}. Keep the sign inside the exponent.

Try another quadratic with opposite-sign roots.

A repeated root needs an extra factor of x

When the quadratic has a repeated root, writing the same exponential twice supplies only one independent term.

If m1=m2=mm_1=m_2=m, then Aemx+Bemx=(A+B)emxA\mathrm{e}^{mx}+B\mathrm{e}^{mx}=(A+B)\mathrm{e}^{mx}: the two constants have merged. Instead, set y=emxu(x)y=\mathrm{e}^{mx}u(x). A repeated root means the original equation is y′′−2my′+m2y=0y''-2my'+m^2y=0. Substitution cancels the terms in uu and u′u', leaving emxu′′=0\mathrm{e}^{mx}u''=0. Hence u′′=0u''=0, so u=A+Bxu=A+Bx.

Repeated auxiliary root

If a2−4b=0a^2-4b=0, the repeated root of m2+am+b=0m^2+am+b=0 is m=−a/2m=-a/2, and

yCF=(A+Bx)emxy_{\mathrm{CF}}=(A+Bx)\mathrm{e}^{mx}

Not in the formula booklet: learn it.

There is a neat reason the factor xx appears when roots merge. For two nearby exponentials,

e(m+h)x−emxh=emxehx−1h⟶xemx(h→0)\frac{\mathrm{e}^{(m+h)x}-\mathrm{e}^{mx}}{h} =\mathrm{e}^{mx}\frac{\mathrm{e}^{hx}-1}{h} \quad\longrightarrow\quad x\mathrm{e}^{mx}\qquad(h\to0)

The apparently new solution is the limiting difference of the two old ones. This limit explains the extra factor; you can use the repeated-root form directly in a calculation.

Worked example 3: a positive repeated root

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

Plan. Recognise the perfect-square quadratic, then use the repeated-root form.

m2−4m+4=(m−2)2=0auxiliary equationa2−4b=16−16=0zero discriminantm=2repeated rooty=(A+Bx)e2xretain two independent terms\begin{aligned} m^2-4m+4&=(m-2)^2=0&&\text{auxiliary equation}\\ a^2-4b&=16-16=0&&\text{zero discriminant}\\ m&=2&&\text{repeated root}\\ y&=(A+Bx)\mathrm{e}^{2x}&&\text{retain two independent terms} \end{aligned}

Why this step? The second term must be Bxe2xBx\mathrm{e}^{2x}, rather than another constant multiple of e2x\mathrm{e}^{2x}.

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

Check. y′=(2A+B+2Bx)e2xy'=(2A+B+2Bx)\mathrm{e}^{2x} and y′′=(4A+4B+4Bx)e2xy''=(4A+4B+4Bx)\mathrm{e}^{2x}; substitution into y′′−4y′+4yy''-4y'+4y gives zero.

The second example changes only the sign of the first-derivative coefficient. The root changes from 22 to −2-2, while the repeated-root structure remains.

Worked example 4: a negative repeated root

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

Plan. Factor the new auxiliary equation and keep the linear multiplier of its exponential.

m2+4m+4=(m+2)2=0auxiliary equationa2−4b=16−16=0still a repeated rootm=−2y=(A+Bx)e−2xcorrect repeated-root form\begin{aligned} m^2+4m+4&=(m+2)^2=0&&\text{auxiliary equation}\\ a^2-4b&=16-16=0&&\text{still a repeated root}\\ m&=-2\\ y&=(A+Bx)\mathrm{e}^{-2x}&&\text{correct repeated-root form} \end{aligned}

Why this step? Changing the sign of the root changes exponential growth to decay, but it does not remove the extra factor xx.

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

Check. y′=(B−2A−2Bx)e−2xy'=(B-2A-2Bx)\mathrm{e}^{-2x} and y′′=(4A−4B+4Bx)e−2xy''=(4A-4B+4Bx)\mathrm{e}^{-2x}, giving y′′+4y′+4y=0y''+4y'+4y=0.

Even the term xe−2xx\mathrm{e}^{-2x} tends to zero as x→∞x\to\infty: the exponential decay dominates the linear factor. A polynomial multiplier changes the shape without automatically changing the long-term limit.

Watch out

Wrong: (m+2)2=0(m+2)^2=0, so y=Ae−2x+Be−2xy=A\mathrm{e}^{-2x}+B\mathrm{e}^{-2x}. Right: y=(A+Bx)e−2xy=(A+Bx)\mathrm{e}^{-2x}. You need two independent solutions.

Change the repeated root in the final check for this case.

Complex roots give real trigonometric solutions

A negative discriminant gives conjugate roots; Euler's formula turns their exponentials into real sine and cosine terms.

Suppose m=α±iβm=\alpha\pm\mathrm{i}\beta, with β>0\beta>0. Then

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

Their sum produces a real cosine term; their difference divided by i\mathrm{i} produces a real sine term. Use arbitrary real coefficients for these two real basis functions. Thus the real-valued solution has two arbitrary real constants multiplying cosine and sine.

Continue this lesson.

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

Create free account