1 / | | (tan(x) + cot(x)) dx | / 0
Integral(tan(x) + cot(x), (x, 0, 1))
Integrate term-by-term:
Rewrite the integrand:
Let .
Then let and substitute :
The integral of a constant times a function is the constant times the integral of the function:
The integral of is .
So, the result is:
Now substitute back in:
Rewrite the integrand:
Let .
Then let and substitute :
The integral of is .
Now substitute back in:
The result is:
Add the constant of integration:
The answer is:
/ | | (tan(x) + cot(x)) dx = C - log(cos(x)) + log(sin(x)) | /
Use the examples entering the upper and lower limits of integration.