p - n / | | /1\ | log|-|*(1 - x) dx | \x/ | / 0
Integral(log(1/x)*(1 - x), (x, 0, p/n))
There are multiple ways to do this integral.
Let .
Then let and substitute :
The integral of a constant times a function is the constant times the integral of the function:
Let .
Then let and substitute :
Integrate term-by-term:
The integral of a constant times a function is the constant times the integral of the function:
Use integration by parts:
Let and let .
Then .
To find :
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 the exponential function is itself.
So, the result is:
Now substitute back in:
Now evaluate the sub-integral.
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 a constant times a function is the constant times the integral of the function:
The integral of the exponential function is itself.
So, the result is:
Now substitute back in:
So, the result is:
So, the result is:
Use integration by parts:
Let and let .
Then .
To find :
The integral of the exponential function is itself.
Now evaluate the sub-integral.
The integral of the exponential function is itself.
The result is:
Now substitute back in:
So, the result is:
Now substitute back in:
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 a constant times a function is the constant times the integral of the function:
Use integration by parts:
Let and let .
Then .
To find :
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 the exponential function is itself.
So, the result is:
Now substitute back in:
Now evaluate the sub-integral.
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 a constant times a function is the constant times the integral of the function:
The integral of the exponential function is itself.
So, the result is:
Now substitute back in:
So, the result is:
So, the result is:
Now substitute back in:
So, the result is:
There are multiple ways to do this integral.
Let .
Then let and substitute :
The integral of a constant times a function is the constant times the integral of the function:
Let .
Then let and substitute :
Let .
Then let and substitute :
Use integration by parts:
Let and let .
Then .
To find :
The integral of the exponential function is itself.
Now evaluate the sub-integral.
The integral of the exponential function is itself.
Now substitute back in:
Now substitute back in:
So, the result is:
Now substitute back in:
Use integration by parts:
Let and let .
Then .
To find :
The integral of a constant is the constant times the variable of integration:
Now evaluate the sub-integral.
The integral of a constant is the constant times the variable of integration:
The result is:
Use integration by parts:
Let and let .
Then .
To find :
Integrate term-by-term:
The integral of a constant is the constant times the variable of integration:
The integral of a constant times a function is the constant times the integral of the function:
The integral of is when :
So, the result is:
The result is:
Now evaluate the sub-integral.
The integral of a constant times a function is the constant times the integral of the function:
Rewrite the integrand:
Integrate term-by-term:
The integral of a constant is the constant times the variable of integration:
The integral of a constant times a function is the constant times the integral of the function:
The integral of is when :
So, the result is:
The result is:
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 a constant times a function is the constant times the integral of the function:
Use integration by parts:
Let and let .
Then .
To find :
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 the exponential function is itself.
So, the result is:
Now substitute back in:
Now evaluate the sub-integral.
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 a constant times a function is the constant times the integral of the function:
The integral of the exponential function is itself.
So, the result is:
Now substitute back in:
So, the result is:
So, the result is:
Now substitute back in:
So, the result is:
Let .
Then let and substitute :
The integral of a constant times a function is the constant times the integral of the function:
Let .
Then let and substitute :
Let .
Then let and substitute :
Use integration by parts:
Let and let .
Then .
To find :
The integral of the exponential function is itself.
Now evaluate the sub-integral.
The integral of the exponential function is itself.
Now substitute back in:
Now substitute back in:
So, the result is:
Now substitute back in:
The result is:
Now simplify:
Add the constant of integration:
The answer is:
/ 2 /1\ | 2 x *log|-| | /1\ x /1\ \x/ | log|-|*(1 - x) dx = C + x - -- + x*log|-| - --------- | \x/ 4 \x/ 2 | /
/ 2 \ 2
p |p p | /n\ p
- + |- - ----|*log|-| - ----
n |n 2| \p/ 2
\ 2*n / 4*n
=
/ 2 \ 2
p |p p | /n\ p
- + |- - ----|*log|-| - ----
n |n 2| \p/ 2
\ 2*n / 4*n
p/n + (p/n - p^2/(2*n^2))*log(n/p) - p^2/(4*n^2)
Use the examples entering the upper and lower limits of integration.