Q7.2 Taylor series expansion (K)
Any reasonably well behaved function f(x) can be approximated near x=0 by an expansion in powers of x, of the form![\[ f(x) = f(0) + f'(0)x + \frac{1}{2} f''(0) x^ 2 + \ldots \]](mastermathpng-0.png)
![\[ f'(0) \equiv \frac{df(x)}{dx}\mid_{x=0} \]](mastermathpng-1.png)
- Show that, for small θ,
- Draw a graph of sinθ for 0≤θ≤π/2. On the same graph show the TSE approximation sinθ≃θ.
- How small does θ have to be to ensure that the TSE result differs by no more than 1% from the exact value?
- Examine the structure of the expansion for f(x) (above). Then guess the next term in the series.
Hint
Reveal
Hide

Hint
Your mathematics courses will provide you with a full account of Taylor Series Expansions. This exercise is intended to help you become familiar with the ideas. You will find a little more background on line. You can do the third part of the question with the aid of your calculator; or you could make use of the answer to the last part.Solution
Reveal
Hide


Solution
If you havent already done so take a look at the online introduction to Taylor Series before going any further.The TSE for sinθ is
Since sin(0)=0 andwe havesinθ=θ+…The terms that we don’t show are proportional to higher powers of θ (only odd powers, because the sine is an odd function) and are small compared to θ when θ is small.
The TSE for cosθ is
Now cos(0)=1 whileSo the term proportional to θ vanishes in this case (as it has to since cos is an even function.) This is the reason why in this case (as distinct from the case of the sine function) we have to proceed to the next term (the one proportional to θ2) to find out anything about how the function changes. The second derivative we need isSo
|
- [3] With θ=0.25 the calculator gives sinθ/θ=0.99. So the 1% accuracy criterion kicks in here ie at θ≃14∘.
[4] If you stare at the first few terms of the TSE you will see there is a pattern. The n-th term is of the form
The the next term in the series is thenIn the case of the TSE for the sin function, then, to improve on sinθ≃θ we must write (why is there no θ2 term?)We can use this to redo the estimate in the previous part of the question. We write
The error in the sinθ≃θ approximation is therefore 1% when θ2/6=0.01 implying θ≃0.244 in close accord with what we got above.