2

I am looking for a generalisation of the solution of $x,y$ wich are rational numbers,they could be infinite,how can i find such solutions,integer solutions are obvious

I have found that

$\Delta=-11,u=1,d=-11$

also

$(x+\frac{3+\sqrt{-11}y}{2})(x+\frac{3-\sqrt{-11}y}{2})=4$

Jonas Kgomo
  • 1,032
  • 9
  • 19

2 Answers2

5

This is a variation of Hecke's answer $$(2x+3y)^2+11y^2=4^2$$ $$\left(\frac{2x}y+3\right)^2+11=\left(\frac4y\right)^2$$ $$11=\left(\frac4y\right)^2-\left(\frac{2x}y+3\right)^2$$ $$11=\left(\frac{4-2x}y-3\right)\left(\frac{4+2x}y+3\right)$$ $$\frac{4-2x}y-3=t, \frac{4+2x}y+3=\frac{11}t$$ $$\implies x = -\frac{2(t^2+6t-11)}{t^2+11}, y = \frac{8t}{t^2+11}, t\neq0$$


My comment contained an imprecision. This works for every equation that can be transformed into the form: $$(ax+by)^2+cy^2=\left(\frac pq\right)^2$$ Where $a,b,c,p,q\in\mathbb Z, q\neq 0$

chubakueno
  • 5,623
  • this is excellent,it seems like it will absolutely work for any binary equation – Jonas Kgomo Apr 05 '14 at 18:11
  • is $t$ an integer – Jonas Kgomo Apr 05 '14 at 18:16
  • 1
    @Jonas12: $t$ is any rational number. – TonyK Apr 05 '14 at 18:18
  • @Jonas12 Actually we were quite lucky :) .When we completed the square in the LHS multiplying by $4$, $4^2$ resulted to be a square. If you change that $4$ by $5$(or any non-square number) in your equation we would have a problem. In particular, this works with the general equation $ax^2+bxy+cy^2=d$, when $d$ is a perfect square. André Nicolas solutions helps us here if it is not, if we can find a rational solution. – chubakueno Apr 05 '14 at 18:23
  • the manner of the solution proposed by the proffesor,is in the manner of the solution on page 47-48 for the problem $x^2+3xy-5y^2=65$ i am wondering if this approach and @Andre Nicolas solutions will be acceptable – Jonas Kgomo Apr 05 '14 at 18:42
  • i am gonna send the link too the book – Jonas Kgomo Apr 05 '14 at 18:46
  • @chubakueno but we could still consider ,for instance $\sqrt{5}$,since it is rational – Jonas Kgomo Apr 05 '14 at 18:48
  • https://drive.google.com/file/d/0B1YYN1_8gh2MMzZFMTlDLUo0TTA/edit?usp=sharing – Jonas Kgomo Apr 05 '14 at 19:08
  • @Jonas12 I will take a look but I promise nothing, I just know the really elementary number theory. André Nicolas solution works, since we have the rational solution $(7,1)$ and we can work from there. Mine doesn't, since we are left with $(2x+3y)^2-29y^2=260$, and $260$ is not the square of a rational number. Maybe some modification would work, but I don't know. – chubakueno Apr 05 '14 at 20:33
4

We have the simple solution $x=2$, $y=0$. Now take the line though $(2,0)$ with slope $m$, and find where it meets the ellipse. That will give a rational parametrization of the ellipse.

Details: The line has equation $y=m(x-2)$. Substitute. We get $x^2+3xm(x-2)+5m^2(x-2)^2=16$. This simplifies to $(1+3m+5m^2)x^2-(6m+20m^2)x+20m^2-4=0$. The product of the roots is $\frac{20m^2-4}{1+3m+5m^2}$. But one of the roots is $2$, so the other is $\frac{10m^2-2}{1+3m+5m^2}$. Now we can compute the corresponding $y$. Any rational $m$ will give us a rational solution of the original equation.

Remark: The procedure was general. In particular, let $ax^2+bxy+cy^2=d$ be an ellipse with $a,b,c,d$ rational. If we know a rational point on the ellipse, then we can find a parametric expression for all rational points. The most important special case is the circle.

And the basic idea generalizes, importantly, to elliptic curves.

André Nicolas
  • 507,029
  • Your remark is what makes your answer better than mine. But I would like to know: Is there an efficient method to get a rational point? Can we know when does it exist, or some bound on the denominator and numerator? – chubakueno Apr 05 '14 at 17:52
  • Yes, there is a huge amount of theory of ternary quadratic forms (it is useful to homogenize, and consider $ax^2+bxy+cy^2=4z^2$.) The details are complicated, they go back to Legendre and Gauss, and are a large chapter in the history of number theory. – André Nicolas Apr 05 '14 at 17:59
  • i am actually interested in that,more about binary and not tenary ,can i say that solution is for both rational and integers – Jonas Kgomo Apr 05 '14 at 18:07
  • The integer solutions of the ternary (homogenized) form are in a simple way connected to the rational solutions of the original equation. – André Nicolas Apr 05 '14 at 18:10
  • i would appreciate if both of you can help me with this as well http://math.stackexchange.com/questions/739752/integer-solutions-of-the-equation-of-the-form-ax2bxycy2-m – Jonas Kgomo Apr 05 '14 at 18:14
  • so can i conclude my solutions are $x=\frac{20m^2-4}{1+3m+5m^2}$ ,$y=\frac{10m^2-2}{1+3m+5m^2}$ – Jonas Kgomo Apr 05 '14 at 18:54
  • My $x$ is different from yours, it is the $y$ that you have just written down. Then I get $y=-\frac{4m+6m^2}{1+3m+5m^2}$. But I am error-prone. – André Nicolas Apr 05 '14 at 18:59