Let α∈(0,π/2) be fixed. If the integral ∫tanx−tanαtanx+tanαdx=A(x)cos2α+B(x)sin2α+C, where C is a constant of integration, then the functions A(x) and B(x) are respectively:
Solutions · 1
Official solution
To solve the given integral, first we simplify the expression in the integral as follows :
\[\int {{{\tan x + \tan \alpha } \over {\tan x - \tan \alpha }}} dx = \int {{{\sin x \over \cos x} + {\sin \alpha \over \cos \alpha }} \over {{\sin x \over \cos x} - {\sin \alpha \over \cos \alpha }}} dx\]
Simplifying further, this becomes :
\[\int {{{\sin x\cos \alpha + \sin \alpha \cos x} \over {\sin x\cos \alpha - \sin \alpha \cos x}}} dx\]
By using the formula for sin(a + b) = sin a cos b + cos a sin b and sin(a - b) = sin a cos b - cos a sin b, we get :
\[\int {{{\sin(x + \alpha)}} \over {\sin(x - \alpha)}} dx\]
Now, let's use the substitution method. Let t = x - \alpha , therefore x = y + \alpha and dx = dt. Substituting these values into the integral, we get :
= \[\int {{{\sin(t + 2\alpha)}} \over {\sin y}} dy\]
\[
=∫sintsintcos2α+sin2αcostdt=∫(cos2α+sin2αsintcost)dt
\]
\[
=t(cos2α)+(sin2α)loge∣sint∣+C=(x−α)cos2α+(sin2α)loge∣sin(x−α)∣+C=A(x)cos2α+B(x)sin2α+C (given)
\]
Now on comparing, we get
\[
A(x)=x-\alpha \text { and } B(x)=\log _e|\sin (x-\alpha)|
\]