AP Calculus AB and BC

Integral of sin 2x / sin x: Simplify First

The integral of sin 2x over sin x is two sin x, plus C. The double angle identity rewrites sin 2x as two sin x cos x, the sin x cancels, and the integrand is just two cos x, which integrates in one step. Simplify first, integrate second.

sin2xsinxdx=2sinx+C\int \frac{\sin 2x}{\sin x}\,dx = 2\sin x + C

Identify before you integrate

No integration technique attacks sin2xsinx\frac{\sin 2x}{\sin x} directly, and none needs to, because this is not a problem about technique. The double angle identity sin2x=2sinxcosx\sin 2x = 2\sin x\cos x removes the quotient entirely.

sin2xsinx=2sinxcosxsinx=2cosx\frac{\sin 2x}{\sin x} = \frac{2\sin x\cos x}{\sin x} = 2\cos x
sin2xsinxdx=2cosxdx=2sinx+C\int\frac{\sin 2x}{\sin x}\,dx = \int 2\cos x\,dx = 2\sin x + C

The cheapest first move

There is no quotient rule for integrals, so a fraction has to be rewritten, substituted, or split. Checking whether algebra or a trig identity collapses the integrand takes a few seconds and, on problems like this one, is the entire solution.

The holes that cancelling removes

The original integrand is undefined wherever sinx=0\sin x = 0, that is at x=0x = 0, ±π\pm\pi, ±2π\pm 2\pi and so on, while 2cosx2\cos x is defined everywhere. Cancelling patches a set of removable discontinuities.

For a definite integral this matters. 12sin2xsinxdx=2sin22sin1\int_{1}^{2}\frac{\sin 2x}{\sin x}dx = 2\sin 2 - 2\sin 1 is fine, because the interval avoids the trouble spots. An interval [a,b][a,b] containing x=πx = \pi does not, so it has to be split at the hole and evaluated with limits. Because the discontinuity is removable and the integrand stays bounded there, the value is still 2sinb2sina2\sin b - 2\sin a.

The mistakes students make

All three of these happen before a single integral sign is touched.

  • Cancelling the sines as though sin2xsinx=2\frac{\sin 2x}{\sin x} = 2, which gives the answer 2x+C2x + C.
  • Simplifying correctly to 2cosx2\cos x and then integrating with the derivative rule, producing 2sinx+C-2\sin x + C. Cosine integrates to positive sine.
  • Reading sin2x\sin 2x as sin2x\sin^{2}x. The quotient then collapses to sinx\sin x rather than 2cosx2\cos x, and the answer comes out cosx+C-\cos x + C instead of 2sinx+C2\sin x + C.

Every answer on this page is machine checked

An automated test differentiates the antiderivative above and confirms it returns the integrand. A wrong sign or a missing factor fails the build, so it cannot reach you.

Frequently asked questions

What does sin 2x / sin x integrate to?

It is 2sinx+C2\sin x + C, because the integrand simplifies to 2cosx2\cos x.

Can you cancel sin x in sin 2x over sin x?

Only after expanding. Write sin2x=2sinxcosx\sin 2x = 2\sin x\cos x first, then the sinx\sin x factors cancel and leave 2cosx2\cos x. Cancelling straight out of sin2x\sin 2x is not valid.

Why is the answer 2 sin x and not -2 cos x?

Because 2cosx-2\cos x is the antiderivative of 2sinx2\sin x, not of 2cosx2\cos x. Differentiate 2sinx2\sin x and you recover 2cosx2\cos x, which is the simplified integrand.