Primitive Pyth. triples: Solutions of x^2 + y^2 = 2 z^2

  • Context: Graduate 
  • Thread starter Thread starter kingwinner
  • Start date Start date
  • Tags Tags
    Primitive
Click For Summary

Discussion Overview

The discussion revolves around the characterization of solutions to the equation x^2 + y^2 = 2z^2, exploring both primitive and non-primitive Pythagorean triples. Participants examine different formulations of the theorem related to Pythagorean triples and seek to identify all possible integer solutions to the equation.

Discussion Character

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

Main Points Raised

  • Some participants propose a theorem characterizing positive primitive solutions of x^2 + y^2 = z^2 with y even, suggesting two formulations for all Pythagorean triples.
  • Others argue that formulation (i) correctly characterizes all Pythagorean triples, while formulation (ii) is insufficient as it does not account for all cases.
  • One participant provides an example (6, 8, 10) to illustrate that not all Pythagorean triples can be expressed in the form given by (ii).
  • Another participant questions whether every Pythagorean triple can be expressed in the form x = r^2 - s^2, y = 2rs, z = r^2 + s^2 for some integers r and s.
  • There is a discussion about the restrictions on the natural number d in the context of the equation x^2 + y^2 = 2z^2, with some suggesting that d must be even.
  • Participants express concerns that the derived formulas may miss certain solutions, such as cases where x = y = z, and discuss the implications of including negative solutions.
  • One participant outlines a method for describing all integer solutions based on positive integer solutions, including transformations to account for negative values.

Areas of Agreement / Disagreement

Participants generally disagree on the sufficiency of the formulations for characterizing all Pythagorean triples. There is no consensus on a definitive formula that encompasses all solutions to the equation x^2 + y^2 = 2z^2, particularly regarding the inclusion of negative solutions and specific cases.

Contextual Notes

Limitations include the potential oversight of certain solutions in the derived formulas, particularly those involving negative integers or specific cases like x = y = z. The discussion also highlights the need for constraints on d to ensure integer solutions.

Who May Find This Useful

Readers interested in number theory, particularly those studying Pythagorean triples and integer solutions to quadratic equations, may find this discussion relevant.

kingwinner
Messages
1,266
Reaction score
0
Theorem: The positive primitive solutions of x^2 + y^2 = z^2 with y even are x = r^2 - s^2, y = 2rs, z = r^2 + s^2, where r and s are arbitrary integers of opposite parity with r>s>0 and gcd(r,s)=1.

Using this theorem, find all solutions of the equation x^2 + y^2 = 2z^2
(hint: write the equation in the form (x+y)^2 + (x-y)^2 = (2z)^2)
==================================

The above theorem characterizes all "PRIMITIVE Pythagorean triples", but what is the statement of the theorem that characterizes ALL "Pythagorean triples" (not necessarily primitive)?

(i) The positive solutions of x^2 + y^2 = z^2 with y even are precisely x = (r^2 - s^2)d, y = (2rs)d, z = (r^2 + s^2)d, where d is any natural number, r and s are arbitrary integers of opposite parity with r>s>0 and gcd(r,s)=1.

(ii) The positive solutions of x^2 + y^2 = z^2 with y even are precisely x = r^2 - s^2, y = 2rs, z = r^2 + s^2, where r and s are arbitrary integers with r>s>0.

Which one is correct?

I hope someone can help me out. Thank you!
 
Physics news on Phys.org
The only difference is a d, which, as it says, represents any natural number.
 
So I think (i) correctly characterizes ALL Pythagorean triples.

Is (ii) wrong?
i.e. not all Pythagorean triple is of the form x = r^2 - s^2, y = 2rs, z = r^2 + s^2, r>s>0?
For example, 6,8,10 is a Pythagorean triple, but I think it cannot be written in the above form?
 
The most important triples are the fundamental or primitative ones. We can always add a constant to all elements in any triple.

If you can read through the proof of (2), which starts from scratch, you will get a better understanding of this.
 
But can EVERY Pythagorean triple (primitive or imprimitive) be written in the form x = r^2 - s^2, y = 2rs, z = r^2 + s^2 for some r,s E Z, r>s>0?
 
kingwinner said:
But can EVERY Pythagorean triple (primitive or imprimitive) be written in the form x = r^2 - s^2, y = 2rs, z = r^2 + s^2 for some r,s E Z, r>s>0?

No. For example, 9^2 + 12^2 = 15^2, but 15 cannot be written as the sum of two squares.

Petek
 
Petek said:
No. For example, 9^2 + 12^2 = 15^2, but 15 cannot be written as the sum of two squares.

Petek

OK, so (i) is correct and (ii) is wrong.

Back to our original problem...

x^2+y^2=2z^2\iff(x+y)^2+(x-y)^2=(2z)^2
<=> x+y,x-y,2z is a Pythagorean triple (but it's not necessarily primitive)
\begin{cases} x+y=(m^2-n^2)d\\x-y=2mnd\\2z=(m^2+n^2)d \end{cases}
where d is natural number, m and n are integers of opposite parity with m>n>0 and gcd(m,n)=1.

Now how can we characterize ALL solutions of x^2 + y^2 = 2z^2? Is there any restriction on "d"?

Thank you!
 
kingwinner said:
Now how can we characterize ALL solutions of x^2 + y^2 = 2z^2? Is there any restriction on "d"?

If d is any natural number, then x+y, x-y, and 2z form a Pythagorean triple. Now just follow your "if and only ifs" in reverse to conclude that x^2 + y^2 = 2z^2.
 
But I believe that when we're asked to find all solutions of the equation x^2 + y^2 = 2z^2, the answer should be of the form
x=...
y=...
z=...

How can we get this?
 
  • #10
kingwinner said:
But I believe that when we're asked to find all solutions of the equation x^2 + y^2 = 2z^2, the answer should be of the form
x=...
y=...
z=...

How can we get this?

Well, you can solve these three equations for x, y, and z:

<br /> \begin{cases} x+y=(m^2-n^2)d\\x-y=2mnd\\2z=(m^2+n^2)d \end{cases} <br />

The first two are a linear system of two equations with two unknowns (x and y) so should be easy to solve. The third one is even easier - just divide both sides by 2.

Is that what you meant?

[Edit]: Hmm, I guess you will have to impose constraint(s) to ensure that the solutions are integers.

For example:

z = \frac{1}{2}(m^2 + n^2)d

We're still assuming that m and n have opposite parity, right? That means m^2 + n^2 is odd, so d had better be even. You will have to check x and y as well once you have expressions for them.
 
Last edited:
  • #11
Sovling for x,y,z, I get:
x = d(m^2 - n^2 + 2mn) / 2
y = d(m^2 - n^2 - 2mn) / 2
z = d(m^2 + n^2) / 2

So d must be even, is this the ONLY restriction?
 
Last edited:
  • #12
Yes, that looks like the only restriction.
 
  • #13
So I think the final answer is
x = d(r^2 - s^2 + 2rs) / 2
y = d(r^2 - s^2 - 2rs) / 2
z = d(r^2 + s^2) / 2
where d is any EVEN natural number, r and s are any integers of opposite parity with r>s>0 and gcd(r,s)=1?
Does this include ALL solutions of x^2 + y^2 = 2z^2?
 
Last edited:
  • #14
OK, now I've thought about it more, and I think that are serious problems in my formula above. We're actually missing A LOT of solutions. For example, x=y=z is a solution for any integer (e.g. x=y=z=6 is a solution), but it's definitely not a Pythagorean triple, the formula above misses all of those. Also, all the negative solutions are missing from the above formula because by definition a Pythagorean triple is positive while solutions to the equation can be positive or negative.

So the above formula certainly does not include all solutions, how can we fix this problem? How can we correctly write down a formula that includes all the solutions?

Can someone kindly explain how we can summarize our final answer that includes all solutions into a compact formula?
Thanks a million!
 
Last edited:
  • #15
x = y = z isn't a solution to x^2 + y^2 = z^2 but it is a solution to (x +y)^2 + (x - y)^2 = (2z)^2. That is,

(x + x)^2 + (x - x)^2 = (2x)^2

Petek
 
  • #16
If I want to solve x^2 + y^2 = 2z^2 in the integers (rather than in the natural numbers), i.e. x,y,z E Z, what would be the answer? How can we fully describe the set of ALL integer solutions? Right now, I'm having a lot of trouble trying to describe ALL integer solutions without missing any. Does anyone happen to know the correct answer?

Thanks!
 
  • #17
kingwinner said:
If I want to solve x^2 + y^2 = 2z^2 in the integers (rather than in the natural numbers), i.e. x,y,z E Z, what would be the answer? How can we fully describe the set of ALL integer solutions? Right now, I'm having a lot of trouble trying to describe ALL integer solutions without missing any. Does anyone happen to know the correct answer?

The solutions in integers are just
(x, y, z)
(-x, y, z)
(x, -y, z)
(-x, -y, z)
(x, y, -z)
(-x, y, -z)
(x, -y, -z)
(-x, -y, -z)
for every solution (x, y, z) in positive integers, together with (0, 0, 0).
 

Similar threads

  • · Replies 26 ·
Replies
26
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
6K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
14
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K