Hard to define function and Conv/Dive of Integral/Series

  • Thread starter Thread starter estro
  • Start date Start date
  • Tags Tags
    Function Hard
Click For Summary

Homework Help Overview

The discussion revolves around the convergence of series and integrals involving positive and continuous functions defined on the interval [1, ∞). Participants are exploring the implications of two statements regarding the convergence of series and integrals, questioning whether one implies the other.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants present counterexamples to the convergence statements, particularly using functions like \(\sin^2{(n\Pi)}\) and discussing the construction of functions that are zero at integers but have specific behaviors near those points.

Discussion Status

There are ongoing attempts to formalize functions that meet the criteria of the problem. Some participants have offered suggestions and counterexamples, while others are still grappling with how to construct appropriate functions. The discussion is active, with various lines of reasoning being explored.

Contextual Notes

Participants are considering the requirement that functions must be nonnegative and continuous, and there is a focus on the limit behavior of these functions as \(x\) approaches infinity. The challenge of defining functions that meet these criteria while also demonstrating the desired convergence properties is a central theme.

estro
Messages
239
Reaction score
0

Homework Statement



[tex]\mbox {1. If f(x) is a positive and continuous function in [1,\infty)\ and\ \lim_{x\rightarrow \infty} f(x)=0 }[/tex]

[tex]\mbox {Prove or contradict:}\\<br /> \mbox { If } \sum_{n=1}^\infty f(n) \ \mbox {is converget then} \ \int_{1}^\infty f(x)dx \ \mbox {is also convergent.}[/tex]

[tex]\mbox {2. If f(x) is a positive and continuous function in [1,\infty)}[/tex]

[tex]\mbox {Prove or contradict:}\\ <br /> \mbox { If } \int_{1}^\infty f(x)dx \ \mbox {is converget then} \ \sum_{n=1}^\infty f(n) \ \mbox {is also convergent.}[/tex]

The Attempt at a Solution



[Edit] Counterexample for (1):

[tex]\sum_{n=1}^\infty \frac{\sin^2{(n\Pi)}}{n} \ \mbox{is convergent but } \int_{1}^\infty \frac{\sin^2{(x\Pi)}}{x}dx\ \mbox{ is divergent}[/tex][Edit] Counterexample for (2): (Still only idea)

I should somehow formally define function which is 0 most of the time but every time x is near integer n the function "draws" a triangle with area of [tex](1/2)^n[/tex].
 
Last edited:
Physics news on Phys.org
In the thread where you posted this question previously:

https://www.physicsforums.com/showthread.php?p=2751033#post2751033

I gave you this suggestion:

How about something easier like this -- suppose an= 0 for all n so the series obviously converges. Now can you build an f(x) such that f(n) = 0 for integers n but whose area under the curve goes to infinity? Once you do that then start thinking about the other way.

Why don't you begin by addressing that.
 
LCKurtz said:
In the thread where you posted this question previously:

https://www.physicsforums.com/showthread.php?p=2751033#post2751033

I gave you this suggestion:

How about something easier like this -- suppose an= 0 for all n so the series obviously converges. Now can you build an f(x) such that f(n) = 0 for integers n but whose area under the curve goes to infinity? Once you do that then start thinking about the other way.

Why don't you begin by addressing that.

This is what I tried to do, but I have trouble making it formal.
 
estro said:
This is what I tried to do, but I have trouble making it formal.

Can't you think of a continuous function that is zero at the integers?
 
Contradiction for 2:

[tex]\int_{1}^\infty \sin^2{(x\Pi)}dx \ \mbox{is divergent but } <br /> \sum_{1}^\infty \sin^2{(n\Pi)} \ \mbox{is convergent}[/tex]

Don't know how I missed it.
Now I'll think about 1
 
estro said:
Contradiction for 2:

[tex]\int_{1}^\infty \sin{(x\Pi)}dx \ \mbox{is divergent but } <br /> \sum_{1}^\infty \sin{(n\Pi)} \ \mbox{is convergent}[/tex]

Don't know how I missed it.
Now I'll think about 1

But that isn't quite a counterexample to your problem yet. [Why?]
 
LCKurtz said:
But that isn't quite a counterexample to your problem yet. [Why?]

I corrected my mistake, thanks.
 
estro said:
I corrected my mistake, thanks.

I wasn't referring to the converget vs divergent typo.
 
LCKurtz said:
I wasn't referring to the converget vs divergent typo.

Contradiction for 1:

[tex]\sum_{n=1}^\infty \frac {\sin^2{(n\Pi)}}{n} \ \mbox{is convergent but } <br /> \int_{1}^\infty \frac {\sin^2{(x\Pi)}}{x}dx \ \mbox{is divergent}[/tex]

Seems right this time.
 
  • #10
Now I should look for a positive function without a limit at [tex]\infty[/tex], right?
 
  • #11
estro said:
Contradiction for 1:

[tex]\sum_{n=1}^\infty \frac {\sin^2{(n\Pi)}}{n} \ \mbox{is convergent but } <br /> \int_{1}^\infty \frac {\sin^2{(x\Pi)}}{x}dx \ \mbox{is divergent}[/tex]

Seems right this time.

Don't make it so difficult. Apparently you noticed that the problem requires that f(x) can't be negative, and squaring it fixes that. But why put the new denominator in there and make a big problem out of showing the integral diverges? You want to be able to calculate it easily.

Also, you still don't have a counterexample if the problem really requires f(x) to be positive. Will nonnegative do?
 
  • #12
estro said:
Now I should look for a positive function without a limit at [tex]\infty[/tex], right?

You need to state more precisely what you need to do. You have to find an example of a series that does what and an integral that does what for a counterexample to 1?

[Edit] I mean a counterexample to the other one, which is 2.
 
Last edited:
  • #13
I made the denominator because of this requirement in (1): [tex]\lim_{x\rightarrow \infty} f(x)=0[/tex]
Nonnegative will be enough, but I'll try to think about positive function.
But Ill try to give counterexample to (2).
 
  • #14
estro said:
I made the denominator because of this requirement in (1): [tex]\lim_{x\rightarrow \infty} f(x)=0[/tex]
Nonnegative will be enough, but I'll try to think about positive function.
But Ill try to give counterexample to the second one first.

Woops, I didn't see the [tex]\lim_{x\rightarrow \infty} f(x)=0[/tex] thing. Has that always been there? Anyway, what you now have seems to work for the nonnegative case, assuming you are actually going to show the integral diverges (not difficult).
 
  • #15
LCKurtz said:
You need to state more precisely what you need to do. You have to find an example of a series that does what and an integral that does what for a counterexample to 1?

[Edit] I mean a counterexample to the other one, which is 2.

[tex]\mbox {Now I need to prove or contradict: If f(x) is a nonnegative and continuous function in [1,\infty)}[/tex]

[tex]\mbox {Prove or contradict:}\\ <br /> \mbox { If } \int_{1}^\infty f(x)dx \ \mbox {is converget then} \ \sum_{n=1}^\infty f(n) \ \mbox {is also convergent.}[/tex]

I think I have one...
[Edit] No, I don't have one. Now I'm trying to think about something that will fail the n'th term test.
 
Last edited:
  • #16
estro said:
[tex]\mbox {Now I need to prove or contradict: If f(x) is a nonnegative and continuous function in [1,\infty)}[/tex]

[tex]\mbox {Prove or contradict:}\\ <br /> \mbox { If } \int_{1}^\infty f(x)dx \ \mbox {is converget then} \ \sum_{n=1}^\infty f(n) \ \mbox {is also convergent.}[/tex]

I think I have one...
[Edit] No, I don't have one. Now I'm trying to think about something that will fail the n'th term test.

Think about an=1. That will give a divergent series by failing the nth term test. Now build an f(x) ... This is the real meat of this problem.
 
  • #17
LCKurtz said:
Think about an=1. That will give a divergent series by failing the nth term test. Now build an f(x) ... This is the real meat of this problem.

I'm trying to think about a function which is 0 almost always but every time x is near integer the function builds very very thin triangle (triangle height is 1)...
 
  • #18
estro said:
I'm trying to think about a function which is 0 almost always but every time x is near integer the function builds very very thin triangle (triangle height is 1)...

Good, you're onto it. Make it so the areas of the triangles converge when you add them all up. I think you can take it from here.
 
  • #19
LCKurtz said:
Good, you're onto it. Make it so the areas of the triangles converge when you add them all up. I think you can take it from here.

I actually have bad sense for making function from my mind formal, can you give me a tip?

trying something like this [tex]\ \sin^2{(e^x)}[/tex]
 
  • #20
estro said:
I'm trying to think about a function which is 0 almost always but every time x is near integer the function builds very very thin triangle (triangle height is 1)...

estro said:
I actually have bad sense for making function from my mind formal, can you give me a tip?

trying something like this [tex]\ \sin^2{(e^x)}[/tex]

Don't make it so complicated. Use the triangles you mentioned above. Fix it so the triangle at integer n has area an where ∑an is a convergent series of your choice.
 
  • #21
LCKurtz said:
Don't make it so complicated. Use the triangles you mentioned above. Fix it so the triangle at integer n has area an where ∑an is a convergent series of your choice.

Now, it's obvious that my function should build triangles near x = n, while the triangle area at n should be [tex](1/2)^n[/tex]. But I have no idea how to define such functions.
 
Last edited:
  • #22
estro said:
Now, it's obvious that my function should build triangles near x = n, while the triangle area at n should be [tex](1/2)^n[/tex]. But I have no idea how to define such functions.

You can't figure out how wide the base of a triangle of height 1 needs to be so that its area is (1/2)n? Or how to write the equations of the straight lines forming its sides? You are at least in calculus, right? I don't think anyone here is going to do that for you.
 
  • #23
LCKurtz said:
You can't figure out how wide the base of a triangle of height 1 needs to be so that its area is (1/2)n? Or how to write the equations of the straight lines forming its sides? You are at least in calculus, right? I don't think anyone here is going to do that for you.

This is what I thought about:

[tex]f(x) = \left\{<br /> \begin{array}{c l}<br /> 1 & x \in n\\<br /> g(x) & x \in [n-(1/2)^n,n)\\<br /> h(x) & x \in (n,n+(1/2)^n]\\<br /> 0 & \mbox{ rest cases}<br /> \end{array}<br /> \right.[/tex]

Should I include something like this?

[tex]h(x)=\frac{x-n+(1/2)^n}{(1/2)^n}[/tex].Can I instead do it this way?
g(x) is a straight line connecting (x,1) with (x+[tex](1/2)^x[/tex],1).Actually I've just started my academic quest after 3 years brake in IDF, so I'm little slow and rusty. (I'm now self study Calc 1 and 2, enrolled in Open University to gather some credit and momentum before the real thing).
 
Last edited:
  • #24
Define f(x)=x for x in [0,1], f(x)=2-x for x in [1,2] and f(x)=0 otherwise. Now f(x) is a 'bump' function. You can define other functions like shifts f_n(x)=f(x-n), scalings f_a(x)=f(a*x) and multiples f_b(x)=b*f(x). What do they look like? Now combine those operations to make the triangles you want and sum them.
 
  • #25
Thank you both for the guidance.

I think I got it:

[tex] f(x) = \left\{<br /> \begin{array}{c l}<br /> \frac{x-n}{(1/2)^n}, & \mbox{ if } |n-x|\leq(1/2)^n \mbox{ while } n=min\{ |\lfloor x \rfloor - x|, |\lfloor x+1 \rfloor - x| \}\\<br /> \\<br /> 0, & \mbox{otherwise}<br /> \end{array}<br /> \right.<br /> [/tex]

[Edit] No, actually I've made mistake, working to fix it...
 
Last edited:
  • #26
Think about the triangle based at n, its base is

[tex]\left[ n - \frac 1 {2^n},n + \frac 1 {2^n}\right][/tex]

and its vertex is at (n,1). Just write the equations of the two straight lines forming its sides.
 
  • #27
[tex] <br /> f(x) = \left\{<br /> \begin{array}{c l}<br /> \frac{x-n+(1/2)^n}{(1/2)^n}, & \mbox{ if } |n-x|\leq(1/2)^n \mbox{ while } n=min\{ |\lfloor x \rfloor - x|, |\lfloor x+1 \rfloor - x| \}\\<br /> \\<br /> 0, & \mbox{otherwise}<br /> \end{array}<br /> \right.<br /> [/tex]

Thank you, I appreciate your help!
 
Last edited:
  • #28
estro said:
[tex] <br /> f(x) = \left\{<br /> \begin{array}{c l}<br /> \frac{x-n+(1/2)^n}{(1/2)^n}, & \mbox{ if } |n-x|\leq(1/2)^n \mbox{ while } n=min\{ |\lfloor x \rfloor - x|, |\lfloor x+1 \rfloor - x| \}\\<br /> \\<br /> 0, & \mbox{otherwise}<br /> \end{array}<br /> \right.<br /> [/tex]

Thank you, I appreciate your help!

Still not quite right. The non-zero part of your function has positive slope (the coefficient of x) but part of your triangle must have negative slope. Do the two sides separately.
 
  • #29
estro said:
This is what I thought about:

[tex]f(x) = \left\{<br /> \begin{array}{c l}<br /> 1 & x \in n\\<br /> g(x) & x \in [n-(1/2)^n,n)\\<br /> h(x) & x \in (n,n+(1/2)^n]\\<br /> 0 & \mbox{ rest cases}<br /> \end{array}<br /> \right.[/tex]

Yes, that is a good way to express your answer. I would call it fn(x) once you get the g(x) and h(x) right. Then your final answer is:

f(x) = ∑ fn(x).
 
  • #30
[tex] <br /> f(x) = \left\{<br /> \begin{array}{c l}<br /> \frac{x-n+(1/2)^n}{(1/2)^n}, & \mbox{if } x \in [n-(1/2)^n, n] \mbox{ while } n=min\{ |\lfloor x \rfloor - x|, |\lfloor x+1 \rfloor - x| \}\\<br /> \\<br /> \frac{n-x-(1/2)^n}{(1/2)^n}, & \mbox{if } x \in (n, n+(1/2)^n] \mbox{ while } n=min\{ |\lfloor x \rfloor - x|, |\lfloor x+1 \rfloor - x| \}\\<br /> \\<br /> 0, & \mbox{otherwise}<br /> \end{array}<br /> \right.<br /> [/tex]
 

Similar threads

Replies
10
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 31 ·
2
Replies
31
Views
5K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K