Step-by-step Solution

Solve the trigonometric integral $\int\frac{1}{2\sin\left(x\right)\cos\left(x\right)}dx$

Go!
1
2
3
4
5
6
7
8
9
0
a
b
c
d
f
g
m
n
u
v
w
x
y
z
.
(◻)
+
-
×
◻/◻
/
÷
2

e
π
ln
log
log
lim
d/dx
Dx
|◻|
=
>
<
>=
<=
sin
cos
tan
cot
sec
csc

asin
acos
atan
acot
asec
acsc

sinh
cosh
tanh
coth
sech
csch

asinh
acosh
atanh
acoth
asech
acsch

Final Answer

$\frac{1}{2}\ln\left|\tan\left(x\right)\right|+C_0$

Step-by-step explanation

Problem to solve:

$\int\frac{1}{2sin\left(x\right)cos\left(x\right)}dx$

Choose the solving method

1

We can solve the integral $\int\frac{1}{2\sin\left(x\right)\cos\left(x\right)}dx$ by applying integration by substitution method (also called U-Substitution). First, we must identify a section within the integral with a new variable (let's call it $u$), which when substituted makes the integral easier. We see that $\tan\left(x\right)$ it's a good candidate for substitution. Let's define a variable $u$ and assign it to the choosen part

$u=\tan\left(x\right)$
2

Now, in order to rewrite $dx$ in terms of $du$, we need to find the derivative of $u$. We need to calculate $du$, we can do that by deriving the equation above

$du=\sec\left(x\right)^2dx$
3

Isolate $dx$ in the previous equation

$\frac{du}{\sec\left(x\right)^2}=dx$
4

Substituting $u$ and $dx$ in the integral and simplify

$\int\frac{1}{2u}du$
5

Take the constant $\frac{1}{2}$ out of the integral

$\frac{1}{2}\int\frac{1}{u}du$
6

The integral of the inverse of the lineal function is given by the following formula, $\displaystyle\int\frac{1}{x}dx=\ln(x)$

$\frac{1}{2}\ln\left|u\right|$
7

Replace $u$ with the value that we assigned to it in the beginning: $\tan\left(x\right)$

$\frac{1}{2}\ln\left|\tan\left(x\right)\right|$
8

As the integral that we are solving is an indefinite integral, when we finish integrating we must add the constant of integration $C$

$\frac{1}{2}\ln\left|\tan\left(x\right)\right|+C_0$

Final Answer

$\frac{1}{2}\ln\left|\tan\left(x\right)\right|+C_0$
$\int\frac{1}{2sin\left(x\right)cos\left(x\right)}dx$

Steps:

8

Time to solve it:

~ 0.06 s (SnapXam)