Calculus · real student question

Find the limit as x approaches 0 of (cos^2 x - 4 cos x + 3) / sin^2 x.

Question

Evaluate

limx0cos2x4cosx+3sin2x\lim_{x\to 0}\frac{\cos^2 x-4\cos x+3}{\sin^2 x}

Step-by-step solution

  1. Check the form. At x=0x=0, cos0=1\cos 0=1 so the numerator is 14+3=01-4+3=0, and sin20=0\sin^2 0=0. The quotient is 00\tfrac00, so some algebra has to happen before substitution can work.

  2. Treat the numerator as a quadratic in u=cosxu=\cos x. It factors over the integers:

    u24u+3=(u1)(u3)cos2x4cosx+3=(cosx1)(cosx3)u^2-4u+3=(u-1)(u-3)\quad\Longrightarrow\quad \cos^2x-4\cos x+3=(\cos x-1)(\cos x-3)

    The factor cosx1\cos x-1 is the one that vanishes at x=0x=0.

  3. Rewrite the denominator so the same factor appears. Using the Pythagorean identity,

    sin2x=1cos2x=(1cosx)(1+cosx)\sin^2 x=1-\cos^2 x=(1-\cos x)(1+\cos x)

    Now both numerator and denominator contain 1cosx1-\cos x up to a sign — this is what makes the cancellation exact rather than asymptotic.

  4. Cancel. Write cosx1=(1cosx)\cos x-1=-(1-\cos x):

    (cosx1)(cosx3)(1cosx)(1+cosx)=(1cosx)(cosx3)(1cosx)(1+cosx)=3cosx1+cosx\frac{(\cos x-1)(\cos x-3)}{(1-\cos x)(1+\cos x)}=\frac{-(1-\cos x)(\cos x-3)}{(1-\cos x)(1+\cos x)}=\frac{3-\cos x}{1+\cos x}

    valid for all xx near 00 with x0x\neq 0, which is all a limit ever needs.

  5. Substitute into the reduced expression. It is now continuous at x=0x=0:

    limx03cosx1+cosx=311+1=22=1\lim_{x\to 0}\frac{3-\cos x}{1+\cos x}=\frac{3-1}{1+1}=\frac{2}{2}=1

  6. Confirm numerically. At x=103x=10^{-3} the original quotient equals 1.00000051.0000005, and at x=104x=10^{-4} it equals 0.999999990.99999999 — both converging to 11. \checkmark

Answer

11

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