The integral is equal to (where is a constant of integration)
- A.
- B.
- C.
- D.
Show answer and solution
Correct option: A
Solution
Use integration by parts twice. Let I = ∫cos(ln x)dx.
First IBP: u = cos(ln x), dv = dx → I = x·cos(ln x) + ∫sin(ln x)dx.
Second IBP on ∫sin(ln x)dx: u = sin(ln x), dv = dx → ∫sin(ln x)dx = x·sin(ln x) - ∫cos(ln x)dx = x·sin(ln x) - I.
Substituting back: I = x·cos(ln x) + x·sin(ln x) - I, so 2I = x[cos(ln x) + sin(ln x)], giving I = (x/2)[cos(ln x) + sin(ln x)] + C.
First IBP: u = cos(ln x), dv = dx → I = x·cos(ln x) + ∫sin(ln x)dx.
Second IBP on ∫sin(ln x)dx: u = sin(ln x), dv = dx → ∫sin(ln x)dx = x·sin(ln x) - ∫cos(ln x)dx = x·sin(ln x) - I.
Substituting back: I = x·cos(ln x) + x·sin(ln x) - I, so 2I = x[cos(ln x) + sin(ln x)], giving I = (x/2)[cos(ln x) + sin(ln x)] + C.
[JEE Main 2019 · 12 Jan · Shift I]