Math · Calculus II · Worked example
Find the Maclaurin series of sin x
Find the Maclaurin series of sin x, and use its first two terms to approximate sin 0.5.
Derivatives at 0
The derivatives of sin x repeat every four steps.
| k | 0 | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|---|
| f⁽ᵏ⁾(x) | sin x | cos x | −sin x | −cos x | sin x | cos x |
| f⁽ᵏ⁾(0) | 0 | 1 | 0 | −1 | 0 | 1 |
Build the series
Only odd powers survive, with alternating signs.
Approximate sin 0.5
Keep the first two terms.
Bound the error
At x = 0.5 the series alternates with shrinking terms, so the error is less than the next term, 0.5⁵/5! ≈ 0.00026. The true value, sin 0.5 = 0.479426, is 0.000259 away.
Result
sin x = x − x³/3! + x⁵/5! − ⋯; sin 0.5 ≈ 0.479167, with error below 0.00026.
Your turn
Find the first three nonzero terms of the Maclaurin series of cos x.
Show the answer and explanation
1 − x²/2 + x⁴/24.
The derivatives of cos x at 0 cycle 1, 0, −1, 0, so cos x = 1 − x²/2! + x⁴/4! − ⋯. It is also the derivative of the sine series, term by term.
Keep exploring
In Taylor Approximation, raise the degree from 3 to 5. The sampled error on [0, 0.5] falls from 0.00026 to 0.0000015.
Return to the concept →Sources and scope
Authored study material. Tool results depend on the stated inputs and model assumptions.
Try in the workspace
Open the example inputs, change a value and keep a useful result on your board.
Open Taylor Approximation Check the numbers in Math Open worked example on a board Taylor Approximation in Math ReferenceYour existing work stays on this device. Examples open as editable copies.