Trigonometric transformations: acosx+bsinx=Rcos(x−α), where R=a2+b2 and tanα=a−b.
Integral of secant function: ∫secxdx=ln∣secx+tanx∣+C=lntan(4π+2x)+C.
Step-by-Step Solution
Step 1: Rewrite the integrand using trigonometric identities.
We want to express cosx−sinx in the form Rcos(x+α). Here, we have 1⋅cosx+(−1)⋅sinx. Therefore, R=12+(−1)2=2. We also have cosx−sinx=2(21cosx−21sinx)=2(cos4πcosx−sin4πsinx)=2cos(x+4π).
Thus, the integral becomes
∫cosx−sinxdx=∫2cos(x+4π)dx
Step 2: Simplify the integral.
We can rewrite the integral as:
21∫cos(x+4π)dx=21∫sec(x+4π)dx
Step 3: Evaluate the integral using the known integral of secx.
Using the formula ∫secxdx=lntan(4π+2x)+C, we have
21∫sec(x+4π)dx=21lntan(4π+2x+4π)+C
Step 4: Simplify the argument of the tangent function.
We have
4π+2x+4π=4π+2x+8π=82π+8π+2x=83π+2x=2x+83π
Thus,
21lntan(4π+2x+4π)+C=21lntan(2x+83π)+C
Common Mistakes & Tips
Remember the trigonometric transformation acosx+bsinx=Rcos(x−α) and how to find R and α. Be careful with the sign of α.
The integral of secx is ln∣secx+tanx∣+C or lntan(4π+2x)+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−α). 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 21logtan(2x+83π)+C, which corresponds to option (A).