In this note, I will discuss how to find the maximum possible integer solutions for x and y in the slight variant of the quadratic Diophantine equation . We will focus on the case where since we can factor the RHS into and every integer is a solution for .
Begin with the generic quadratic .
Since is guaranteed a perfect square, must be a difference of squares. A short proof for this is
This means that the left side can be rearranged to
NOTE: is a variable that is an integer.
This is maximized when the denominator is minimized or as the numerator tends infinity. Thus to minimize the denominator, (look familiar? It's the same as the negation of the vertex of a parabola. Why this is, I have no idea). The sign (it means approximately) is important for two reasons. 1) because has to be integral for y to be integral and isn't always integral. 2) can't exactly equal because if it does, then we are dividing by 0 and the world will implode.
NOTE: this is a plug and chug because we need to find an integral value of n that will make the numerator divisible by the denominator.
Now that we have found the maximum value of x, we can plug this in to find y.
(the long bars denote absolute value.. sorry it looks so bad)
This also further proves that y is maximized when is as close as possible to .
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
I have a few questions:
Why did you let y=ax+n?
Why is f(n)=b−2ann2−c maximized at n≈2ab?
Log in to reply
The first is easy to answer. If we look at the second half of the a2x2+bx+c, then since the first half is already a perfect square, n basically represents the difference between squares. Thus it can be positive or negative. If b and c are positive, it will be positive, if both are negative, n is negative. If one is negative and one is positive, then it gets complicated.
For The second half, it is not maximized there. But that is the largest possible integral value that is achievable by that function. I don't have a "full" proof as I'm very bad at explaining this kind of thing. If you'd like me to I could try to type up a full explicit proof for this.
Which also reminds me. I have a proof of why n must be integral for x to be integral. I could add that if you'd like me to.
How did you wrote y=ax+n?
And there is x2 missing in the same expression.
Log in to reply
I don't know what you mean by missing a x2
But y=ax+n because a2x2 is guaranteed a perfect square, so bx+c must be a difference between two squares. Assuming that bx+c=0, n is just an arbitrary value that is the difference between a2x2 and y2. You could guess many numbers for the Max value of x to find a perfect square value for a2x2+bx+c, but you would never know when to stop. This method allows you to check for values of n and know when you find the max value for x (since the denominator should be minimized).
Log in to reply
there it is
Log in to reply