Maclaurin series at zero
Sine
Question. Use Maclaurin’s series to expand \(\sin x\) through its first three nonzero terms.
Solution
Start at zero and use radians. Differentiate until three nonzero values appear.
| Differentiate | Put x = 0 |
|---|---|
\[y=\sin x\] | \[(y)_0=0\] |
\[y_1=\cos x\] | \[(y_1)_0=1\] |
\[y_2=-\sin x\] | \[(y_2)_0=0\] |
\[y_3=-\cos x\] | \[(y_3)_0=-1\] |
\[y_4=\sin x\] | \[(y_4)_0=0\] |
\[y_5=\cos x\] | \[(y_5)_0=1\] |
Now substitute the values.
\[\sin x=x-\frac{x^3}{3!}+\frac{x^5}{5!}+\cdots\]
Cosine
Question. Use Maclaurin’s series to expand \(\cos x\) through its first three nonzero terms.
Solution
Cosine starts at 1. Watch the signs of its even derivatives.
| Differentiate | Put x = 0 |
|---|---|
\[y=\cos x\] | \[(y)_0=1\] |
\[y_1=-\sin x\] | \[(y_1)_0=0\] |
\[y_2=-\cos x\] | \[(y_2)_0=-1\] |
\[y_3=\sin x\] | \[(y_3)_0=0\] |
\[y_4=\cos x\] | \[(y_4)_0=1\] |
Now substitute the values.
\[\cos x=1-\frac{x^2}{2!}+\frac{x^4}{4!}-\cdots\]
Exponential
Question. Use Maclaurin’s series to expand \(e^x\) through the cubic term.
Solution
Every derivative has the same value at zero.
| Differentiate | Put x = 0 |
|---|---|
\[y=e^x\] | \[(y)_0=1\] |
\[y_1=e^x\] | \[(y_1)_0=1\] |
\[y_2=e^x\] | \[(y_2)_0=1\] |
\[y_3=e^x\] | \[(y_3)_0=1\] |
Now substitute the values.
\[e^x=1+x+\frac{x^2}{2!}+\frac{x^3}{3!}+\cdots\]
Watch the lesson
Hyperbolic sine
Question. Use Maclaurin’s series to expand \(\sinh x\) through its first three nonzero terms.
Solution
The nonzero values occur in the odd rows. All three are positive.
| Differentiate | Put x = 0 |
|---|---|
\[y=\sinh x\] | \[(y)_0=0\] |
\[y_1=\cosh x\] | \[(y_1)_0=1\] |
\[y_2=\sinh x\] | \[(y_2)_0=0\] |
\[y_3=\cosh x\] | \[(y_3)_0=1\] |
\[y_4=\sinh x\] | \[(y_4)_0=0\] |
\[y_5=\cosh x\] | \[(y_5)_0=1\] |
Now substitute the values.
\[\sinh x=x+\frac{x^3}{3!}+\frac{x^5}{5!}+\cdots\]
Hyperbolic cosine
Question. Use Maclaurin’s series to expand \(\cosh x\) through its first three nonzero terms.
Solution
Count the constant as the first nonzero term.
| Differentiate | Put x = 0 |
|---|---|
\[y=\cosh x\] | \[(y)_0=1\] |
\[y_1=\sinh x\] | \[(y_1)_0=0\] |
\[y_2=\cosh x\] | \[(y_2)_0=1\] |
\[y_3=\sinh x\] | \[(y_3)_0=0\] |
\[y_4=\cosh x\] | \[(y_4)_0=1\] |
Now substitute the values.
\[\cosh x=1+\frac{x^2}{2!}+\frac{x^4}{4!}+\cdots\]
Natural logarithm
Question. Use Maclaurin’s series to expand \(\ln(1+x)\) through its first three nonzero terms.
Solution
Each derivative introduces another power of the denominator.
| Differentiate | Put x = 0 |
|---|---|
\[y=\ln(1+x)\] | \[(y)_0=0\] |
\[y_1=\frac1{1+x}\] | \[(y_1)_0=1\] |
\[y_2=-\frac1{(1+x)^2}\] | \[(y_2)_0=-1\] |
\[y_3=\frac2{(1+x)^3}\] | \[(y_3)_0=2\] |
Now substitute the values.
\[\ln(1+x)=x-\frac{x^2}{2}+\frac{x^3}{3}+\cdots\quad(|x|<1)\]
Tangent
Question. Use Maclaurin’s series to expand \(\tan x\) through its first three nonzero terms.
Solution
Write the first derivative as 1 + y². Differentiate that identity for each new row.
| Differentiate | Put x = 0 |
|---|---|
\[y=\tan x\] | \[(y)_0=0\] |
\[y_1=1+y^2\] | \[(y_1)_0=1\] |
\[y_2=2yy_1\] | \[(y_2)_0=0\] |
\[y_3=2(y_1^2+yy_2)\] | \[(y_3)_0=2\] |
\[y_4=2yy_3+6y_1y_2\] | \[(y_4)_0=0\] |
\[y_5=2yy_4+8y_1y_3+6y_2^2\] | \[(y_5)_0=16\] |
Now substitute the values.
\[\tan x=x+\frac{2x^3}{3!}+\frac{16x^5}{5!}+\cdots=x+\frac{x^3}{3}+\frac{2x^5}{15}+\cdots\]