Maths WorkshopMaths problems with full solutions
Exercise 714Calculus › Single-variable calculus › LimitsL2Added 1 Nov 2026

sin x − x cos x over x cubed

#Taylor expansion#little-o notation#cancellation

Statement

Compute
lim⁡x→0sin⁡x−xcos⁡xx3.\lim_{x\to0}\frac{\sin x-x\cos x}{x^3}.

Hint

Expand sin⁡x\sin x and xcos⁡xx\cos x up to order 33. The terms of order 11 cancel, so you must go further.

Show solutionHide solution

Solution

Idea. Taylor expansions replace functions by polynomials plus a negligible remainder. The question is how far to expand: the denominator is x3x^3, so we need the numerator up to x3x^3.

Expansions. As x→0x\to0,
sin⁡x=x−x36+o(x3),cos⁡x=1−x22+o(x2).\sin x=x-\frac{x^3}6+o(x^3),\qquad \cos x=1-\frac{x^2}2+o(x^2).
Multiplying the second one by xx,
xcos⁡x=x−x32+o(x3).x\cos x=x-\frac{x^3}2+o(x^3).

Computation.
sin⁡x−xcos⁡x=(−16+12)x3+o(x3)=x33+o(x3).\sin x-x\cos x=\left(-\frac16+\frac12\right)x^3+o(x^3)=\frac{x^3}3+o(x^3).
Dividing by x3x^3 gives 13+o(1)\frac13+o(1), so the limit is 13\dfrac13.

Rule of thumb. Expand numerator and denominator until the first term that does not cancel appears. If you stop too early (at order 11 here), you get 0−00-0 and learn nothing.