Series and Taylor polynomials
A series is a sum of infinitely many terms. Some have a finite value (they converge) and others grow without limit (they diverge), even though their terms keep getting smaller. This topic explains geometric and p-series, the convergence tests and the Taylor polynomial, which approximates a function with a polynomial: that is how calculators compute sines and exponentials.
Series and partial sums
The series converges to if its partial sums tend to . If does not tend to 0, the series surely diverges (term test); but is not enough: it is necessary, not sufficient.
Geometric: each term is the previous one times a fixed ratio . It converges if and only if :
p-series: converges if and only if . The harmonic series () diverges, though very slowly: about 12,000 terms are needed for the sum to pass 10.
Convergence tests
| Test | What it says | When to use it |
|---|---|---|
| Ratio | : converges if , diverges if ; does not decide | factorials, powers |
| Root | , same rules | terms of the form |
| Comparison | if and converges, so does (and conversely for divergence) | quotients of polynomials: compare with a p-series |
| Integral | and converge or diverge together ( positive and decreasing) | functions easy to integrate |
| Leibniz | an alternating with decreasing and converges | alternating signs |
A series converges absolutely if converges, and conditionally if it converges but does not.
Taylor polynomial
Near a point , a differentiable function is approximated by the polynomial that has the same derivatives at :
With it is called Maclaurin. The most used ones:
The error is of the order of the first omitted term, : it grows away from . That is where the engineering approximations and for small angles (in radians) come from.
Common mistakes
- Concluding that a series converges because (the harmonic series is the counterexample).
- Applying the ratio test when it gives and deciding something: with another test is needed.
- Using the geometric formula with , or with the wrong first term.
- Forgetting the in the denominator in Taylor, or using degrees instead of radians.
Worked examples
Example 1Geometric series
Solution
- It is geometric with ratio and first term . Since , it converges.
- .
Solve it in Simuveliq
- In Math → Symbolic calculator, topic Series and differential equations, operation Series convergence: type
(2/3)^nwith From n = 0 and press Compute. The Answer is «The series converges (geometric)», and the steps give the sum, 3.
Example 2The harmonic series
Solution
- : the term test does not decide. The ratio test gives : neither.
- It is a p-series with , which is not greater than 1: it diverges. (With the integral: .)
Solve it in Simuveliq
- In Math → Symbolic calculator, topic Series and differential equations, operation Series convergence: type
1/nwith From n = 1 and press Compute. The Answer is «The series diverges (p-series)».
Example 3A convergent p-series
Solution
- It is a p-series with : it converges. (Its sum is , a classic result that does not follow from these tests.)
Solve it in Simuveliq
- In Math → Symbolic calculator, topic Series and differential equations, operation Series convergence: type
1/n^2with From n = 1 and press Compute. The Answer is «The series converges (Raabe's test)»: since the ratio gives , the calculator uses Raabe's test, another route to the same conclusion.
Example 4Conditional convergence
Solution
- It is alternating with , decreasing and with limit 0: it converges by Leibniz.
- In absolute value it is the harmonic series, which diverges: the convergence is conditional (its sum is ).
Solve it in Simuveliq
- In Math → Symbolic calculator, topic Series and differential equations, operation Series convergence: type
(-1)^n/nwith From n = 1 and press Compute. The Answer is «The series converges (conditionally)».
Example 5Ratio test
Solution
- .
- : it converges (absolutely). The power beats .
Solve it in Simuveliq
- In Math → Symbolic calculator, topic Series and differential equations, operation Series convergence: type
n/2^nwith From n = 1 and press Compute. The Answer is «The series converges (absolutely, by the ratio test)».
Example 6Taylor polynomial of sine
Solution
- Derivatives at 0: , , , , and they repeat. Only odd powers remain:
- .
- ; : they agree to 7 decimals.
Solve it in Simuveliq
- In the topic Calculus, operation Taylor series: type
sin(x), Center = 0 and Order = 7; press Compute. The Answer is ; the small graph draws and .
Example 7Taylor away from the origin
Solution
- , , , , .
- Dividing by : .
Solve it in Simuveliq
- In the topic Calculus, operation Taylor series: type
ln(x), Center = 1 and Order = 4; press Compute. The Answer is the same polynomial, with the first term written as at the end.