Taylor series about a point
Choose the centre
Question. How do you write Taylor’s series about a general centre a?
Solution
\[f(x)=f(a)+f'(a)(x-a)+\frac{f''(a)}{2!}(x-a)^2+\frac{f'''(a)}{3!}(x-a)^3+\cdots\]
This is Taylor’s series wherever it converges to the function. Keep a finite number of terms for a local approximation. Set a = 0 to get Maclaurin’s series.
\[y=(y)_0+\frac{x}{1!}(y_1)_0+\frac{x^2}{2!}(y_2)_0+\cdots\]
The subscript on y counts differentiations. The outer zero means evaluate at x = 0.
Logarithm about 1
Question. Expand \(f(x)=\ln x\) in powers of \(x-1\) through the cubic term.
Solution
Expand in powers of x − 1. The centre tells you where to evaluate every derivative.
| Differentiate | Put x = 1 |
|---|---|
\[f(x)=\ln x\] | \[f(1)=0\] |
\[f'(x)=\frac1x\] | \[f'(1)=1\] |
\[f''(x)=-\frac1{x^2}\] | \[f''(1)=-1\] |
\[f'''(x)=\frac2{x^3}\] | \[f'''(1)=2\] |
Now substitute the values.
\[\ln x=(x-1)-\frac{(x-1)^2}{2}+\frac{(x-1)^3}{3}+\cdots\]
Watch the lesson
Square root about 4
Question. Expand \(f(x)=\sqrt{x}\) in powers of \(x-4\) through the quadratic term.
Solution
Expand through the quadratic term. Remember to divide the second derivative by 2!.
| Differentiate | Put x = 4 |
|---|---|
\[f(x)=\sqrt{x}\] | \[f(4)=2\] |
\[f'(x)=\frac1{2\sqrt x}\] | \[f'(4)=\frac14\] |
\[f''(x)=-\frac1{4x^{3/2}}\] | \[f''(4)=-\frac1{32}\] |
Now substitute the values.
\[\sqrt x=2+\frac{x-4}{4}-\frac{(x-4)^2}{64}+\cdots\]