Question
Question: How do you use the integral test to determine if \(\sum{{{n}^{k}}{{e}^{-n}}}\) from \(\left[ 1,\inft...
How do you use the integral test to determine if ∑nke−n from [1,∞) where k is an integer is convergent or divergent?
Solution
From the given question, we can see that the function is always positive since the given interval is [1,∞). We can solve this question by first replacing n by x in the test function and then differentiating the function with respect to x to know if the function is increasing or decreasing. We then integrate the function considering the critical points. If the integral value is positive, we can say that the function is convergent, else it will be divergent.
Complete step-by-step answer:
We need to use the integral test to determine if the given function is convergent or divergent. The function is f(n)=∑nke−n. We first differentiate the function. In order to do so, we need to replace n by x in the function.
Let f(x)=∑xke−x.
Now let us differentiate this function,
⇒dxd(f(x))=dxd(xke−x)
To differentiate this, we use the multiplication rule of differentiation, which is given as follows,
dxd(uv)=udxdv+vdxdu……(1)
We apply this rule as shown.
⇒dxd(xke−x)=xkdxd(e−x)+e−xdxd(xk)……(2)
Simplifying the first term and since dxd(e−x)=−e−x,
⇒xkdxd(e−x)=xk.(−e−x)
Simplifying the next term and since dxd(xk)=k.(xk−1),
⇒e−xdxd(xk)=e−x.(k.xk−1)
Putting together both the simplified terms in the equation (2),
⇒dxd(xke−x)=−xk.e−x+k.e−x.xk−1
Taking the common terms out, that is xk−1 and e−x,
⇒dxd(xke−x)=xk−1e−x(−x+k)
As per the given interval of [1,∞), by substituting the value of x from here, we see that the function is decreasing.
We now have to integrate the function f(x) within the limits [1,∞).
Let I=1∫∞xke−xdx.
Now we need to find a general solution for this integral. Let us assume k=1 for the first case as shown.
⇒I1=1∫∞xe−xdx
We all know integration by parts method which is given as,
∫udv=uv−∫vdu……(3)
Where u=x and dv=e−xdx.
Differentiating both sides of first equation we get du=dx……(4)
To find v now, we integrate both sides of the second equation which gives,
⇒∫dv=∫e−xdx
Since we know that ∫e−xdx=−e−x, we get
⇒v=−e−x……(5)
Now we substitute these values in equation (3),
⇒I1=[−xe−x]1∞+1∫∞e−xdx
Substituting the upper and lower limits, we get
⇒I1=−[∞.e−∞−1e−1]+[−e−x]
We know that e−∞=0,
⇒I1=[e1]−[e−∞−e−1]
Simplifying this by adding the remaining terms,
⇒I1=[e1]+[e1]⇒I1=[e2]
Next let us assume k=2,
⇒I2=1∫∞x2e−xdx
Here, u=x2 and dv=e−xdx.
Also, du=2xdx and v=−e−x.
Integrating this by parts similar to the previous methods,
⇒I2=[−xe−x]1∞+21∫∞xe−xdx
Substituting the limits and the second term as I1,
⇒I2=−[∞.e−∞−1e−1]+2I1
Simplifying the result by evaluating further,
⇒I2=e1+2I1
We know that I1=e2, therefore,
⇒I2=e1+e4⇒I2=e5
So, in a general form,
⇒Ik=1∫∞xke−xdx
Expanding this using integration by parts, we get
⇒Ik=[−xe−x]1∞+k1∫∞xk−1e−xdx
This can be simplified further as,
⇒Ik=e1+kIk−1
Now we can expand this as follows,
⇒Ik=e1+k(e1+(k−1))Ik−2
We continue to expand like this and taking the sum of all the terms, we get
⇒Ik=e1+k+k(k−1)+…+k!
This can be written in summation form as,
⇒Ik=e1i=1∑ki!k!
This equation shows that,
1∫∞xke−xdx=e1i=1∑ki!k!
This means that the above equation is convergent for any k and therefore, ∑nke−n is also convergent.
Hence, we have shown that ∑nke−n is convergent for k being any integer in the interval [1,∞).
Note: While solving this question, the students need to be careful while performing integration and differentiation as there must be a thorough understanding in these concepts in order to solve this question easily. Also, care must be taken while substituting the limits during integration and we need to first substitute the upper limit followed by the lower limit.