Series, finite differences and Taylor expansions
Introducido| English | Significado |
|---|---|
| Maclaurin series/məˈklɔːrɪn ˈsɪəriːz/ | A power series that approximates a function near x = 0, built from its derivatives at 0. |
| finite differences | differences between consecutive terms of a sequence, used to find its degree |
Turning curves into polynomials, 1715
- In 1715 Brook Taylor published a general method for writing a function as an infinite polynomial built from its derivatives at one point. Colin Maclaurin later used the special case at $x = 0$ so much that it carries his name.
- Polynomials are easy to compute; $e^x$ and $\sin x$ are not. A Maclaurin series 麦克劳林级数 approximates a function near $0$; finite differences 有限差分 reveal the degree of a polynomial pattern in data.
A Maclaurin series is a Taylor series centred at x = 0.
Dificultad 1/5 · 100 monedas + un pequeño bono en el primer intento de hoy
Maclaurin used this special case.
Finite differences
- For $u_n$: first differences $u_{n+1} - u_n$, then differences of those. If the $k$-th differences are constant, $u_n$ is a polynomial of degree $k$.
- $1, 4, 9, 16, 25$: first differences $3, 5, 7, 9$; second differences $2, 2, 2$ — quadratic.
A sequence has constant third differences. What degree is it?
Dificultad 1/5 · 100 monedas + un pequeño bono en el primer intento de hoy
Constant k-th differences mean degree k.
Find the constant second difference of 2, 7, 16, 29, 46.
Dificultad 2/5 · 140 monedas + un pequeño bono en el primer intento de hoy
First differences 5, 9, 13, 17.
The Maclaurin series
- $f(x) = f(0) + f'(0)x + \dfrac{f''(0)}{2!}x^2 + \dfrac{f'''(0)}{3!}x^3 + \cdots$
- Each term matches one more derivative of $f$ at $0$.
Series, finite differences and Taylor expansions
About x=a, f(x)=f(a)+f prime(a)(x-a)+f double prime(a)(x-a)²/2!+
Compare the model with the worked case and explain one change.
In a Maclaurin series, what is the coefficient of x²?
Dificultad 1/5 · 100 monedas + un pequeño bono en el primer intento de hoy
Divide the n-th derivative by n!.
Standard series
- $e^x = 1 + x + \dfrac{x^2}{2!} + \dfrac{x^3}{3!} + \cdots$ (all $x$); $\sin x = x - \dfrac{x^3}{3!} + \dfrac{x^5}{5!} - \cdots$
- $\ln(1 + x) = x - \dfrac{x^2}{2} + \dfrac{x^3}{3} - \cdots$, valid for $-1 < x \le 1$.
What is the x³ term of sin x?
Dificultad 1/5 · 100 monedas + un pequeño bono en el primer intento de hoy
−x³/3!.
Worked example: building and using a series
- Series for $e^{2x}$: substitute $2x$: $1 + 2x + 2x^2 + \tfrac43 x^3 + \cdots$
- Series for $e^x\sin x$ to $x^3$: $(1 + x + \tfrac{x^2}{2})(x - \tfrac{x^3}{6}) = x + x^2 + \tfrac{x^3}{2} - \tfrac{x^3}{6} = x + x^2 + \tfrac13 x^3$.
- Limit: $\displaystyle\lim_{x\to0}\frac{e^x - 1 - x}{x^2} = \lim_{x\to0}\frac{\tfrac{x^2}{2} + \tfrac{x^3}{6} + \cdots}{x^2} = \tfrac12$.
Find the limit as x → 0 of (e^x − 1 − x)/x².
Dificultad 2/5 · 140 monedas + un pequeño bono en el primer intento de hoy
The x² term over x².
Accuracy
- Near $0$, few terms suffice: $1 + 0.1 + 0.005 = 1.105$ against $e^{0.1} = 1.10517\ldots$ Far from $0$ the error grows quickly, as the figure shows.
- Check the interval of validity before substituting.
A series is not valid everywhere. $\ln(1 + x)$'s series diverges for $x > 1$: substituting $x = 2$ to find $\ln 3$ gives nonsense. Use $\ln 3 = -\ln\tfrac13$ with $x = -\tfrac23$ instead.
The series for ln(1 + x) can be used directly with x = 2.
Dificultad 1/5 · 100 monedas + un pequeño bono en el primer intento de hoy
It is valid only for −1 < x ≤ 1.
Constant $k$-th finite differences mean a degree-$k$ polynomial. The Maclaurin series builds $f(x)$ from its derivatives at $0$; substitute, multiply and use series for limits, and always respect the interval of validity.
Find the Maclaurin series of cos x up to x⁴ by differentiating, and use it to estimate cos 0.2.
Derivatives, series, estimate.