Substitutions — Question 9

PDF ↗

Question 9

Consider the equation y′=y2+(1−2x)y+x2−x+1,y(0)=2.y'=y^2+(1-2x)y+x^2-x+1,\qquad y(0)=2. A particular solution is suggested: yp(x)=xy_p(x)=x.

Tasks

  1. Verify the suggested solution and derive the equation for z=y−ypz=y-y_p.

  2. On a branch with z≠0z\ne 0, set u=1/zu=1/z and derive a linear equation for uu.

  3. Solve the IVP and find its maximal interval containing 00.

  4. Verify the recovered solution through the substitutions, restore the solution excluded by u=1/zu=1/z, and explain why this reciprocal is applied to the difference from ypy_p rather than directly to yy.

Original worksheet page 1: question and worked solution for 2-5-009
Show solutionHide solution

Question 9 – Solution

Strategy. Subtract a known particular solution so that the constant term cancels, then use a reciprocal on the remaining quadratic equation.

Step 1: Verify and subtract the particular solution. For yp=xy_p=x, the right-hand side is x2+(1−2x)x+x2−x+1=1=yp′x^2+(1-2x)x+x^2-x+1=1=y_p'. Now write y=x+zy=x+z. Substitution and cancellation give 1+z′=1+z+z2,z′=z+z2,z(0)=2.1+z'=1+z+z^2,\qquad \boxed{z'=z+z^2},\qquad z(0)=2.

Step 2: Make the remaining equation linear. For z≠0z\ne 0, u=1/zu=1/z gives u′=−z′z2=−u−1,u(0)=12.u'=-\frac{z'}{z^2}=-u-1,\qquad u(0)=\frac 12. Solving u′+u=−1u'+u=-1 yields u=Ce−x−1u=Ce^{-x}-1, and the initial value requires C=3/2C=3/2.

Step 3: Recover the IVP and its interval. Thus y=x+132e−x−1,I=(−∞,ln⁡(3/2)).\boxed{y=x+\frac 1{\frac 32e^{-x}-1},\qquad I=(-\infty,\ln(3/2))}. The denominator is positive before its unique zero at ln⁡(3/2)\ln(3/2) and gives y(0)=2y(0)=2. At that endpoint y→+∞y\to+\infty, preventing a finite differentiable extension.

Step 4: Verify and account for the missing solution. Where u≠0u\ne 0, z=1/uz=1/u satisfies z′=−u′/u2=z+z2z'=-u'/u^2=z+z^2. Thus y′=1+z+z2y'=1+z+z^2, which is exactly the original right side after y=x+zy=x+z. The excluded case z≡0z\equiv 0 restores y=x\boxed{y=x}, a global solution with a different initial value.

The original equation contains a nonzero term independent of yy. A direct reciprocal w=1/yw=1/y would retain a quadratic term in ww and would not be linear. Subtracting the known solution first cancels that obstruction. This two-step substitution is the useful structure, not the reciprocal alone.

Original worksheet page 2: question and worked solution for 2-5-009

Original worksheet layout. Use Enlarge or open the PDF for a closer view.