You are currently viewing What is the integral of sin(ln(x))?
integral of sin(ln(x))

What is the integral of sin(ln(x))?

The integral of \sin(\ln(x)) is \frac{1}{2}(x\sin(\ln(x)) - x\cos(\ln(x))) + C.

Solution. We want to determine the integral of \sin(\ln(x)):
\begin{align*}
I = \int \sin(\ln(x)) dx.
\end{align*}
Notice that we assign the above integral with I, as we will see later why. We will apply integration by parts which is:
\begin{align*}
\int UdV = UV - \int VdU.
\end{align*}
We will use the following functions:
\begin{align*}
U = \sin(\ln(x)), \quad &dV = dx\\
dU = \frac{\cos(\ln(x))}{x}dx, \quad &V = x.
\end{align*}
To see why we get dU, see here. So we get the following integral:
\begin{align*}
\int \sin(\ln(x)) dx = x\sin(\ln(x)) - \int \cos(\ln(x))dx.
\end{align*}
Now we integrate by parts again on the last integral with the following functions:
\begin{align*}
U = \cos(\ln(x)), \quad &dV = dx\\
dU = \frac{-\sin(\ln(x))}{x}dx, \quad &V = x.
\end{align*}
For an explanation of dU, see here. Therefore, combined with the previous integral, we get:
\begin{align*}
\int \sin(\ln(x)) dx &= x\sin(\ln(x)) - \int \cos(\ln(x))dx \\
&= x\sin(\ln(x)) - (x\cos(\ln(x)) + \int \sin(\ln(x))dx) \\
&= x\sin(\ln(x)) - x\cos(\ln(x)) - \int \sin(\ln(x))dx \\
&= x\sin(\ln(x)) - x\cos(\ln(x)) - I.
\end{align*}
Now we bring I to the left-hand side and divide by 2. So we finally get the integral we wanted:
\begin{align*}
\int \sin(\ln(x)) dx = \frac{1}{2}x(\sin(\ln(x)) - \cos(\ln(x))) + C.
\end{align*}
Therefore, the integral of \sin(\ln(x)) is \frac{1}{2}x(\sin(\ln(x)) - \cos(\ln(x))) + C.

Leave a Reply