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
The discussion centers on proving or contradicting the convergence of series and integrals for a positive and continuous function f(x) defined on [1, ∞). Counterexamples are provided to demonstrate that if the series ∑f(n) converges, the integral ∫f(x)dx may still diverge, and vice versa. Specifically, the series involving sin²(nπ) is cited as convergent while the corresponding integral diverges. Participants suggest constructing functions that are zero at integers but have non-zero areas under specific conditions, emphasizing the need for precise definitions. The conversation concludes with attempts to formalize such functions, highlighting the complexity of the task.
  • #31
When x = n your second one gives -1, so it's still wrong. And if you simplify your first one by multiplying numerator and denominator by 2nyou can write it as

1 + 2n(x-n)

You should be able to write the second piece similarly. Keeping it simple is always a good idea.
 
Physics news on Phys.org
  • #32
LCKurtz said:
When x = n your second one gives -1, so it's still wrong. And if you simplify your first one by multiplying numerator and denominator by 2nyou can write it as

1 + 2n(x-n)

You should be able to write the second piece similarly. Keeping it simple is always a good idea.

But the second one deals with x\in (n,n+(1/2)^n] or I missed something?
 
  • #33
estro said:
But the second one deals with x\in (n,n+(1/2)^n] or I missed something?

Sure, the second one applies to that interval but your formula for it is wrong. You should get 1 when x = n in both of them.
 
  • #34
<br /> <br /> f(x) = \left\{<br /> \begin{array}{c l}<br /> 2^n(x-n)-1, &amp; \mbox{if } x \in [n-(1/2)^n, n] \mbox{ while } n=min\{ |\lfloor x \rfloor - x|, |\lfloor x+1 \rfloor - x| \}\\<br /> \\<br /> 2^n(n-x)+1, &amp; \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, &amp; \mbox{otherwise}<br /> \end{array}<br /> \right.<br /> <br />
 
Last edited:
  • #35
Haven't we gone over this before:

1. Your function must have a negative slope on the right side of the interval.

2. When you put x = n in either formula, you have to get 1.

If your formula doesn't satisfy both of those, it is wrong. Think about it. I have to leave now for today.
 
  • #36
I believe it was fatigue blunder (embarrassing).

<br /> <br /> f(x) = \left\{<br /> \begin{array}{c l}<br /> 2^n(x-n)+1, &amp; \mbox{if } x \in [n-(1/2)^n, n] \mbox{ while } n=min\{ |\lfloor x \rfloor - x|, |\lfloor x+1 \rfloor - x| \}\\<br /> \\<br /> 2^n(n-x)+1, &amp; \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, &amp; \mbox{otherwise}<br /> \end{array}<br /> \right.<br />

Many times I have simple idea for a solution fairly fast, but when I try to apply it and actually write equations my intuition is letting me down and I get lost.
This was a good example for it, without your help most likely I would spent a week(it actually happens to me occasionally) crunching this problem even though having the idea.
 
Last edited:

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 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 31 ·
2
Replies
31
Views
4K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K