Unit 4, lesson 26

Order Reduction in Nonlinear Equations

How the velocity substitution lowers the order of a nonlinear second-order equation with a missing dependent or independent variable, how first integrals arise, and where the position can serve as a local coordinate.

  • Video 26
  • Reduction of Order and Cauchy-Euler Equations

The equation y′′=(y′)2y'' = (y')^2, where y′=dy/dxy' = dy/dx, is nonlinear, so the theory of linear equations from the previous lessons does not apply to it. Still, the unknown yy never appears by itself, only through its derivatives, so the equation is really a first-order equation for the velocity y′y'. This lesson shows how to lower the order when either yy or xx is missing from the equation, how to rebuild yy with both initial values, and where the new coordinate stops being valid.

Key terms

Nonlinear order reduction

Definition Consider a second-order equation y′′=F(x,y,y′)y'' = F(x, y, y') for an unknown function yy of xx, with y′=dy/dxy' = dy/dx. Nonlinear order reduction replaces it by first-order equations when one variable is absent from FF.

  • If yy is absent, so the equation reads y′′=F(x,y′)y'' = F(x, y'), the velocity v=y′v = y' is treated as a function of xx.
  • If xx is absent, so the equation reads y′′=G(y,y′)y'' = G(y, y'), the velocity is treated as a function of yy on an interval where y′≠0y' \ne 0.

In both cases one solves a first-order equation for vv and then the first-order equation y′=vy' = v for yy. The two steps supply two constants, fixed by y(x0)y(x_0) and y′(x0)y'(x_0). The method works whether or not the equation is linear, and the integrals it leads to need not have closed forms.

In plain words Before trying anything else, look at which letters appear. A missing letter means the equation is really first order in the velocity, and one more integration recovers the position.

Example In y′′=1+(y′)2y'' = 1 + (y')^2 neither xx nor yy appears, so either version applies. With vv as a function of xx the equation reads v′=1+v2v' = 1 + v^2, and since 1+v21 + v^2 is never zero, separation gives arctan⁡v=x+C1\arctan v = x + C_1, so v=tan⁡(x+C1)v = \tan(x + C_1). One more integration gives

y=−ln⁡(cos⁡(x+C1))+C2y = -\ln\bigl(\cos(x + C_1)\bigr) + C_2

on the interval −π/2<x+C1<π/2-\pi/2 < x + C_1 < \pi/2, of length π\pi. Differentiating confirms y′=tan⁡(x+C1)y' = \tan(x + C_1) and y′′=sec⁡2(x+C1)=1+(y′)2y'' = \sec^2(x + C_1) = 1 + (y')^2. By contrast, y′′=xyy'' = xy contains both xx and yy, so neither substitution lowers its order.

Velocity substitution

Definition The velocity substitution sets v=y′v = y' and writes y′′y'' in terms of vv. If vv is regarded as a function of xx, then y′′=dv/dxy'' = dv/dx. If y′≠0y' \ne 0 on an interval JJ, then yy is strictly monotone on JJ and has a differentiable inverse x=x(y)x = x(y), so vv can be regarded as a function of yy, and the chain rule gives

y′′=dvdx=dvdy dydx=v dvdy.\begin{aligned} y'' &= \frac{dv}{dx} = \frac{dv}{dy}\,\frac{dy}{dx} \\[0.4em] &= v\,\frac{dv}{dy}. \end{aligned}

The first form keeps xx as the independent variable. The second makes yy the independent variable and is valid only where y′≠0y' \ne 0.

In plain words The velocity can be recorded against xx or against the position yy. Against xx the acceleration is simply the derivative of vv. Against yy the chain rule brings in the factor vv, and the record makes sense only while yy moves in one direction, so that each position is passed once.

Example For y=e2xy = e^{2x} the velocity is v=2e2x=2yv = 2e^{2x} = 2y, so as a function of yy it is v(y)=2yv(y) = 2y with dv/dy=2dv/dy = 2. Then v dv/dy=4y=4e2xv\,dv/dy = 4y = 4e^{2x}, which is indeed y′′y''. For y=x2y = x^2 the second form breaks down near x=0x = 0. The velocity v=2xv = 2x equals 2y2\sqrt{y} for x>0x > 0 and −2y-2\sqrt{y} for x<0x < 0, so no single function of yy describes it on an interval around the turning point x=0x = 0, where y′=0y' = 0.

Missing dependent variable

Definition An equation y′′=F(x,y′)y'' = F(x, y') in which yy does not appear is reduced by v(x)=y′(x)v(x) = y'(x) to the first-order problem

v′=F(x,v),v(x0)=y′(x0).\begin{gathered} v' = F(x, v), \\[0.4em] v(x_0) = y'(x_0). \end{gathered}

If vv solves this problem on an interval II containing x0x_0, then

y(x)=y(x0)+∫x0xv(s) dsy(x) = y(x_0) + \int_{x_0}^{x} v(s)\,ds

solves the original problem on II, so yy lives on the same interval as vv. The velocity datum belongs to the first-order problem and the height datum to the final integration. If F(x,0)=0F(x, 0) = 0 for all xx, then v=0v = 0 is a solution of the reduced equation, and it gives the constant solutions y=cy = c, which a division by vv can lose.

In plain words With yy missing, the equation is a first-order equation for the slope. Solve for the slope with the slope datum, then integrate the slope starting from the height datum.

Example Solve y′′=(y′)2y'' = (y')^2 with y(0)=2y(0) = 2 and y′(0)=1y'(0) = 1. The velocity satisfies v′=v2v' = v^2 with v(0)=1v(0) = 1. The constant v=0v = 0 also solves v′=v2v' = v^2, and since solutions of this equation are unique, the solution with v(0)=1v(0) = 1 never reaches 00, so dividing by v2v^2 is safe. Separation gives −1/v=x+C-1/v = x + C, and v(0)=1v(0) = 1 gives C=−1C = -1, so

v=11−xv = \frac{1}{1 - x}

on x<1x < 1. Integrating from the height datum gives

y=2−ln⁡(1−x)y = 2 - \ln(1 - x)

on x<1x < 1. Its derivatives are y′=(1−x)−1y' = (1 - x)^{-1} and y′′=(1−x)−2=(y′)2y'' = (1 - x)^{-2} = (y')^2, with y(0)=2y(0) = 2 and y′(0)=1y'(0) = 1. The maximal interval is (−∞,1)(-\infty, 1), and both yy and y′y' tend to ∞\infty as x→1−x \to 1^-. The constant solutions y=cy = c from the branch v=0v = 0 solve the equation too, but their slope 00 does not match the data.

Missing independent variable

Definition An equation y′′=G(y,y′)y'' = G(y, y') in which xx does not appear is called autonomous. On an interval where y′≠0y' \ne 0, the velocity substitution with vv as a function of yy reduces it to the first-order problem

v dvdy=G(y,v),v(y0)=y1,\begin{gathered} v\,\frac{dv}{dy} = G(y, v), \\[0.4em] v(y_0) = y_1, \end{gathered}

where y0=y(x0)y_0 = y(x_0) and y1=y′(x0)≠0y_1 = y'(x_0) \ne 0. After solving for v(y)v(y), the position follows from the separable equation y′=v(y)y' = v(y) with y(x0)=y0y(x_0) = y_0. A constant solution y=cy = c has v=0v = 0 and is not described by any function v(y)v(y). The constant solutions are exactly the constants cc with G(c,0)=0G(c, 0) = 0, and they should be found from the original equation before dividing by vv.

In plain words With xx missing, the acceleration depends only on where you are and how fast you move, so the velocity can be recorded as a function of position. That record satisfies a first-order equation, and one more integration says where you are at each xx.

Example Solve y′′=2y3y'' = 2y^3 with y(0)=1y(0) = 1 and y′(0)=1y'(0) = 1. The only constant solution is y=0y = 0, since 2c3=02c^3 = 0 forces c=0c = 0, and it does not match the data. The reduced equation is v dv/dy=2y3v\,dv/dy = 2y^3, and integrating in yy gives

v22=y42+C.\frac{v^2}{2} = \frac{y^4}{2} + C.

The data y=1y = 1, v=1v = 1 give C=0C = 0, so v2=y4v^2 = y^4, and the positive initial slope selects v=y2v = y^2. Then y′=y2y' = y^2 with y(0)=1y(0) = 1 separates into −1/y=x−1-1/y = x - 1, so

y=11−x,x<1.y = \frac{1}{1 - x}, \qquad x < 1.

This function has y′=(1−x)−2=y2y' = (1 - x)^{-2} = y^2 and y′′=2(1−x)−3=2y3y'' = 2(1 - x)^{-3} = 2y^3, with y(0)=1y(0) = 1 and y′(0)=1y'(0) = 1. It is positive and increasing on all of (−∞,1)(-\infty, 1), so y′≠0y' \ne 0 along the whole solution and the coordinate yy stays valid. As x→1−x \to 1^- the solution blows up.

First integral

Definition A first integral of an autonomous equation y′′=G(y,y′)y'' = G(y, y') is a continuously differentiable function H(y,v)H(y, v), not constant on any open set, such that H(y(x),y′(x))H\bigl(y(x), y'(x)\bigr) is constant on the interval of every solution. For y′′=f(y)y'' = f(y) with ff continuous and Φ\Phi an antiderivative of ff, the function

H(y,v)=v22−Φ(y)H(y, v) = \frac{v^2}{2} - \Phi(y)

is a first integral, because along every solution

dHdx=y′y′′−f(y) y′=y′(y′′−f(y))=0.\begin{aligned} \frac{dH}{dx} &= y'y'' - f(y)\,y' \\[0.4em] &= y'\bigl(y'' - f(y)\bigr) = 0. \end{aligned}

Each solution therefore lies on a level set H=EH = E, with EE fixed by the initial data, even across points where y′=0y' = 0. Solving the level set for the velocity gives v=±2(E+Φ(y))v = \pm\sqrt{2\bigl(E + \Phi(y)\bigr)}. The sign is part of the data, and one level set can carry several different solutions as well as equilibria.

In plain words A first integral is a conserved quantity, like the energy of a frictionless particle. It replaces the second-order equation by a first-order relation between position and velocity, and only the sign of the velocity is left to choose.

Example For y′′=2y3y'' = 2y^3 take Φ(y)=y4/2\Phi(y) = y^4/2. Doubling HH gives the conserved quantity (y′)2−y4(y')^2 - y^4. The data y(0)=1y(0) = 1, y′(0)=1y'(0) = 1 give the value 00, and so do the data y(0)=1y(0) = 1, y′(0)=−1y'(0) = -1. Both solutions lie on the level set v2=y4v^2 = y^4, which in the (y,v)(y, v) plane consists of the curves v=y2v = y^2 and v=−y2v = -y^2, meeting at the equilibrium (0,0)(0, 0). The first data follow v=y2v = y^2 and give y=1/(1−x)y = 1/(1 - x) on (−∞,1)(-\infty, 1). The second data follow v=−y2v = -y^2, so y′=−y2y' = -y^2 and

y=11+x,x>−1,y = \frac{1}{1 + x}, \qquad x > -1,

which has y′=−(1+x)−2y' = -(1 + x)^{-2} and y′′=2(1+x)−3=2y3y'' = 2(1 + x)^{-3} = 2y^3, with the right initial values. One level set holds two different solutions, defined on two different intervals.

Local coordinate restriction

Definition Using yy as the independent coordinate is valid only on an interval of xx where y′≠0y' \ne 0. Since y′y' is continuous, such an interval exists around every point x0x_0 with y′(x0)≠0y'(x_0) \ne 0, and yy is strictly monotone on it. At a turning point, where y′=0y' = 0 and y′′≠0y'' \ne 0, the velocity changes sign and the description v(y)v(y) switches from one branch to the other. There the reduced equation y′=v(y)y' = v(y) can have several solutions, including constant ones that do not solve the original equation, so the motion is continued with the original second-order equation. That equation has unique solutions when GG is continuously differentiable.

In plain words The position can label the points of a solution only while it keeps moving in one direction. When the motion stops and turns back, start a new chart, and let the original equation say which way the motion goes.

Example Take y′′=y−2y3y'' = y - 2y^3 with y(0)=1y(0) = 1 and y′(0)=0y'(0) = 0, which starts at a turning point. Here Φ(y)=y2/2−y4/2\Phi(y) = y^2/2 - y^4/2, the doubled first integral (y′)2−y2+y4(y')^2 - y^2 + y^4 equals 00 for these data, and so v2=y2(1−y2)v^2 = y^2(1 - y^2). The original equation gives y′′(0)=1−2=−1<0y''(0) = 1 - 2 = -1 < 0, so x=0x = 0 is a local maximum of yy. The velocity is negative just to the right of 00 and positive just to the left, which selects the branches

v=−y1−y2   for x>0,v=y1−y2   for x<0.\begin{gathered} v = -y\sqrt{1 - y^2} \;\text{ for } x > 0, \\[0.4em] v = y\sqrt{1 - y^2} \;\text{ for } x < 0. \end{gathered}

Separating either branch leads to the even function

y=sech⁡x=2ex+e−x,y = \operatorname{sech} x = \frac{2}{e^{x} + e^{-x}},

which satisfies the equation and the data and is therefore the solution on all of R\mathbb{R}. It decreases for x>0x > 0 and increases for x<0x < 0, so each branch describes one half of the motion.

The reduced equation y′=−y1−y2y' = -y\sqrt{1 - y^2} with y(0)=1y(0) = 1 is also solved by the constant y=1y = 1, because its right side vanishes at y=1y = 1. That constant is not a solution of the original equation, which demands y′′=1−2=−1y'' = 1 - 2 = -1 wherever y=1y = 1. Only the second-order equation decides what happens at the turning point.

Check yourself

  1. Solve y′′=2x(y′)2y'' = 2x(y')^2 with y(0)=1y(0) = 1 and y′(0)=−1y'(0) = -1, and give the interval on which the solution exists.
Show the answer

The variable yy is missing, so set v=y′v = y'. Then v′=2xv2v' = 2xv^2 with v(0)=−1v(0) = -1. The constant v=0v = 0 does not match the data, and by uniqueness the solution never reaches it, so separation is safe and gives −1/v=x2+C-1/v = x^2 + C. The datum v(0)=−1v(0) = -1 gives C=1C = 1, so v=−1/(1+x2)v = -1/(1 + x^2), which is defined for every xx. Integrating from y(0)=1y(0) = 1 gives

y=1−arctan⁡x.y = 1 - \arctan x.

Indeed y′=−1/(1+x2)y' = -1/(1 + x^2) and y′′=2x/(1+x2)2=2x(y′)2y'' = 2x/(1 + x^2)^2 = 2x(y')^2. The solution exists on all of R\mathbb{R}.

  1. A classmate solves y′′=(y′)2y'' = (y')^2 with y(0)=2y(0) = 2 and y′(0)=0y'(0) = 0 by separating v′=v2v' = v^2 into −1/v=x+C-1/v = x + C, and then cannot find CC. What went wrong, and what is the solution?
Show the answer

Separation divides by v2v^2 and so assumes v≠0v \ne 0. The data give v(0)=0v(0) = 0, and the constant v=0v = 0 solves v′=v2v' = v^2. Since v2v^2 is continuously differentiable, it is the only solution with v(0)=0v(0) = 0. So y′=0y' = 0 and y=2y = 2 for all xx. This constant solves the original equation, since y′′=0=(y′)2y'' = 0 = (y')^2, and it is one of the constant solutions that the division lost.

  1. Reduce y′′=y+(y′)2y'' = y + (y')^2 to a first-order equation for w=(y′)2w = (y')^2 as a function of yy, solve it, and find the first integral for the data y(0)=0y(0) = 0, y′(0)=1y'(0) = 1. Explain why yy can serve as a coordinate along the whole solution.
Show the answer

The variable xx is missing. With v=y′v = y' as a function of yy, the identity v dv/dy=12 dw/dyv\,dv/dy = \frac{1}{2}\,dw/dy turns the equation into 12 dw/dy=y+w\frac{1}{2}\,dw/dy = y + w, a linear equation,

dwdy−2w=2y.\frac{dw}{dy} - 2w = 2y.

The integrating factor e−2ye^{-2y} gives ddy(e−2yw)=2ye−2y\frac{d}{dy}\bigl(e^{-2y}w\bigr) = 2ye^{-2y} and then e−2yw=−ye−2y−12e−2y+Ce^{-2y}w = -ye^{-2y} - \frac{1}{2}e^{-2y} + C, so w=Ce2y−y−12w = Ce^{2y} - y - \frac{1}{2}. At y=0y = 0 we need w=1w = 1, so C=32C = \frac{3}{2} and

(y′)2=32e2y−y−12.(y')^2 = \tfrac{3}{2}e^{2y} - y - \tfrac{1}{2}.

Multiplying by e−2ye^{-2y} shows that the first integral is H=e−2y((y′)2+y+12)H = e^{-2y}\bigl((y')^2 + y + \frac{1}{2}\bigr), with the value 32\frac{3}{2} for these data. Its derivative along any solution is e−2yy′(2y′′−2(y′)2−2y)=0e^{-2y}y'\bigl(2y'' - 2(y')^2 - 2y\bigr) = 0, so the relation holds on the whole interval of the solution, not only where y′≠0y' \ne 0. The right side g(y)=32e2y−y−12g(y) = \frac{3}{2}e^{2y} - y - \frac{1}{2} of the relation has g′(y)=3e2y−1g'(y) = 3e^{2y} - 1, which vanishes only at y=−12ln⁡3y = -\frac{1}{2}\ln 3, where gg takes its minimum value 12ln⁡3>0\frac{1}{2}\ln 3 > 0. So y′y' is never zero, and since y′(0)=1>0y'(0) = 1 > 0 the solution satisfies y′=g(y)y' = \sqrt{g(y)} throughout. It is strictly increasing, so yy is a valid coordinate along all of it. The last step x=∫0yds/g(s)x = \int_0^{y} ds/\sqrt{g(s)} can be left as an integral or evaluated numerically.

How this lesson connects