Practice approximating functions with power series. 10 problems with step-by-step solutions on Taylor and Maclaurin expansions.
Maclaurin Series: Special case with a = 0
where c is between a and x
Find the Maclaurin series expansion up to the 4th degree term. Use it to approximate e⁰·².
1 Derivatives at x = 0:
f(x) = eˣ ⇒ f(0) = 1
f'(x) = eˣ ⇒ f'(0) = 1
f''(x) = eˣ ⇒ f''(0) = 1
f'''(x) = eˣ ⇒ f'''(0) = 1
f⁽⁴⁾(x) = eˣ ⇒ f⁽⁴⁾(0) = 1
2 Maclaurin series formula:
f(x) = f(0) + f'(0)x + f''(0)x²/2! + f'''(0)x³/3! + f⁽⁴⁾(0)x⁴/4! + ...
3 Substitute values:
eˣ = 1 + x + x²/2! + x³/3! + x⁴/4! + ...
4 Approximate e⁰·² (x = 0.2):
e⁰·² ≈ 1 + 0.2 + (0.2)²/2 + (0.2)³/6 + (0.2)⁴/24
= 1 + 0.2 + 0.02 + 0.001333... + 0.0000666...
= 1.2213999...
5 Compare to actual value:
Actual e⁰·² ≈ 1.221402758... (calculator)
Error ≈ 0.000002858 (very small!)
Find the Taylor series expansion centered at a = π/2 up to the 3rd degree term.
1 Derivatives and values at a = π/2:
f(x) = sin(x) ⇒ f(π/2) = 1
f'(x) = cos(x) ⇒ f'(π/2) = 0
f''(x) = -sin(x) ⇒ f''(π/2) = -1
f'''(x) = -cos(x) ⇒ f'''(π/2) = 0
f⁽⁴⁾(x) = sin(x) ⇒ f⁽⁴⁾(π/2) = 1
2 Taylor series formula:
f(x) = f(π/2) + f'(π/2)(x-π/2) + f''(π/2)(x-π/2)²/2! + f'''(π/2)(x-π/2)³/3! + f⁽⁴⁾(π/2)(x-π/2)⁴/4! + ...
3 Substitute values:
sin(x) = 1 + 0·(x-π/2) + (-1)(x-π/2)²/2! + 0·(x-π/2)³/3! + 1·(x-π/2)⁴/4! + ...
4 Simplify up to 3rd degree:
5 Check at x = π/2 + 0.1:
Actual: sin(π/2 + 0.1) = cos(0.1) ≈ 0.995004165...
Approximation: 1 - (0.1)²/2 = 1 - 0.005 = 0.995
Error ≈ 0.000004165 (excellent approximation!)
Find the first 3 non-zero terms of the Maclaurin series by multiplying known series.
1 Known series expansions:
2 Multiply the series (up to x⁴ terms):
(1 - x + x²/2 - x³/6 + x⁴/24) × (1 - x²/2 + x⁴/24)
3 Collect terms by degree:
Constant: 1 × 1 = 1
x: 1 × 0 + (-x) × 1 = -x
x²: 1 × (-x²/2) + (-x) × 0 + (x²/2) × 1 = -x²/2 + x²/2 = 0
x³: 1 × 0 + (-x) × (-x²/2) + (x²/2) × 0 + (-x³/6) × 1 = x³/2 - x³/6 = x³/3
x⁴: 1 × (x⁴/24) + (-x) × 0 + (x²/2) × (-x²/2) + (-x³/6) × 0 + (x⁴/24) × 1 = x⁴/24 - x⁴/4 + x⁴/24 = -5x⁴/12
4 Result:
5 Verify with derivatives:
f(0) = 1, f'(0) = -1, f''(0) = 0, f'''(0) = 2, f⁽⁴⁾(0) = -10
Coefficients: f'''(0)/3! = 2/6 = 1/3 ✓, f⁽⁴⁾(0)/4! = -10/24 = -5/12 ✓
Using the 3rd degree Maclaurin polynomial, approximate ln(1.1). Estimate the error using Lagrange remainder.
1 Maclaurin series for ln(1+x):
2 3rd degree approximation (n=3):
P₃(x) = x - x²/2 + x³/3
For x = 0.1: P₃(0.1) = 0.1 - 0.01/2 + 0.001/3
= 0.1 - 0.005 + 0.000333... = 0.095333...
3 Lagrange remainder formula:
4 Find f⁽⁴⁾(x):
f(x) = ln(1+x)
f'(x) = 1/(1+x)
f''(x) = -1/(1+x)²
f'''(x) = 2/(1+x)³
f⁽⁴⁾(x) = -6/(1+x)⁴
5 Maximum error bound:
Since f⁽⁴⁾(x) is decreasing, maximum |f⁽⁴⁾(c)| occurs at c = 0:
|f⁽⁴⁾(0)| = | -6/(1+0)⁴ | = 6
|R₃(0.1)| ≤ (6/24) · (0.1)⁴ = (1/4) · 0.0001 = 0.000025
6 Actual accuracy:
Actual ln(1.1) ≈ 0.095310179...
Our approximation: 0.095333...
Actual error: 0.000022821 < 0.000025 ✓
| Function | Maclaurin Series | Radius of Convergence |
|---|---|---|
| eˣ | ∑ xⁿ/n! | ∞ |
| sin(x) | ∑ (-1)ⁿx²ⁿ⁺¹/(2n+1)! | ∞ |
| cos(x) | ∑ (-1)ⁿx²ⁿ/(2n)! | ∞ |
| ln(1+x) | ∑ (-1)ⁿ⁺¹xⁿ/n | 1 |
| 1/(1-x) | ∑ xⁿ | 1 |