Differential-Equations Ā· Unit 4 Ā· Video 3 Ā· Interactive Practice

The Reciprocal Substitution: y′=y/xāˆ’y2y' = y/x - y^2 Becomes Linear in v=1/yv = 1/y

IKey Formulas

FormulaNameWhat it is for
y′=yxāˆ’y2ā€…ā€ŠāŸŗā€…ā€Šx yā€²āˆ’y=āˆ’x y2y' = \dfrac{y}{x} - y^2 \iff x\,y' - y = -x\,y^2Bernoulli, n=2n = 2p(x)=1xp(x) = \tfrac{1}{x}, q(x)=āˆ’1q(x) = -1; the second form hides the pattern
v=1y,v′=āˆ’1y2 y′v = \dfrac{1}{y}, \quad v' = -\dfrac{1}{y^2}\,y'Reciprocal substitutionv=y1āˆ’nv = y^{1-n}; the derivative is in xx, so the chain rule keeps y′y'
v′+vx=1ā€…ā€ŠāŸ¹ā€…ā€Š(x v)′=xv' + \dfrac{v}{x} = 1 \;\Longrightarrow\; (x\,v)' = xThe linear equationIntegrating factor e∫dx/x=xe^{\int dx/x} = x for x>0x > 0
y=2xx2+C1y = \dfrac{2x}{x^2 + C_1} and y=0y = 0All the solutionsC1=2cC_1 = 2c from v=x2+cxv = \tfrac{x}{2} + \tfrac{c}{x}; y=0y = 0 is lost by dividing by y2y^2

Key Insight: Learn the steps, not the formula: divide by yny^n, set v=y1āˆ’nv = y^{1-n} with the chain rule, solve the linear equation, then invert the whole fraction. The constant that was added on in x v=x22+cx\,v = \tfrac{x^2}{2} + c ends up inside the denominator of yy.

IIThe Substitution, Checked Point by Point

Along each curve y=2x/(x2+C1)y = 2x/(x^2 + C_1), v=1/yv = 1/y satisfies v′+v/x=1v' + v/x = 1, with v′=āˆ’y′/y2v' = -y'/y^2, not āˆ’1/y2-1/y^2.

━ C1=14C_1 = \tfrac{1}{4}━ C1=1C_1 = 1━ C1=4C_1 = 4

āˆ’1/y2-1/y^2 is dvdy\dfrac{dv}{dy}; the equation is about dvdx=dvdyā‹…dydx=āˆ’1y2 y′\dfrac{dv}{dx} = \dfrac{dv}{dy}\cdot\dfrac{dy}{dx} = -\dfrac{1}{y^2}\,y'.

IIIWhere the Constant Goes

The same three solutions written in x vx\,v, then vv, then yy: the constant starts added on and ends inside a denominator.

━ c=18c = \tfrac{1}{8}, C1=14C_1 = \tfrac{1}{4}━ c=12c = \tfrac{1}{2}, C1=1C_1 = 1━ c=2c = 2, C1=4C_1 = 4

Step 1 — Integrate
(x v)′=xā€…ā€ŠāŸ¹ā€…ā€Šx v=x22+c(x\,v)' = x \;\Longrightarrow\; x\,v = \frac{x^2}{2} + c
The constant is added on: every curve is x v=x22x\,v = \tfrac{x^2}{2} raised by cc.
Step 2 — Divide, combine
v=x2+cx=x2+2c2xv = \frac{x}{2} + \frac{c}{x} = \frac{x^2 + 2c}{2x}
Now cc multiplies 1/x1/x, a solution of v′+v/x=0v' + v/x = 0.
Step 3 — Invert, rename
y=2xx2+2c=2xx2+C1,C1=2cy = \frac{2x}{x^2 + 2c} = \frac{2x}{x^2 + C_1}, \qquad C_1 = 2c
Invert the whole fraction: 1x/2+c/x≠2x+xc\dfrac{1}{x/2 + c/x} \ne \dfrac{2}{x} + \dfrac{x}{c}.

IVAn Initial Condition Picks C1C_1

A starting point (x0,y0)(x_0, y_0) with y0≠0y_0 \ne 0 fixes one C1C_1 in y=2x/(x2+C1)y = 2x/(x^2 + C_1); on the xx-axis only y=0y = 0 passes.

━ C1=14C_1 = \tfrac{1}{4}━ C1=1C_1 = 1━ C1=4C_1 = 4━ through (x0,y0)(x_0, y_0)

Dividing by y2y^2 assumed y≠0y \ne 0, so no value of C1C_1 produces y=0y = 0; yet it solves y′=y/xāˆ’y2y' = y/x - y^2, and the complete answer is the family together with y=0y = 0.

VQuiz Questions

Problem 1 Ā· Unmask the Bernoulli Form

Given: x y′+2y=x3y2x\,y' + 2y = x^3 y^2 for x>0x > 0 — find p(x)p(x), q(x)q(x) and nn in the Bernoulli form y′=p(x) y+q(x) yny' = p(x)\,y + q(x)\,y^n.

āœ… Correct! Divide by xx to get y′+2x y=x2y2y' + \tfrac{2}{x}\,y = x^2 y^2, then move the yy term right: y′=āˆ’2x y+x2 y2y' = -\tfrac{2}{x}\,y + x^2\,y^2.
āŒ Divide by xx first. The Bernoulli form has y′y' alone on the left. Here y′y' carries the coefficient xx, so every term must be divided by xx before pp and qq can be read off.
āŒ Check the sign of pp. The term 2x y\tfrac{2}{x}\,y sits on the left beside y′y'; moving it to the right makes it āˆ’2x y-\tfrac{2}{x}\,y.
āŒ Divide every term. Dividing by xx turns x3y2x^3 y^2 into x2y2x^2 y^2 as well, so q=x2q = x^2.
Show solution

Divide through by xx (allowed, since x>0x > 0):

y′+2x y=x2y2y' + \frac{2}{x}\,y = x^2 y^2

Move the yy term to the right-hand side:

y′=āˆ’2x y+x2 y2y' = -\frac{2}{x}\,y + x^2\,y^2

So p(x)=āˆ’2xp(x) = -\dfrac{2}{x}, q(x)=x2q(x) = x^2 and n=2n = 2, and the substitution is v=y1āˆ’n=1/yv = y^{1-n} = 1/y, exactly as in the video.

Problem 2 Ā· The Constant Lives in the Final Form

Given: y′=yxāˆ’y2y' = \dfrac{y}{x} - y^2 with y(2)=12y(2) = \tfrac{1}{2} — find the solution.

āœ… Correct! 12=44+C1\tfrac{1}{2} = \dfrac{4}{4 + C_1} gives 4+C1=84 + C_1 = 8, so C1=4C_1 = 4: the curve whose peak (C1,1/C1)=(2,12)(\sqrt{C_1}, 1/\sqrt{C_1}) = (2, \tfrac{1}{2}) is the starting point itself.
āŒ This meets y(2)=12y(2) = \tfrac{1}{2} but does not solve the equation. It inverts v=x2+cxv = \tfrac{x}{2} + \tfrac{c}{x} term by term, and the reciprocal of a sum is not the sum of the reciprocals. At x=2x = 2 it has y′=āˆ’34y' = -\tfrac{3}{4}, while the equation demands yxāˆ’y2=14āˆ’14=0\tfrac{y}{x} - y^2 = \tfrac{1}{4} - \tfrac{1}{4} = 0.
āŒ Redo the last step. From 12=44+C1\tfrac{1}{2} = \dfrac{4}{4 + C_1}, cross-multiplying gives 4+C1=84 + C_1 = 8, not 4+C1=24 + C_1 = 2; this curve has y(2)=2y(2) = 2.
āŒ That is the video's curve for y(1)=1y(1) = 1. At x=2x = 2 it gives y=45y = \tfrac{4}{5}, not 12\tfrac{1}{2}.
Show solution

Substitute x=2x = 2, y=12y = \tfrac{1}{2} into the final form y=2xx2+C1y = \dfrac{2x}{x^2 + C_1}:

12=44+C1ā€…ā€ŠāŸ¹ā€…ā€Š4+C1=8ā€…ā€ŠāŸ¹ā€…ā€ŠC1=4\frac{1}{2} = \frac{4}{4 + C_1} \;\Longrightarrow\; 4 + C_1 = 8 \;\Longrightarrow\; C_1 = 4 y=2xx2+4y = \frac{2x}{x^2 + 4}

Check. By the quotient rule y′=2(x2+4)āˆ’2xā‹…2x(x2+4)2=8āˆ’2x2(x2+4)2y' = \dfrac{2(x^2 + 4) - 2x\cdot 2x}{(x^2 + 4)^2} = \dfrac{8 - 2x^2}{(x^2 + 4)^2}, and

yxāˆ’y2=2x2+4āˆ’4x2(x2+4)2=2(x2+4)āˆ’4x2(x2+4)2=8āˆ’2x2(x2+4)2Ā āœ“\frac{y}{x} - y^2 = \frac{2}{x^2 + 4} - \frac{4x^2}{(x^2 + 4)^2} = \frac{2(x^2 + 4) - 4x^2}{(x^2 + 4)^2} = \frac{8 - 2x^2}{(x^2 + 4)^2}\ \checkmark

Inverting v=x2+cxv = \tfrac{x}{2} + \tfrac{c}{x} term by term would give 2x+xc\tfrac{2}{x} + \tfrac{x}{c}; fitting it to y(2)=12y(2) = \tfrac{1}{2} forces c=āˆ’4c = -4 and produces y=2xāˆ’x4y = \tfrac{2}{x} - \tfrac{x}{4}, a curve through the right point that is not a solution.

Problem 3 Ā· The Whole Method, Once More

Given: x y′+y=x2y2x\,y' + y = x^2 y^2 for x>0x > 0 with y(1)=12y(1) = \tfrac{1}{2} — find the linear equation for v=1/yv = 1/y and the solution.

The linear equation for v=1/yv = 1/y

The solution

āœ… Correct! For vā€²āˆ’vx=āˆ’xv' - \tfrac{v}{x} = -x the integrating factor is 1x\tfrac{1}{x}, giving (vx)′=āˆ’1\left(\tfrac{v}{x}\right)' = -1 and v=Cxāˆ’x2v = Cx - x^2; then v(1)=2v(1) = 2 fixes C=3C = 3.
āŒ The chain rule brings a minus sign. v′=āˆ’y′y2v' = -\dfrac{y'}{y^2}, so y′y2=āˆ’v′\dfrac{y'}{y^2} = -v', not +v′+v'.
āŒ Multiply every term by āˆ’1-1. From āˆ’v′+vx=x-v' + \tfrac{v}{x} = x you get vā€²āˆ’vx=āˆ’xv' - \tfrac{v}{x} = -x; the right-hand side changes sign too.
āŒ Not quite. Divide by xx, then by y2y^2: y′y2+1xā‹…1y=x\dfrac{y'}{y^2} + \dfrac{1}{x}\cdot\dfrac{1}{y} = x. Now replace y′y2\dfrac{y'}{y^2} by āˆ’v′-v' and 1y\dfrac{1}{y} by vv.
āŒ The integrating factor is not always xx. Here p=āˆ’1xp = -\tfrac{1}{x}, so e∫p dx=eāˆ’ln⁔x=1xe^{\int p\,dx} = e^{-\ln x} = \tfrac{1}{x}. Multiplying by xx gives x vā€²āˆ’vx\,v' - v, which is not (x v)′=x v′+v(x\,v)' = x\,v' + v.
āŒ Invert the whole expression. Inverting v=Cxāˆ’x2v = Cx - x^2 term by term gives 1Cxāˆ’1x2\tfrac{1}{Cx} - \tfrac{1}{x^2}, which meets y(1)=12y(1) = \tfrac{1}{2} at C=23C = \tfrac{2}{3} but does not solve the equation: at x=1x = 1 it gives xy′+y=1xy' + y = 1 while x2y2=14x^2 y^2 = \tfrac{1}{4}. The reciprocal of a difference is not the difference of the reciprocals.
āŒ Convert the initial condition too. The condition for vv is v(1)=1/y(1)=2v(1) = 1/y(1) = 2, not 12\tfrac{1}{2}; this curve has y(1)=2y(1) = 2.
Show solution

Bernoulli form. Divide by xx: y′+yx=x y2y' + \dfrac{y}{x} = x\,y^2, so n=2n = 2 and v=1/yv = 1/y.

Substitute. Divide by y2y^2 and use v′=āˆ’y′/y2v' = -y'/y^2:

y′y2+1xā‹…1y=xā€…ā€ŠāŸ¹ā€…ā€Šāˆ’v′+vx=xā€…ā€ŠāŸ¹ā€…ā€Švā€²āˆ’vx=āˆ’x\frac{y'}{y^2} + \frac{1}{x}\cdot\frac{1}{y} = x \;\Longrightarrow\; -v' + \frac{v}{x} = x \;\Longrightarrow\; v' - \frac{v}{x} = -x

Integrating factor. p=āˆ’1xp = -\tfrac{1}{x}, so eāˆ«āˆ’dx/x=eāˆ’ln⁔x=1xe^{\int -dx/x} = e^{-\ln x} = \dfrac{1}{x}:

v′xāˆ’vx2=āˆ’1ā€…ā€ŠāŸ¹ā€…ā€Š(vx)′=āˆ’1ā€…ā€ŠāŸ¹ā€…ā€Švx=āˆ’x+Cā€…ā€ŠāŸ¹ā€…ā€Šv=Cxāˆ’x2\frac{v'}{x} - \frac{v}{x^2} = -1 \;\Longrightarrow\; \left(\frac{v}{x}\right)' = -1 \;\Longrightarrow\; \frac{v}{x} = -x + C \;\Longrightarrow\; v = Cx - x^2

Initial condition. v(1)=1/y(1)=2v(1) = 1/y(1) = 2, so Cāˆ’1=2C - 1 = 2 and C=3C = 3.

Invert. v=3xāˆ’x2v = 3x - x^2 is already a single expression, so

y=13xāˆ’x2,0<x<3y = \frac{1}{3x - x^2}, \qquad 0 < x < 3

Check. x y′+y=āˆ’x(3āˆ’2x)+(3xāˆ’x2)(3xāˆ’x2)2=x2(3xāˆ’x2)2=x2y2Ā āœ“x\,y' + y = \dfrac{-x(3 - 2x) + (3x - x^2)}{(3x - x^2)^2} = \dfrac{x^2}{(3x - x^2)^2} = x^2 y^2\ \checkmark

Problem 4 Ā· Transfer to a Cubic Term

Given: y′=yāˆ’y3y' = y - y^3, a Bernoulli equation with n=3n = 3 — find the linear equation for v=y1āˆ’n=yāˆ’2v = y^{1-n} = y^{-2}, and the constant solution the method loses.

The linear equation for v=yāˆ’2v = y^{-2}

The constant solution the method loses

āœ… Correct! v′=āˆ’2yāˆ’3y′v' = -2y^{-3}y' turns y′y3=1y2āˆ’1\dfrac{y'}{y^3} = \dfrac{1}{y^2} - 1 into āˆ’12v′=vāˆ’1-\tfrac{1}{2}v' = v - 1; then v=1+Ceāˆ’2xv = 1 + Ce^{-2x} gives y=±11+Ceāˆ’2xy = \pm\dfrac{1}{\sqrt{1 + Ce^{-2x}}}, and dividing by y3y^3 dropped only y=0y = 0.
āŒ Keep the factor from the chain rule. ddx yāˆ’2=āˆ’2 yāˆ’3 y′\dfrac{d}{dx}\,y^{-2} = -2\,y^{-3}\,y', so y′y3=āˆ’12v′\dfrac{y'}{y^3} = -\tfrac{1}{2}v'; the 22 is nāˆ’1n - 1.
āŒ Check the sign. The exponent āˆ’2-2 brings down a negative factor: v′=āˆ’2 yāˆ’3 y′v' = -2\,y^{-3}\,y', so y′y3=āˆ’12v′\dfrac{y'}{y^3} = -\tfrac{1}{2}v', with a minus.
āŒ That is the n=2n = 2 substitution. With v=1/yv = 1/y the equation becomes v′+v=1/vv' + v = 1/v, still nonlinear; for n=3n = 3 the exponent is 1āˆ’n=āˆ’21 - n = -2.
āŒ That one is in the family. C=0C = 0 gives v=1v = 1, that is y2=1y^2 = 1, which covers both y=1y = 1 and y=āˆ’1y = -1.
āŒ One constant solution is missing. y=0y = 0 solves y′=yāˆ’y3y' = y - y^3, but v=yāˆ’2v = y^{-2} is undefined there; the division by y3y^3 assumed y≠0y \ne 0.
Show solution

Divide by y3y^3 (assuming y≠0y \ne 0):

y′y3=1y2āˆ’1\frac{y'}{y^3} = \frac{1}{y^2} - 1

With v=yāˆ’2v = y^{-2} the chain rule gives v′=āˆ’2 yāˆ’3 y′v' = -2\,y^{-3}\,y', so y′y3=āˆ’12v′\dfrac{y'}{y^3} = -\tfrac{1}{2}v':

āˆ’12v′=vāˆ’1ā€…ā€ŠāŸ¹ā€…ā€Šv′+2v=2-\tfrac{1}{2}v' = v - 1 \;\Longrightarrow\; v' + 2v = 2

With integrating factor e2xe^{2x}: (e2xv)′=2e2x\left(e^{2x}v\right)' = 2e^{2x}, so e2xv=e2x+Ce^{2x}v = e^{2x} + C and v=1+Ceāˆ’2xv = 1 + Ce^{-2x}.

Back to yy: y2=11+Ceāˆ’2xy^2 = \dfrac{1}{1 + Ce^{-2x}}, so y=±11+Ceāˆ’2xy = \pm\dfrac{1}{\sqrt{1 + Ce^{-2x}}}. Taking C=0C = 0 gives y=±1y = \pm 1. No value of CC gives y=0y = 0, which solves the equation (0=0āˆ’00 = 0 - 0) but was removed by the division.

Solved: 0 / 4