Skip to main content
Back to Indefinite Integration
JEE Main 2018
Indefinite Integration
Indefinite Integrals
Hard

Question

dxcosxsinx\int {{{dx} \over {\cos x - \sin x}}} is equal to

Options

Solution

Key Concepts and Formulas

  • Trigonometric transformations: acosx+bsinx=Rcos(xα)a \cos x + b \sin x = R \cos(x - \alpha), where R=a2+b2R = \sqrt{a^2 + b^2} and tanα=ba\tan \alpha = \frac{-b}{a}.
  • Integral of secant function: secxdx=lnsecx+tanx+C=lntan(π4+x2)+C\int \sec x \, dx = \ln |\sec x + \tan x| + C = \ln \left| \tan \left( \frac{\pi}{4} + \frac{x}{2} \right) \right| + C.

Step-by-Step Solution

Step 1: Rewrite the integrand using trigonometric identities. We want to express cosxsinx\cos x - \sin x in the form Rcos(x+α)R\cos(x + \alpha). Here, we have 1cosx+(1)sinx1 \cdot \cos x + (-1) \cdot \sin x. Therefore, R=12+(1)2=2R = \sqrt{1^2 + (-1)^2} = \sqrt{2}. We also have cosxsinx=2(12cosx12sinx)=2(cosπ4cosxsinπ4sinx)=2cos(x+π4)\cos x - \sin x = \sqrt{2} \left( \frac{1}{\sqrt{2}} \cos x - \frac{1}{\sqrt{2}} \sin x \right) = \sqrt{2} \left( \cos \frac{\pi}{4} \cos x - \sin \frac{\pi}{4} \sin x \right) = \sqrt{2} \cos \left( x + \frac{\pi}{4} \right). Thus, the integral becomes dxcosxsinx=dx2cos(x+π4)\int \frac{dx}{\cos x - \sin x} = \int \frac{dx}{\sqrt{2} \cos \left(x + \frac{\pi}{4} \right)}

Step 2: Simplify the integral. We can rewrite the integral as: 12dxcos(x+π4)=12sec(x+π4)dx\frac{1}{\sqrt{2}} \int \frac{dx}{\cos \left(x + \frac{\pi}{4} \right)} = \frac{1}{\sqrt{2}} \int \sec \left(x + \frac{\pi}{4} \right) dx

Step 3: Evaluate the integral using the known integral of secx\sec x. Using the formula secxdx=lntan(π4+x2)+C\int \sec x \, dx = \ln \left| \tan \left( \frac{\pi}{4} + \frac{x}{2} \right) \right| + C, we have 12sec(x+π4)dx=12lntan(π4+x+π42)+C\frac{1}{\sqrt{2}} \int \sec \left(x + \frac{\pi}{4} \right) dx = \frac{1}{\sqrt{2}} \ln \left| \tan \left( \frac{\pi}{4} + \frac{x + \frac{\pi}{4}}{2} \right) \right| + C

Step 4: Simplify the argument of the tangent function. We have π4+x+π42=π4+x2+π8=2π8+π8+x2=3π8+x2=x2+3π8\frac{\pi}{4} + \frac{x + \frac{\pi}{4}}{2} = \frac{\pi}{4} + \frac{x}{2} + \frac{\pi}{8} = \frac{2\pi}{8} + \frac{\pi}{8} + \frac{x}{2} = \frac{3\pi}{8} + \frac{x}{2} = \frac{x}{2} + \frac{3\pi}{8} Thus, 12lntan(π4+x+π42)+C=12lntan(x2+3π8)+C\frac{1}{\sqrt{2}} \ln \left| \tan \left( \frac{\pi}{4} + \frac{x + \frac{\pi}{4}}{2} \right) \right| + C = \frac{1}{\sqrt{2}} \ln \left| \tan \left( \frac{x}{2} + \frac{3\pi}{8} \right) \right| + C

Common Mistakes & Tips

  • Remember the trigonometric transformation acosx+bsinx=Rcos(xα)a \cos x + b \sin x = R \cos(x - \alpha) and how to find RR and α\alpha. Be careful with the sign of α\alpha.
  • The integral of secx\sec x is lnsecx+tanx+C\ln |\sec x + \tan x| + C or lntan(π4+x2)+C\ln \left| \tan \left( \frac{\pi}{4} + \frac{x}{2} \right) \right| + C. Both are correct, but the latter is often more useful in these types of problems.
  • Be careful with the algebraic manipulation of fractions within trigonometric functions.

Summary

We started by rewriting the integrand using the trigonometric identity acosx+bsinx=Rcos(xα)a \cos x + b \sin x = R \cos(x - \alpha). This allowed us to express the integral in terms of the secant function. We then used the known integral of the secant function and simplified the result to obtain the final answer.

Final Answer

The final answer is 12logtan(x2+3π8)+C\boxed{{1 \over {\sqrt 2 }}\log \left| {\tan \left( {{x \over 2} + {{3\pi } \over 8}} \right)} \right| + C}, which corresponds to option (A).

Practice More Indefinite Integration Questions

View All Questions