Differential-Equations Β· Unit 2 Β· Video 3 Β· Interactive Practice

Convex Means Too Low: How the Equation Itself Grades Euler's Answer

IKey Formulas

FormulaNameWhat it gives
yβ€²=x2βˆ’y2,y(0)=1y' = x^2 - y^2, \quad y(0) = 1The initial value problemNo elementary solution
yβ€²β€²=2xβˆ’2y yβ€²y'' = 2x - 2y\,y'Differentiate the equationyβ€²β€²y'' from xx, yy, yβ€²y' alone
yβ€²β€²(0)=2(0)βˆ’2(1)(βˆ’1)=2y''(0) = 2(0) - 2(1)(-1) = 2Evaluate at the startA positive number, so convex
y′′>0⇒convex⇒Euler too lowy'' > 0 \Rightarrow \text{convex} \Rightarrow \text{Euler too low}The corner-cutting ruley′′<0y'' < 0 reverses both arrows

Key Insight: The solution is never found β€” only the sign of yβ€²β€²y'' at the starting point, which the differential equation hands over for free. That sign decides which side of the true curve the broken line falls on.

IIWhich Side Does the Broken Line Miss On?

Euler's broken line always cuts the corner; the sign of yβ€²β€²y'' decides which corner.

The field here depends on xx alone, so each strut is exactly parallel to the curve's tangent at that xx; for a general f(x,y)f(x,y) that parallelism is only approximate, and the corner-cutting is the same.

IIIReading the Sign Off the Equation

For yβ€²=x2βˆ’y2y' = x^2 - y^2, the starting point alone fixes yβ€²β€²=2xβˆ’2y yβ€²y'' = 2x - 2y\,y' and the verdict.

Crossing the dashed curve flips the verdict β€” which is why a sign computed at one point is trustworthy only near that point.

IVTwo Steps, Then the Verdict

The equation grades its own approximation: yβ€²β€²(0)=2>0y''(0) = 2 > 0, so 0.820.82 is too small.

Step 1 β€” The slope at the start
yβ€²=x2βˆ’y2,y(0)=1y' = x^2 - y^2, \qquad y(0) = 1
yβ€²(0)=02βˆ’12=βˆ’1y'(0) = 0^2 - 1^2 = -1
The first strut leaves (0,1)(0, 1) along the line element of slope βˆ’1-1.

VQuiz Questions

Problem 1 Β· Differentiate the Equation

Given: yβ€²=x2βˆ’y2y' = x^2 - y^2, where yy is a solution β€” find yβ€²β€²y'' by differentiating both sides with respect to xx.

βœ… Correct! yy is a function of xx, so (y2)β€²=2y yβ€²\left(y^2\right)' = 2y\,y'. The right-hand side asks only for xx, yy and yβ€²y' β€” all available at the starting point.
❌ The chain rule is missing. yy depends on xx, so (y2)β€²=2y yβ€²\left(y^2\right)' = 2y\,y', not 2y2y.
❌ Check the sign. The term being differentiated is βˆ’y2-y^2, so it contributes βˆ’2y yβ€²-2y\,y'.
❌ Not quite. Differentiate term by term: (x2)β€²=2x\left(x^2\right)' = 2x and (y2)β€²=2y yβ€²\left(y^2\right)' = 2y\,y'.
Show solution

Differentiate both sides of yβ€²=x2βˆ’y2y' = x^2 - y^2 with respect to xx:

yβ€²β€²=ddx(x2)βˆ’ddx(y2)=2xβˆ’2y yβ€²y'' = \frac{d}{dx}\left(x^2\right) - \frac{d}{dx}\left(y^2\right) = 2x - 2y\,y'

The second term needs the chain rule because y=y(x)y = y(x): ddx(y2)=2yβ‹…dydx=2y yβ€²\dfrac{d}{dx}\left(y^2\right) = 2y \cdot \dfrac{dy}{dx} = 2y\,y'.

Nothing here mentions a formula for the solution. Given a point (x,y)(x, y), the original equation supplies yβ€²y', and this identity then supplies yβ€²β€²y''.

Problem 2 Β· Same Equation, New Starting Point

Given: yβ€²=x2βˆ’y2y' = x^2 - y^2 with y(0)=βˆ’1y(0) = -1. Two Euler steps with h=0.1h = 0.1 give y(0.2)β‰ˆβˆ’1.22y(0.2) \approx -1.22. Which statement about the true value is justified?

βœ… Correct! yβ€²(0)=βˆ’1y'(0) = -1 and yβ€²β€²(0)=2(0)βˆ’2(βˆ’1)(βˆ’1)=βˆ’2<0y''(0) = 2(0) - 2(-1)(-1) = -2 < 0: the solution is concave, so the broken line runs above it. The true value is β‰ˆβˆ’1.2470\approx -1.2470.
❌ That is the convex verdict. Here yβ€²β€²(0)=βˆ’2<0y''(0) = -2 < 0 β€” concave β€” so Euler runs too high, which puts the true value below the estimate.
❌ The equation does decide it. yβ€²β€²=2xβˆ’2y yβ€²y'' = 2x - 2y\,y' is computable at (0,βˆ’1)(0, -1) without any solution formula.
❌ Not quite. Evaluate yβ€²β€²=2xβˆ’2y yβ€²y'' = 2x - 2y\,y' at (0,βˆ’1)(0, -1), using yβ€²(0)=02βˆ’(βˆ’1)2=βˆ’1y'(0) = 0^2 - (-1)^2 = -1.
Show solution

Step 1 β€” the slope at the start:

yβ€²(0)=02βˆ’(βˆ’1)2=βˆ’1y'(0) = 0^2 - (-1)^2 = -1

Step 2 β€” the second derivative at the start:

yβ€²β€²(0)=2(0)βˆ’2(βˆ’1)(βˆ’1)=0βˆ’2=βˆ’2<0y''(0) = 2(0) - 2(-1)(-1) = 0 - 2 = -2 < 0

Step 3 β€” apply the rule. A negative second derivative means the solution is concave there: it bends down and away from every tangent, so each strut lands above the curve and the misses accumulate upward.

concaveβ‡’EulerΒ tooΒ highβ‡’y(0.2)<βˆ’1.22\text{concave} \Rightarrow \text{Euler too high} \Rightarrow y(0.2) < -1.22

The same equation, a different starting point, and the verdict reverses β€” the sign of yβ€²β€²y'' is what does the deciding, not the equation alone. (A numerical solution gives βˆ’1.2470-1.2470, indeed below βˆ’1.22-1.22.)

Problem 3 Β· A Different Equation

Given: yβ€²=xβˆ’y2y' = x - y^2 with y(0)=1y(0) = 1 β€” find the second derivative at the start, then say which side an Euler estimate of y(0.2)y(0.2) falls on.

What is the second derivative at the start?

Which side does the Euler estimate fall on?

βœ… Correct! yβ€²(0)=βˆ’1y'(0) = -1 and yβ€²β€²=1βˆ’2y yβ€²y'' = 1 - 2y\,y', so yβ€²β€²(0)=1βˆ’2(1)(βˆ’1)=3>0y''(0) = 1 - 2(1)(-1) = 3 > 0: convex, and the broken line cuts the corner from below.
❌ That is the chain-rule slip. (y2)β€²=2y yβ€²\left(y^2\right)' = 2y\,y', not 2y2y β€” using 2y2y gives 1βˆ’2=βˆ’11 - 2 = -1 instead of 1βˆ’2(1)(βˆ’1)=31 - 2(1)(-1) = 3.
❌ Check the differentiation. Differentiating yβ€²=xβˆ’y2y' = x - y^2 gives yβ€²β€²=1βˆ’2y yβ€²y'' = 1 - 2y\,y'; now substitute y(0)=1y(0) = 1 and yβ€²(0)=0βˆ’12=βˆ’1y'(0) = 0 - 1^2 = -1.
❌ Check the direction of the rule. yβ€²β€²(0)=3>0y''(0) = 3 > 0 means convex, and a convex solution bends up away from every strut.
Show solution

Step 1 β€” the slope at the start:

yβ€²(0)=0βˆ’12=βˆ’1y'(0) = 0 - 1^2 = -1

Step 2 β€” differentiate the equation:

yβ€²β€²=ddx(xβˆ’y2)=1βˆ’2y yβ€²y'' = \frac{d}{dx}\left(x - y^2\right) = 1 - 2y\,y'

Step 3 β€” evaluate at (0,1)(0, 1):

yβ€²β€²(0)=1βˆ’2(1)(βˆ’1)=1+2=3>0y''(0) = 1 - 2(1)(-1) = 1 + 2 = 3 > 0

Step 4 β€” read off the verdict. Positive second derivative means convex, and a convex solution bends up away from each line element, so the struts stay underneath:

convex⇒Euler too low\text{convex} \Rightarrow \text{Euler too low}

Two traps live in this problem: dropping the chain rule gives 1βˆ’2=βˆ’11 - 2 = -1 and flips the verdict, and forgetting that xx differentiates to 11 gives 22 instead of 33.

Problem 4 Β· How Far Does the Verdict Reach?

Given: for yβ€²=x2βˆ’y2y' = x^2 - y^2, y(0)=1y(0) = 1 we found yβ€²β€²(0)=2>0y''(0) = 2 > 0 and concluded y(0.2)>0.82y(0.2) > 0.82. A numerical solution shows yβ€²β€²y'' stays positive until xβ‰ˆ2.05x \approx 2.05 and is negative after that. What is the honest scope of the argument?

βœ… Correct! The sign was computed at one point, so convexity is certified only near it. Past an inflection the tangents fall above the curve, the broken line starts catching up, and it can end on either side.
❌ Too strong. Beyond xβ‰ˆ2.05x \approx 2.05 this solution is concave, and there the struts run above it instead.
❌ A sign at a point is not a sign everywhere. yβ€²β€²(0)>0y''(0) > 0 fixes the bend at the start; here yβ€²β€²y'' turns negative near xβ‰ˆ2.05x \approx 2.05.
❌ Too pessimistic. yβ€²β€²y'' is continuous along the solution, so its sign at the start persists on a neighbourhood β€” one that comfortably contains [0, 0.2][0,\,0.2].
❌ Not quite. Ask what a single evaluation of yβ€²β€²y'' can certify, and over what stretch of xx.
Show solution

The computation produced one number: y1β€²β€²(0)=2y_1''(0) = 2. Because yβ€²β€²=2xβˆ’2y yβ€²y'' = 2x - 2y\,y' is continuous along the solution, a positive value at x=0x = 0 stays positive on an interval around 00 β€” so the solution is convex there and the broken line runs below it. That interval is exactly what the argument certifies.

Why the caveat matters. If the solution changes from convex to concave, the tangents past the inflection run above the curve, the broken line begins closing the gap, and it can cross to the other side. Nothing in the starting-point calculation announces where that happens; here a numerical solution locates the inflection near xβ‰ˆ2.05x \approx 2.05 β€” ten times beyond the interval [0, 0.2][0,\,0.2] that was computed.

The recipe, stated generally. For any yβ€²=f(x,y)y' = f(x,y), differentiating the equation along the solution gives yβ€²β€²y'' in terms of xx, yy and yβ€²y'; its sign at the starting point tells you which side Euler lands on nearby β€” without ever calculating the solution.

Solved: 0 / 4