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.

∫sin⁡2xsin⁡x dx=2sin⁡x+C\int \frac{\sin 2x}{\sin x}\,dx = 2\sin x + C

Identify before you integrate

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

sin⁡2xsin⁡x=2sin⁡xcos⁡xsin⁡x=2cos⁡x\frac{\sin 2x}{\sin x} = \frac{2\sin x\cos x}{\sin x} = 2\cos x
∫sin⁡2xsin⁡x dx=∫2cos⁡x dx=2sin⁡x+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 sin⁡x=0\sin x = 0, that is at x=0x = 0, ±π\pm\pi, ±2π\pm 2\pi and so on, while 2cos⁡x2\cos x is defined everywhere. Cancelling patches a set of removable discontinuities.

For a definite integral this matters. ∫12sin⁡2xsin⁡xdx=2sin⁡2−2sin⁡1\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 2sin⁡b−2sin⁡a2\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 sin⁡2xsin⁡x=2\frac{\sin 2x}{\sin x} = 2, which gives the answer 2x+C2x + C.
  • Simplifying correctly to 2cos⁡x2\cos x and then integrating with the derivative rule, producing −2sin⁡x+C-2\sin x + C. Cosine integrates to positive sine.
  • Reading sin⁡2x\sin 2x as sin⁡2x\sin^{2}x. The quotient then collapses to sin⁡x\sin x rather than 2cos⁡x2\cos x, and the answer comes out −cos⁡x+C-\cos x + C instead of 2sin⁡x+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 2sin⁡x+C2\sin x + C, because the integrand simplifies to 2cos⁡x2\cos x.

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

Only after expanding. Write sin⁡2x=2sin⁡xcos⁡x\sin 2x = 2\sin x\cos x first, then the sin⁡x\sin x factors cancel and leave 2cos⁡x2\cos x. Cancelling straight out of sin⁡2x\sin 2x is not valid.

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

Because −2cos⁡x-2\cos x is the antiderivative of 2sin⁡x2\sin x, not of 2cos⁡x2\cos x. Differentiate 2sin⁡x2\sin x and you recover 2cos⁡x2\cos x, which is the simplified integrand.