Animated Solution for Mathematics - Indefinite Integration: ∫cosx−sinxdx is equal to
Select Answer:
Visualized Solution
Analyze the Integral
Integral: I=∫cosx−sinxdx
The denominator is a linear combination of sine and cosine.
The acosx+bsinx Transformation
General form: acosx+bsinx
Multiply and divide by R=a2+b2
Here, a=1 and b=−1
Calculate the Amplitude R
R=(1)2+(−1)2
R=1+1=2
Factor Out 2
cosx−sinx=2(21cosx−21sinx)
Substitute Trigonometric Values
We know that cos4π=21 and sin4π=21
Substitute these into the bracket:
2(cos4πcosx−sin4πsinx)
Apply Cosine Addition Formula
Identity: cosAcosB−sinAsinB=cos(A+B)
Let A=x and B=4π
cosx−sinx=2cos(x+4π)
Rewrite the Integral
Substitute back into the integral:
I=∫2cos(x+4π)dx
Pull out the constant:
I=21∫cos(x+4π)dx
Convert to Secant
Recall that cosθ1=secθ
I=21∫sec(x+4π)dx
Standard Integral of Secant
Formula: ∫secudu=logtan(2u+4π)+C
Here, u=x+4π
Apply the Integration Formula
Substitute u=x+4π into the formula:
I=21logtan(2x+4π+4π)+C
Simplify the Angle (Part 1)
Focus on the argument of the tangent:
2x+4π+4π
Split the first fraction:
=2x+8π+4π
Simplify the Angle (Part 2)
Add the constant terms: 8π+4π
Make denominators equal: 8π+82π
=83π
Final Answer
Put the simplified angle back:
I=21logtan(2x+83π)+C
Key Takeaway: Always simplify acosx+bsinx into a single term before integrating.
00:00 / 00:00
The Sigma Insight: Evaluation of Special Integral Forms
Solution Diagram
Analyzing the Setup
Welcome, future engineer! Today, we are going to tackle an integral that looks deceptively simple but hides a beautiful geometric secret. We are looking at the integral:
I=∫cosx−sinxdx
At first glance, you might feel the urge to jump into complex substitutions, but pause. In the world of JEE Advanced, the most powerful tool is often the ability to see the 'hidden' structure of an expression.
The Harmonic Transformation
Whenever you see a denominator that is a linear combination of sine and cosine, like acosx+bsinx, your brain should immediately trigger the 'Harmonic Addition' reflex. We want to collapse these two terms into one.
To do this, we multiply and divide by the amplitude R=a2+b2. In our case, a=1 and b=−1. Calculating the amplitude, we get:
R=12+(−1)2=2
Now, we factor this 2 out:
cosx−sinx=2(21cosx−21sinx)
The Trigonometric Identity
Here is where the elegance of trigonometry shines. We know that 21 is the value of both cos(4π) and sin(4π). Substituting these into our expression, we get:
2(cos4πcosx−sin4πsinx)
Does that look familiar? It is the classic cosine addition formula: cosAcosB−sinAsinB=cos(A+B). With A=x and B=4π, our denominator collapses into:
2cos(x+4π)
The Path to Secant
Now, our integral looks much friendlier:
I=21∫cos(x+4π)dx
Since cosθ1=secθ, we have:
I=21∫sec(x+4π)dx
We are now in the territory of standard integrals. The integral of secu is ln∣tan(2u+4π)∣+C. Applying this with u=x+4π, we get:
I=21lntan(2x+4π+4π)+C
Final Algebraic Cleanup
The final step is just a bit of arithmetic to match the options. Let's simplify the argument of the tangent:
2x+4π+4π=2x+8π+4π
Combining the constants 8π+82π gives us 83π. Thus, our final result is:
I=21lntan(2x+83π)+C
You see? By transforming the expression, we didn't just solve the problem; we revealed its underlying structure. Keep practicing this condensation technique—it is a superpower in your JEE toolkit!