Micromass' big counterexample challenge

In summary: I want to say? Ok, one can find a rational number in any interval ##]a-\epsilon,a+\epsilon[##, ##a \in \mathbb R## and ##\epsilon >0##. Don't hesitate to post any feedback in the thread!In summary, a counterexample to the statement "Any open set ##G## such that ##\mathbb{Q}\subseteq G\subseteq \mathbb{R}## has either ##G=\mathbb{Q}## or ##G=\mathbb{R}##" is building an open set ##G## that contains all rational numbers but not all real numbers. This can be achieved by constructing a set ##G## as the union of
  • #1
micromass
Staff Emeritus
Science Advisor
Homework Helper
Insights Author
22,183
3,321
I adore counterexamples. They're one of the most beautiful things about math: a clevery found ugly counterexample to a plausible claim. Below I have listed 10 statements about basic analysis which are all false. Your job is to find the correct counterexample. Some are easy, some are not so easy. Here are the rules:

  • For a counterexample to count, the answer must not only be correct, but a detailed argumentation must also be given as to why it is a counterexample.
  • Any use of outside sources is allowed, but do not look up the question directly. For example, it is ok to go check analysis books, but it is not allowed to google the exact question.
  • If you previously encountered this statement and remember the solution, then you cannot participate in this particular statement.
  • All mathematical methods are allowed.
Here you go:

  1. SOLVED BY Samy_A Any open set ##G## such that ##\mathbb{Q}\subseteq G\subseteq \mathbb{R}## has either ##G=\mathbb{Q}## or ##G=\mathbb{R}##.
  2. SOLVED BY ResrupRL Every symmetric matrix in ##\mathcal{M}_n(\mathbb{C})## is diagonalizable for each ##n##
  3. SOLVED BY stevendaryl Every ##C^1## function ##f:\mathbb{R}\rightarrow \mathbb{R}## that is square-integrable, that is ##\int_{-\infty}^{+\infty} |f(x)|^2 dx <+\infty##, has ##\lim_{x\rightarrow +\infty} f(x) = 0##.
  4. SOLVED BY andrewkirk 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\}##.
  5. SOLVED BY ProfuselyQuarky Every derivative of a differentiable function is continuous.
  6. SOLVED BY Samy_A For any ##A\subseteq \mathbb{R}## open holds that if ##f^\prime(x) = g^\prime(x)## for each ##x\in A##, then there is some ##C\in \mathbb{R}## such that ##f(x) = g(x) + C##.
  7. 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.
  8. SOLVED BY jbriggs444 There is no function ##f:\mathbb{R}\rightarrow \mathbb{R}## whose graph is dense in ##\mathbb{R}^2##.
  9. SOLVED BY andrewkirk 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.
  10. SOLVED BY andrewkirk If ##A## and ##B## are connected subsets of ##[0,1]\times [0,1]## such that ##(0,0),(1,1)\in A## and ##(1,0), (0,1)\in B##, then ##A## and ##B## intersect.
Thank you all for participating! I hope some of these statements were surprising to some of you and I hope some of you have fun with this! Don't hesitate to post any feedback in the thread!

I will give the source of each statement after the correct answer has been given.
 
Last edited:
Physics news on Phys.org
  • #2
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.
 
Last edited:
  • Like
Likes micromass and fresh_42
  • #3
micromass said:
Don't hesitate to post any feedback in the thread!
The polite feedback: Great examples and at first glimpse rather tough ones.
The philosophical feedback: Do not take any obvious claims for granted unless proven (esp. in topology).
The optimist's feedback: An entertaining Alzheimer prophylaxis.
The pessimist's feedback: Hell, am I stupid.
The humorous feedback: You've had a topologist for breakfast, haven't you?
The practical feedback: I'm afraid of typing in one of those counterexamples even if I had found them.
The hairsplitter's feedback: I assume (0,0) denotes a point in the plane and not an open interval.
The personal feedback: Those things drive me crazy since I'm strongly attracted to find them out. If it only weren't such a time and paper killer.
The micromass' feedback: I know there is a solution. (ref. to the integral in Roman numbers)
The PF standard feedback: Wouldn't this be a hilarious insight?
 
  • Like
Likes mfb, Abdullah Naeem, ProfuselyQuarky and 1 other person
  • #4
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.
Can't it be that ##\pi \in ]q_m - ε_m, q_m+ε_m [## for some ##m ≠ n##? One can find a rational number at each distance to ##\pi##.
 
  • #5
fresh_42 said:
Can't it be that ##\pi \in ]q_m - ε_m, q_m+ε_m [## for some ##m ≠ n##?
I don't understand what ##n## is in your question.

But I've been somewhat sloppy, let me rewrite it.

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)_n## such that some chosen non rational number is not in ##G##.
##\pi## is not a rational number.
##\forall n \geq 1##, set ##\displaystyle \epsilon_n=\frac{1}{2}|\pi -q_n|##
##\forall n \geq 1##, clearly ##\epsilon_n>0##.
Also, ##\forall n \geq 1##, ##\pi \notin ]q_n-\epsilon_n,q_n+\epsilon_n[##, since ##|\pi- q_n| = 2\epsilon_n > \epsilon_n##. Hence ##\pi \notin G##.
 
  • #6
Thanks. The ∀ quantor makes it clear. I was distrait by the minimum which made me somehow "fix" the n. Sorry. Nice solution. Do you have any idea about the square problem?
 
  • #7
Maybe I'm thinking #1 is easier than it actually is, but why not something as simple as ##G=(-\infty , \pi)\cup(\pi,\infty)##? In other words, ##G = \mathbb{R}/\{\pi\}##. It's open because it's a union of open sets. Since ##\mathbb{Q} \subset \mathbb{R}## and the only number in ##\mathbb{R}## which is excluded from ##G## (that is, ##\pi##) is irrational (proof not included :wink:), the second definition shows that ##\mathbb{Q} \subseteq G##. Since irrational numbers like ##2\pi## are in ##G##, ##G \neq \mathbb{Q}##. Since ##\pi \in \mathbb{R}## is explicitly excluded from ##G##, ##G \neq \mathbb{R}##. Is there something wrong with this example?
 
  • Like
Likes dextercioby and Samy_A
  • #8
TeethWhitener said:
Maybe I'm thinking #1 is easier than it actually is, but why not something as simple as ##G=(-\infty , \pi)\cup(\pi,\infty)##? In other words, ##G = \mathbb{R}/\{\pi\}##. It's open because it's a union of open sets. Since ##\mathbb{Q} \subset \mathbb{R}## and the only number in ##\mathbb{R}## which is excluded from ##G## (that is, ##\pi##) is irrational (proof not included :wink:), the second definition shows that ##\mathbb{Q} \subseteq G##. Since irrational numbers like ##2\pi## are in ##G##, ##G \neq \mathbb{Q}##. Since ##\pi \in \mathbb{R}## is explicitly excluded from ##G##, ##G \neq \mathbb{R}##. Is there something wrong with this example?

No, this is the easiest example, but Samy_A's example works too and he was first, so the credits go to him :smile:
 
  • #9
fresh_42 said:
Thanks. The ∀ quantor makes it clear. I was distrait by the minimum which made me somehow "fix" the n. Sorry. Nice solution. Do you have any idea about the square problem?
No.
I have a guess, but I will put it in a spoiler so as to not distract or wrongfoot people who want to try it.
Maybe the Topologist's sine curve can be used to build a counterexample.
 
  • #10
TeethWhitener said:
Maybe I'm thinking #1 is easier than it actually is, but why not something as simple as ##G=(-\infty , \pi)\cup(\pi,\infty)##? In other words, ##G = \mathbb{R}/\{\pi\}##. It's open because it's a union of open sets. Since ##\mathbb{Q} \subset \mathbb{R}## and the only number in ##\mathbb{R}## which is excluded from ##G## (that is, ##\pi##) is irrational (proof not included :wink:), the second definition shows that ##\mathbb{Q} \subseteq G##. Since irrational numbers like ##2\pi## are in ##G##, ##G \neq \mathbb{Q}##. Since ##\pi \in \mathbb{R}## is explicitly excluded from ##G##, ##G \neq \mathbb{R}##. Is there something wrong with this example?
Of course!
 
  • #11
fresh_42 said:
The practical feedback: I'm afraid of typing in one of those counterexamples even if I had found them.
That's me :frown: I've got a killer counterexample for #5 but heck no way am I going to post it here.
 
  • #12
micromass said:
No, this is the easiest example, but Samy_A's example works too and he was first, so the credits go to him :smile:
Absolutely. I just wanted to make sure I wasn't missing something fundamental.
 
  • #13
ProfuselyQuarky said:
That's me :frown: I've got a killer counterexample for #5 but heck no way am I going to post it here.
Why is that?
 
  • #14
Samy_A said:
Why is that?
Reason #1: I’ve got like 10 minutes before leaving for my foreign language class and I stink at LaTeX, so it’ll take me a long while to figure out how to type it all up. It would take even longer to scan my scratch paper and upload it.

Reason #2: I’m 99.9% sure my counterexample is legitimate, but my fear is always “I probably missed something and so it’s probably wrong and someone will probably point out the mistake in a sarcastic way that’s meant to be funny but I'll take the wrong way and won’t find it funny”

And now, I shall log off . . .
 
  • #15
7. ##a_n = \sum_{k=1}^{k=n} \frac{1}{k}##. But I have the same difficulty as TeethWhitener. What am I missing?
 
  • Like
Likes Samy_A and micromass
  • #16
fresh_42 said:
7. ##a_n = \sum_{k=1}^{k=n} \frac{1}{k}##. But I have the same difficulty as TeethWhitener. What am I missing?

Nothing. That is the right counterexample.
 
  • #17
ProfuselyQuarky said:
Reason #1: I’ve got like 10 minutes before leaving for my foreign language class and I stink at LaTeX, so it’ll take me a long while to figure out how to type it all up. It would take even longer to scan my scratch paper and upload it.

Reason #2: I’m 99.9% sure my counterexample is legitimate, but my fear is always “I probably missed something and so it’s probably wrong and someone will probably point out the mistake in a sarcastic way that’s meant to be funny but I'll take the wrong way and won’t find it funny”

And now, I shall log off . . .

Come on, post it!
 
  • #18
micromass said:
There is no function ##f:\mathbb{R}\rightarrow \mathbb{R}## whose graph is dense in ##\mathbb{R}^2##
Consider the set of canonical decimal expansions such that the first set of n digits after the decimal are arbitrary, the next n digits are all zero and the remaining digits are all non-zero for some strictly positive integer n. For any given decimal it is easy to decide whether it is of this form. Further, for any number of this form, there is only one value of n for which the constraint will hold. It is clear that reals with canonical decimals of this form are dense in the reals.

Consider the trailing non-zero digits in decimals of this form. This is an infinite string of digits in the range 1-9 and can be used to arbitrarily encode information of one's choice. The remainder of the challenge is simply dotting the i's and crossing the t's.

Let the first digit encode a sign. 1 => +1. 2 => -1. 3-9 => 0. Call this ##S##.

Let the second digit encode a sign on the exponent. 1 => +1, 2 => -1. 3-9 => zero. Call this ##s##

Let the next digits encode an exponent. 9 = end of sub-string, subtract 1 from each of the intervening digits to produce the octal expansion of a non-negative integer. If there is no 9 in the string, the exponent is taken as zero. If a 9 appears immediately, the exponent is taken as zero. Call this ##e##

Subtract 1 from each of the remaining digits to produce the base nine fraction with the radix point assumed to the left of the first digit. If there are no remaining digits (e.g. if the trailing non-zero digits have no 9) then this mantissa is taken as zero. Call it ##m##.

Let f(x) = x if the canonical decimal expansion of x fails to take the requisite form.
Let f(x) = ##Sm\cdot9^{se}## if the canonical decimal expansion of x does take the requisite form.

For any given (x,y) pair and any given tolerance it is clear that we can find infinitely many base 9 floating point values within that tolerance of y. And it is also clear that we can find infinitely many reals within the tolerance of x with canonical decimal expansions that encode such a base 9 floating point value. Which is to say that the graph of f is dense in R^2.
 
Last edited:
  • Like
Likes Samy_A and micromass
  • #19
jbriggs444 said:
Consider the set of canonical decimal expansions such that the first set of n digits after the decimal are arbitrary, the next n digits are all zero and the remaining digits are all non-zero for some strictly positive integer n. For any given decimal is is easy to decide whether it is of this form. Further, for any number of this form, there one value of n for which the constraint will hold. It is clear that reals with canonical decimals of this form are dense in the reals.

Consider the trailing non-zero digits in decimals of this form. This is an infinite string of digits in the range 1-9 and can be used to arbitrarily encode information of one's choice. The remainder of the challenge is simply dotting the i's and crossing the t's.

Let the first digit encode a sign. 1 => +1. 2 => -1. 3-9 => 0. Call this ##S##.

Let the second digit encode a sign on the exponent. 1 => +1, 2 => -1. 3-9 => zero. Call this ##s##

Let the next digits encode an exponent. 9 = end of sub-string, subtract 2 from each of the intervening digits to produce the octal expansion of a non-negative. If there is no 9 in the string, the exponent is taken as zero. If a 9 appears immediately, the exponent is taken as zero. Call this ##e##

Subtract 1 from each of the remaining digits to produce the base nine fraction with the radix point assumed to the left of the first digit. If there are no remaining digits (e.g. if the trailing non-zero digits have no 9) then this mantissa is taken as zero. Call it ##m##.

Let f(x) = x if the canonical decimal expansion of x fails to take the requisite form.
Let f(x) = ##Sm\cdot9^{se}## if the canonical decimal expansion of x does take the requisite form.

For any given (x,y) pair and any given tolerance it is clear that we can find infinitely many base 9 floating point values within that tolerance of y. And it is also clear that we can find infinitely many reals within the tolerance of x with canonical decimal expansions that encode such a base 9 floating point value. Which is to say that the graph of f is dense in R^2.

Very beautiful solution!

As an alternative, every function ##f:\mathbb{R}\rightarrow \mathbb{R}## which satisfies ##f(x+y) = f(x) + f(y)## but is not linear/continuous/Lebesgue measurable/of the form ##f(x) = \alpha x## (these four are equivalent), has a graph dense in ##\mathbb{R}^2##.
Source: Herrlich "Axiom of Choice" Chapter 5.1
 
  • #20
micromass said:
For any ##A\subseteq \mathbb{R}## open holds that if ##f^\prime(x) = g^\prime(x)## for each ##x\in A##, then there is some ##C\in \mathbb{R}## such that ##f(x) = g(x) + C##.
Not sure I interpret this correctly, but anyway.
##A=]0,1[\cup ]2,3[##.
##f: A \to \mathbb R: x \mapsto x##
##g: A \to \mathbb R: x \mapsto x## for ##x \in ]0,1[##, ##x \mapsto x + 1 ## for ##x \in ]2,3[##.
##\forall x\in A: f'(x)=g'(x)=1##, but obviously there is no ##C\in \mathbb{R}## such that ##f(x) = g(x) + C##.
 
  • Like
Likes micromass
  • #21
Samy_A said:
Not sure I interpret this correctly, but anyway.
##A=]0,1[\cup ]2,3[##.
##f: A \to \mathbb R: x \mapsto x##
##g: A \to \mathbb R: x \mapsto x## for ##x \in ]0,1[##, ##x \mapsto x + 1 ## for ##x \in ]2,3[##.
##\forall x\in A: f'(x)=g'(x)=1##, but obviously there is no ##C\in \mathbb{R}## such that ##f(x) = g(x) + C##.
Right!
 
  • #22
For number six, the fact that there is a counterexample is especially counter-intuitive. I'd like to see that one solved.
edit: oh wait it has been...
 
  • #23
I'm curious for 10. :oldsmile:
 
  • Like
Likes micromass
  • #24
TheDemx27 said:
For number six, the fact that there is a counterexample is especially counter-intuitive. I'd like to see that one solved.

It just did. It's actually a pet peeve of mine. I see a lot of people writing
[tex]\int \frac{1}{x}dx = \log|x| + C[/tex]
while this is completely incorrect. The most general primitive of ##1/x## is not ##\log|x| + C##, but rahter
[tex]\log|x|+ \left\{\begin{array}{l} C_1 ~\text{if}~x<0\\ C_2 ~\text{if}~x>0 \end{array}\right.[/tex]
Where is the issue? The usual statement for ##6## comes from the mean-value theorem which only holds for connected domains (i.e. intervals). It does not hold when the domain of the function is not an interval, like the maximal domain for ##1/x##.

I really don't get why calculus books don't pay attention to this and even make errors against it. You'd think it's harmless, but I've seen a number of threads here by people who were confused by something that is essentially this.
 
  • #25
micromass said:
I really don't get why calculus books don't pay attention to this and even make errors against it. You'd think it's harmless, but I've seen a number of threads here by people who were confused by something that is essentially this.

Oh wow, I never knew that this "problem" exists. Never thought about it to be honest and indeed the calculus book I used (Adams) did that if I'm not mistaken.
 
  • Like
Likes micromass
  • #26
I think I know how to solve #3.
Suppose we let [itex]f^2(x) = \sum_{n=0}^{\infty} e^{-\lambda_n (x-n)^2}[/itex], where [itex]\lambda_n[/itex] is a sequence of constants. (So [itex]f(x)[/itex] is the square-root of the sum). Then it would certainly not be the case that [itex]lim_{x \rightarrow +\infty} f(x) = 0[/itex]. But the integral might still be finite:

[itex]\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}}[/itex]

This sum converges, provided that [itex]\lambda_n[/itex] grows sufficiently rapidly. For example, [itex]\lambda_n = 2^n[/itex].

So my answer is: [itex]f(x) = \sqrt{ \sum_{n=0}^{\infty} e^{-2^n (x-n)^2}}[/itex]

You'd have to prove that [itex]f(x)[/itex] is well-defined and differentiable, but I think it's true.
 
  • Like
Likes micromass
  • #27
:cry::cry: 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 :sorry:
 
Last edited:
  • Like
Likes micromass and Samy_A
  • #28
P.S. Can someone give me the code to properly type a limit without subscripts?
 
  • #29
ProfuselyQuarky said:
P.S. Can someone give me the code to properly type a limit without subscripts?
Do you mean this: ##\displaystyle \lim_{x\to0} x\sin \frac {1}{x}##?
 
  • Like
Likes ProfuselyQuarky
  • #30
Samy_A said:
Do you mean this: ##\displaystyle \lim_{x\to0} x\sin \frac {1}{x}##?
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}
 
  • #31
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.
 
  • Like
Likes ProfuselyQuarky
  • #32
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:
:cry::cry: 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 :sorry:
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)##.
 
  • Like
Likes ProfuselyQuarky
  • #33
micromass said:
Every derivative of a differentiable function is continuous.
##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.
 
  • #34
micromass said:
Add \displaymath before the limit.
Samy_A said:
As you can see in my previous post, adding the \displaystyle tag makes some LaTeX expressions nicer.
##\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:
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).
Yeah, sorry :redface:
 
  • #35
ProfuselyQuarky said:
:cry::cry: 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 :sorry:

That is correct!
 
  • Like
Likes ProfuselyQuarky

Similar threads

  • Math Proof Training and Practice
3
Replies
80
Views
4K
  • Math Proof Training and Practice
3
Replies
102
Views
9K
  • Math Proof Training and Practice
2
Replies
42
Views
6K
Replies
19
Views
995
  • Math Proof Training and Practice
2
Replies
61
Views
7K
  • Math Proof Training and Practice
3
Replies
93
Views
10K
  • Math Proof Training and Practice
2
Replies
55
Views
6K
  • Math Proof Training and Practice
2
Replies
69
Views
4K
  • Math Proof Training and Practice
3
Replies
100
Views
7K
  • Math Proof Training and Practice
2
Replies
61
Views
9K
Back
Top