Porisma

Worked solution

Build a fourth-degree series from a differential equation

The variables x and y are related by dy/dx=2xy−1dy/dx=2xy-1 and y=1 when x=0.

Show that, at x=0, d3y/dx3=−4d^3y/dx^3=-4 and d4y/dx4=12d^4y/dx^4=12.

Find the Maclaurin series for y up to and including the term in x4x^4, and hence find an approximation to the value of y when x=0.1, giving your answer to 5 decimal places.

CJC · Lecture · Example 6

Start with the function and first derivative at zero

Denote y=f(x). Both copies give f(0)=1 and the relation y′=2xy−1y^{\prime}=2xy-1. The Teacher completes f′(0)=2(0)(1)−1=−1f^{\prime}(0)=2(0)(1)-1=-1. Evaluate derivatives only after differentiating the relation; substituting x=0 into it first would discard the x-dependence needed for later derivatives.

How did this part go?

Apply the product rule to obtain the second derivative

The Student prints the simplified relation; the Teacher fills in the product-rule line:

y′′=ddx(2xy−1)=2xddx(y)+2yddx(x)−ddx(1)=2xy′+2y.\begin{aligned}&y^{\prime\prime}\\ & =\frac d{dx}(2xy-1)\\ & =2x\frac d{dx}(y)+2y\frac d{dx}(x)\\ &{}-\frac d{dx}(1)\\ & =2xy^{\prime}+2y.\end{aligned}

At zero, f′′(0)=2(0)f′(0)+2f(0)=2f^{\prime\prime}(0)=2(0)f^{\prime}(0)+2f(0)=2.

How did this part go?

Retain every term in the third and fourth derivatives

The full Teacher intermediate lines and both source simplifications give

y′′′=ddx(2xy′+2y)=2xy′′+2y′+2y′=2xy′′+4y′,y^{\prime\prime\prime}=\frac d{dx}(2xy^{\prime}+2y)=2xy^{\prime\prime}+2y^{\prime}+2y^{\prime}=2xy^{\prime\prime}+4y^{\prime},

f′′′(0)=4f′(0)=−4.f^{\prime\prime\prime}(0)=4f^{\prime}(0)=-4.

Differentiating once more,

y(4)=ddx(2xy′′+4y′)=2xy′′′+2y′′+4y′′=2xy′′′+6y′′,y^{(4)}=\frac d{dx}(2xy^{\prime\prime}+4y^{\prime})=2xy^{\prime\prime\prime}+2y^{\prime\prime}+4y^{\prime\prime}=2xy^{\prime\prime\prime}+6y^{\prime\prime},

f(4)(0)=6f′′(0)=12.f^{(4)}(0)=6f^{\prime\prime}(0)=12.

These establish both requested values.

How did this part go?

Insert the factorials and evaluate the quartic approximation

The Teacher completes the full coefficient substitution:

y=1+(−1)x+22!x2+−43!x3+124!x4+⋯=1−x+x2−23x3+12x4+⋯ .\begin{aligned}&y\\ & =1+(-1)x+\frac2{2!}x^2\\ &{}+\frac{-4}{3!}x^3+\frac{12}{4!}x^4+\cdots\\ & =1-x+x^2-\frac23x^3+\frac12x^4+\cdots.\end{aligned}

At x=0.1 the retained polynomial is

1−0.1+(0.1)2−23(0.1)3+12(0.1)4=0.909383333…≈0.90938.\begin{aligned}&1-0.1+(0.1)^2\\ &{}-\frac23(0.1)^3+\frac12(0.1)^4\\ & =0.909383333\ldots\approx\boxed{0.90938}.\end{aligned}

This matches the printed five-decimal approximation. Rounding the polynomial is distinct from a separate bound on the omitted terms.

How did this part go?

Common mistakes

Substituting zero before differentiation loses information; omitting factorials turns derivative values into incorrect coefficients.

Solution notes

Both original pages compared. Student derivative skeleton and Teacher product-rule completions, zero values, full series and numerical answer retained. No printed marks or attribution.

Read the hint