How the power-reducing form of the half-angle identity rewrites sine squared with the cosine of a doubled angle, and why the integral of sine squared from 0 to pi is pi over 2 by cancellation over a full period.
Chapter 7
Substitution, integration by parts and trigonometric identities
The graph of sin2x on [0,π] is a hump that starts at 0, rises to 1 at x=π/2 and returns to 0 at x=π. How large is the area under it? Here sin2x means (sinx)2, not sin(x2), and angles are in radians. The substitution u=sinx would need a factor cosx that is not there, so this page rewrites the square with the cosine of a doubled angle instead, integrates the two pieces that result, and shows why the exact area is π/2.
Key terms
Cosine of a doubled angle
Definition For every real number x,
cos2x=cos2x−sin2x=1−2sin2x=2cos2x−1.
The first form is the angle addition formula cos(a+b)=cosacosb−sinasinb with a=b=x, and the other two follow from sin2x+cos2x=1. As with sine, cos2x means (cosx)2.
In plain words Doubling the angle turns a difference of squares of sine and cosine into a single cosine. Read backwards, a square of sine or of cosine can be written with a cosine of twice the angle and no square at all.
Example At x=π/6 the left side is cos(π/3)=21, and the second form gives 1−2sin2(π/6)=1−2⋅41=21. As x runs from 0 to π, the doubled angle 2x runs from 0 to 2π, so cos2x goes through one full period, from 1 down to −1 at x=π/2 and back to 1.
Power-reducing identity
Definition For every real number x,
sin2x=21−cos2x,cos2x=21+cos2x.
They come from solving cos2x=1−2sin2x and cos2x=2cos2x−1 for the square. Both are exact at every x, not approximations, and they replace a second power of sine or cosine by a first power of cosine.
In plain words A squared sine is a constant height 21 plus a wave −21cos2x that swings between −21 and 21 with period π. The square is gone, and both pieces have known antiderivatives.
Example In the form sin2x=21−21cos2x, at x=0 the wave is −21 and the total is 0. At x=π/2 the wave is 21, because cosπ=−1, and the total is 1, matching sin2(π/2)=1. The hump lies below the height 21 for 0≤x<π/4 and for 3π/4<x≤π, and above it for π/4<x<3π/4.
Half-angle identity
Definition For every real number θ,
sin2θcos2θ=±21−cosθ,=±21+cosθ,
where each sign is the sign of the left side, which depends on the quadrant of θ/2. These are the power-reducing identities with x=θ/2, solved for the sine or the cosine itself.
In plain words The same identity, read the other way, finds the sine or cosine of half an angle from the cosine of the whole angle. A square root is never negative, so the sign has to come from knowing where the half angle lies.
Example With θ=π/4 we have cosθ=2/2, and since π/8 lies in the first quadrant the sign is plus,
sin8π=21−2/2=22−2≈0.3827.
With θ=5π/4 we have cosθ=−2/2, and the cosine formula gives the same root, 2−2/2. But 5π/8 lies in the second quadrant, where cosine is negative, so cos(5π/8)=−2−2/2≈−0.3827.
Integral of sine squared
Definition With angles in radians, the power-reducing identity and linearity give, on the whole real line,
∫sin2xdx=2x−4sin2x+C,∫cos2xdx=2x+4sin2x+C.
The 41 combines the 21 in front of cos2x in the identity with the 21 in the antiderivative 21sin2x of cos2x, which compensates for the inner derivative 2. Radians matter because the derivative of sinx is cosx only when x is measured in radians.
In plain words Split the square into the constant 21 and the wave −21cos2x, integrate each piece, and keep both factors of 21 in the coefficient of the wave.
Both sine values are 0, so the wave contributes nothing and the area is π/2≈1.571, the same as a rectangle of height 21 and width π. In other words, the average value of sin2x on [0,π] is 21. Differentiating gives 21−21cos2x=sin2x, which checks the coefficient, the sign and the doubled angle at once. Since sin2x≥0, the value π/2 is an ordinary area. The function sin(x2) is a different integrand, and its integral over [0,π] is about 0.773.
Cancellation over a full period
Definition Let g be continuous on the real line and periodic with period T>0, so g(x+T)=g(x) for every x. Then the integral of g over an interval of length T does not depend on where the interval starts, ∫aa+Tg(x)dx=∫0Tg(x)dx for every real a. For g(x)=cos(kx) with k=0 the period is 2π/∣k∣ and that common value is 0,
∫aa+2π/∣k∣cos(kx)dx=0.
The same holds for sin(kx), and for any whole number of periods. Over an interval that is not a whole number of periods the integral may or may not be 0.
In plain words Over one full cycle a cosine wave encloses as much area above the axis as below it, so its signed contributions cancel. That is why the hump of sin2x on [0,π] has the same area as the flat height 21. The parts of the hump below 21 near the ends balance the part above 21 in the middle. The cancellation happens in the wave −21cos2x, which has signed parts, not in sin2x, which is never negative.
Example On [0,π] the doubled angle makes exactly one period, and
∫0πcos2xdx=[2sin2x]0π=0.
On [0,π/2], half a period, the integral is also 0, because the positive part on [0,π/4] and the negative part on [π/4,π/2] happen to balance. On [0,π/4] there is nothing to balance the positive part, and ∫0π/4cos2xdx=21sin(π/2)=21. A full period is a reliable reason for cancellation, but it has to be checked for the bounds at hand.
The wave contributes nothing because sinπ=sin0=0. As a check, sin2x+cos2x=1 means the integrals of sin2x and cos2x over [0,π/2] add to π/2, and the same calculation gives π/4 for each.
Evaluate the integral below. A classmate answers π/6, half the length of the interval. What did the classmate assume, and why does it fail here?
because sin(2π/3)=3/2. The classmate assumed that the wave −21cos2x cancels. As x runs from 0 to π/3, the doubled angle runs only from 0 to 2π/3, a third of a period, and the wave leaves the contribution −3/8. In general ∫0bsin2xdx=2b−41sin2b, which equals b/2 exactly when b is a whole-number multiple of π/2. The smaller value also fits the graph, since the hump stays below 21 on [0,π/4], three quarters of this interval.
Evaluate the integral below by applying the power-reducing identity twice. Is the answer the square of π/2?
∫0πsin4xdxShow the answer
Square the identity for sin2x, then use cos22x=21+21cos4x,
May we count page visits to understand which courses and learning features are useful? Cloudflare collects visit and performance statistics, without your account details or answers. Your choice does not affect access. Details