Calculus · real student question

Find the limit of (1 - cos x)/(1 - e^x) as x approaches 0.

Question

Evaluate

limx01cosx1ex\lim_{x\to 0}\frac{1-\cos x}{1-e^{x}}

Step-by-step solution

  1. Confirm the form is 00\tfrac{0}{0}. At x=0x=0 both parts vanish: 1cos0=01-\cos 0=0 and 1e0=01-e^{0}=0. So the quotient is indeterminate and needs work — a common wrong instinct is to answer 11 because "both go to zero at the same time", but they do not: they vanish at different rates.

  2. Compare the rates with Maclaurin series. Keeping the leading term of each:

    1cosx=x22x424+,1ex=xx221-\cos x=\frac{x^2}{2}-\frac{x^4}{24}+\cdots,\qquad 1-e^{x}=-x-\frac{x^2}{2}-\cdots

    The numerator is second order in xx, the denominator only first order. That mismatch already tells you the limit is 00.

  3. Divide the leading behaviours.

    1cosx1ex=x22(1x212+)x(1+x2+)=x21+O ⁣(x2)1+O(x)0\frac{1-\cos x}{1-e^{x}}=\frac{\frac{x^2}{2}\left(1-\frac{x^2}{12}+\cdots\right)}{-x\left(1+\frac{x}{2}+\cdots\right)}=-\frac{x}{2}\cdot\frac{1+O\!\left(x^2\right)}{1+O(x)}\longrightarrow 0

    The bracketed factors both tend to 11, so the whole thing behaves like x2-\tfrac{x}{2} near 00.

  4. Verify with l’Hôpital’s rule. Differentiating numerator and denominator once:

    limx0sinxex=01=0\lim_{x\to 0}\frac{\sin x}{-e^{x}}=\frac{0}{-1}=0

    One application is enough here, because after differentiating the form is 01\tfrac{0}{-1}, which is determinate. Applying the rule a second time would be a mistake — the rule only applies while the form is still indeterminate.

  5. Check the two-sided behaviour numerically. At x=103x=10^{-3} the quotient is 0.00049975-0.00049975; at x=105x=10^{-5} it is 5.00×106-5.00\times 10^{-6}; at x=105x=-10^{-5} it is +5.00×106+5.00\times 10^{-6}. The values approach 00 from opposite sides, consistent with the linear approximation x2-\tfrac{x}{2}, and the two-sided limit is

    limx01cosx1ex=0\lim_{x\to 0}\frac{1-\cos x}{1-e^{x}}=0

Answer

00

Need to solve a different problem like this? Open the solver →