How to solve for solutions to the diophantine 5b^2*c^2 = 4a^2(b^2+c^2)

  • Thread starter SeventhSigma
  • Start date
In summary, it seems that the person is advocating for a brute force approach to solving this equation. They seem to be unfamiliar with how to factor a square equation.
  • #1
SeventhSigma
257
0
I am trying to find a way to generate solutions to 5b^2*c^2 = 4a^2(b^2+c^2)

Can anyone offer some insight?

I know that (b^2+c^2) is the part that is divisible by 5
 
Physics news on Phys.org
  • #2
The interesting cases will be when HCF(a,b,c)=1, so assume that. First, consider what cases that leaves where some two of the three have a common factor.
When no two have a common factor, look for an interesting factorisation. With squares, that's typically going to be of the form (x-y)(x+y). Hint: try writing the 5 as 4+1.
 
  • #3
haruspex said:
The interesting cases will be when HCF(a,b,c)=1, so assume that. First, consider what cases that leaves where some two of the three have a common factor.
When no two have a common factor, look for an interesting factorisation. With squares, that's typically going to be of the form (x-y)(x+y). Hint: try writing the 5 as 4+1.

I am sorry, I don't really understand what you mean here at all. Can you provide an example?
 
  • #4
I'm suggesting breaking the problem into 3 cases:
1. a, b, c have a common factor. This is trivially reducible to the other cases by factoring it out.
2. Some pair of a, b, c have a common factor. E.g. consider p divides a m times and b n times. Then you can show either p = 2 or m=n, and maybe deduce some more consequences.
3. No two have a common factor.
Rewrite the equation as 4b2(c2-a2) = c2(4a2-b2) then factorise. What can the prime factors of c divide on the LHS?
 
  • #5
I know you are trying to help but I sincerely have absolutely no idea what that aims to solve?

It seems like you're advocating some form of just iterating through all a,b,c in order to get all the cases and break them out into these three categories, but I'm not sure how this is any better than brute force.

1. You're saying gcd(a,b,c)>1 here?
2. either gcd(a,b)>1, gcd(a,c)>1, or gcd(b,c)>1?
3. gcd(a,b,c)=1

How does rewriting the equation that way help, and factorize which part?

If it helps any, I am only looking for cases for which gcd(a,b,c)=1 and a<b<c<2*a
 
  • #6
for example

[209, 247, 286],
[341, 374, 527],
[779, 950, 1025],
[1711, 2146, 2183]
... etc
 
  • #7
Lastly, I just tried looking at the prime factors of c with respect to the lhs and nothing unusual cropped up (for instance using the cases I just posted). It's not like the primes all exclusively divide 4b^2 or (c^2-a^2) if that's what you're saying.

It can divide 4*b*b*a*a though; not sure if this matters
 
  • #8
No, not brute force. I'm suggesting that in each case you can make interesting but different logical deductions which might eventually allow you to characterise all solutions.
Take e.g. gcd(a,c)=1 and gcd(b,c) = 1. Then c = 1 or 2. Indeed, if gcd(a,b)=1 then b|c.
 
  • #9
SeventhSigma said:
I know that (b^2+c^2) is the part that is divisible by 5

Why?
 
  • #10
I don't know why Dickfore; it just is

haruspex: Yes but I am after the gcd(a,b,c) = 1 cases which don't seem to have those same unique attributes
 
  • #11
SeventhSigma said:
I don't know why Dickfore; it just is

That doesn't really make any sense. If you don't know why, then why did you add the condition?? Is it given in the problem statement that 5 divides [itex]a^2+b^2[/itex]?? Or...
 
  • #12
SeventhSigma said:
I don't know why Dickfore; it just is
Well, that is very easy to prove.
haruspex: Yes but I am after the gcd(a,b,c) = 1 cases which don't seem to have those same unique attributes
Yes, I understand that. The cases I elaborated upon, like (a,b)=1, necessarily satisfy (a,b,c)=1. Do you mean you are most interested in the cases where (a,b,c)=1 but some pair does have a common factor? Or perhaps where each pair has a common factor?
 
  • #13
Doesn't (b^2 + c^2) or a^2 have to be divisible by 5 as the left side of the equation has 5 as a factor. Also b or c must be even as 5(B^2)(C^2) is equal to 4 times a number.
 
  • #14
haruspex said:
Well, that is very easy to prove.

Apparently, it isn't for the OP. If one is incapable of verifying this statement, then the analysis you suggested is beyond their comprehension.
 
  • #15
coolul007 said:
Doesn't (b^2 + c^2) or a^2 have to be divisible by 5?

So, what if we assume that [itex]b^2 + c^2[/itex] is not divisible by 5?
 
  • #16
I've since figured out my own problem, no need to discuss this any further
 
  • #17
SeventhSigma said:
I've since figured out my own problem, no need to discuss this any further

Hi SeventhSigma,

I am always fascinated by solutions to Diophantine equations.
I am glad that you figured it out, but we haven't learned anything
from this discussion. Can you please share your solution with us?

Thanks,

LittleNewton
 
  • #18
SeventhSigma said:
I've since figured out my own problem, no need to discuss this any further
Well it would be helpful to us to give us some insight as to what you discovered or found. As to the proof that (b^2 + c^2) must be divisible by 5 Dickfore was trying to get you to think like a mathematican. If 5 doesn't divide (b^2 + c^2) then it must divide a^2. But if 5 divides a^2 and not b^2 + c^2 then the right hand side must be divisible by an even power of 5. Is ths so with the left hand side? Don't let this forum get you down, it is very helpful for those willing to think for themselves. It would be nice for you to return the favor.
PS, Although you may have been irritated by one or more of us, please be advised that none of the posts in this thread appear to have been meant to belittle you. It just that its sometimes hard to choose from simply spoon feeding detailed information to someone and just giving that person enough information so that he or she will have the ability to effectively solve a problem. I know that it is human nature for each of us to sometimes have a mental block at times and at that time a little more information to wake us up and help us think straight may be more helpful in the long run than just spoon fed detailed information.
 
Last edited:
  • #19
SeventhSigma said:
I've since figured out my own problem, no need to discuss this any further

So, could you post your solution here for others to use?
 
  • #20
ramsey2879 said:
Well it would be helpful to us to give us some insight as to what you discovered or found. As to the proof that (b^2 + c^2) must be divisible by 5 Dickfore was trying to get you to think like a mathematican. If 5 doesn't divide (b^2 + c^2) then it must divide a^2. But if 5 divides a^2 and not b^2 + c^2 then the right hand side must be divisible by an even power of 5. Is ths so with the left hand side? Don't let this forum get you down, it is very helpful for those willing to think for themselves. It would be nice for you to return the favor.
PS, Although you may have been irritated by one or more of us, please be advised that none of the posts in this thread appear to have been meant to belittle you. It just that its sometimes hard to choose from simply spoon feeding detailed information to someone and just giving that person enough information so that he or she will have the ability to effectively solve a problem. I know that it is human nature for each of us to sometimes have a mental block at times and at that time a little more information to wake us up and help us think straight may be more helpful in the long run than just spoon fed detailed information.

I made the reply "I don't know, it just is" when I was really tired and cranky. I did know why and what I meant by that was "I don't know, just look at it dude, it's trivial to prove."

And I feel little incentive to share my solution since I feel like I did not get any help from this thread at all whatsoever, but instead unwarranted belittling.
 
  • #21
SeventhSigma said:
And I feel little incentive to share my solution since I feel like I did not get any help from this thread at all whatsoever, but instead unwarranted belittling.

This is very unfair! Especially haruspex made some very helpful suggestions to you!

I can see how some replied here might appear belittling to you, but that really wasn't the intention. We don't know your current level of mathematics, so we don't know what kind of post we should make in order to help you in the best way. So we asked you to motivate why 5 divides [itex]b^2+c^2[/itex] to see if you could do that and to get you thinking like a mathematician.

If you say now that we did not help at all, then I consider this quite insulting, especially to haruspex.
 
  • #22
micromass said:
This is very unfair! Especially haruspex made some very helpful suggestions to you!

I can see how some replied here might appear belittling to you, but that really wasn't the intention. We don't know your current level of mathematics, so we don't know what kind of post we should make in order to help you in the best way. So we asked you to motivate why 5 divides [itex]b^2+c^2[/itex] to see if you could do that and to get you thinking like a mathematician.

If you say now that we did not help at all, then I consider this quite insulting, especially to haruspex.

It was something I posted in the very first post in this thread. I didn't want to waste time proving trivial things (it felt like someone was asking me to prove 2+2=4 or something; it's just obvious from looking at it), since I am not interested in proving a bunch of stuff. I just wanted to surge ahead to understanding a solution.

And to be fair, while haruspex is great, he did not say anything I technically did not already know (nor was what he mentioned directly relevant to the solution); it's just that I did not understand what he was saying at the time because I assumed he actually had a solution and was giving hints.

Everyone else was just being rude for no reason.
 
  • #23
SeventhSigma said:
And to be fair, while haruspex is great, he did not say anything I technically did not already know (nor was what he mentioned directly relevant to the solution); it's just that I did not understand what he was saying at the time because I assumed he actually had a solution and was giving hints.

After we solve a problem, all hard things look simple and trivial. I can't blame haruspex for that.

SeventhSigma said:
Everyone else was just being rude for no reason.

I think this is punishing all, for the behavior of the few...

And it looks like SeventhSigma doesn't want to share his solution in any case:

SeventhSigma said:
LittleNewton said:
In case you don't decide to share your solution publicly,
please at least reply to me.
not going to happen, sorry

I believe the purpose of any forum is to have a 2 way communication,
not just take from it, but sometimes give back. So although not much,
here is what I have found:

I simplified the whole equation so that (a,b,c)=1.

Then named the mutual gcd's as d,e,f and the original equation boiled down to 2 cases:

1) d^2 + e^2 = 5*f^2 (d,e odd, and f even)

2) 4*d^2 + e^2 = 5*f^2 (e,f odd)

At this point I can use some tricks to simplify each case further, e.g.

(d-f)*(d+f) = 4*(f-e)*(f+e) -> ((d-f)/2)*((d+f)/2) = (f-e)*(f+e)

but I don't know how to go on to finding all the initial seeds and
moving on to infinitely many solutions.
 
Last edited:
  • #24
SeventhSigma said:
Everyone else was just being rude for no reason.
Not true, nothing in your first or later posts gave us any hint as to what your level of understanding was. In fact you mislead us, so how were we to know what help you didn't need. This problem remains interesting with or without your continued input. Sorry you have such a inclination to belittle our input.
 
  • #25
ramsey2879 said:
Not true, nothing in your first or later posts gave us any hint as to what your level of understanding was. In fact you mislead us, so how were we to know what help you didn't need. This problem remains interesting with or without your continued input. Sorry you have such a inclination to belittle our input.

Absolutely nothing I said was remotely misleading; I said from the very start that b^2+c^2 was divisible by 5.

And I'm not "belittling your input." I'm expressing disdain for the fact that I had a question, only to get no closer to the solution but met with a bunch of rude statements because I didn't want to spend time proving something trivial.
 
Last edited:
  • #26
Besides, my "solution" isn't even all that ideal. It's still very, very slow because I don't yet have good ways to limit the variables. So I do have a solution but it's still not THAT much better than brute force. It's just faster than brute force.

LittleNewton is pretty much doing what I am doing though
 
  • #27
SeventhSigma said:
Besides, my "solution" isn't even all that ideal. It's still very, very slow because I don't yet have good ways to limit the variables. So I do have a solution but it's still not THAT much better than brute force. It's just faster than brute force.

LittleNewton is pretty much doing what I am doing though

Are you going to tell us your solution or not??

I'm leaving this thread open for other people who might be interested in dicussing this problem. If you got nothing meaningful to add, then please don't post.
 
  • #28
SeventhSigma said:
LittleNewton is pretty much doing what I am doing though

May be you can help me to finish up my solution.
 
  • #29
I was wondering if the fact that b^2 + c^2 is divisible by 5, implies that b=3k and c=4k for some k. In other words, I am asking if a square can be the sum of two squares in more than one way.

Edit: Actually, substituting b=3k and c=4k leads, I think, to a contradiction; [strike]so there *has* to be another way to obtain a multiple of 5 other than from this particular pythagorean triple.[/strike]

Edit 2: Nah, b^2 + c^2 cannot be a square, for a similar reasoning as when proving that it had to be a multiple of 5. Forget what I just said.
 
Last edited:
  • #30
LittleNewton said:
After we solve a problem, all hard things look simple and trivial. I can't blame haruspex for that.
I think this is punishing all, for the behavior of the few...

And it looks like SeventhSigma doesn't want to share his solution in any case:
I believe the purpose of any forum is to have a 2 way communication,
not just take from it, but sometimes give back. So although not much,
here is what I have found:

I simplified the whole equation so that (a,b,c)=1.

Then named the mutual gcd's as d,e,f and the original equation boiled down to 2 cases:

1) d^2 + e^2 = 5*f^2 (d,e odd, and f even)

2) 4*d^2 + e^2 = 5*f^2 (e,f odd)

At this point I can use some tricks to simplify each case further, e.g.

(d-f)*(d+f) = 4*(f-e)*(f+e) -> ((d-f)/2)*((d+f)/2) = (f-e)*(f+e)

but I don't know how to go on to finding all the initial seeds and
moving on to infinitely many solutions.
I did a program and came to the following conjecture; If and only If "f" is an product of primes of the form 4n+1, does 4*d^2 + e^2 = 5*f^2 have a solution such that d and e are coprime. Could anyone verify this. Note that primes (5, 13 etc.) are each considered a product of primes. In other words, in searching for a solution where f is odd, one only search for f being a product of primes of the form 4n+1.
Edit: In fact, it appears that for a coprime solution, both d and e must each be prime; but I checked too little of the results to make that a into a conjecture.
 
Last edited:
  • #31
Hi, ramsey2879,
what you found is a consequence of a theorem that says that a number can be expressed as a sum of squares if and only if its prime factors congruent to 3 mod 4 appear with an even power in the factorization. For example, 2x5x7 is not expressible as a sum of squares, 2x5x7x7 is (490 = 7^2 + 21^2), 2x5x7x7x7 is not, and so on.
 
  • #32
LittleNewton said:
After we solve a problem, all hard things look simple and trivial. I can't blame haruspex for that.



I think this is punishing all, for the behavior of the few...

And it looks like SeventhSigma doesn't want to share his solution in any case:



I believe the purpose of any forum is to have a 2 way communication,
not just take from it, but sometimes give back. So although not much,
here is what I have found:

I simplified the whole equation so that (a,b,c)=1.

Then named the mutual gcd's as d,e,f and the original equation boiled down to 2 cases:

1) d^2 + e^2 = 5*f^2 (d,e odd, and f even)

2) 4*d^2 + e^2 = 5*f^2 (e,f odd)

At this point I can use some tricks to simplify each case further, e.g.

(d-f)*(d+f) = 4*(f-e)*(f+e) -> ((d-f)/2)*((d+f)/2) = (f-e)*(f+e)

but I don't know how to go on to finding all the initial seeds and
moving on to infinitely many solutions.

Finding all the solutions of these is not very hard. This contains some nice information: http://mathcircle.berkeley.edu/BMC4/Handouts/elliptic/node4.html [Broken]

I did case (2) explicitely, and the solutions of [itex]4d^2+e^2=5f^2[/itex] are given by

[tex]d= m^2 - 2mn - 4n^2,~~ e= m^2 + 8mn - 4n^2,~~ f= m^2 + 4n^2[/tex]

where we can take m and n coprime. We still got to take care that d and e are coprime, since they might not be in some cases. If we want f and e to be odd, then it clearly suffices to ask that m is odd.
 
Last edited by a moderator:
  • #33
micromass said:
Finding all the solutions of these is not very hard. This contains some nice information: http://mathcircle.berkeley.edu/BMC4/Handouts/elliptic/node4.html [Broken]

I did case (2) explicitely, and the solutions of [itex]4d^2+e^2=5f^2[/itex] are given by

[tex]d= m^2 - 2mn - 4n^2,~~ e= m^2 + 8mn - 4n^2,~~ f= m^2 + 4n^2[/tex]

where we can take m and n coprime. We still got to take care that d and e are coprime, since they might not be in some cases. If we want f and e to be odd, then it clearly suffices to ask that m is odd.

Yes, I tried something similar to that, but it produces a lot of overlaps.

Let's say we want to find all values below 10K. Since we got to this point
by simplifying the very original equation, getting back to that set requires
to multiply by every integer, after we find the primitives.

And I am not sure what range of m,n I should try to get those primitives.
Because of the 5, I thought about modulus 5, and tried to run over all 25
cases : 0..5 x 0..5. But then extended it to 121 cases: -5..5 x -5..5
Finally I tried 0..10^4 x 0..10^4. And every time I got new results.
It looks like the more I extend it, the more results I am getting.
 
Last edited by a moderator:
  • #34
Hint:

Reduce the cases you know are correct to their primitives

Check which bounds produce those primitives
 
  • #35
SeventhSigma said:
Hint:

Reduce the cases you know are correct to their primitives

Check which bounds produce those primitives

How can I judge? Can you be more specific?

I simplified all results using the gcd's.
then I tried randomly picking primitives,
and all seemed legitimate...
 
<h2>1. How do you solve for solutions to the diophantine 5b^2*c^2 = 4a^2(b^2+c^2)?</h2><p>To solve for solutions to this diophantine equation, you can use the method of infinite descent. This involves finding a smaller solution to the equation and then using that solution to find an even smaller solution, continuing until you reach the smallest possible solution.</p><h2>2. What is the significance of the diophantine equation 5b^2*c^2 = 4a^2(b^2+c^2)?</h2><p>This equation is significant because it is an example of a diophantine equation, which is a type of mathematical problem that involves finding integer solutions to polynomial equations. These types of equations have been studied for centuries and have important applications in number theory and cryptography.</p><h2>3. Can the diophantine equation 5b^2*c^2 = 4a^2(b^2+c^2) have infinitely many solutions?</h2><p>Yes, it is possible for this equation to have infinitely many solutions. For example, if we let b and c be any positive integers and let a = 0, then the equation will have infinitely many solutions. However, there are also cases where the equation has a finite number of solutions, such as when b and c are both 0.</p><h2>4. What is the role of the Pythagorean triple in solving this diophantine equation?</h2><p>The Pythagorean triple (3, 4, 5) plays a crucial role in solving this diophantine equation. This triple satisfies the equation 5b^2*c^2 = 4a^2(b^2+c^2) when a = 3, b = 4, and c = 5. Using this solution, we can then use the method of infinite descent to find smaller solutions to the equation.</p><h2>5. Are there any real-world applications of the diophantine equation 5b^2*c^2 = 4a^2(b^2+c^2)?</h2><p>Yes, this diophantine equation has applications in cryptography, specifically in the field of elliptic curve cryptography. This equation is used to generate points on an elliptic curve, which are then used in the encryption and decryption of data. It is also used in the study of rational points on elliptic curves, which has implications in number theory and algebraic geometry.</p>

1. How do you solve for solutions to the diophantine 5b^2*c^2 = 4a^2(b^2+c^2)?

To solve for solutions to this diophantine equation, you can use the method of infinite descent. This involves finding a smaller solution to the equation and then using that solution to find an even smaller solution, continuing until you reach the smallest possible solution.

2. What is the significance of the diophantine equation 5b^2*c^2 = 4a^2(b^2+c^2)?

This equation is significant because it is an example of a diophantine equation, which is a type of mathematical problem that involves finding integer solutions to polynomial equations. These types of equations have been studied for centuries and have important applications in number theory and cryptography.

3. Can the diophantine equation 5b^2*c^2 = 4a^2(b^2+c^2) have infinitely many solutions?

Yes, it is possible for this equation to have infinitely many solutions. For example, if we let b and c be any positive integers and let a = 0, then the equation will have infinitely many solutions. However, there are also cases where the equation has a finite number of solutions, such as when b and c are both 0.

4. What is the role of the Pythagorean triple in solving this diophantine equation?

The Pythagorean triple (3, 4, 5) plays a crucial role in solving this diophantine equation. This triple satisfies the equation 5b^2*c^2 = 4a^2(b^2+c^2) when a = 3, b = 4, and c = 5. Using this solution, we can then use the method of infinite descent to find smaller solutions to the equation.

5. Are there any real-world applications of the diophantine equation 5b^2*c^2 = 4a^2(b^2+c^2)?

Yes, this diophantine equation has applications in cryptography, specifically in the field of elliptic curve cryptography. This equation is used to generate points on an elliptic curve, which are then used in the encryption and decryption of data. It is also used in the study of rational points on elliptic curves, which has implications in number theory and algebraic geometry.

Similar threads

  • Linear and Abstract Algebra
Replies
1
Views
583
  • Linear and Abstract Algebra
Replies
24
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
176
  • Calculus and Beyond Homework Help
Replies
4
Views
942
Replies
10
Views
2K
  • Precalculus Mathematics Homework Help
Replies
2
Views
759
  • Linear and Abstract Algebra
Replies
14
Views
2K
  • Linear and Abstract Algebra
Replies
2
Views
1K
Replies
7
Views
782
  • Linear and Abstract Algebra
Replies
2
Views
917
Back
Top