Solving x^2+y^2=27: Understanding the Limitations of Two-Variable Equations

  • Thread starter Thread starter Saitama
  • Start date Start date
  • Tags Tags
    Variables
AI Thread Summary
The equation x^2 + y^2 = 27 represents a circle, and integer solutions can be found by testing combinations of x and y within the radius of approximately 5.19. Initial attempts to find integer solutions from -5 to 5 revealed no valid pairs. The discussion also explored the possibility of rational solutions, leading to a deeper analysis involving modulo arithmetic and common factors. Ultimately, it was concluded that there are no rational solutions to the equation, aligning with Legendre's theorem on conics.
Saitama
Messages
4,244
Reaction score
93
Hi!
I found a question on a Facebook page asked by someone on that page. The question is:-
x^2+y^2=27

The questioner asked to find integer solutions for it. But i think it's not possible to solve unless we have one more equation. Am i right..?
 
Mathematics news on Phys.org
hey, if all they are asking is to find integer solution...who cares how? Clearly, this is the equation of a circle with a radius of about 5.19...so, you know that every x,y combination that satisfies the equation is no more than that...all you have to do now is try all integer combinations of x,y from -5 to 5 and see what happens...or just the reasonable combinations, if you want, knowing that x,y need to meet at the circle with 5.19 radius...you know what I mean..
 
It would have been more fun if he had asked for all the rational solutions...
 
gsal said:
hey, if all they are asking is to find integer solution...who cares how? Clearly, this is the equation of a circle with a radius of about 5.19...so, you know that every x,y combination that satisfies the equation is no more than that...all you have to do now is try all integer combinations of x,y from -5 to 5 and see what happens...or just the reasonable combinations, if you want, knowing that x,y need to meet at the circle with 5.19 radius...you know what I mean..

Sorry gsal! :frown:
I don't understand what you said.
 
Pranav-Arora said:
Sorry gsal! :frown:
I don't understand what you said.

Just plug in all integers from -5 to 5 and see if you get a solution.
 
micromass said:
Just plug in all integers from -5 to 5 and see if you get a solution.

No, i am not getting the solution.
 
Pranav-Arora said:
No, i am not getting the solution.

Well, that means that there aren't any solutions.
 
micromass said:
Well, that means that there aren't any solutions.

Ok thanks! :smile:
 
Reduce modulo 4. What do you know about the quadratic residues mod 4?
 
  • #10
disregardthat said:
Reduce modulo 4. What do you know about the quadratic residues mod 4?

Sorry! I don't understand you.
 
  • #11
micromass said:
It would have been more fun if he had asked for all the rational solutions...

How do you find the rational solutions? :confused:
Or prove that there are none?
 
  • #12
I like Serena said:
How do you find the rational solutions? :confused:
Or prove that there are none?

There are none here. Finding rational solution to x^2+y^2=27 is the same as finding rational solutions to x^2+y^2=3 (divide everything by 9. And this is the same as finding nonzero integer solutions to x^2+y^2=3z^2. Furthermore, we can assume that x,y and z have no common factors.

Let's say that there is a solution, then we can look at it modulo 3. Thus we would have

x^2+y^2=0

but checking all elements of \mathbb{Z}/3\mathbb{Z} gives us that x=0,y=0 have to be solutions. Thus our orignal equation

x^2+y^2=3z^2

must have a solution of the form x=3m, y=3n. But then

3(n^2+m^2)=z^2

This implies that z would be divisible by 3. So x,y and z are divisible by 3 and thus have common factors. This is against the assumption.
The general result of finding rational solutions on conics is given by Legendre's theorem: www.risc.jku.at/education/courses/ss2011/caag/proj-rat-points-conic.pdf
 
Last edited:
  • #13
micromass said:
There are none here. Finding rational solution to x^2+y^2=27 is the same as finding rational solutions to x^2+y^2=3 (divide everything by 9. And this is the same as finding integer solutions to x^2+y^2=3z^2. Furthermore, we can assume that x,y and z have no common factors.

Let's say that there is a solution, then we can look at it modulo 3. Thus we would have

x^2+y^2=0

but checking all elements of \mathbb{Z}/3\mathbb{Z} gives us that x=0,y=0 have to be solutions. Thus our orignal equation

x^2+y^2=3z^2

must have a solution of the form x=3m, y=3n. But then

3(n^2+m^2)=z^2

This implies that z would be divisible by 3. So x,y and z are divisible by 3 and thus have common factors. This is against the assumption.



The general result of finding rational solutions on conics is given by Legendre's theorem: www.risc.jku.at/education/courses/ss2011/caag/proj-rat-points-conic.pdf

Everything went over my head...:rolleyes:
 
  • #14
OK, let's do this in step.

Let's assume that x and y are rational numbers that satisfy

x^2+y^2=27

then

u=\frac{x}{3},~~v=\frac{y}{3}

are rational numbers that satisfy

u^2+v^2=3

Thus it suffices to find rational solutions to u^2+v^2=3

Now, u and v are rational, thus they have the form u=\frac{a}{c},~v=\frac{b}{c} with a,b,c integers with no common factors and c nonzero. Then

u^2+v^2=3

is equivalent to

a^2+b^2=3c^2

So it suffices to find nonzero integers a,b,c such that

a^2+b^2=3c^2

and such that a,b,c have no common factors.

Do you understand it until here?
 
Last edited:
  • #15
Why wouldn't a and c have a common factor? :confused:

(Btw, you didn't define v properly.)
 
  • #16
I like Serena said:
Why wouldn't a and c have a common factor? :confused:

a and c can have a common factor. But a,b and c can't.
Let's say that a, b, and c have a common factor m. Then a=ma', b=mb', c=mc'. And thus

(ma^\prime)^2+(mb^\prime)^2=3(mc^\prime)^2

hence

(a^\prime)^2+(b^\prime)^2=3(c^\prime)^2

Thus I have eliminated the common factor. That is, if I have an integer solution (a,b,c) with a common factor, then I can find an integer solution (a',b',c') without a common factor. Thus it suffices to look at

x^2+y^2=3z^2

such that x,y,z do not have common factors.

(Btw, you didn't define v properly.)[/QUOTE]
 
  • #17
Pranav-Arora said:
Hi!
I found a question on a Facebook page asked by someone on that page. The question is:-
x^2+y^2=27
I'd go with x = 6, y = 3i. Do Gaussian integers count?
 
Last edited:

Similar threads

Replies
3
Views
2K
Replies
7
Views
2K
Replies
22
Views
2K
Replies
2
Views
2K
Back
Top