Key Concepts and Formulas
- Trigonometric Identity: sin(a+b)=sinacosb+cosasinb
- Integral of cotangent: ∫cotxdx=log∣sinx∣+C
Step-by-Step Solution
Step 1: Rewrite the integrand using a clever trick.
We want to manipulate the given integral to a form we can easily integrate. We add and subtract α from the argument of the sine function in the numerator. This allows us to use the sine addition formula.
∫sin(x−α)sinxdx=∫sin(x−α)sin(x−α+α)dx
Step 2: Apply the sine addition formula.
Now, we use the trigonometric identity sin(a+b)=sinacosb+cosasinb, where a=x−α and b=α.
∫sin(x−α)sin(x−α)cosα+cos(x−α)sinαdx
Step 3: Separate the fraction into two terms.
We divide the numerator by the denominator, separating the integral into two simpler integrals.
∫(sin(x−α)sin(x−α)cosα+sin(x−α)cos(x−α)sinα)dx
=∫(cosα+sinαcot(x−α))dx
Step 4: Integrate each term.
We integrate each term with respect to x. Remember that cosα and sinα are constants.
∫cosαdx+∫sinαcot(x−α)dx
=cosα∫dx+sinα∫cot(x−α)dx
=(cosα)x+(sinα)log∣sin(x−α)∣+C
Step 5: Compare with the given form.
We are given that
∫sin(x−α)sinxdx=Ax+Blog∣sin(x−α)∣+C
Comparing this with our result,
(cosα)x+(sinα)log∣sin(x−α)∣+C
we can identify A=cosα and B=sinα.
Therefore, (A,B)=(cosα,sinα).
Common Mistakes & Tips
- Trigonometric Identities: Be careful with applying trigonometric identities, especially the sine and cosine addition/subtraction formulas. A mistake here can throw off the entire solution.
- Integration Constants: Don't forget the constant of integration, C. Although it doesn't affect the values of A and B in this problem, it's crucial for indefinite integrals.
- Careful with Signs: Pay close attention to the signs in the trigonometric identities and the integration formulas.
Summary
We started by rewriting the integrand using the sine addition formula. This allowed us to separate the integral into two parts, one involving a constant and the other involving the cotangent function. Integrating each part and comparing the result with the given form, we found the values of A and B to be cosα and sinα, respectively.
Final Answer
The final answer is \boxed{(\cos \alpha, \sin \alpha)}, which corresponds to option (B).