Direct proof by using if then technique

  • Context: Undergrad 
  • Thread starter Thread starter woundedtiger4
  • Start date Start date
  • Tags Tags
    Direct proof Proof
Click For Summary

Discussion Overview

The discussion centers around proving that if an integer \( a \) is divisible by 4, then \( a \) can be expressed as the difference of two perfect squares. Participants explore various approaches to constructing a direct proof using the "if then" technique, focusing on the relationship between \( a \) and perfect squares.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant proposes starting with the expression \( a = x^2 - y^2 \) and rewriting it as \( a = (x-y)(x+y) \) to find suitable integers \( x \) and \( y \).
  • Another participant suggests that if \( a \) is divisible by 4, then \( 4k = (a+1)^2 - (a-1)^2 \) could serve as a proof, but questions arise regarding the validity of this approach.
  • Some participants express confusion about the manipulation of \( a \) and whether \( a = a/4 \) is a valid step.
  • A later reply clarifies that if \( 4k = (x-y)(x+y) \), then finding integers \( x \) and \( y \) such that \( 2 = x-y \) and \( 2k = x+y \) would satisfy the equation.
  • Another participant confirms the correctness of a proof involving \( a = 4k = (k+1)^2 - (k-1)^2 \), but questions remain about the initial assumptions and steps taken.
  • Participants discuss the implications of their assumptions and the potential for different values of \( x \) and \( y \) leading to valid proofs.

Areas of Agreement / Disagreement

There is no clear consensus on the best approach to the proof, with multiple competing views and methods presented. Some participants agree on certain steps, while others challenge the reasoning and assumptions made.

Contextual Notes

Participants express uncertainty about the manipulation of variables and the assumptions underlying their proofs. There are unresolved questions regarding the specific values of \( x \) and \( y \) and how they relate to the divisibility of \( a \).

Who May Find This Useful

Readers interested in mathematical proofs, particularly in number theory and the properties of integers, may find this discussion beneficial.

woundedtiger4
Messages
188
Reaction score
0
Hi all,

I am trying to proof the following question.

If a is an integer, divisible by 4, then a is the difference of two perfect squares


now by the definition of divisibility if 4 divides a then there is a natural number k such that

a = 4k

Can someone how should I do it with direct proof by using if then technique?
 
Physics news on Phys.org
You want to find ##x## and ##y## such that

[tex]a = x^2 - y^2[/tex]

Now, what if you write

[tex]a = (x-y)(x+y)[/tex]

Does that give you any ideas?
 
  • Like
Likes   Reactions: 1 person
micromass said:
You want to find ##x## and ##y## such that

[tex]a = x^2 - y^2[/tex]

Now, what if you write

[tex]a = (x-y)(x+y)[/tex]

Does that give you any ideas?
ahhh got it

proof: if a is divisible by 4 then

4a = (a+1)^2 - (a-1)^2

QED

PS: I have followed the proof method given at http://zimmer.csufresno.edu/~larryc/proofs/proofs.direct.html
Theorem. Every odd integer is the difference of two perfect squares.
 
Last edited:
woundedtiger4 said:
NO :(

isn't a=a/4 then a = (a/2)^2 - x ?

Why would a = a/4 ??

Anyway, you can always write ##a = 4k##. So we have

[tex]4k = (x-y) (x+y)[/tex]

Does that help? You need to identify some ##x## and ##y## that do that.
 
woundedtiger4 said:
ahhh got it

proof: if a is divisible by 4 then

4a = (a+1)^2 - (a-1)^2

QED

PS: I have followed the proof method given at http://zimmer.csufresno.edu/~larryc/proofs/proofs.direct.html
Theorem. Every odd integer is the difference of two perfect squares.

Something is not right. You say that ##a## is divisible by ##4## and then you say something about ##4a##. Shouldn't you be giving a decomposition of ##a##?
 
  • Like
Likes   Reactions: 1 person
micromass said:
Something is not right. You say that ##a## is divisible by ##4## and then you say something about ##4a##. Shouldn't you be giving a decomposition of ##a##?

Proof:

now by the assumption and definition of divisibility if 4 divides a then there is a natural number k such that

a = 4k =(k+1)^2 - (k-1)^2

QED

PS. is it correct now?
 
Yes, it's right now! Congratulations!
 
  • Like
Likes   Reactions: 1 person
micromass said:
Yes, it's right now! Congratulations!

hehehe thanks a lot
 
Anyway, it might beneficial to show my solution.

I want to find integers ##x## and ##y## such that

[tex]4k = (x-y)(x+y)[/tex]

So if I find ##x## and ##y## such that

[tex]2 = x-y~\text{and}~2k = x+y[/tex]

then I'm done. So I get

[tex]x = 2 + y~\text{and}~x = 2k -y[/tex]

and thus ##2 + y = 2k - y##, which gives us ## y = k-1 ##. Then I set ##x=(k-1) + 2 = k+1##.

So this gets me that ##4k = (k+1)^2 - (k-1)^2##. This is the same answer you found, but it might be good to see how you can find it.
 
  • #10
micromass said:
Anyway, it might beneficial to show my solution.

I want to find integers ##x## and ##y## such that

[tex]4k = (x-y)(x+y)[/tex]

So if I find ##x## and ##y## such that

[tex]2 = x-y~\text{and}~2k = x+y[/tex]

then I'm done. So I get

[tex]x = 2 + y~\text{and}~x = 2k -y[/tex]

and thus ##2 + y = 2k - y##, which gives us ## y = k-1 ##. Then I set ##x=(k-1) + 2 = k+1##.

So this gets me that ##4k = (k+1)^2 - (k-1)^2##. This is the same answer you found, but it might be good to see how you can find it.

How did you set 2=x-y and 2k=x+y ?
 
  • #11
woundedtiger4 said:
How did you set 2=x-y and 2k=x+y ?

It's not that ##4k = (x+y)(x-y)## implies ##2=x-y## and ##2k = x+y##. It might be that ##x## and ##y## are different numbers.

But I said: if I can find ##x## and ##y## such that ##2 = x-y## and ##2k = x+y##, then ##4k = (x+y)(x-y)## will be satisfied. So I took a guess about what x and y looked like. It might have happened that the guess didn't give anything useful.
 
  • Like
Likes   Reactions: 1 person

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K