Analyzing the Setup
We are presented with the integral:
At first glance, this looks like a standard problem, but it hides a subtle trap: the mismatch between the numerator's angle x and the denominator's angle (x−α). This is the core of our challenge.
The Diagnosis
Why is this hard?
The difficulty arises because the variable of integration is x, but the denominator is locked into a specific phase shift of α. We cannot simply integrate the numerator and denominator separately. We need a bridge to reconcile these two expressions.
The Surgeon's Tool
The Add and Subtract Trick
We need to express the numerator in terms of the denominator. We use the identity x=(x−α)+α.
This is not just a trick; it is a transformation that aligns our perspective. Now, our integral becomes:
I=∫sin(x−α)sin((x−α)+α)dx
The Expansion
Using the Compound Angle Formula
We invoke the identity sin(A+B)=sinAcosB+cosAsinB. With A=(x−α) and B=α, we expand the numerator:
sin(x−α)cosα+cos(x−α)sinα
Now, we split the fraction. The first term is:
sin(x−α)sin(x−α)cosα=cosα
The second term is:
sin(x−α)cos(x−α)sinα=sinαcot(x−α)
The Final Integration
Bringing it Home
We integrate term by term. The integral of cosα with respect to x is simply xcosα.
The integral of sinαcot(x−α) is sinαln∣sin(x−α)∣. Combining these, we get:
I=xcosα+sinαln∣sin(x−α)∣+C
Comparing this to the given form Ax+Bln∣sin(x−α)∣+C, we identify A=cosα and B=sinα. You have mastered the technique of angle manipulation.