Example of a Diverging Series & Converging Integral

helpmepls
Messages
2
Reaction score
0

Homework Statement



Give an example of a continuous, non-negative function f: [1, infinity) --> R such that if an = f(n) for each positive integer n, the series \sum an diverges, while the improper integral from 1 to infinity of f converges. Justify your answer.

Homework Equations


N/A


The Attempt at a Solution


I have tried to randomly pick some functions I thought would work but can't seem to get one to converge and the other to diverge. For instance the series (1/n) will obviously diverge (p-test) but the integral of (1/n) will be the ln(n) which would give me an infinite value when taking the limit as n approaches infinity. Any advice on what type of function would work.
 
Physics news on Phys.org


I don't think such function exists.

Proof: Assume such function f(n) exists. Since integral from 1 to infinity converges, the integral test tells us that the sum from 1 to infinity also converges. This contradicts the fact we want the sum to diverge. Therefore no such function exists.
 


This reasoning applies only to decreasing functions.
Try something which is "large" for integers, but vanishes outside of small intervals around them.
 


This is Dr. Block, please remove this question.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top