Navigation

Taylor Polynomials

9.2 Linear approximation

9 problems · hints, answers and solutions shown beside each one

Stage 1 · Conceptual

Q1Stage 1

Suppose f(x)f(x) is a function, and we calculated its linear approximation near x=5x=5 to be f(x)3x9f(x) \approx 3x-9.

  1. What is f(5)f(5)?

  2. What is f(5)f'(5)?

  3. What is f(0)f(0)?

Hint

The linear approximation L(x)L(x) is chosen so that f(5)=L(5)f(5)=L(5) and f(5)=L(5)f'(5)=L'(5).

Answer

(a) f(5)=6f(5)=6 (b) f(5)=3f'(5)=3 (c) not enough information to know

Full solution

The linear approximation is L(x)=3x9L(x)=3x-9. Since we're approximating at x=5x=5, f(5)=L(5)f(5)=L(5), and f(5)=L(5)f'(5)=L'(5). However, there is no guarantee that f(x)f(x) and L(x)L(x) have the same value when x5x \neq 5. So:
(a) f(5)=L(5)=6f(5)=L(5)=6
(b) f(5)=L(5)=3f'(5)=L'(5)=3
(c) there is not enough information to find f(0)f(0).

Q2Stage 1

The curve y=f(x)y=f(x) is shown below. Sketch the linear approximation of f(x)f(x) about x=2x=2.

Figure from prob_s3.4.2, line 1

Figure from prob_s3.4.2, line 1

Hint

The graph of the linear approximation is a line, passing through (2,f(2))(2,f(2)), with slope f(2)f'(2).

Answer

Figure from prob_s3.4.2, line 1

Figure from prob_s3.4.2, line 1

The linear approximation is shown in red.

Full solution

The linear approximation is a line, passing through (2,f(2))(2,f(2)), with slope f(2)f'(2). That is, the linear approximation to f(x)f(x) about x=2x=2 is the tangent line to f(x)f(x) at x=2x=2. It is shown below in red.

Figure from prob_s3.4.2, line 1

Figure from prob_s3.4.2, line 1

Q3Stage 1

What is the linear approximation of the function f(x)=2x+5f(x)=2x+5 about x=ax=a?

Hint

It's an extremely accurate approximation.

Answer

f(x)=2x+5f(x)=2x+5

Full solution

For any constant aa, f(a)=(2a+5)f(a)=(2a+5), and f(a)=2f'(a)=2, so our approximation gives us

f(x)(2a+5)+2(xa)=2x+5f(x) \approx (2a+5)+2(x-a)=2x+5

Since f(x)f(x) itself is a linear function, the linear approximation is actually just f(x)f(x) itself. As a consequence, the linear approximation is perfectly accurate for all values of xx.

Stage 2 · Procedural

Q4Stage 2

Use a linear approximation to estimate log(x)\log(x) when x=0.93x=0.93. Sketch the curve y=f(x)y=f(x) and your linear approximation.

(Remember we use logx\log x to mean the natural logarithm of xx, logex\log_e x.)

Hint

You'll need to centre your approximation about some x=ax=a, which should have two properties: you can easily compute log(a)\log(a), and aa is close to 0.930.93.

Answer

log(0.93)0.07\log(0.93) \approx -0.07

Figure from prob_s3.4.2, line 1

Figure from prob_s3.4.2, line 1

Full solution

We have no idea what f(0.93)f(0.93) is, but 0.93 is pretty close to 1, and we definitely know f(1)f(1). The linear approximation of f(x)f(x) about x=1x=1 is given by

f(x)f(1)+f(1)(x1)\begin{align*}f(x) &\approx f(1)+f'(1)(x-1)\end{align*}

So, we calculate:

f(1)=log(1)=0f(x)=1xf(1)=11=1\begin{align*}f(1)&=\log(1)=0\\ f'(x)&=\frac{1}{x}\\ f'(1)&=\frac{1}{1}=1\end{align*}

Therefore,

f(x)0+1(x1)=x1\begin{align*}f(x) &\approx 0+1(x-1)=x-1\end{align*}

When x=0.93x=0.93:

f(0.93)0.931=0.07\begin{align*}f(0.93) &\approx 0.93-1=-0.07\end{align*}

Figure from prob_s3.4.2, line 1

Figure from prob_s3.4.2, line 1

Q5Stage 2

Use a linear approximation to estimate 5\sqrt{5}.

Hint

Approximate the function f(x)=xf(x) = \sqrt{x}.

Answer

594\sqrt{5} \approx \dfrac{9}{4}

Full solution

We approximate the function f(x)=xf(x)=\sqrt{x} about x=4x=4, since 4 is a perfect square and it is close to 5.

f(4)=4=2f(x)=12xf(4)=124=14f(x)f(4)+f(4)(x4)=2+14(x4)f(5)2+14(54)=94\begin{align*} f(4)&=\sqrt{4}=2\\ f'(x)&=\frac{1}{2\sqrt{x}} \qquad \Rightarrow \qquad f'(4)=\frac{1}{2\sqrt{4}}=\frac{1}{4}\\ f(x) &\approx f(4)+f'(4)(x-4)=2+\frac{1}{4}(x-4)\\ f(5)&\approx 2+\frac{1}{4}(5-4)=\frac{9}{4} \end{align*}

We estimate 594\sqrt{5}\approx\dfrac{9}{4}.

Remark: (94)2=8116\left(\dfrac{9}{4}\right)^2=\dfrac{81}{16}, which is pretty close to 8016=5\dfrac{80}{16}=5. Our approximation seems pretty good.

Q6Stage 2

Use a linear approximation to estimate 305\sqrt[5]{30}

Hint

Approximate the function f(x)=x5f(x)=\sqrt[5]{x}.

Answer

3057940\sqrt[5]{30}\approx \dfrac{79}{40}

Full solution

We approximate the function f(x)=x5f(x)=\sqrt[5]{x}. We need to centre the approximation about some value x=ax=a such that we know f(a)f(a) and f(a)f'(a), and aa is not too far from 3030.

f(x)=x5=x15f(x)=15x45=15x54\begin{align*}f(x)&=\sqrt[5]{x}=x^{\frac{1}{5}}\\ f'(x)&=\frac{1}{5}x^{-\frac{4}{5}}=\frac{1}{5\sqrt[5]{x}^4}\end{align*}

aa needs to be a number whose fifth root we know. Since 325=2\sqrt[5]{32}=2, and 32 is reasonably close to 30, a=32a=32 is a great choice.

f(32)=325=2f(32)=1524=180\begin{align*}f(32)&=\sqrt[5]{32}=2\\ f'(32)&=\frac{1}{5\cdot 2^4}=\frac{1}{80}\end{align*}

The linear approximation of f(x)f(x) about x=32x=32 is

f(x)2+180(x32)\begin{align*}f(x) &\approx 2+\frac{1}{80}(x-32)\end{align*}

When x=30x=30:

f(30)2+180(3032)=2140=7940\begin{align*}f(30) &\approx 2+\frac{1}{80}(30-32)=2-\frac{1}{40}=\frac{79}{40}\end{align*}

We estimate 3057940\sqrt[5]{30}\approx \dfrac{79}{40}.

Remark: 7940=1.975\dfrac{79}{40} = 1.975, while 3051.97435\sqrt[5]{30} \approx 1.97435. This is a decent estimation.

Stage 3 · Application

Q7Stage 3

Use a linear approximation to estimate 10.1310.1^3, then compare your estimation with the actual value.

Hint

Approximate the function f(x)=x3f(x)=x^3.

Answer

10.13103010.1^3 \approx 1030, 10.13=1030.30110.1^3 = 1030.301

Full solution

If f(x)=x3f(x)=x^3, then f(10.1)=10.13f(10.1)=10.1^3, which is the value we want to estimate. Let's take the linear approximation of f(x)f(x) about x=10x=10:

f(10)=103=1000f(x)=3x2f(10)=3(102)=300f(a)f(10)+f(10)(x10)=1000+300(x10)f(10.1)1000+300(10.110)=1030\begin{align*} f(10)&=10^3=1000\\ f'(x)&=3x^2\\ f'(10)&=3(10^2)=300\\ f(a) &\approx f(10)+f'(10)(x-10)\\ &=1000+300(x-10)\\ f(10.1)& \approx 1000+300(10.1-10)=1030 \end{align*}

We estimate 10.13103010.1^3 \approx 1030. If we calculate 10.1310.1^3 exactly (which is certainly possible to do by hand), we get 1030.301.

Remark: in the previous subsection, we used a constant approximation to estimate 10.13100010.1^3 \approx 1000. That approximation was easy to do in your head, in a matter of seconds. The linear approximation is more accurate, but not much faster than simply calculating 10.1310.1^3.

Q8Stage 3

Imagine f(x)f(x) is some function, and you want to estimate f(b)f(b). To do this, you choose a value aa and take an approximation (linear or constant) of f(x)f(x) about aa. Give an example of a function f(x)f(x), and values aa and bb, where the constant approximation gives a more accurate estimation of f(b)f(b) than the linear approximation.

Hint

One possible choice of f(x)f(x) is f(x)=sinxf(x)=\sin x.

Answer

There are many possible answers. One is f(x)=sinxf(x)=\sin x, a=0a=0, and b=πb=\pi.

Full solution

There are many possible answers. One is:

f(x)=sinxa=0b=πf(x)=\sin x \qquad a=0 \qquad b=\pi

We know that f(π)=0f(\pi)=0 and f(0)=0f(0)=0. Using a constant approximation of f(x)f(x) about x=0x=0, our estimation is f(π)f(0)=0f(\pi)\approx f(0)=0, which is exactly the correct value. However, is we make a linear approximation of f(x)f(x) about x=0x=0, we get

f(π)f(0)+f(0)(π0)=sin(0)+cos(0)π=πf(\pi) \approx f(0)+f'(0)(\pi-0)=\sin(0)+\cos(0)\pi=\pi

which is not exactly the correct value.

Figure from prob_s3.4.2, line 1

Figure from prob_s3.4.2, line 1

Remark: in reality, we wouldn't estimate sin(π)\sin(\pi), because we know its value exactly. The purpose of this problem is to demonstrate that fancier approximations are not always more accurate. At the of this section, we'll talk about how to bound the error of your estimations, to make sure that you are finding something sufficiently accurate.

Q9Stage 3

The function

L(x)=14x+4π2712L(x)=\frac{1}{4}x+\frac{4\pi-\sqrt{27}}{12}

is the linear approximation of f(x)=arctanxf(x)=\arctan x about what point x=ax=a?

Hint

Compare the derivatives.

Answer

a=3a=\sqrt{3}

Full solution

The linear approximation L(x)L(x) of f(x)f(x) about x=ax=a is chosen so that L(a)=f(a)L(a)=f(a) and L(a)=f(a)L'(a)=f'(a). So,

L(a)=f(a)=11+a214=11+a2a=±3\begin{align*}L'(a)&= f'(a)=\dfrac{1}{1+a^2}\\ \frac{1}{4}&=\frac{1}{1+a^2}\\ a&=\pm\sqrt{3}\end{align*}

We've narrowed down aa to 3\sqrt{3} or 3-\sqrt{3}. Recall the linear approximation of f(x)f(x) about x=ax=a is f(a)+f(a)(xa),f(a)+f'(a)(x-a), so its constant term is f(a)af(a)=arctan(a)a1+a2f(a)-af'(a)=\arctan(a)-\dfrac{a}{1+a^2}. We compute this for a=3a=\sqrt{3} and a=3a=-\sqrt{3}.

a=3:  arctan(a)a1+a2=arctan(3)31+(3)2=π334=4π2712a=3:  arctan(a)a1+a2=arctan(3)31+(3)2=π3+34=4π+2712\begin{align*}a=\sqrt{3}:~&~\arctan\left(a\right)-\frac{a}{1+a^2} =\arctan\left(\sqrt{3}\right)-\frac{\sqrt{3}}{1+\left(\sqrt{3}\right)^2}=\frac{\pi}{3}-\frac{\sqrt{3}}{4}=\frac{4\pi-\sqrt{27}}{12}\\ a=-\sqrt{3}:~&~\arctan\left(a\right)-\frac{a}{1+a^2} =\arctan\left(-\sqrt{3}\right)-\frac{-\sqrt{3}}{1+\left(-\sqrt{3}\right)^2}=-\frac{\pi}{3}+\frac{\sqrt{3}}{4}=\frac{-4\pi+\sqrt{27}}{12}\end{align*}

So, when a=3a=\sqrt{3},

L(x)=14x+4π2712\begin{align*}L(x)&=\frac{1}{4}x+\frac{4\pi-\sqrt{27}}{12}\end{align*}

and this does not hold when a=3a=-\sqrt{3}. We conclude a=3a=\sqrt{3}.

From the UBC Math 100 open textbook project, © Joel Feldman, Andrew Rechnitzer, Elyse Yeager and others. Licensed CC BY-NC-SA 4.0; this HTML adaptation is released under the same licence. Full attribution.