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

  • Thread starter kingwinner
  • Start date
  • Tags
    Primitive
In summary: I'm looking for the set of solutions for the integers.Thank you!In summary, the theorem states that 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, all solutions of the equation x^2 + y^2 = 2z^2 can be found by writing the equation in the form (x+y)^2 + (x-y)^2 = (2z
  • #1
kingwinner
1,270
0
Theorem: The positive primitive solutions of [tex]x^2 + y^2 = z^2[/tex] with y even are [tex]x = r^2 - s^2, y = 2rs, z = r^2 + s^2[/tex], 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 [tex]x^2 + y^2 = 2z^2[/tex]
(hint: write the equation in the form [tex](x+y)^2 + (x-y)^2 = (2z)^2[/tex])
==================================

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 [tex]x^2 + y^2 = z^2[/tex] with y even are precisely [tex]x = (r^2 - s^2)d, y = (2rs)d, z = (r^2 + s^2)d[/tex], 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 [tex]x^2 + y^2 = z^2[/tex] with y even are precisely [tex]x = r^2 - s^2, y = 2rs, z = r^2 + s^2[/tex], 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
  • #2
The only difference is a d, which, as it says, represents any natural number.
 
  • #3
So I think (i) correctly characterizes ALL Pythagorean triples.

Is (ii) wrong?
i.e. not all Pythagorean triple is of the form [tex]x = r^2 - s^2, y = 2rs, z = r^2 + s^2[/tex], r>s>0?
For example, 6,8,10 is a Pythagorean triple, but I think it cannot be written in the above form?
 
  • #4
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.
 
  • #5
But can EVERY Pythagorean triple (primitive or imprimitive) be written in the form [tex]x = r^2 - s^2, y = 2rs, z = r^2 + s^2[/tex] for some r,s E Z, r>s>0?
 
  • #6
kingwinner said:
But can EVERY Pythagorean triple (primitive or imprimitive) be written in the form [tex]x = r^2 - s^2, y = 2rs, z = r^2 + s^2[/tex] for some r,s E Z, r>s>0?

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

Petek
 
  • #7
Petek said:
No. For example, [itex]9^2 + 12^2 = 15^2[/itex], 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...

[tex]x^2+y^2=2z^2\iff(x+y)^2+(x-y)^2=(2z)^2[/tex]
<=> [tex]x+y,x-y,2z[/tex] is a Pythagorean triple (but it's not necessarily primitive)
[tex] \begin{cases} x+y=(m^2-n^2)d\\x-y=2mnd\\2z=(m^2+n^2)d \end{cases} [/tex]
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 [tex]x^2 + y^2 = 2z^2[/tex]? Is there any restriction on "d"?

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

If [itex]d[/itex] is any natural number, then [itex]x+y[/itex], [itex]x-y[/itex], and [itex]2z[/itex] form a Pythagorean triple. Now just follow your "if and only ifs" in reverse to conclude that [itex]x^2 + y^2 = 2z^2[/itex].
 
  • #9
But I believe that when we're asked to find all solutions of the equation [tex]x^2 + y^2 = 2z^2[/tex], 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 [tex]x^2 + y^2 = 2z^2[/tex], 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:

[tex]
\begin{cases} x+y=(m^2-n^2)d\\x-y=2mnd\\2z=(m^2+n^2)d \end{cases}
[/tex]

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:

[tex]z = \frac{1}{2}(m^2 + n^2)d[/tex]

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

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
[tex]x = d(r^2 - s^2 + 2rs) / 2[/tex]
[tex]y = d(r^2 - s^2 - 2rs) / 2[/tex]
[tex]z = d(r^2 + s^2) / 2[/tex]
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 [tex]x^2 + y^2 = 2z^2[/tex]?
 
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 [itex]x^2 + y^2 = z^2[/itex] but it is a solution to [itex](x +y)^2 + (x - y)^2 = (2z)^2[/itex]. That is,

[tex](x + x)^2 + (x - x)^2 = (2x)^2[/tex]

Petek
 
  • #16
If I want to solve [tex]x^2 + y^2 = 2z^2[/tex] 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 [tex]x^2 + y^2 = 2z^2[/tex] 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).
 

1. What are primitive Pythagorean triples?

Primitive Pythagorean triples are sets of three positive integers (x,y,z) that satisfy the equation x^2 + y^2 = z^2. They are called "primitive" because the numbers in the triple share no common factors.

2. How many solutions are there for x^2 + y^2 = 2 z^2?

There are infinitely many solutions for this equation. Every primitive Pythagorean triple is a solution, and by multiplying each term in a triple by a constant factor, we can obtain another solution.

3. Can all Pythagorean triples be generated from primitive Pythagorean triples?

Yes, all Pythagorean triples can be generated from primitive Pythagorean triples. This can be done using the formula a = 2mn, b = m^2 - n^2, and c = m^2 + n^2, where m and n are positive integers with m > n and no common factors.

4. Are there any patterns or relationships between primitive Pythagorean triples?

Yes, there are some patterns and relationships between primitive Pythagorean triples. For example, all primitive Pythagorean triples where the two smaller numbers (x and y) are consecutive odd numbers can be generated by the formula x = n, y = (n+1), and z = (n+1) + 1, where n is a positive integer.

5. What is the significance of primitive Pythagorean triples?

Primitive Pythagorean triples have been studied for thousands of years and have many important applications in mathematics, physics, and computer science. They also have connections to other areas of mathematics, such as number theory and geometry.

Similar threads

  • Linear and Abstract Algebra
Replies
1
Views
934
  • Calculus and Beyond Homework Help
Replies
13
Views
1K
  • Linear and Abstract Algebra
Replies
1
Views
921
  • Linear and Abstract Algebra
Replies
6
Views
1K
  • Linear and Abstract Algebra
Replies
1
Views
795
  • Calculus and Beyond Homework Help
Replies
2
Views
512
Replies
17
Views
2K
  • Linear and Abstract Algebra
Replies
9
Views
2K
  • Calculus and Beyond Homework Help
Replies
21
Views
2K
  • Calculus and Beyond Homework Help
Replies
7
Views
689
Back
Top