Evaluate ∫sin x dx from 0 to π

easy CBSE JEE-MAIN JEE-ADVANCED CBSE 2024 Board Exam 3 min read

Question

Evaluate the definite integral:

0πsinxdx\int_0^{\pi} \sin x \, dx

This appeared in CBSE 2024 Board Exam and is a standard 2-mark question. Clean setup, clean answer — but a surprisingly common place to lose marks.


Solution — Step by Step

The antiderivative of sinx\sin x is cosx-\cos x. We can verify this by differentiating: ddx(cosx)=sinx\frac{d}{dx}(-\cos x) = \sin x. Always confirm your antiderivative before applying limits.

0πsinxdx=[cosx]0π\int_0^{\pi} \sin x \, dx = \Big[-\cos x\Big]_0^{\pi}

Substitute x=πx = \pi into cosx-\cos x:

cos(π)=(1)=+1-\cos(\pi) = -(-1) = +1

Remember: cosπ=1\cos \pi = -1, so the two negatives cancel to give +1+1.

Substitute x=0x = 0 into cosx-\cos x:

cos(0)=(1)=1-\cos(0) = -(1) = -1

cos0=1\cos 0 = 1, so we get 1-1 here.

[cosx]0π=(cosπ)(cos0)=(1)(1)=2\Big[-\cos x\Big]_0^{\pi} = (-\cos \pi) - (-\cos 0) = (1) - (-1) = 2

The final answer is 2.


Why This Works

The integral 0πsinxdx\int_0^{\pi} \sin x \, dx is asking for the net signed area between y=sinxy = \sin x and the x-axis from 00 to π\pi.

On the interval [0,π][0, \pi], sinx0\sin x \geq 0 throughout — the curve sits entirely above the x-axis. So the “net” area is just the actual area, with no cancellation. The answer 2 represents exactly one “hump” of the sine wave.

This is why the answer is a positive whole number — it’s geometrically satisfying. If you had integrated from 00 to 2π2\pi instead, the positive hump (00 to π\pi) and the negative hump (π\pi to 2π2\pi) would cancel, giving zero.

The area under one complete arch of sinx\sin x is always 2. This is a fixed result worth memorising — it appears in JEE Main MCQs where they ask for area using integration, and knowing this saves calculation time.


Alternative Method — Using Geometry / Symmetry Check

We can cross-verify using the property of definite integrals. Since sin(πx)=sinx\sin(\pi - x) = \sin x, the function is symmetric about x=π/2x = \pi/2 on [0,π][0, \pi].

This means the area from 00 to π/2\pi/2 equals the area from π/2\pi/2 to π\pi. We can compute just half:

0π/2sinxdx=[cosx]0π/2=(cosπ2)(cos0)=0(1)=1\int_0^{\pi/2} \sin x \, dx = \Big[-\cos x\Big]_0^{\pi/2} = (-\cos \tfrac{\pi}{2}) - (-\cos 0) = 0 - (-1) = 1

Double it: 2×1=22 \times 1 = 2. Same answer, confirmed.

This symmetry check is useful in MCQ papers when you want to verify quickly without redoing the full calculation.


Common Mistake

The most frequent error: students write 0πsinxdx=[cosx]0π\int_0^{\pi} \sin x \, dx = [\cos x]_0^{\pi} — they forget the negative sign in the antiderivative.

This gives cosπcos0=11=2\cos \pi - \cos 0 = -1 - 1 = -2, which is wrong in sign. The antiderivative of sinx\sin x is cosx-\cos x, not +cosx+\cos x. The negative is not optional — it comes directly from the chain rule in reverse. If you’re unsure, differentiate cosx-\cos x on your rough sheet before proceeding.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next