Skip to main content

Section 5.4 Applications of Taylor Series

Subsection 5.4.1 Evaluating Limits of Indeterminate Forms

Taylor series provide another method of evaluating limits of indeterminate forms like \(\frac{0}{0}\) or \(\frac{\infty}{\infty}\text{.}\) Previously, to do this, you learned:
  • Various algebraic techniques, like e.g. factoring, multiplying by the conjugate, or using trigonometric identities.
  • L’Hopital’s rule, which is like a shortcut, that works in many situations.
However, there are some situations where L’Hopital’s rule is complicated, because the derivatives involved are complicated. Taylor series give a more flexible, general, and simple method.
The broad idea is:
  • Replace each function with the first few terms of its Taylor series expansion.
  • Simplify and cancel.
  • Take the limit by substituting in the limit value.
Sometimes it is not obvious how many terms of the Taylor series to use. A good rule of thumb is 3 or 4 terms, but when in doubt, you can always include more terms. The dots (\(\dots\)) stand for powers of \(x\) greater than the last power that appears.

Example 5.4.1.

Evaluate each limit using series.
  1. \(\displaystyle \lim_{x \to 0} \frac{e^x - (1+x)}{x^2}\)
  2. \(\displaystyle \lim_{x \to 0} \frac{\ln{(x + 1)}}{x}\)
  3. \(\displaystyle \lim_{x \to 0} \frac{\tan^{-1}x - x}{x^3}\)
  4. \(\displaystyle \lim_{x \to 0} \frac{e^x - 1}{x}\)
  5. \(\displaystyle \lim_{x \to 0} \frac{-x - \ln(1-x)}{x^2}\)
  6. \(\displaystyle \lim_{x \to 0} \frac{\sin 2x}{x}\)
  7. \(\displaystyle \lim_{x \to 0} \frac{1 + x - e^x}{4x^2}\)
  8. \(\displaystyle \lim_{x \to 0} \frac{2\cos 2x - 2 + 4x^2}{2x^4}\)
  9. \(\displaystyle \lim_{x \to 0} \frac{\ln(1+x) - x + \frac12 x^2}{x^3}\)
  10. \(\displaystyle \lim_{x \to 4} \frac{x^2 - 16}{\ln(x-3)}\)
  11. \(\displaystyle \lim_{x \to 0} \frac{12x - 8x^3 - 6\sin 2x}{x^5}\)
  12. \(\displaystyle \lim_{x \to 1} \frac{x-1}{\ln x}\)
  13. \(\displaystyle \lim_{x \to 2} \frac{x-2}{\ln(x-1)}\)
  14. \(\displaystyle \lim_{x \to 0} \frac{e^{-2x} - 4e^{-x/2} + 3}{2x^2}\)
  15. \(\displaystyle \lim_{x \to 0} \frac{x - \ln(1+x)}{x^2}\)
  16. \(\displaystyle \lim_{x \to 0} \brac{\frac{1}{\sin x} - \frac{1}{x}}\)
  17. \(\displaystyle \lim_{x \to 0} \frac{1 - \cos x - \frac12 x^2}{x^4}\)
  18. \(\displaystyle \lim_{x \to 0} \frac{\sin x - x + \frac16 x^3}{x^5}\)
  19. \(\displaystyle \lim_{x \to 0} \frac{x - \arctan x}{x^3}\)
  20. \(\displaystyle \lim_{x \to 0} \frac{\arctan x - \sin x}{x^3 \cos x}\)
  21. \(\displaystyle \lim_{x \to 0} \frac{\ln(1+x^2)}{1 - \cos x}\)
  22. \(\displaystyle \lim_{x \to 2} \frac{x^2 - 4}{\ln(x-1)}\)
  23. \(\displaystyle \lim_{x \to 0} \frac{\sin(3x^2)}{1 - \cos(2x)}\)
  24. \(\displaystyle \lim_{x \to 0} \frac{\sin x - \tan x}{x^3}\)
  25. \(\displaystyle \lim_{x \to 0} \frac{\ln(1+x^3)}{x \cdot \sin(x^2)}\)
  26. \(\displaystyle \lim_{x \to 0} \frac{1 - \cos x}{1 + x - e^x}\)
  27. \(\displaystyle \lim_{x \to 0} \frac{x^3 - 3x + 3\tan^{-1}x}{x^5}\)
  28. \(\displaystyle \lim_{x \to 0} \frac{\cos x - e^{-x^2/2}}{x^3 \sin x}\)
  29. \(\displaystyle \lim_{x \to 0} \frac{x^2 \tan^{-1}(x^3) - x^5 + \frac{1}{3}x^{11}}{x^{17}}\)

Subsection 5.4.2 Finding Antiderivatives / Approximating Integrals with Series

Example 5.4.2.

Evaluate each indefinite integral as a power series, and find the radius of convergence.
  1. \(\displaystyle \int \sin(x^2) \,dx\)
  2. \(\displaystyle \int x^2 \ln(1+x) \, dx\)
  3. \(\displaystyle \int e^{-x^2} \,dx\)
  4. \(\displaystyle \int \frac{\tan^{-1} x}{x} \, dx\)
  5. \(\displaystyle \int \frac{\cos x - 1}{x} \, dx\)
  6. \(\displaystyle \int \frac{x}{1 - x^8} \, dx\)
  7. \(\displaystyle \int \frac{x}{1 + x^3} \, dx\)
  8. \(\displaystyle \int \frac{\ln(1-x)}{x} \, dx\)
  9. \(\displaystyle \int \frac{x - \tan^{-1}{x}}{x^3} \, dx\)
  10. \(\displaystyle \int x^2 \sin(x^2) \, dx\)
  11. \(\displaystyle \int \arctan(x^2) \, dx\)
  12. \(\displaystyle \int x^4 \tan^{-1}(2x) \,dx\)
  13. \(\int \sqrt{1 + x^3} \, dx\) (requires binomial series)
When evaluating an integral to a desired accuracy, there are 2 ways they will specify the accuracy:
  • Directly, saying you should have error less than \(0.001\text{,}\) or less than \(10^{-5}\text{.}\)
  • Up to some decimal places, like accurate up to 3 decimal places, or 5 decimal places. Note that accurate up to \(k\) decimal places basically means to keep the error below \(0.5 \times 10^{-k}\text{.}\) For example:
    • 2 decimal places \(\implies\) \(\text{error} \lt 0.005\)
    • 5 decimal places \(\implies\) \(\text{error} \lt 0.000005\)
There are 2 ways to bound the error:
  1. Add terms one at a time until your calculator output is stable. Add the first term, then the 2nd, then the 3rd, and so on, one at a time. Each time, check if the decimal digits you care about stop changing. After they stay the same for 2 or 3 steps in a row, that is your answer.
    This is the most naive and simple method, which will give you the correct answer for most exam problems. However, it is technically not rigorous, and gives misleading results in some rare tricky cases. To be more safe, you can add more terms to confirm that your answer is correct.
  2. Alternating series error bound. If the series is alternating (which a lot of them are), then the error is bounded by the first omitted term. In other words, \(\abs{r_n} \leq a_{n+1}\text{.}\)
    • If you want error less than \(10^{-4}\text{,}\) then test values of \(n\) such that \(a_{n+1}\) is less than \(10^{-4}\text{.}\)
    • For example, if \(a_6\) is less than \(10^{-4}\text{,}\) then adding terms up to \(n=5\) is sufficient.
    This method is more rigorous, and is how you can show your work.

Example 5.4.3.

Use power series to approximate each definite integral with the stated accuracy.
  1. \(\int_{0}^{1/2} \arctan\brac{\frac{x}{2}}\,dx \quad\) (six decimal places)
  2. \(\int_{0}^{0.2} x\ln\brac{1+x^2}\,dx \quad\) (six decimal places)
  3. \(\int_{0}^{0.5} x^4 e^{-x^2}\,dx \quad\) (four decimal places)
  4. \(\int_{0}^{0.6} \sin\brac{x^2}\,dx \quad\) (\(|\text{error}|\lt 10^{-5}\))
  5. \(\int_{0}^{0.3} \frac{x}{1+x^3}\,dx \quad\) (six decimal places)
  6. \(\int_{0}^{0.4} \frac{e^{-x}-1}{x}\,dx \quad\) (\(|\text{error}|\lt 10^{-5}\))
  7. \(\int_{0}^{0.3} \frac{x^2}{1+x^4}\,dx \quad\) (six decimal places)
  8. \(\int_{0}^{0.1} \frac{\sin x}{x}\,dx \quad\) (\(|\text{error}|\lt 10^{-5}\))
  9. \(\int_{0}^{0.1} e^{-x^2}\,dx \quad\) (\(|\text{error}|\lt 10^{-5}\))
  10. \(\int_{0}^{0.1} \frac{1-\cos x}{x^2}\,dx \quad\) (\(|\text{error}|\lt 10^{-5}\))
  11. \(\int_{0}^{1/2} x^3\arctan x\,dx \quad\) (four decimal places)
  12. \(\int_{0}^{1} \sin\brac{x^4}\,dx \quad\) (four decimal places)
  13. \(\int_{0}^{0.5} x^2 e^{-x^2}\,dx \quad\) (\(|\text{error}| \lt 0.001\))