Escolar Documentos
Profissional Documentos
Cultura Documentos
22a aula
5 de Dezembro de 2022
1 2 3 4 6
Polinómios de Taylor
Consideremos n ∈ N ∪ {0} e uma função f que é n vezes derivável
num ponto a ∈ R se n > 1 e contı́nua em a se n = 0.
f (k) (a)
ak =
k!
sendo f (0) = f . De seguida, construimos o polinómio
Exemplo 1
• x ∈ R 7→ exp (x) e a = 0.
exp(k) (0) 1
ak = = ∀ k ∈ N ∪ {0}.
k! k!
Logo
x2 x3 xn
Pn, exp, 0 (x) = 1 + x + + + ··· + .
2! 3! n!
1 2 3 4 6
Exemplo 2
• x ∈ R 7→ sen (x) e a = 0.
Tem-se sen (0) = 0 e sen0 (x) = cos (x) para todo o x ∈ R. Logo
Consequentemente:
0 se k é par
sen(k) (0) 1
ak = = k! se k = 2n + 1 com n ∈ N ∪ {0} par
k!
1
− k! se k = 2n + 1 com n ∈ N ı́mpar.
x3 x5 x 2n+1
P2n+1, sen, 0 (x) = x − + − · · · + (−1)n
3! 5! (2n + 1)!
Exemplo 3
• x ∈ R 7→ cos (x) e a = 0.
Tem-se
cos(k) (0) 0
se k é ı́mpar
1
ak = = k! se k = 2n com n ∈ N ∪ {0} par
k! 1
− k! se k = 2n com n ∈ N ı́mpar.
x2 x4 x 2n
P2n, cos, 0 (x) = 1 − + − · · · + (−1)n
2! 4! (2n)!
Exemplo 4
• x > 0 7→ log (x) e a = 1.
(−1)k−1 (k − 1)!
log(k) (x) =
xk
logo
log(k) (1) = (−1)k−1 (k − 1)!
e
(
log(k) (1) 0 se k = 0
ak = = (−1)k−1 (k−1)! (−1)k−1
k! k! = k se k > 1.
E, portanto,
Exemplo 5
• f : x > −1 7→ log (1 + x) e a = 0.
Se k ∈ N,
(−1)k−1 (k − 1)!
f (k) (x) = log(k) (1 + x) =
(1 + x)k
Logo, se k ∈ N,
x2 x3 (−1)n−1 x n
Pn, log (1+x), 0 (x) = x − + − ··· + .
2 3 n
1 2 3 4 6
Observação 1
Pode acontecer que conheçamos o polinómio de Taylor de f em a
de ordem n sem ter calculado explicitamente as derivadas
sucessivas de f em a. Nesse caso, o polinómio permite calcular
essas derivadas em a.
P4, f , 0 (x) = 1 + x + x 2 + x 3 + x 4 .
Observação 2
O polinómio de Taylor de ordem n em a de f não permite
determinar o valor de derivadas de ordem superior a n em a. Por
exemplo, a função exponencial e a função
x2 x3
g: x ∈R 7→ 1+x + + + x4 − x7
2! 3!
têm os mesmos polinómios de Taylor de ordem 3 em 0, dado por
x2 x3
1+x + + .
2! 3!
Mas as suas derivadas de ordem 4 em 0 não coincidem:
• Se c ∈ R, então
Verificação
Como
0
f (c x) = c f 0 (c x)
00
f (c x) = c 2 f 00 (c x)
000
f (c x) = c 3 f 000 (c x)
..
.
tem-se
f 00 (c a)
Pn, f (c x), a (x) = f (c a) + c f 0 (c a)(x − a) + c 2 (x − a)2 +
2!
f (n) (c a)
+ · · · + cn (x − a)n .
n!
1 2 3 4 6
Exemplo
(5x)2 25 2
P2, cos (5x), 0 (x) = P2, cos (x), 0 (5x) = 1 − =1− x .
2! 2
x2
Porque P2, cos, 0 (x) = 1 − 2! , e
(5x)2
P2, cos, 0 (5x) = 1 − .
2!
1 2 3 4 6
• Se k ∈ N, então
Exemplo
x 6 x 9 x 12
= 1 + x3 + + +
2! 3! 4!
porque
x2 x3 x4
P4, exp, 0 (x) = 1 + x + + + .
2! 3! 4!
1 2 3 4 6
Exemplo
x3 x2 x3 x2
P3, sen (x)+exp (x), 0 (x) = x − + 1+x + + = 1+2x + .
3! 2! 3! 2!
1 2 3 4 6
Então
n
X
Pn, fg , a (x) = ck (x − a)k ∀ x ∈ R.
k=0
1 2 3 4 6
Exemplo
porque
x2 x2 x3 x4
1+x + 1− =1+x − + .
2! 2! 2! 2! 2!
1 2 3 4 6
0
• Pn, f 0 , a = Pn+1, f , a
1 2 3 4 6
Exemplo
0
P2n, cos, 0 = P2n+1, sen, 0
ou seja,
x2 x4 x 2n x3 x5 x 2n+1 0
1− + −· · ·+(−1)n = x− + −· · ·+(−1)n .
2! 4! (2n)! 3! 5! (2n + 1)!
1 2 3 4 6
Exemplo
Além disso,
x3 x5
P5, sen, 0 (x) = x − +
3! 5!
logo
x4
P5, sen2 , 0 (x) = x 2 −
3
porque
x3 x5 x3 x5 x4
x− + . x− + = x2 − 2 + α x 6 + β x 8 + γ x 10 .
3! 5! 3! 5! 3!
Consequentemente,
x3 x5
P6, R x sen2 (t) dt, 0 (x) = − .
0 3 15
1 2 3 4 6
Atenção
Seja f : R → R a função
(
x3 se x ∈ Q
f (x) =
0 se x ∈
/Q
Contudo,
f (x) − 0
lim =0
x →0 x2
Demonstração de (a)
Para n = 0,
Para n = 1,
f (x) − P1, f , a (x) f (x) − f (a) − f 0 (a)(x − a)
lim = lim
x →a x −a x →a x −a
f (x) − f (a)
= lim − f 0 (a)
x →a x −a
= 0
..
.
..
.
f (n−1) (x) − f (n−1) (a) − f (n) (a) (x − a)
= lim
x →a n! (x − a)
" #
1 f (n−1) (x) − f (n−1) (a) (n)
= lim − f (a)
n! x → a x −a
= 0.
1 2 3 4 6
Demonstração de (b)
1◦
Consideremos o polinómio R = Q1 − Q2 . Este é um polinómio em
(x − a) de grau menor ou igual a n,
E satisfaz
R(x)
lim = 0.
x →a (x − a)n
De
R(x)
lim = 0.
x →a (x − a)n
R(x) R(x)
lim j
= lim (x − a)n−j = 0.
x →a (x − a) x → a (x − a)n
lim R(x) = b0 = 0.
x →a
Logo
R(x)
lim = b1 = 0.
x →a x −a
Logo
R(x) = b2 (x − a)2 + · · · + bn (x − a)n .
b0 = b1 = · · · = bn = 0
2◦
Seja Q um polinómio em (x − a) de grau menor ou igual a n e
tangente a f até ordem n em a, isto é, tal que
f (x) − Q(x)
lim = 0.
x →a (x − a)n
Como também se tem (pela alı́nea (a) do Teorema)
f (x) − Pn, f , a (x)
lim =0
x →a (x − a)n
concluı́mos que Q e Pn, f , a são tangentes até ordem n em a:
Q(x) − Pn, f , a (x) Q(x) − f (x) + f (x) − Pn, f , a (x)
lim = lim
x →a (x − a)n x →a (x − a)n
Q(x) − f (x) f (x) − Pn, f , a (x)
= lim n
+
x →a (x − a) (x − a)n
= 0 + 0 = 0.
1 2 3 4 6
Q = Pn, f , a .
1 2 3 4 6
1 − r n+1 1 r n+1
1 + r + r2 + · · · + rn = = −
1−r 1−r 1−r
concluı́mos que, para todo o x ∈ R,
1 2n+2
2 4 6 n 2n n+1 x
= 1 − x + x − x + · · · + (−1) x + (−1)
1 + x2 1 + x2
uma vez que
r = −x 2 6= 1 ∀ x ∈ R.
1 2 3 4 6
1 x 2n+2
1+x 2
− Q(x) (−1)n+1 1+x 2
lim = lim
x →0 x 2n x →0 x 2n
(−1)n+1 x 2n+2
= lim
(1 + x 2 ) x 2n
x →0
(−1)n+1 x 2
= lim
x →0 1 + x2
= 0.
P2n, 1
,0 (x) = 1 − x 2 + x 4 − x 6 + · · · + (−1)n x 2n .
1+x 2
1 2 3 4 6
Consequência
Das igualdades, válidas para todo o x ∈ R e para todo o n ∈ N,
P2n, 1
,0 (x) = 1 − x 2 + x 4 − x 6 + · · · + (−1)n x 2n
1+x 2
f (0) = 1
f (2n−1) (0) = 0 ∀n ∈ N
(2n) n
f (0) = (−1) (2n)! ∀ n ∈ N.
1 2 3 4 6
e, para todo o t ∈ R,
1 t 2n+2
2
= 1 − t 2 + t 4 − t 6 + · · · + (−1)n t 2n + (−1)n+1 .
1+t 1 + t2
Z x
1
arctg (x) = dt
0 1 + t2
x x
t 2n+2
Z Z
2 4 n 2n
= 1 − t + t − · · · + (−1) t dt + (−1)n+1 dt
0 0 1 + t2
x
x3 x5 x 2n+1 t 2n+2
Z
= x− + − · · · + (−1)n + (−1)n+1 dt.
3 5 2n + 1 0 1 + t2
1 2 3 4 6
Além disso, se
x3 x5 x 2n+1
Q(x) = x − + − · · · + (−1)n
3 5 2n + 1
tem-se
t 2n+2
Rx
arctg (x) − Q(x) (−1)n+1 0 1+t 2 dt
lim = lim
x →0 x 2n+1 x →0 x 2n+1
= 0
porque
1 2 3 4 6
x
t 2n+2 x 2n+2 |x|2n+3
Z Z
n+1
0 6 (−1)
dt 6 t dt =
0 1 + t2 0 2n + 3
e
|x|2n+3
1
lim 2n+3 = lim |x|2 = 0.
x → 0 |x|2n+1 x →0 2n + 3
Logo
(−1)n+1 R x t 2n+22 dt |x|2n+3
0 1+t 2n+3
06 6 2n+1
x 2n+1 |x|
de onde concluı́mos que
t 2n+2
Rx
(−1)n+1 0 1+t 2 dt
lim = 0.
x →0 x 2n+1
1 2 3 4 6
x3 x5 x 2n+1
P2n+1, arctg, 0 (x) = x − + − · · · + (−1)n .
3 5 2n + 1
1 2 3 4 6
Consequência 1
Das igualdades, válidas para todo o x ∈ R e para todo o n ∈ N,
x3 x5 x 2n+1
P2n+1, arctg, 0 (x) = x − + − · · · + (−1)n
3 5 2n + 1
00
f (0) 2 f (2n+1) (0) 2n+1
= f (0) + f 0 (0) x + x + ··· + x
2! (2n + 1)!
arctg (0) = 0
arctg(2n) (0) = 0 ∀n ∈ N
arctg(2n+1) (0) = (−1)n 2n !
∀ n ∈ N ∪ {0}.
1 2 3 4 6
Consequência 2
Note-se ainda que, da estimativa
Z x 2n+2
|x|2n+3
n+1 t
0 6 (−1)
2
dt 6
0 1+t 2n + 3
|x|2n+3
lim =0
n → +∞ 2n + 3
resulta que, se |x| 6 1,
x
t 2n+2
Z
lim arctg (x) − P2n+1, arctg, 0 (x) = lim (−1)n+1 dt
n → +∞ n → +∞ 0 1 + t2
= 0.
1 2 3 4 6
Por exemplo,
π
lim P2n+1, arctg, 0 (1) = arctg (1) =
n → +∞ 4
isto é,
π 1 1 1 n 1
= lim 1 − + − + · · · + (−1)
4 n → +∞ 3 5 7 2n + 1
π 1 1 1 1
≈ 1 − + − + · · · + (−1)n
4 3 5 7 2n + 1
se n é suficientemente grande.
1 2 3 4 6
Além disso, de
x
t 2n+2
Z
n+1
arctg (x) − P2n+1, arctg, 0 (x) = (−1) dt
0 1 + t2
e de
x
t 2n+2 |x|2n+3
Z
n+1
0 6 (−1)
dt 6
0 1 + t2 2n + 3
104 − 3
K>
2
e calcular
1 1 1 1
1− + − + · · · + (−1)K .
3 5 7 2K + 1
1 2 3 4 6
Rn, f , a = f − Pn, f , a .
Note-se que
E quando x 6= a ?
1 2 3 4 6
Quando x 6= a,
f (n+1) (β)
Rn, f , a (x) = (x − a)n+1 .
(n + 1)!
1 2 3 4 6
Exemplo
x3 x5 x 2n+1
sen (x) = x − + − · · · + (−1)n + R2n+1, sen, 0 (x).
3! 5! (2n + 1)!
E, portanto,
f (2n+2) (β)
R2n+1, sen, 0 (x) = x 2n+2
(2n + 2)!
sen(2n+2) (β)
= x 2n+2
(2n + 2)!
1
6 |x|2n+2 .
(2n + 2)!
1 2 3 4 6
|x|2n+2
lim = 0.
n → +∞ (2n + 2)!
Por exemplo,
π3 π5 π 2n+1
sen (π) = 0 = lim π− + − · · · + (−1)n .
n → +∞ 3! 5! (2n + 1)!
1 2 3 4 6
|x|2N+2
<ε
(2N + 2)!
Outro exemplo
x2 x3 xn
exp (x) = 1 + x + + + ··· + + Rn, exp, 0 (x).
2! 3! n!
Logo, se x ∈ R \ {0},
exp(n+1) (β) n+1
Rn, exp, 0 (x) = |x|
(n + 1)!
exp (β)
= |x|n+1
(n + 1)!
exp (x)
(n+1)! |x|n+1 se x > 0
<
1
|x|n+1
(n+1)! se x < 0.
1 2 3 4 6
Em particular,
1 1 1
exp (1) = lim 1+1+ + + ··· + .
n → +∞ 2! 3! n!
Conclusão:
exp (1) = e
E
exp (x) = e x ∀ x ∈ R.
1 2 3 4 6
Mais um exemplo
Consequentemente,
3
0 < Rn, exp, 0 (1) 6 ∀n ∈ N
(n + 1)!
1 2 3 4 6
Em particular,
3 1
0 < R4, exp, 0 (1) 6 =
5! 40
o que implica que
1 1 1
e = 1+1+ + + + R4, exp, 0 (1)
2! 3! 4!
1 1 1 3
6 1+1+ + + +
2! 3! 4! 5!
65 1
6 +
24 40
< 2, 734.
1 2 3 4 6
E, portanto,
2 < e < 2, 8.
1 2 3 4 6
Observação
Da igualdade,
1 1 1
exp (1) = lim 1+1+ + + ··· + .
n → +∞ 2! 3! n!
1 1 1
e do facto de a sucessão 1 + 1 + 2! + 3! + ··· + n! n ∈ N ser
estritamente crescente, sabemos que
e > 1+1=2
1
e > 1+1+ = 2, 5
2!
1 1
e > 1+1+ + > 2, 66
2! 3!
1 1 1
e > 1+1+ + + > 2, 7
2! 3! 4!
1 2 3 4 6
E, portanto,
2, 7 < e < 2, 8.