Rational root of the sum of two squares

103 Views Asked by At

I am a freshman in highschool interested in math. Please don't judge me if the answer is either obvious or obviously doesn't exist.

Let $x$ and $y$ be rational numbers

$$x^2 + y^2 = z$$ $\sqrt z$ = rational number

Q: Are there numbers that would satisfy these equations?

2

There are 2 best solutions below

1
On BEST ANSWER

If $x=3$ and $y=4$, then $\sqrt{z}=5$. Moreover, for any positive integers $p$ and $q$, if $x= \frac{3p}{q}$ and $y= \frac{4p}{q}$, then $\sqrt{z} = \frac{5p}{q}$.

1
On

You should check out Pythagorean triples...