Square numbers between n and 2n -- Check my proof please

In summary: I had tried to make (1) and (2) look similar, but it is only necessary that (2) exceed (1) by 1, not that the two be equal. I also had a sign error.
  • #1
Raffaele
6
0
I noticed that for any integer greater than 4 there exists at least one perfect square in the open interval (n, 2n). I think I have proved the statement, but as I am not a professional, I'd like someone to review my proof.

By induction we see that it is true for [itex]n=5[/itex] because [itex]5<9<10[/itex].

Now suppose that it is true for n, and let's prove it for n + 1.
From the inductive hypothesis we know that there is an x such that [itex]n<x^2<n+1[/itex]. This square should work for n + 1 too. Like in the case of [itex]n=5[/itex] the square 9 works for 6, 7 and 8 too. But not for [itex]n=9[/itex] or greater. Here we need the next square 16.

So if [itex]x^2\ge n+1[/itex] we must show that [itex](x+1)^2[/itex] is the square we need. In other words we have to verify that
[tex]n+1<(x+1)^2<2(n+1)[/tex]
Notice that for positive n, if [itex]x^2\le n+1[/itex] then [itex]x\le \sqrt{n+1}[/itex]. As [itex]n<x^2[/itex] it follows that
[tex]n+1<x^2+1<x^2+2x+1=(x+1)^2[/tex]
We have to show that [itex](x+1)^2<2(n+1)[/itex]
[tex](x+1)^2=x^2+2x+1<\left(n+1\right)+2\sqrt{n+1}+1[/tex]
[tex]\left(n+1\right)+2\sqrt{n+1}+1 < 2(n+1)[/tex]
[tex]n^2-4n-4>0\rightarrow n>2\sqrt 2 + 2\rightarrow n\ge 5[/tex]
So we proved that for any [itex]n\ge 5[/itex] there is at least one x such that [itex]n< x^2 < 2n[/itex].
 
Mathematics news on Phys.org
  • #2
The statement is true, but the proof looks more complicated than necessary - you don't need mathematical induction. All you need is (similar to what you have) is [itex] n\gt 2\sqrt{n} + 1[/itex] for n > 4.
 
  • #3
Looks like Your 4th sentence is false to start with.
##x^2 \geq n+1## ... consider n=8, interval is 9,10,11,12,13,14,15,16,17 ... there are two squares in the interval.
7th sentence... try verifying the statement by example... n=5
Then the expression asserts that 6<100<12 ... which is false.

At best you need to tidy up your notation.

By induction, you want to assume: ##\exists x\in\mathbb Z: n <x^2<2n## is true, then prove
##\exists x\in\mathbb Z: n+1 <x^2<2n+2## .
 
  • #4
No, you want to assume: ##\exists x \in\mathbb Z: n <x^2<2n## is true, then prove ##\exists y \in\mathbb Z: n+1 <y^2<2n+2## . Most of the time you can take y=x and this is trivial, but it doesn't always work.
 
  • #5
In fact, you can always find ##x## such that:

##\sqrt{n} < x \le \sqrt{n}+1##

This ##x## does the job unless ##6n \ge n^2 + 1##, which only holds for ##n < 6##

Then you can check ##n = 5## manually.
 
Last edited:
  • #6
My previous note is in error. The key expression should be [itex]\lfloor \sqrt{n} \rfloor +1 \lt \lceil \sqrt{2n} \rceil [/itex].
 

1. What are square numbers?

Square numbers are the numbers that are the result of multiplying a number by itself. For example, the square of 4 is 16, because 4 x 4 = 16.

2. How do I find square numbers between n and 2n?

To find square numbers between n and 2n, you can simply square all the numbers between n and 2n. For example, if n = 4, then the square numbers between n = 4 and 2n = 8 are 16, 25, 36, and 49.

3. Is there a formula for finding square numbers between n and 2n?

Yes, the formula for finding square numbers between n and 2n is (n+1)^2, (n+2)^2, ..., (2n)^2. This formula can be derived by squaring all the numbers between n and 2n.

4. Why is it important to check the proof for square numbers between n and 2n?

Checking the proof for square numbers between n and 2n is important because it ensures the accuracy of the results. It also helps to identify any errors or mistakes in the calculations.

5. Can you provide an example of the proof for square numbers between n and 2n?

Yes, for example, let n = 5. The numbers between 5 and 2(5) = 10 are 6, 7, 8, 9, and 10. Squaring these numbers, we get 36, 49, 64, 81, and 100. These are the square numbers between 5 and 10. Therefore, the proof is (5+1)^2, (5+2)^2, (5+3)^2, (5+4)^2, (5+5)^2 = 6^2, 7^2, 8^2, 9^2, 10^2 = 36, 49, 64, 81, 100.

Similar threads

Replies
12
Views
942
Replies
13
Views
1K
Replies
1
Views
764
Replies
4
Views
923
Replies
4
Views
414
Replies
7
Views
2K
  • General Math
Replies
4
Views
712
Replies
6
Views
928
Replies
6
Views
1K
Back
Top