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

Question

The integral \int \, cos(log e x) dx is equal to : (where C is a constant of integration)

Options

Solution

Key Concepts and Formulas

  • Integration by Parts: udv=uvvdu\int u \, dv = uv - \int v \, du
  • Derivative of lnx\ln x: ddx(lnx)=1x\frac{d}{dx}(\ln x) = \frac{1}{x}

Step-by-Step Solution

Step 1: Define the integral and apply integration by parts. We are given the integral I=cos(lnx)dxI = \int \cos(\ln x) \, dx. We will use integration by parts. Let u=cos(lnx)u = \cos(\ln x) and dv=dxdv = dx. Then du=sin(lnx)1xdxdu = -\sin(\ln x) \cdot \frac{1}{x} \, dx and v=xv = x. Applying integration by parts: I=cos(lnx)dx=xcos(lnx)x(sin(lnx)1x)dx=xcos(lnx)+sin(lnx)dxI = \int \cos(\ln x) \, dx = x \cos(\ln x) - \int x \left( -\sin(\ln x) \cdot \frac{1}{x} \right) \, dx = x \cos(\ln x) + \int \sin(\ln x) \, dx

Step 2: Apply integration by parts again. Now, we need to evaluate sin(lnx)dx\int \sin(\ln x) \, dx. Let u=sin(lnx)u = \sin(\ln x) and dv=dxdv = dx. Then du=cos(lnx)1xdxdu = \cos(\ln x) \cdot \frac{1}{x} \, dx and v=xv = x. Applying integration by parts: sin(lnx)dx=xsin(lnx)x(cos(lnx)1x)dx=xsin(lnx)cos(lnx)dx\int \sin(\ln x) \, dx = x \sin(\ln x) - \int x \left( \cos(\ln x) \cdot \frac{1}{x} \right) \, dx = x \sin(\ln x) - \int \cos(\ln x) \, dx

Step 3: Substitute back into the original integral. Substituting this result back into the expression for II from Step 1: I=xcos(lnx)+(xsin(lnx)cos(lnx)dx)=xcos(lnx)+xsin(lnx)cos(lnx)dxI = x \cos(\ln x) + \left( x \sin(\ln x) - \int \cos(\ln x) \, dx \right) = x \cos(\ln x) + x \sin(\ln x) - \int \cos(\ln x) \, dx Notice that cos(lnx)dx\int \cos(\ln x) \, dx is just II. So we have: I=xcos(lnx)+xsin(lnx)II = x \cos(\ln x) + x \sin(\ln x) - I

Step 4: Solve for I. Adding II to both sides gives: 2I=xcos(lnx)+xsin(lnx)2I = x \cos(\ln x) + x \sin(\ln x) Dividing by 2: I=x2(cos(lnx)+sin(lnx))+CI = \frac{x}{2} \left( \cos(\ln x) + \sin(\ln x) \right) + C where CC is the constant of integration.

Step 5: Rearrange to match the available options. We can rewrite the solution as: I=x2(sin(lnx)+cos(lnx))+CI = \frac{x}{2} \left( \sin(\ln x) + \cos(\ln x) \right) + C

Common Mistakes & Tips

  • Sign Errors: Be extremely careful with the signs when applying integration by parts, especially when differentiating cos(lnx)\cos(\ln x) and sin(lnx)\sin(\ln x).
  • Choosing u and dv: The choice of u and dv in integration by parts can significantly impact the complexity of the integral. In this case, choosing dv=dxdv = dx simplifies the subsequent integration.
  • Constant of Integration: Don't forget to add the constant of integration, C, at the end of the process.

Summary

We evaluated the integral cos(lnx)dx\int \cos(\ln x) \, dx using integration by parts twice. By recognizing that the original integral reappeared after the second application of integration by parts, we were able to solve for the integral algebraically. This yielded the solution I=x2(sin(lnx)+cos(lnx))+CI = \frac{x}{2} \left( \sin(\ln x) + \cos(\ln x) \right) + C.

The final answer is \boxed{\frac{x}{2}[\sin(\log e x) + \cos(\log e x)] + C}, which corresponds to option (C).

Practice More Indefinite Integration Questions

View All Questions