Professional Documents
Culture Documents
√
Example Find the tangent line to f (x) = x near a = 100.
1 1
We have f �(x) = √
2 x
, so f (100) = 10 and f �(100) = 20 . Thus, the tangent
line is
1
�(x) = 10 + (x − 100).
20
Using our equation for the tangent line from the previous example, we
have
√ 1
103 = f (103) ≈ �(103) = 10 + (103 − 100) = 10.15 .
20
√
(Note that the actual value is 103 is 10.1489...)
Consider
P2(x) = f (a) + f �(a)(x − a) + C(x − a)2
� �� � � �� � � �� �
2nd-order �(x)=P1 (x) quadratic
linear approx. improvement
where C is to be determined.
We have
• P2(a) = f (a)
• P2� (a) = f �(a) since P2� (x) = f �(a) + 2C(x − a)
• We want P2��(a) = f ��(a), and since P2��(x) = C, we need to set
f ��(a)
C= .
2
Thus,
� f ��(a)
P2(x) = f (a) + f (a)(x − a) + (x − a)2
2
is the best quadratic approximation to f at a.
Exercise: check that P3 and f have the same value at a, as well as the
same 1st, 2nd, and 3rd derivatives at a.
so f ��(0)
� 2 f ���(0)
P3(x) = f (0) + f (0) + (x − 0) + (x − 0)3
2! 3!
1
= 0 + 1 · x + 0 · x2 − · x3
6
x3
= x−
6
Define En(x) = f (x) − Pn(x). (We can think of this as the “error” or
“remainder”.)
While this is an exact formula for the error, the value of c is unknown.
However, we do know that a < c < x so this helps us bound En(x).
3
Example For sin x near the point 0, we found P3(x) = x − x6 . Using
Taylor’s theorem, we have
� (4) � � �
� f (c) � � sin c �
�
|E3(x)| = � 4� �
(x − 0) � = � x 4�
4! 4! �
| sin c| 4
= |x|
24
|x|4
≤ since | sin c| ≤ 1.
4!