- 22,169
- 3,327
Add \displaymath before the limit.ProfuselyQuarky said:Yeah, exactly! I can only get this: ##\lim_{x\to0} x\sin \frac {1}{x}## With the code:
Code:\lim_{x\to0} x\sin \frac {1}{x}
Add \displaymath before the limit.ProfuselyQuarky said:Yeah, exactly! I can only get this: ##\lim_{x\to0} x\sin \frac {1}{x}## With the code:
Code:\lim_{x\to0} x\sin \frac {1}{x}
As you can see in my previous post, adding the \displaystyle tag makes some LaTeX expressions nicer.ProfuselyQuarky said:Yeah, exactly! I can only get this: ##\lim_{x\to0} x\sin \frac {1}{x}## With the code:
Code:\lim_{x\to0} x\sin \frac {1}{x}
Looks good to me, let's see what micromass thinks. There is a little inconsequential typo, as you wrote ##f(x)## instead of ##f'(x)##.ProfuselyQuarky said:Well, *sniff* here you go . . .
...
##
f(x) = \left\{
\begin{array}{ll}
2x\sin \frac {1}{x} - \cos \frac {1}{x} & \quad x \neq 0 \\
0 & \quad x = 0
\end{array}
\right.
##
It's a basic sine curve with ##\lim_{x\to0} f'(x)##. This holds true for real numbers but the function diverges. Thus, we have a derivative of a differentiable function that is discontinuous.
Okay, now you all can tell me what's wrong with it![]()
##y=\frac{x}{x}## is differentiable, andmicromass said:Every derivative of a differentiable function is continuous.
micromass said:Add \displaymath before the limit.
##\displaystyle \lim_{x\to0} x\sin \frac {1}{x}## works but ##\displaymath \lim_{x\to0} x\sin \frac {1}{x}## doesn't. Thanks @Samy_A!Samy_A said:As you can see in my previous post, adding the \displaystyle tag makes some LaTeX expressions nicer.
Yeah, sorrySamy_A said:Looks good to me, let's see what micromass thinks. There is a little inconsequential typo, as you wrote f(x)f(x) instead of f′(x)f'(x).

ProfuselyQuarky said:Well, *sniff* here you go . . .
(for #5)
All you need to do is find a derivative of a differentiable function that is discontinuous.
At first I had in mind ##f(x)=|x|##, but ##|x|## is not differentiable at the point 0 and actually, this only occurs in isolated points apparently. So, here's a piecewise function:
##
f(x) = \left\{
\begin{array}{ll}
x^2\sin(\frac {1}{x}) & \quad x \neq 0 \\
0 & \quad x = 0
\end{array}
\right.
##
For this, ##f'(x)=2x\sin \frac {1}{x} - \cos \frac {1}{x}## whenever ##x\neq0##.
I find the derivative by solving for the limit. ##1\geq|\sin x|## per ##x##, thus the simplified limit is ##\lim_{x\to0} x\sin \frac {1}{x}## or, simply, 0. This, in turn, gives us:
##
f(x) = \left\{
\begin{array}{ll}
2x\sin \frac {1}{x} - \cos \frac {1}{x} & \quad x \neq 0 \\
0 & \quad x = 0
\end{array}
\right.
##
It's a basic sine curve with ##\lim_{x\to0} f'(x)##. This holds true for real numbers but the function diverges. Thus, we have a derivative of a differentiable function that is discontinuous.
Okay, now you all can tell me what's wrong with it![]()
Undefined at ##0## doesn't mean discontinuous at ##0##Isaac0427 said:##y=\frac{x}{x}## is differentiable, and
it's derivative, using the quotient rule, is ##\frac{0}{x^2}##, which is undefined at x=0 and thus not continuous.
stevendaryl said:I think I know how to solve #3.Suppose we let f^2(x) = \sum_{n=0}^{\infty} e^{-\lambda_n (x-n)^2}, where \lambda_n is a sequence of constants. (So f(x) is the square-root of the sum). Then it would certainly not be the case that lim_{x \rightarrow +\infty} f(x) = 0. But the integral might still be finite:
\int dx f^2(x) = \sum_{n=0}^{\infty} \int dx e^{-\lambda_n (x-n)^2} = \sum_{n=0}^{\infty} \sqrt{\frac{\pi}{\lambda_n}}
This sum converges, provided that \lambda_n grows sufficiently rapidly. For example, \lambda_n = 2^n.
So my answer is: f(x) = \sqrt{ \sum_{n=0}^{\infty} e^{-2^n (x-n)^2}}
You'd have to prove that f(x) is well-defined and differentiable, but I think it's true.
limx→0f(x)≠f(0) If f(x)=##\frac{0}{x^2}##.micromass said:Undefined at ##0## doesn't mean discontinuous at ##0##
Isaac0427 said:limx→0f(x)≠f(0) If f(x)=##\frac{0}{x^2}##.
I know that @ProfuselyQuarky solved it before me, just want to know why I'm wrong.
Ah ok.micromass said:Because ##0## is not in the domain of your function. It's true that ##f## is continuous at ##0## iff ##\lim_{x\rightarrow 0}f(x) = f(0)##, but that is only when ##0## is actually in the domain of your function.
micromass said:Cool idea, but I can't really accept this solution until some gaps are filled:
- Prove ##f(x)## is well-defined
- Prove ##f(x)## is differentiable.
- Show why ##\lim_{x\rightarrow +\infty} f(x) =0##
- Show that the interchange of series and integral is justified.
stevendaryl said:Oh, bother! The idea is to have a function that is basically a bunch of "spikes" that always have height 1, but whose widths decrease. Gaussians have that property, but working with them is a little bit of a pain. But here's another choice:
stevendaryl said:Oh, bother! The idea is to have a function that is basically a bunch of "spikes" that always have height 1, but whose widths decrease. Gaussians have that property, but working with them is a little bit of a pain. But here's another choice:
First define g(x) as follows:
g(x) = 0 if x < -\frac{1}{2}
g(x) = 1 + cos(2\pi x) if -\frac{1}{2} < x < +\frac{1}{2}
g(x) = 0 if x > \frac{1}{2}
Then g(x) is continuous and once-differentiable.
Then \int_{-\infty}^{+\infty} g(\lambda x) dx = \frac{1}{\lambda} \int_{-\frac{1}{2}}^{+\frac{1}{2}} (1+cos(2\pi x)) dx = \frac{1}{\lambda}
Let \lambda_n be any sequence of real numbers greater than 1 such that \sum_n \frac{1}{\lambda_n} < \infty
Define g_n(x) = g(\lambda_n (x-n)). Then for any n \neq m, either g_n(x) = 0 or g_m(x) = 0 or both. Furthermore, g_n(n+\frac{1}{2}) = g_{n+1}(n+\frac{1}{2}) = 0.
Let N[x] = the smallest n such that n+\frac{1}{2} > x
So now define q(x) = g_{N[x]}(x), where n is the smallest number such that n+\frac{1}{2} > x. Then q(x) is continuous: For x in the range n-\frac{1}{2} < x < n+\frac{1}{2}, q(x) = g_n(x), which is continuous. At x=n+\frac{1}{2}, we have:
q(x-\epsilon) = g_n(x-\epsilon) = 0
q(x+\epsilon) = g_{n+1}(x+\epsilon) = 0
q(x) is also once-differentiable, since g_n(x) is, and the derivatives are zero at the boundary.
Now, \int_{-\infty}^{+\infty} q(x) dx = \sum_n \int_{n-\frac{1}{2}}^{n+\frac{1}{2}} q(x) dx = \sum_n \int_{n-\frac{1}{2}}^{n+\frac{1}{2}} g_n(x) dx = \sum_n \frac{1}{\lambda_n} < \infty
andrewkirk said:Why do I think my answer to 10 works? Well the argument as to why a topologists' sine curve is connected is known.
Well that's the point of the counterexample (and the point of the topologists' sine curve): to exemplify the difference between path connectedness and mere connectedness. I think it would be straightforward to prove that the proposition is true (ie there is no counterexample) if one replaces 'connected' by 'path-connected'.stevendaryl said:Yeah, but to me it means that the definition of "connected" isn't quite right. An alternative definition is "path connected", which is that you can from any point to any other point through a continuous one-dimensional path.
The function ##f:\mathbb{R}\to\mathbb R## such that, for ##x>0##:micromass said:4.There is no infinitely differentiable function ##f:\mathbb{R}\rightarrow \mathbb{R}## such that ##f(x) = 0## if and only if ##x\in \{1/n~\vert~n\in \mathbb{N}\}\cup\{0\}##
Define ##f:\mathbb{R}^2\to\mathbb{R}## bymicromass said:9. If ##f:\mathbb{R}^2\rightarrow \mathbb{R}## is a function such that ##\lim_{(x,y)\rightarrow (0,0)} f(x,y)## exists and is finite, then both ##\lim_{x\rightarrow 0}\lim_{y\rightarrow 0} f(x,y)## and ##\lim_{y\rightarrow 0}\lim_{x\rightarrow 0} f(x,y)## exist and are finite.
A proof occurred to me. At first I thought we could use the intermediate value theorem on the two paths, until I realized that they don't necessarily map out the locus of functions from ##\mathbb R## to ##\mathbb R##. We can adapt the curves to remove 'turn-backs' so they become functions, but we lose continuity, which is necessary to use the IVT.andrewkirk said:I think it would be straightforward to prove that the proposition is true (ie there is no counterexample) if one replaces 'connected' by 'path-connected'.
There's a second part: https://www.physicsforums.com/threads/yet-another-counterexample-challenge.869304/mfb said:I missed this thread :(.
Can you add links to the posted solutions to the first post?
Misconception alert!micromass said:SOLVED BY fresh_42 If ##(a_n)_n## is a sequence such that for each positive integer ##p## holds that ##\lim_{n\rightarrow +\infty} a_{n+p} - a_n = 0##, then ##a_n## converges.
It is not. The order of ##\epsilon##, N and p is different, and this difference matters.Abdullah Naeem said:Is this the same as "for all ##\epsilon >0##, there exists ##N,p## such that ##d(x_{n+p},x_n)< \epsilon## whenever ##n \geq N## "?
Doesn't this work? : Consider any irrational x. As singletons ( and finite sets ) are open, then consider its complement in the Real line: ## \mathbb R ##- { ##x ##}, which is open as the complement of the closed set { ## x ##}? And, since we only removed an irrational, ## \mathbb Q ## is contained in it. This gives us uncountably-many (counter) examples.Samy_A said:Nice, some I know, some not.
Let me try 1:
Any open set ##G## such that ##\mathbb{Q}\subseteq G\subseteq \mathbb{R}## has either ##G=\mathbb{Q}## or ##G=\mathbb{R}##.
Set ##\mathbb{Q} = \{ q_1,q_2,q_3, ...\}##
Let's build an open set ##G## such that ##\mathbb{Q}\subseteq G## that can be written as ##G=\cup ]q_n-\epsilon_n,q_n+\epsilon_n[##.
##\mathbb{Q}\subseteq G## is trivially true. That ##G## is open is also trivial, as ##G## is the union of open sets.
Also, any open interval in ##\mathbb R## will contain irrational numbers, so that ##\mathbb{Q} \neq G##.
Now, we don't want ##G=\mathbb{R}##.
So let's build the ##\epsilon_n## such that some chosen non rational number is not in ##G##.
##\pi## is not a rational number.
Set ##\displaystyle \epsilon_n=\frac{1}{2}\min_{m \leq n} |\pi -q_m|##.
Clearly ##\epsilon_n>0##. Also ##\pi \notin ]q_n-\epsilon_n,q_n+\epsilon_n[##, since ##|\pi- q_n| \geq 2\epsilon_n \gt \epsilon_n## (and this for all ##n##).
Hence ##\pi \notin G##.
EDIT: I think my definition of the ##\epsilon_n## is too complicated.
##\displaystyle \epsilon_n=\frac{1}{2}|\pi -q_n|## would also work.
That is basically what @Samy_A constructed, just with a much shorter argument.WWGD said:Doesn't this work? : Consider any irrational x. As singletons ( and finite sets ) are open, then consider its complement in the Real line: ## \mathbb R ##- { ##x ##}, which is open as the complement of the closed set { ## x ##}? And, since we only removed an irrational, ## \mathbb Q ## is contained in it. This gives us uncountably-many (counter) examples.