1 / | | x + b | ----- dx | x + a | / 0
Integral((x + b)/(x + a), (x, 0, 1))
There are multiple ways to do this integral.
Rewrite the integrand:
Integrate term-by-term:
The integral of a constant times a function is the constant times the integral of the function:
Let .
Then let and substitute :
The integral of is .
Now substitute back in:
So, the result is:
The integral of a constant is the constant times the variable of integration:
The result is:
Rewrite the integrand:
Integrate term-by-term:
The integral of a constant times a function is the constant times the integral of the function:
Let .
Then let and substitute :
The integral of is .
Now substitute back in:
So, the result is:
Rewrite the integrand:
Integrate term-by-term:
The integral of a constant times a function is the constant times the integral of the function:
Let .
Then let and substitute :
The integral of is .
Now substitute back in:
So, the result is:
The integral of a constant is the constant times the variable of integration:
The result is:
The result is:
Now simplify:
Add the constant of integration:
The answer is:
/ | | x + b | ----- dx = C + x + (b - a)*log(a + x) | x + a | /
1 + (b - a)*log(1 + a) - (b - a)*log(a)
=
1 + (b - a)*log(1 + a) - (b - a)*log(a)
1 + (b - a)*log(1 + a) - (b - a)*log(a)
Use the examples entering the upper and lower limits of integration.