2
$\begingroup$

Find $p,q,r\in \mathbb Q$ such that $$r^2-5=p^2$$ $$r^2+5=q^2$$ I added and subtracted those two that gave me no luck.

  • 0
    Then the answer can be given in terms of $p$ and $q$? If you add, you get $2r^2=p^2+q^2$. You just want to move the factor of $2$ to the right, and get rid of the square, which should be direct.2017-02-14
  • 0
    @KevinLong The question is to find such $r$,$p$, and $q$. I'll revise to clarify this,2017-02-14
  • 0
    The following might be helpful but won't give a solution. Start from $2r^2=p^2+q^2$ and denote $x=p/r, y=q/r$. Then the equation becomes $x^2+y^2=2$. This equation has a solution $(1,1)$ and all of its rational solutions can be parametrized by lines which passes $(1,1)$ and has rational slope except (1,-1). Then you can find all possible solutions of $x=p/r$. To proceed you need to consider $1-5/r^2=x^2$, or $1/(1-x^2)$ need to be a rational. I don't know how to do this part.2017-02-14
  • 0
    Decision in what numbers am I looking for? In integer or rational?2017-02-15
  • 0
    @individ Rational. Thanks.2017-02-16

2 Answers 2

3

Here is an extension of my comments.

Start from $p^2+q^2=2r^2$. Denote $x=p/r,y=q/r$. Then the equation become $x^2+y^2=2$. We solve all possible rational solutions of the equation $x^2+y^2=2$. It has one solution $P=(1,1)$. Let $Q\ne (1,-1)$ be any other rational point on this circle, then the slope $k$ of $PQ$ is rational. The line equation of $PQ$ can be expressed as $y=k(x-1)+1$. From the line and circle equation one get the $x$-coordinate of $Q$ is $$(1)\quad x_Q=\frac{k^2-2k-1}{k^2+1}.$$

We need to consider another equation $r^2-5=q^2$, which can be rewritten as $$1-\frac{5}{r^2}=x^2.$$ From equation (1), one obtains $$\frac{5}{r^2}=1-x^2=\frac{4k(k-1)(k+1)}{(k^2+1)^2}.$$

Let $Y=(k^2+1)/(2r)$ and $X=k$, the above equation becomes

$$5Y^2=X^3-X, X\ne 0, \pm 1.$$

This equation is equivalent to

$$(2)\quad Y^2=X^3-25 X. X\ne 0, \pm 5.$$

The above elliptic curve has no torsion points other than $X=0,\pm 5$. Since $5$ is a congruent number, the elliptic curve (2) has infinite number solutions. The reference is N.Koblitz' book "Introduction to Elliptic curves and modular forms".

Here is one solution $p=113279/1494696$, $q=4728001/1494696$, $r=3344161/1494696$ with $k=41^2/(5\cdot 12^2)$.

Here are further details on how to find solutions of your problem. This is essentially proposition 1.1 of Koblitz' book. We call an integer $n$ a congruent number if it is area of a right triangle whose sides are rational numbers, i.e., if there exists $X,Y,Z\in \textbf{Q}$ such that $Z^2=X^2+Y^2$ and $n=\frac{1}{2}XY$. We call $(X,Y,Z)$ a solution of the congruent problem for $n$.

We next consider your problem: (Problem (*)) given a positive integer $n$, is it possible to find rational $p,q,r$ such that $r^2-p^2=n, r^2-q^2=-n$.

Proposition 1.1 of Koblitz' book says that the above two problems are equivalent in the following way.

Given a solution $(p,q,r)$ of Problem (*), let $X=q+p,Y=q-p,Z=2r$. Then $(X,Y,Z)$ is a solution of the congruent problem for $n$.

Conversely, given a solution of the $X,Y,Z$ of the congruent problem, one can find a solution of the congruent problem by $r=Z/2,q=(X+Y)/2,p=(X-Y)/2$.

Now your question becomes how to find a congruent problem for 5. Here is one classical solution $(X=20/3,Y=3/2,Z=41/6)$. Using the above correspondence and this classical solution, one can get an easier solution of your problem $$p=31/12,q=49/12,r=41/12.$$

My previous solution is too complicated, and it also comes from Koblitz' book. The elliptic curve method has at least one advantage: from one solution, one can get infinite number solutions by addition law from the elliptic curve.

In general, the congruent number problem is very hard and probably not solved in its most general form. This is an active area of research.

  • 0
    Thanks. Could you give me a little bit more of information on how to find rational solutions for the equation (2)? [some link or etc. as I don't have the book you mentioned. Thanks.]2017-02-15
  • 0
    @KayK. I edited my post and gave a much easier solution. But the easier solution comes from the book I mentioned. Probably I should delete my original solution.2017-02-15
  • 0
    Thanks. I really appreciate.2017-02-16
0

multiplying $$r^2-5=p^2$$ by $-1$ and adding to the second one we obtain $$10=p^2-q^2$$ wrting this equation in the form $$10=(q-p)(q+p)$$ can you finish now?

  • 0
    It's not so simple: you have to pick $p$ so that $p^2+5$ is a square of a rational number.2017-02-14
  • 0
    @TonyK I think the Dr. saw my question before I clarified. He probably thought as if $p$ and $q$ were given. I'll +1 to cancel the downvote.2017-02-14
  • 0
    I think it may also not have been immediately obvious that the variables involved were over the rationals; factoring approaches make a lot of sense over the integers (and provide the clearly-unique solution there).2017-02-14