pi -- 3 / | | (tan(x) - sin(x)) dx | / 0
Integral(tan(x) - sin(x), (x, 0, pi/3))
Integrate term-by-term:
The integral of a constant times a function is the constant times the integral of the function:
The integral of sine is negative cosine:
So, the result is:
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:
The result is:
Add the constant of integration:
The answer is:
/ | | (tan(x) - sin(x)) dx = C - log(cos(x)) + cos(x) | /
-1/2 + log(2)
=
-1/2 + log(2)
-1/2 + log(2)
Use the examples entering the upper and lower limits of integration.