Power Series Exp
Power Series Exp
Exponential function
Math for Electronics 1
Andrew Thangaraj
Electrical Engineering, IIT Madras
Introduction
Example: Capacitor discharging
t=0
i(t)
+
vC (t) 1 mF 1 kΩ i(t) = vC (t) = −vC′ (t)
−
n
Consider sequence of partial sums {sn = ∑ ak }:
k=0
s0 = a0 , s1 = a0 + a1 , s2 = a0 + a1 + a2 , …
∞
Series: lim sn = ∑ ak = a0 + a1 + a2 + ⋯
n→∞ k=0
n
Consider sequence of partial sums {fn (x) = ∑ ak xk }: a0 , a0 + a1 x, a0 + a1 x + a2 x2 , …
k=0
∞
Power series: lim fn (x) = ∑ ak xk = a0 + a1 x + a2 x2 + ⋯
n→∞ k=0
Partial sums: sn = 1 + r + r2 + ⋯ + rn
rsn = r + r2 + ⋯ + rn + rn+1
sn − rsn = 1 − rn+1
rn+1 → 0 if ∣r∣ < 1
1 − rn+1
sn = rn+1 diverges if ∣r∣ > 1
1−r
1
sn → if ∣r∣ < 1 sn diverges if ∣r∣ = 1 sn diverges if ∣r∣ > 1
1−r
1
∑ an = 1 + r + r2 + ⋯ = if ∣r∣ < 1
1−r
∑ an = 1 + r + r2 + ⋯ diverges if ∣r∣ ≥ 1
Visualising geometric series
r = 0.5 r = 1.05
Examples
Find the limit of the following series, whenever they converge.
1 1 1
1) 1 + + + + ⋯
2 4 8
1 1
2) 4 + 4 ⋅ + 4 ⋅ 2 + ⋯
3 3
4) 1 + 2 + 22 + ⋯
45 46 47
5) 5 + 6 + 7 + ⋯
3 3 3
Comparison test
Theorem
1. If ∣an ∣ ≤ cn for all n above some value, and if ∑ cn converges,
then ∑ an converges.
2. If an ≥ dn ≥ 0 for all n above some value, and if ∑ dn diverges,
then ∑ an diverges.
Example
1 1 1
1) + + +⋯
2⋅3 2⋅3⋅4 2⋅3⋅4⋅5
1 1 1 1 1 1 1 1 1 1 1
∑ an = 1+ + ( + ) + ( + + + ) + ( + ⋯ + ) + ⋯ + ( n + ⋯ + n+1 ) + ⋯
2 3 4 5 6 7 8 9 16 2 +1 2
1 1 1 1 1 1 1 1 1 1 1
∑ dn = 1+ + ( + ) + ( + + + ) + ( + ⋯ + ) + ⋯ + ( n+1 + ⋯ + n+1 ) + ⋯
2 4 4 8 8 8 8 16 16 2 2
1 1 1 1 1
= 1+ + + + +⋯+ + ⋯ diverges
2 2 2 2 2
1 1 1 1 1 1 1
∑ an = 1+ q + ( q + q ) + ( q + ⋯ + q ) + ⋯ + ( n + ⋯ + n+1 q ) + ⋯
2 3 4 5 8 (2 + 1)q (2 )
1 1 1 1 1 1 1
∑ dn = 1+ q + ( q + q ) + ( q + ⋯ + q ) + ⋯ + ( n+1 q + ⋯ + n+1 q ) + ⋯
2 4 4 8 8 (2 ) (2 )
1 1 1 1
= 1+ q + 2 ⋅ 2q + 2
2 ⋅ 3q +⋯+ 2 ⋅ (n+1)q + ⋯
n
2 2 2 2
2 n
1 1 2 1 2
= 1+ q + ⋅ + 1
⋅ (
2
) +⋯+ ⋅ ( q) +⋯
2 2 2
q q
2q 2q 2 q 2
1 1 1 1 1 1
∑ an = 1+ ( q + q ) + ( q + ⋯ + q ) + ⋯ + ( n q + ⋯ + n+1 )+⋯
2 3 4 7 (2 ) (2 − 1)q
1 1 1 1 1 1
∑ cn = 1+ ( q + q ) + ( q + ⋯ + q ) + ⋯ + ( n q + ⋯ + n q ) + ⋯
2 2 4 4 (2 ) (2 )
1 2 1 1
= 1+ 2 ⋅ q + 2 ⋅ 2q +⋯+ 2 ⋅ n q
n
+⋯
2 2 (2 )
2 n
2
( q)
2 2
= 1+ + ( q) +⋯+ +⋯
2q 2 2
1 1 (2) 1 1
Hn = 1 + 2 +⋯+ n Hn = 1 + 22
+⋯+ n2
Hn Hn(2)
n n
Sequence {an } and series ∑ an
Equivalently, if lim an
= 0, then ∑ an diverges
n→∞
1. if L < 1, ∑ an converges.
2. if L > 1, ∑ an diverges.
3. if L = 1, no conclusive result.
1 2 3
1) + + + ⋯
2 3 4 no
an → 0? diverges
1 1 1
2) e = 1 + + + + ⋯ yes
1! 2! 3!
works converges/
1 1 1 1 1 1 Ratio test
3) + + + + + + ⋯ diverges
2 2 4 4 8 8 no limit
1 1 works converges/
4) 1 + + +⋯ Root test
2 3 diverges
1 1 1 inconclusive
5) + + +⋯
1⋅2 2⋅3 3⋅4 Comparison test
1 1
6) 1 + + + ⋯
3 5
Convergence of power series
Power series
Sequence of real numbers {ak }: a0 , a1 , a2 , …
n
Consider sequence of partial sums {sn (x) = ∑ ak xk }: a0 , a0 + a1 x, a0 + a1 x + a2 x2 , …
k=0
∞
Power series: lim sn (x) = ∑ ak xk = a0 + a1 x + a2 x2 + ⋯
n→∞ k=0
sn (x) sn (x)
n n
x
x
Another example
x2 x3
x+ + +⋯
2 3
sn (x) sn (x)
n n
x
x
Radius of convergence of a power series
Theorem Proof
Consider a power series ∑ an xn with α = lim ∣an ∣1/n .
n→∞ Root test.
1
Let R = . If α = 0, R = ∞. If α = ∞, R = 0.
α Can use ratio
Then, ∑ an xn converges if ∣x∣ < R and diverges if ∣x∣ > R. test to find α.
R: radius of convergence
Examples
xn xn
1) 1 + x + x + ⋯ 2
3) ∑ 5) ∑
n n!
∞ xn
2) ∑ nx n−1 4) ∑ 2 6) ∑ nn xn
n=1
n
Functions defined using
power series
Function as limit of power series
f (x) = a0 + a1 x + a2 x2 + ⋯ = ∑ an xn
Compute
Partial sum: sk = a0 + a1 x + ⋯ + ak xk
For ∣x∣ < R, sk → f (x). For large k , sk ≈ f (x)
Plot and
Is f continuous on (−R, R)?
behaviour
Is f differentiable in (−R, R)? How to find f ′ , f ′′ and so on?
Invert
Given y0 = f (x0 ). How to find x0 ?
Examples
1 ∞ xn x2 x3
Geometric: 1 + x + x + ⋯ =
2
, ∣x∣ < 1 ∑ =x+ + + ⋯, ∣x∣ < 1
1−x n=1 n 2 3
∞ ∞ xn x2 x3
∑ nx n−1
= 1 + 2x + 3x + ⋯, ∣x∣ < 1
2
∑ =1+x+ + + ⋯, x ∈
n=1 n=0 n! 2! 3!
1 R
Series is a rational function! Special function, Exponential
(1 − x)2
(How?)
Compute by partial sums.
Compute, Plotting & behaviour,
Inverting are all easy Continuity? Derivatives?
Continuity and differentiability
Theorem
∞
Suppose f (x) = ∑ an xn converges for ∣x∣ < R. Then, f is continuous and
n=0
differentiable on (−R, R), and
∞
f ′ (x) = ∑ nan xn−1 (∣x∣ < R).
n=1
∞
Use theorem repeatedly. All higher order f (k)
(x) = ∑ n(n−1) ⋯ (n−k+1)an xn−k
derivatives exist. Differentiate term by term. n=k
Examples
∞ 1
1) f (x) = ∑ x = 1 + x + x + ⋯ =
n 2
, ∣x∣ < 1
n=0 1 − x
′
∞ 1 1
f ′ (x) = ∑ nxn−1 = 1 + 2x + 3x2 + ⋯ = ( ) = 2
, ∣x∣ < 1
n=1 1−x (1 − x)
′
∞ 1 2
f ′′ (x) = ∑ n(n − 1)xn−2 = (1 ⋅ 2) + (2 ⋅ 3)x + (3 ⋅ 4)x + ⋯ = (
2
2
) = 3
, ∣x∣ <
n=2 (1 − x) (1 − x)
1
∞xn x2 x3
2) exp(x) = ∑ =1+x+ + + ⋯, x ∈ R
n=0 n! 2! 3!
∞ nxn−1 ∞ xn−1 ∞ xn
exp′ (x) = ∑ = ∑ = ∑ = exp(x)
n=1 n! n=1 (n − 1)! n=0 n!
Property 2
(addition exp(x + y) = exp(x) exp(y)
formula)
Proof ∞ ∞ ∞ n
exp(x) exp(y) = (∑ ) (∑ ) = ∑ ∑
r s
x y (a) xk y n−k
r! s! k!(n − k)!
r=0 s=0 n=0 k=0
∞ n ∞
(a): rearrangement of terms 1 n!xk y n−k (b) (x + y)n
=∑ ∑ =∑ = exp(x + y)
n! k!(n − k)! n!
(b): binomial expansion n=0 k=0 n=0
More properties
∞ xn x2 x3 exp(0) = 1,
exp(x) = ∑ =1+x+ + + ⋯, x ∈ R
n=0 n! 2! 3! e ≜ exp(1)
Property 4
exp(x) exp(−x) = 1 Proof: Put y = −x in addition formula
(inverse)
exp(−x) > 0 for x > 0
exp(−x) → 0 as x → ∞
exp(−y) < exp(−x) for −y < −x < 0
Plot of exp(x) versus x
exp(x)
Monotonically increasing
e Invertible
1 Inverse is logarithm function
1 x
The number e and the
exponential function
The number e = exp(1)
∞ 1 1 1
e = exp(1) = ∑ =1+1+ + +⋯ 0! = 1
n=0 n! 2! 3!
Value: 2.718281828459045…
Called Euler's number or Euler's constant
e is irrational
n: integer Proof:
exp(n) = en exp(x1 + x2 + ⋯ + xn ) = exp(x1 ) exp(x2 ) ⋯ exp(xn ).
Put x1 = x2 = ⋯ = xn = 1.
To compare ex and xn , we
actually compare ex/n and x.
23
4) (a) Show that ex ≥ 1 + x for all x. Use it to lower bound ∏ (1 + k/365).
k=1
23
(b) Show that e −x
≥ 1 − x for all 0 ≤ x ≤ 1. Use it to upper bound ∏ (1 − k/365).
k=1