Professional Documents
Culture Documents
Week 7 Lecture 1
2023 Semester 1
Warm up
so ✗
÷ = e±h× >
I
= 0
✗→ •
✗ → °
"
( [µp,
÷
,
c
'
,
him ✗ =
time
✗→a
this
=e£÷¥=e°=l .
✗ → a
%
Announcements
• L’Hôpital’s rule % ±÷
• First Derivative Test, Second Derivative Test
• Global extrema
• Curve sketching
This week:
• Taylor polynomials of f (x) about x = a
• The remainder term
• Applications
Approximating sine and cosine by polynomials
x2
sin x ⇡ x and cos x ⇡ 1 for small x.
2
• For x near 0, sin x and cos x are well approximated by polynomials, e.g.
Y -_ ✗ -
¥
=P}l✗ )
Y= I
✗ = sinx
Y=t¥+¥
✗
¥ É
= cosx
Y= ✗ -
+
=
B- 1×1
Y=x Y= 1- ¥
=P, 1×1
Approximating functions by polynomials
• Remarks:
• We use powers of (x a) so that subsequent terms (x a)n+1 , . . . are very small when
x is near a, i.e. when |x a| is small.
• Polynomials are easy to work with (sketch, di↵erentiate, integrate, etc).
• Questions:
• How to find the coefficients c0 , c1 , . . . , cn in (⇤)?
• How good is the approximation in (⇤)?
Finding coefficients ck , k = 0, 1, 2, . . . , n
a) +
. - .
thank -
a)
' '
f- (a) C
,
→ G =
f- G)
f 00 (a) " <
(2) c2 = 2 "
a)
1) G H
" heh
1-
f 3.2 ↳ ☒ a) + -
t.cz +
-
(x ) 2-
. .
. - .
f-
f[÷
"
f"{÷ =
: "→
f- nth 1) ( n 2) GH
"'
3.2 I C + 4.3.2 C4H a)
a) + +
-
-
Ix , =
-
nth derivative
.
- . .
-
- .
+
f-
f"z÷
"
f (n) (a)
(a) = 13 ! ) C, → ↳ =
(n) cn = n! :
T .
he != I "
G
f
n.in ii. In -21 2.
'
4 ! )G
. -
.
=
- .
→
,× , =
nth order Taylor polynomial at x a
50¥ :
fix , =
sin ✗ f- to ) = O
f 't ) =
cosx f- cos = I
f-
"
f-
"
lol =
0
(x ) = -
six
"
f-
"
ex ,
= - cos ✗ f- to , = -
I
"'
" f- lo ) o
f-
=
1×1 =
sinx
" "
The pattern repeats for f- *, ¢ f- lol
,
h > 5 .
"
f'
" "
f- to , = 1
,
10 ) = 0
,
f to, =
-1 .
?
P> ÷✗
'
1- ✗
'
c
, 1×1 = 0 + ✗ -
to
g- ¥+7
✗ +
+
⇐ ✗ + ✗ + ✗ -
i. B- A = ✗ -
¥ +
f -
×¥ .
""
Sinti ) = 0,841471
[ Fact : From the pattern ,
we see the
about ✗ = 0 is
the
K 2kt
×_
Pun 1×1 =
[ 1- 1)
]
41<+1 ) !
1<=0
ex Find the formulae for the nth order Taylor polynomials, centred at x = 0, for
(a) ex
(b) sin x homework
(c) cos x
(d) sinh x
(e) cosh x
p
(f) 1 + x
(g) ln(1 + x)
That is,
f (x) = Pn (x) + Rn (x)
I 9
Taylor remainder term
Poly .
"
the error
"
The remainder term
f (n+1) (c)
Rn (x) = (x a)n+1
(n + 1)!
• Thus,
n
X f (k) (a) f (n+1) (c)
f (x) = (x a)k + (x a)n+1
k! (n + 1)!
k=0
• The theorem guarantees the existence of c between a and x, but it does not give the
exact value of c (it can be hard to find the exact value of c).
• We won’t prove the theorem. See a proof (using the Mean Value Theorem) in §7.6
of the course notes.
ex Use Lagrange’s formula to obtain upper and lower bounds for the approximation
1 1
sin(1) ⇡ 1 + = B- (x )
3! 5!
sot We have
sin (x B- (x ) t Rt 1×1
) =
,
where B- 1×1 =
✗
-
É +
¥7 ,
and by Lagrange ,
Rsk ) =
% ✗
to
=
_÷ ✗
'
C between 04 ✗
"
either C E (× ,
o
) if ✗ < 0
or C E to,✗ ) if ✗ > 0
.
B- Rs-
'
= 1- * +
¥ -
since
for some C C- 10,1 ) .
i.
/ Sinai -
( I -
+ I:) / =/ _si÷|
ftp.sina/-sincIEl
=
0.00/3*8
or
equivalently ,
-
E sinus - ( 1- IT -1¥ )
.
⇐ ¥
%,
Raf 1- +
¥ =
1- = 0,875
,
'
I
'
c ,
sin( 1) = 0.875 0.00138
Lecture summary