Question
Question: Evaluate the integral of \(\int {{\text{cos}}\left( {{\text{ln x}}} \right){\text{dx}}} = \) A) \(...
Evaluate the integral of ∫cos(ln x)dx=
A) 2x(cos ln x + sin ln x)
B) 2x[cos ln x - sin ln x]
C) [x cos ln x + sin ln x]
D) None of these
Solution
In this question, we have to evaluate the question to find the value of the given integral term. For that, we are going to solve that given integral term by using integration and differentiation methods. There are no limit values in the given integral term. So we only have to evaluate the values of the integral term.
Formula used: log x = x1 where x is a constant.
dxduv = u dxdv + v dxdu
u dv = uv - ∫v du
Complete step-by-step answer:
Looking at ∫cos(ln x)dx, we realize that it can’t be integrated straight away. So we will use substitution to solve this question.
We would need cos(ln x)x1 to integrate by substitution.
Running out of ideas, let’s try putting in the “missing” x1 and an x to make up for it and try integrating by parts.
⇒ ∫cos(ln x)dx = ∫x cos(ln x). x1dx---------(1)
Let u = x and dv = cos(ln x).x1dx
So, du = dx and v = sin(ln x)
Substituting these values in (1), we get
⇒ ∫cos(ln x)dx = x sin(lnx)−∫sin(ln x) dx
⇒{∫sin(ln x)dx Here are going to insert x . x1}
⇒ ∫cos(ln x)dx = x sin(lnx)−∫x sin(ln x) x1 dx
Now, we are going to integrate the term, we have
⇒ ∫x sin(ln x)x1dx = [ - x cos(ln x) - ∫ - cos(ln x)dx]
So we now have,
⇒ ∫cos(ln x)dx = x sin(lnx) - [ - x cos(ln x) - ∫ - cos(ln x)dx]
Simplifying we get,
⇒ ∫cos(ln x)dx = x sin(lnx) + x cos(ln x)−∫ cos(ln x)dx
Now let us take I = ∫cos(ln x)dx, then we have that
\Rightarrow$$${\text{I = x sin}}\left( {\ln {\text{x}}} \right) + {\text{x cos}}\left( {\ln {\text{x}}} \right){\text{ - I }}$$
By adding {\text{I}}thenwehavethat,\Rightarrow{\text{2I = x sin}}\left( {\ln {\text{x}}} \right) + {\text{x cos}}\left( {\ln {\text{x}}} \right){\text{ }}$$
Rearranging the term for ${\text{I}}$,
$\Rightarrow{\text{I = }}\dfrac{1}{2}\left[ {{\text{x sin}}\left( {\ln {\text{x}}} \right) + {\text{x cos}}\left( {\ln {\text{x}}} \right)} \right]{\text{ }}
Now substitute the values of ${\text{I}}$, we get
$\Rightarrow$$$\int {\cos \left( {\ln {\text{x}}} \right)} {\text{ dx = }}\dfrac{1}{2}\left[ {{\text{x sin}}\left( {\ln {\text{x}}} \right) + {\text{x cos}}\left( {\ln {\text{x}}} \right)} \right]{\text{ + c }}
Taking common x out from the brackets,
⇒∫cos(lnx) dx = 2x[sin(lnx)+cos(lnx)] + c
Hence option A is the correct answer.
Note: We use definite integrals when the upper and lower limits of that function are given. We use indefinite integrals when no limits are given to a particular function. Integration is the inverse of differentiation.