Single-Variable-Calculus ยท Unit 7 ยท Video 4 ยท Interactive Practice

Quadratic Approximation: Adding the Second-Derivative Term

IKey Formulas

FormulaNameWhat you need
f(x)โ‰ˆf(x0)+fโ€ฒ(x0)(xโˆ’x0)f(x) \approx f(x_0) + f'(x_0)(x - x_0)Linear approximationValue and slope at x0x_0
f(x)โ‰ˆf(x0)+fโ€ฒ(x0)(xโˆ’x0)+fโ€ฒโ€ฒ(x0)2(xโˆ’x0)2f(x) \approx f(x_0) + f'(x_0)(x - x_0) + \dfrac{f''(x_0)}{2}(x - x_0)^2Quadratic approximationOne more number: fโ€ฒโ€ฒ(x0)f''(x_0)
f(x)โ‰ˆf(0)+fโ€ฒ(0)โ€‰x+fโ€ฒโ€ฒ(0)2โ€‰x2(xโ‰ˆ0)f(x) \approx f(0) + f'(0)\,x + \dfrac{f''(0)}{2}\,x^2 \quad (x \approx 0)Base point 00f(0)f(0), fโ€ฒ(0)f'(0), fโ€ฒโ€ฒ(0)f''(0)
sinโกxโ‰ˆxcosโกxโ‰ˆ1โˆ’12x2exโ‰ˆ1+x+12x2\sin x \approx x \qquad \cos x \approx 1 - \tfrac{1}{2}x^2 \qquad e^x \approx 1 + x + \tfrac{1}{2}x^2
lnโก(1+x)โ‰ˆxโˆ’12x2(1+x)rโ‰ˆ1+rx+r(rโˆ’1)2x2\ln(1 + x) \approx x - \tfrac{1}{2}x^2 \qquad (1 + x)^r \approx 1 + rx + \tfrac{r(r-1)}{2}x^2
Quadratic catalogValid for xโ‰ˆ0x \approx 0

Key Insight: The linear part stays exactly as it was; the quadratic term only adds fโ€ฒโ€ฒ(x0)2(xโˆ’x0)2\tfrac{f''(x_0)}{2}(x - x_0)^2. It turns the tangent line into the best-fit parabola and removes most of the error near x0x_0 โ€” but no term makes the formula reliable far from x0x_0.

IIVisualization 1 โ€” From Tangent Line to Best-Fit Parabola

Adding fโ€ฒโ€ฒ(0)2x2\tfrac{f''(0)}{2}x^2 keeps the tangent line's value and slope and bends it to follow the curve near 00.

IIIVisualization 2 โ€” How Much Closer Is ln(1 + x)?

For lnโก(1+x)\ln(1 + x), how much closer does xโˆ’12x2x - \tfrac{1}{2}x^2 land than the linear answer xx?

IVVisualization 3 โ€” Which Parabola Hugs cos x?

Among the parabolas y=1+cโ€‰x2y = 1 + c\,x^2 through (0,1)(0, 1), which one fits cosโกx\cos x best near 00?

๐Ÿ’ก The winning coefficient is c=fโ€ฒโ€ฒ(0)2c = \tfrac{f''(0)}{2} with fโ€ฒโ€ฒ(0)=โˆ’cosโก0=โˆ’1f''(0) = -\cos 0 = -1; why the factor is exactly 12\tfrac{1}{2} is the subject of the next lecture.

VQuiz Questions

Problem 1 ยท Estimate e0.2e^{0.2}

Given: exโ‰ˆ1+x+12x2e^x \approx 1 + x + \tfrac{1}{2}x^2 for xโ‰ˆ0x \approx 0 โ€” estimate e0.2e^{0.2}.

โœ… Correct! 1+0.2+12(0.04)=1.221 + 0.2 + \tfrac{1}{2}(0.04) = 1.22, against the true e0.2โ‰ˆ1.2214e^{0.2} \approx 1.2214.
โŒ That is the linear approximation. 1+x1 + x gives 1.21.2; the quadratic term adds 12x2=0.02\tfrac{1}{2}x^2 = 0.02.
โŒ The factor 12\tfrac{1}{2} went missing. The quadratic term is fโ€ฒโ€ฒ(0)2x2=12(0.2)2=0.02\tfrac{f''(0)}{2}x^2 = \tfrac{1}{2}(0.2)^2 = 0.02, not (0.2)2=0.04(0.2)^2 = 0.04.
โŒ The linear term went missing. Keep 1+x1 + x and add the quadratic term on the end.
โŒ Not quite. Substitute x=0.2x = 0.2 into 1+x+12x21 + x + \tfrac{1}{2}x^2.
Show solution

With x=0.2x = 0.2:

e0.2โ‰ˆ1+0.2+12(0.2)2=1+0.2+12(0.04)=1+0.2+0.02=1.22.e^{0.2} \approx 1 + 0.2 + \tfrac{1}{2}(0.2)^2 = 1 + 0.2 + \tfrac{1}{2}(0.04) = 1 + 0.2 + 0.02 = 1.22.

The true value is e0.2โ‰ˆ1.22140e^{0.2} \approx 1.22140, so the error drops from about 0.0210.021 (linear, 1.21.2) to about 0.00140.0014.

Problem 2 ยท The Missing Term

Given: f(x)=sinโกxf(x) = \sin x โ€” find its quadratic approximation near x=0x = 0.

โœ… Correct! fโ€ฒโ€ฒ(0)=โˆ’sinโก0=0f''(0) = -\sin 0 = 0, so there is no x2x^2 term: the quadratic approximation of sinโกx\sin x is the linear one.
โŒ The second derivative is โˆ’sinโกx-\sin x, and that is 00 at x=0x = 0. A coefficient of โˆ’1-1 would come from โˆ’cosโก0-\cos 0 or โˆ’1(1+0)2-\tfrac{1}{(1+0)^2} โ€” those belong to cosโกx\cos x and lnโก(1+x)\ln(1 + x).
โŒ Evaluate fโ€ฒโ€ฒf'' at the base point. fโ€ฒโ€ฒ(x)=โˆ’sinโกxf''(x) = -\sin x and sinโก0=0\sin 0 = 0, so the quadratic coefficient is 00, not ยฑ12\pm\tfrac{1}{2}.
โŒ That is the approximation of cosโกx\cos x. For sinโกx\sin x the value at 00 is 00 and the slope is cosโก0=1\cos 0 = 1, so the linear part is xx.
โŒ Not quite. Compute f(0)f(0), fโ€ฒ(0)f'(0) and fโ€ฒโ€ฒ(0)f''(0) for sinโกx\sin x.
Show solution

Derivatives: f(x)=sinโกxf(x) = \sin x, fโ€ฒ(x)=cosโกxf'(x) = \cos x, fโ€ฒโ€ฒ(x)=โˆ’sinโกxf''(x) = -\sin x. At 00:

f(0)=0,fโ€ฒ(0)=cosโก0=1,fโ€ฒโ€ฒ(0)=โˆ’sinโก0=0.f(0) = 0, \qquad f'(0) = \cos 0 = 1, \qquad f''(0) = -\sin 0 = 0.

So

sinโกxโ‰ˆ0+1โ‹…x+02x2=x.\sin x \approx 0 + 1 \cdot x + \frac{0}{2}x^2 = x.

The quadratic term vanishes, which is why sinโกxโ‰ˆx\sin x \approx x is such a good approximation: it is also the quadratic approximation.

Problem 3 ยท A Base Point Other Than Zero

Given: f(x)=xf(x) = \sqrt{x} with base point x0=4x_0 = 4 โ€” use the quadratic approximation to estimate 4.2\sqrt{4.2}.

What is fโ€ฒโ€ฒ(4)f''(4)?

What is the quadratic estimate of 4.2\sqrt{4.2}?

โœ… Correct! 2+14(0.2)โˆ’164(0.2)2=2.0493752 + \tfrac{1}{4}(0.2) - \tfrac{1}{64}(0.2)^2 = 2.049375, and 4.2โ‰ˆ2.049390\sqrt{4.2} \approx 2.049390 โ€” off by about 0.0000150.000015.
โŒ Check the sign. x\sqrt{x} bends downward: fโ€ฒโ€ฒ(x)=โˆ’14xโˆ’3/2f''(x) = -\tfrac{1}{4}x^{-3/2} is negative for every x>0x \gt 0.
โŒ Check the coefficient. Differentiating 12xโˆ’1/2\tfrac{1}{2}x^{-1/2} gives 12โ‹…(โˆ’12)xโˆ’3/2=โˆ’14xโˆ’3/2\tfrac{1}{2}\cdot\big(-\tfrac{1}{2}\big)x^{-3/2} = -\tfrac{1}{4}x^{-3/2}, and 4โˆ’3/2=184^{-3/2} = \tfrac{1}{8}.
โŒ That is fโ€ฒ(4)f'(4). fโ€ฒ(x)=12xf'(x) = \tfrac{1}{2\sqrt{x}} gives 14\tfrac{1}{4}; differentiate once more for fโ€ฒโ€ฒf''.
โŒ That is the linear estimate. 2+14(0.2)=2.052 + \tfrac{1}{4}(0.2) = 2.05; the quadratic term still has to be added.
โŒ The factor 12\tfrac{1}{2} went missing. The term is fโ€ฒโ€ฒ(4)2(0.2)2=โˆ’164(0.04)=โˆ’0.000625\tfrac{f''(4)}{2}(0.2)^2 = -\tfrac{1}{64}(0.04) = -0.000625, not โˆ’132(0.04)=โˆ’0.00125-\tfrac{1}{32}(0.04) = -0.00125.
โŒ The quadratic term has the sign of fโ€ฒโ€ฒ(4)f''(4). fโ€ฒโ€ฒ(4)<0f''(4) \lt 0, so the correction is subtracted from 2.052.05.
โŒ Differentiate twice. fโ€ฒ(x)=12xโˆ’1/2f'(x) = \tfrac{1}{2}x^{-1/2}; apply the power rule again, then put x=4x = 4.
โŒ Assemble the three pieces. f(4)+fโ€ฒ(4)(0.2)+fโ€ฒโ€ฒ(4)2(0.2)2f(4) + f'(4)(0.2) + \tfrac{f''(4)}{2}(0.2)^2.
Show solution

Step 1 โ€” Derivatives. f(x)=x1/2f(x) = x^{1/2}, fโ€ฒ(x)=12xโˆ’1/2f'(x) = \tfrac{1}{2}x^{-1/2}, fโ€ฒโ€ฒ(x)=โˆ’14xโˆ’3/2f''(x) = -\tfrac{1}{4}x^{-3/2}. At x0=4x_0 = 4:

f(4)=2,fโ€ฒ(4)=12โ‹…2=14,fโ€ฒโ€ฒ(4)=โˆ’14โ‹…18=โˆ’132.f(4) = 2, \qquad f'(4) = \frac{1}{2 \cdot 2} = \frac{1}{4}, \qquad f''(4) = -\frac{1}{4} \cdot \frac{1}{8} = -\frac{1}{32}.

Step 2 โ€” Assemble with xโˆ’x0=0.2x - x_0 = 0.2:

4.2โ‰ˆ2+14(0.2)+โˆ’1/322(0.2)2=2+0.05โˆ’0.0464=2.05โˆ’0.000625=2.049375.\sqrt{4.2} \approx 2 + \frac{1}{4}(0.2) + \frac{-1/32}{2}(0.2)^2 = 2 + 0.05 - \frac{0.04}{64} = 2.05 - 0.000625 = 2.049375.

The true value is 4.2โ‰ˆ2.0493902\sqrt{4.2} \approx 2.0493902: the linear estimate 2.052.05 is off by about 0.00060.0006, the quadratic by about 0.0000150.000015.

Problem 4 ยท A Negative Power

Given: (1+x)rโ‰ˆ1+rx+r(rโˆ’1)2x2(1 + x)^r \approx 1 + rx + \tfrac{r(r-1)}{2}x^2 โ€” find the quadratic approximation of 11+x\dfrac{1}{1 + x} near 00, then estimate 11.1\dfrac{1}{1.1}.

Which is the quadratic approximation of 11+x\dfrac{1}{1 + x}?

What does it give for 11.1\dfrac{1}{1.1}?

โœ… Correct! With r=โˆ’1r = -1 the coefficient is (โˆ’1)(โˆ’2)2=1\tfrac{(-1)(-2)}{2} = 1, so 11.1โ‰ˆ1โˆ’0.1+0.01=0.91\tfrac{1}{1.1} \approx 1 - 0.1 + 0.01 = 0.91, against the true 0.90909โ€ฆ0.90909\ldots
โŒ Check the sign of r(rโˆ’1)r(r - 1). With r=โˆ’1r = -1, r(rโˆ’1)=(โˆ’1)(โˆ’2)=+2r(r - 1) = (-1)(-2) = +2: two negatives make the x2x^2 coefficient positive.
โŒ Divide by 22. r(rโˆ’1)=2r(r-1) = 2, but the coefficient is r(rโˆ’1)2=1\tfrac{r(r-1)}{2} = 1.
โŒ 11+x=(1+x)โˆ’1\dfrac{1}{1 + x} = (1 + x)^{-1}, so r=โˆ’1r = -1. The linear term is rx=โˆ’xrx = -x.
โŒ That is the linear estimate. 1โˆ’x1 - x gives 0.90.9; the quadratic term adds x2=0.01x^2 = 0.01.
โŒ That uses 2x22x^2. The coefficient of x2x^2 is r(rโˆ’1)2=1\tfrac{r(r-1)}{2} = 1, so the term is 0.010.01, not 0.020.02.
โŒ Write the function as a power. 11+x=(1+x)โˆ’1\tfrac{1}{1 + x} = (1 + x)^{-1}; put r=โˆ’1r = -1 into the catalog formula.
โŒ Substitute x=0.1x = 0.1 into your approximation 1โˆ’x+x21 - x + x^2.
Show solution

Step 1 โ€” Identify rr. 11+x=(1+x)โˆ’1\dfrac{1}{1 + x} = (1 + x)^{-1}, so r=โˆ’1r = -1.

Step 2 โ€” Coefficients. rx=โˆ’xrx = -x and

r(rโˆ’1)2=(โˆ’1)(โˆ’2)2=1,so11+xโ‰ˆ1โˆ’x+x2.\frac{r(r-1)}{2} = \frac{(-1)(-2)}{2} = 1, \qquad\text{so}\qquad \frac{1}{1 + x} \approx 1 - x + x^2.

Step 3 โ€” Evaluate. 1.1=1+0.11.1 = 1 + 0.1, so x=0.1x = 0.1:

11.1โ‰ˆ1โˆ’0.1+0.01=0.91.\frac{1}{1.1} \approx 1 - 0.1 + 0.01 = 0.91.

The true value is 0.90909โ€ฆ0.90909\ldots: the error falls from about 0.0090.009 (linear, 0.90.9) to about 0.00090.0009.

Solved: 0 / 4