Prove that {q ∈ Q:q^2} is Everywhere Dense in Q

  • Thread starter TylerH
  • Start date
In summary, the conversation was about trying to prove the density of rational squares in the set of all rational numbers. The speaker proposed a plan of attack to prove this and discussed the implications of a limit they had calculated. However, upon further examination, the speaker realized that their argument was not sufficient to prove density and received constructive criticism from the other speaker. They then clarified their definition of density and continued to work on their proof.
  • #1
TylerH
729
0
First, do not give me the answer, please. This is for fun, and I want to see if I can do it.

My plan of attack:

Prove that for any m/n, where m and n are natural numbers, there is no p2/q2 < m/n, where p and q are natural numbers, such that p2/q2 is larger than all other rational squares less than m/n.

Prove that for any m/n, where m and n are natural numbers, there is no p2/q2 > m/n, where p and q are natural numbers, such that p2/q2 is smaller than all other rational squares more than m/n.

Would this prove what I intend it to, and is it possible?
 
Physics news on Phys.org
  • #2
Yes, proving even one of these statements would prove that [tex]\{q^2~\vert~q\in \mathbb{Q}\}[/tex] is dense.

Is it possible to prove these statements? I think so, but the proof will still be difficult...
 
Last edited:
  • #3
Okay, so, I chose to prove that there is no square rational less than a rational.

To do so, I'm going to prove there is no square rational less than all other square rationals more than that square rational. This can be proven by taking the limit [tex]lim_{n \to \infty} \left( \frac{p q^n + 1}{q^{n + 1}} \right)^2=\frac{p^2}{q^2}[/tex]. Intuition tells me that this fact alone is enough to prove the density of q^2 in Q, but I will continue anyway.

The above limit has the implication that, for a sufficiently large n, there is no number closer to [tex]\frac{p^2}{q^2}[/tex] than [tex]\left( \frac{p q^n + 1}{q^{n + 1}} \right)^2[/tex], therefore, since each term of the limit is a square itself, there is no number closer to [tex]\frac{p^2}{q^2}[/tex] than a square that can be found with [tex]\left( \frac{p q^n + 1}{q^{n + 1}} \right)^2[/tex].

I'm not sure if this can be considered conclusive. Can you find any fallacies in my logic? Do you have any suggestions on better ways to say things? I'm in calculus I, and have had no formal teaching higher than that, and the way I talk math sometimes shows my lack of experience. I'm open to any constructive criticism.
 
  • #4
Hmmm, I'm not sure if I understood your argument. So correct me if I misunderstood anything...

TylerH said:
Okay, so, I chose to prove that there is no square rational less than a rational.
Ok, so far so good.

To do so, I'm going to prove there is no square rational less than all other square rationals more than that square rational.

Hmmm, forgive me, but I have some troubles understanding what you mean here. Can you perhaps state this in symbols...

This can be proven by taking the limit [tex]lim_{n \to \infty} \left( \frac{p q^n + 1}{q^{n + 1}} \right)^2=\frac{p^2}{q^2}[/tex]. Intuition tells me that this fact alone is enough to prove the density of q^2 in Q, but I will continue anyway.

OK, the limit is of course correct. But I don't think that this is sufficient to prove the density of [tex]\{q^2~\vert~q\in \mathbb{Q}^2\}[/tex]. For density, you need to show:
for every rational q, there exists a sequence of rational squares [tex](q_n^2)_n[/tex] such that [tex]q_n^2\rightarrow q[/tex]. But the point is that you only show this for rationals of the form [tex]q=p^2/q^2[/tex], but you need to show it for all rationals...

The above limit has the implication that, for a sufficiently large n, there is no number closer to [tex]\frac{p^2}{q^2}[/tex] than [tex]\left( \frac{p q^n + 1}{q^{n + 1}} \right)^2[/tex],
If I understand this correct, then this is certainly not correct. You claim that, for a sufficiently large n, we have that [tex]\left( \frac{p q^n + 1}{q^{n + 1}} \right)^2[/tex] is the closest number to [tex]\frac{p^2}{q^2}[/tex]. But there are always numbers, between [tex]\left( \frac{p q^n + 1}{q^{n + 1}} \right)^2[/tex] and [tex]\frac{p^2}{q^2}[/tex], for arbitrary large n!
But like I said, I probably misunderstood what you meant here...

I hope my comments were a bit helpful. I do think you have the correct idea, but I don't quite see it.
 
  • #5
micromass said:
Hmmm, forgive me, but I have some troubles understanding what you mean here. Can you perhaps state this in symbols...
I don't know how to say this in symbols. It just means that there is no "next" square rational, and that it is possible to find another sufficiently close to the original to be closer than any number one can name.

micromass said:
If I understand this correct, then this is certainly not correct. You claim that, for a sufficiently large n, we have that [tex]\left( \frac{p q^n + 1}{q^{n + 1}} \right)^2[/tex] is the closest number to [tex]\frac{p^2}{q^2}[/tex]. But there are always numbers, between [tex]\left( \frac{p q^n + 1}{q^{n + 1}} \right)^2[/tex] and [tex]\frac{p^2}{q^2}[/tex], for arbitrary large n!
But like I said, I probably misunderstood what you meant here...
I meant that for any rational, m/n, and any p^2/q^2 < m/n, [tex]\frac{p^2}{q^2} < \left( \frac{p q^n + 1}{q^{n + 1}} \right)^2 < \frac{m}{n}[/tex] can always be satisfied, given a sufficiently large n.
 
  • #6
Ah yes, I see now! So now you've proven that there is no greatest rational square that is smaller then m/n. That's already a good first step! So now you have to use this somehow to prove density...
 
  • #7
Wait... I thought you said "even proving one of these statements" would be enough.

What definition of dense are you using?

When I say, "Prove that {q ∈ Q:q^2} is Everywhere Dense in Q," I mean to prove that for any open interval in Q, there is at a member of {q ∈ Q:q^2} in it.
 
  • #8
TylerH said:
Wait... I thought you said "even proving one of these statements" would be enough.

Yes, I know I said that, but I was wrong, sorry :frown:

A simple way of seeing this: ]0,1[ is not dense in R, but for every real number x, there is no largest element of ]0,1[ which is smaller then x.

I'm sorry if I caused any confusion...
 
  • #9
I see where I messed up. I've proven p^2 exists in the open interval (q^2, r). The fallacy is that my proof requires the lower bound to be a square rational. Any ideas on how I could modify what I have to remove that flaw?
 
  • #10
Okay, new idea. I will find a square in the open interval (m/n, p/q).

[tex]\left( \frac{m}{n}, \frac{p}{q} \right) = \left( \frac{mq}{nq}, \frac{np}{nq} \right) = \left( \frac{mnq^2}{\left( nq \right)^2}, \frac{n^2pq}{\left( nq \right)^2} \right) = \left( \frac{mq}{nq} \left( \frac{nq}{nq} \right)^{2k+1}, \frac{np}{nq} \left( \frac{nq}{nq} \right)^{2k+1}} \right)[/tex]
Since we know that the denominator is a square for integer values of k ≥ 0, all we must prove is that there is an integer square in the interval (mq(nq)2k+1, p(nq)2k+1) for integer values of k ≥ 0. I say that there is at least one integer square in any arbitrarily large integer interval. Does this need to be proven?
 
  • #11
Yes, this certainly needs to be proven! And I can also find arbitrary large intervals with no squares in it, so you'll need to choose your interval in a particularly nice way!

You may want to consider a special case first: For every [tex]\epsilon>0[/tex], find a rational square in ]2-\epsilon,2[... This actually comes down to finding two integers p and q, such that [tex]q^2(2-\epsilon)<p^2<q^2[/tex]. Thus you must find an integer square in [tex][q^2(2-\epsilon),q^2][/tex] for q large enough.

I'll give you a hint: the distance between two consecutive squares [tex]n^2[/tex] and [tex](n+1)^2[/tex] is 2n+1. Thus if your interval [tex][q^2(2-\epsilon),q^2][/tex] is larger than 2n+1 (whatever n is), then you are guaranteed that a square exists in that interval!
 
  • #12
I knew that! Binomial theorem, duh! :tongue: Thanks, for the suggestion, I know how I'll prove it now.

So, would it be sufficient to show how to find a k large enough to find an interval guaranteed to contain a square, for any m, n, p, and q? (As that would imply one must exist.)

[tex]np\left( nq \right)^{2k+1} - mq\left( pq \right)^{2k+1} \ge 2mq\left( pq \right)^{2k+1}+1[/tex]
Finding k is trivial, so I'll leave it to the reader as an exercise. lol I'll try, but something tells me it'll be kinda hard, since it is a transcendental equation.
 
  • #13
TylerH said:
[tex]np\left( nq \right)^{2k+1} - mq\left( pq \right)^{2k+1} \ge 2mq\left( pq \right)^{2k+1}+1[/tex]

You made a small mistake that I also made, the correct equation is:

[tex]np\left( nq \right)^{2k+1} - mq\left( pq \right)^{2k+1} \ge 2\sqrt{mq\left( pq \right)^{2k+1}}+1[/tex]

The reason for the square root is the following: if n2 is an integer, then the next square is at a distance 2n+1 (thus the square on the n disappears).
Thus: if k is an integer, then the next square is certainly within the distance of [tex]2\sqrt[k]+1[/tex].

You actually made it quite difficult on yourself by considering the variable k as an exponent. This yields a transcendental equation which is hard to solve! You could make it easier on yourself as follows:

we want to find a prime square in [tex]]m/n,p/q[[/tex]. Thus we must find rational numbers r and s such that [tex]m/n<r^2/s^2<p/q[/tex]. Thus [tex]s^2m/n<r^2<s^2p/q[/tex]. So we must find an integer square in [tex]]s^2m/n,s^2p/q[[/tex], where s is variable. This will yields an equation which is quite nice to solve!
 
  • #14
Of course you mean that q^2 for q in Q is dense in [tex]Q^+ \cup \{0\}[/tex]. This is actually quite easy. Q is dense in the reals, so there is a sequence in q converging to any number in [tex]\{ \sqrt{q}|q \in \mathbb{Q}^+\cup \{0\}\}[/tex]. Hence there is a sequence in [tex]\{ q^2|q \in \mathbb{Q}^\}[/tex] converging to any number in [tex]Q^+ \cup \{0\}[/tex], as sqrt(x) is continuous on the non-negative real domain.
 
  • #15
Jarle said:
Of course you mean that q^2 for q in Q is dense in [tex]Q^+ \cup \{0\}[/tex]. This is actually quite easy. Q is dense in the reals, so there is a sequence in q converging to any number in [tex]\{ \sqrt{q}|q \in \mathbb{Q}^+\cup \{0\}\}[/tex]. Hence there is a sequence in [tex]\{ q^2|q \in \mathbb{Q}^\}[/tex] converging to any number in [tex]Q^+ \cup \{0\}[/tex], as sqrt(x) is continuous on the non-negative real domain.

Hmmm, of course... How stupid of me...
 
  • #16
I wanted to avoid the reals, since the are higher in complexity that the rationals, and instead work it down to a problem of naturals. Although not as elegant as Jarle's, here's my proof:
[tex]p^2/q^2 \in (a/b,c/d)\mbox{ where p,q,a,b,c,d} \in Z^+\mbox{ and }q,b,d \neq 0[/tex]
[tex]a/b = \frac{ab^{2n-1}d^{2n}}{(bd)^{2n}}\mbox{ and }c/d = \frac{cb^{2n}d^{2n-1}}{(bd)^{2n}} \Rightarrow (a/b, c/d) = \left( \frac{ab^{2n-1}d^{2n}}{(bd)^{2n}}, \frac{cb^{2n}d^{2n-1}}{(bd)^{2n}} \right)\mbox{ where n}\in Z[/tex]
[tex]p^2/q^2 \in (a/b,c/d)\mbox{ and }(a/b, c/d) = \left( \frac{ab^{2n-1}d^{2n}}{(bd)^{2n}}, \frac{cb^{2n}d^{2n-1}}{(bd)^{2n}} \right) \Rightarrow p^2/q^2 \in \left( \frac{ab^{2n-1}d^{2n}}{(bd)^{2n}}, \frac{cb^{2n}d^{2n-1}}{(bd)^{2n}} \right)[/tex]
[tex]p^2/q^2 \in \left( \frac{ab^{2n-1}d^{2n}}{(bd)^{2n}}, \frac{cb^{2n}d^{2n-1}}{(bd)^{2n}} \right) \Rightarrow \frac{ab^{2n-1}d^{2n}}{(bd)^{2n}} < p^2/q^2 < \frac{cb^{2n}d^{2n-1}}{(bd)^{2n}}[/tex]
[tex]\mbox{Let }q^2=(bd)^2\mbox{ and multiply to cancel the denominators.}[/tex]
[tex]ab^{2n-1}d^{2n} < p^2 < cb^{2n}d^{2n-1}[/tex]

Proof that the above is an arbitrarily large interval:
[tex]\lim_{n \to \infty}cb^{2n}d^{2n-1} - ab^{2n-1}d^{2n} = \lim_{n \to \infty}(c/d-a/b)(bd)^{2n}[/tex]
[tex]\lim_{n \to \infty}(c/d-a/b)(bd)^{2n} = (c/d-a/b)\lim_{n \to \infty}(bd)^{2n}[/tex]
[tex](c/d-a/b)\lim_{n \to \infty}(bd)^{2n} = \infty[/tex]

Proof that there is an integer in any arbirarily large positive integer interval:
[tex]c^2 \in (a,b)\mbox{where a,b,c}\in Z^+ \Rightarrow a<c^2<b[/tex]
[tex]a<c^2<b \Rightarrow a^2<c^4<b^2[/tex]
EDIT: Actually... I can't say this prooves anything... How could I proove this?

Therefore, there is an n for which there exists a p^2 within the interval.
 
  • #17
TylerH said:
First, do not give me the answer, please. This is for fun, and I want to see if I can do it.

My plan of attack:

Prove that for any m/n, where m and n are natural numbers, there is no p2/q2 < m/n, where p and q are natural numbers, such that p2/q2 is larger than all other rational squares less than m/n.

Prove that for any m/n, where m and n are natural numbers, there is no p2/q2 > m/n, where p and q are natural numbers, such that p2/q2 is smaller than all other rational squares more than m/n.

Would this prove what I intend it to, and is it possible?

Right but you do not have a method of proof yet.

Suppose you had a continuous map that was also open. That is, it maps open sets into open sets. do you think that it would map dense sets into dense sets?
 
  • #18
lavinia said:
Right but you do not have a method of proof yet.

Suppose you had a continuous map that was also open. That is, it maps open sets into open sets. do you think that it would map dense sets into dense sets?

I've already decided that won't work. I've went with a new method in my most recent post. Please tell me what you think of it.
 
  • #19
x -> x^2 is continuous and surjective. The inverse image of any rational is surrounded by rationals arbitrarily close to it since the rationals are dense in the reals. So the rational is surrounded by squares of rationals arbitrarily close to it since x^2 is continuous.

Why is that wrong?
 
  • #20
There's absolutely nothing wrong with that. But, I want to do it my way. (That was kinda the point behind
don't give me the answer.") Could you please critique it?
TylerH said:
I wanted to avoid the reals, since the are higher in complexity that the rationals, and instead work it down to a problem of naturals. Although not as elegant as Jarle's, here's my proof:
[tex]p^2/q^2 \in (a/b,c/d)\mbox{ where p,q,a,b,c,d} \in Z^+\mbox{ and }q,b,d \neq 0[/tex]
[tex]a/b = \frac{ab^{2n-1}d^{2n}}{(bd)^{2n}}\mbox{ and }c/d = \frac{cb^{2n}d^{2n-1}}{(bd)^{2n}} \Rightarrow (a/b, c/d) = \left( \frac{ab^{2n-1}d^{2n}}{(bd)^{2n}}, \frac{cb^{2n}d^{2n-1}}{(bd)^{2n}} \right)\mbox{ where n}\in Z[/tex]
[tex]p^2/q^2 \in (a/b,c/d)\mbox{ and }(a/b, c/d) = \left( \frac{ab^{2n-1}d^{2n}}{(bd)^{2n}}, \frac{cb^{2n}d^{2n-1}}{(bd)^{2n}} \right) \Rightarrow p^2/q^2 \in \left( \frac{ab^{2n-1}d^{2n}}{(bd)^{2n}}, \frac{cb^{2n}d^{2n-1}}{(bd)^{2n}} \right)[/tex]
[tex]p^2/q^2 \in \left( \frac{ab^{2n-1}d^{2n}}{(bd)^{2n}}, \frac{cb^{2n}d^{2n-1}}{(bd)^{2n}} \right) \Rightarrow \frac{ab^{2n-1}d^{2n}}{(bd)^{2n}} < p^2/q^2 < \frac{cb^{2n}d^{2n-1}}{(bd)^{2n}}[/tex]
[tex]\mbox{Let }q^2=(bd)^2\mbox{ and multiply to cancel the denominators.}[/tex]
[tex]ab^{2n-1}d^{2n} < p^2 < cb^{2n}d^{2n-1}[/tex]

Proof that the above is an arbitrarily large interval:
[tex]\lim_{n \to \infty}cb^{2n}d^{2n-1} - ab^{2n-1}d^{2n} = \lim_{n \to \infty}(c/d-a/b)(bd)^{2n}[/tex]
[tex]\lim_{n \to \infty}(c/d-a/b)(bd)^{2n} = (c/d-a/b)\lim_{n \to \infty}(bd)^{2n}[/tex]
[tex](c/d-a/b)\lim_{n \to \infty}(bd)^{2n} = \infty[/tex]

Proof that there is an integer in any arbirarily large positive integer interval:
[tex]c^2 \in (a,b)\mbox{where a,b,c}\in Z^+ \Rightarrow a<c^2<b[/tex]
[tex]a<c^2<b \Rightarrow a^2<c^4<b^2[/tex]
EDIT: Actually... I can't say this prooves anything... How could I proove this?

Therefore, there is an n for which there exists a p^2 within the interval.
 
  • #21
TylerH said:
[tex]\mbox{Let }q^2=(bd)^2\mbox{ and multiply to cancel the denominators.}[/tex]
[tex]ab^{2n-1}d^{2n} < p^2 < cb^{2n}d^{2n-1}[/tex].
This seems to be a mistake. Or I don't understand it. Why can you let q^2 = (bd)^2?

Also to prove density I think you must use the Euclidean metric at some point.
 
  • #22
Yeah, the other person I showed it to said that too... Since p and q are free(I'm only trying to prove they exist), I can set q to (bd)^n and multiply to get rid of the denominator on all sides of the inequality. In other words, q *was* free, but I give it a specific value because it advances the proof.

It's like saying there is a p^2/q^2 in (1/16,13/16) then letting q^2=16(since 16 is an integer squared) which implies 1 < p^2 < 13. All I need now, is to prove there is an integer squared between 1 and 13. This is not always true, but it is true that you can extend the range between the numerators(like I do with the arbitrary n in my attempt at a proof).
 

What does "Prove that {q ∈ Q:q^2} is Everywhere Dense in Q" mean?

This statement is asking you to prove that the set of rational numbers (denoted by Q) whose square is also a rational number (denoted by q^2) is everywhere dense in the set of rational numbers.

What does it mean for a set to be "everywhere dense"?

A set is everywhere dense if it contains points that are arbitrarily close to every point in the larger set. In other words, every point in the larger set can be approximated by a point in the smaller set.

Why is this statement important in mathematics?

This statement is important because it demonstrates the density of rational numbers in the set of all rational numbers. It also has implications in other areas of mathematics, such as analysis and number theory.

How can I prove that {q ∈ Q:q^2} is everywhere dense in Q?

There are several methods for proving this statement, including using the Archimedean property of real numbers, the density of rational numbers in real numbers, and the fact that rational numbers are countable. Consult a mathematics textbook or consult with a mathematician for specific proof techniques.

What are some real-world applications of this statement?

This statement has applications in fields such as physics, engineering, and computer science. For example, it can be used to approximate irrational numbers (such as pi) with rational numbers, which can be more easily manipulated and used in calculations. It also has implications in the study of prime numbers and the distribution of primes.

Similar threads

Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
549
Replies
35
Views
6K
  • Calculus
Replies
7
Views
1K
  • Linear and Abstract Algebra
Replies
11
Views
1K
  • Calculus and Beyond Homework Help
Replies
20
Views
2K
Replies
1
Views
154
  • Science and Math Textbooks
Replies
10
Views
2K
Back
Top