2
$\begingroup$

In this MSE question/thread, I have been discussing the equation $$ (x^2+ay^2)(u^2+bv^2) = p^2+cq^2, \tag{$\star$} $$ where $x,a,y,u,b,v,p,c,q$ are integers. I posed a conjecture which turned out to be false. Now, as an alternative, I'm looking for a "complete integer solution" (a.k.a. integer parameterization); MO seemed like a better place to look for one, since the issue of the composition of binary quadratic forms is notoriously challenging.

Is a complete solution or parameterization already known?

If not, what's the right way to go about deriving one? I can imagine trying to resolve $x^2+ay^2=mn^2$, where [hopefully] $m$ is squarefree; doing the same for $u^2+bv^2=jk^2$ would then leave $p^2+cq^2=jm(kn)^2 = j'm'(\delta kn)^2$ where $\delta=\gcd(j,m)$, which could be resolved the same way. Is that likely the best approach?

The main application is the solution of higher-degree equations which have been reduced to the form ($\star$).

$\endgroup$
7
  • 1
    $\begingroup$ Is there any reason to expect a complete solution even for $a=b=c=1$? For instance, there are two distinct ways of writing $n=pq$ (with my $p$ and $q$ representing primes) as a sum of two squares if $p$ and $q$ can each be (i.e., if they're $\equiv 1\pmod 4$); this means that for a product of $k$ distinct primes there are $2^{k-1}$ ways of writing it as a sum of two squares, and many many ways of writing that sum as a product of two sums of two squares, and I can't imagine how you would parametrize all of them at once. $\endgroup$ Commented Sep 19, 2014 at 0:44
  • $\begingroup$ With $a=b=c=1$, multiply everything out to get $$ (xu)^2+(uy)^2+(vx)^2+(yx)^2 = p^2+q^2. $$ There are certainly complete integer parameterizations for the 2.4.2 equation (cf. Barnett & Mendel, or Bradley). This would be a special case of that, I would imagine. $\endgroup$ Commented Sep 19, 2014 at 0:48
  • $\begingroup$ For instance, taking the 'product' of the representations $5=1^2+2^2$ ($=\left|1+2i\right|^2$) and $13=2^2+3^2$ ($=\left|2+3i\right|^2$) yields the representation $65=4^2+7^2$, whereas using $13=3^2+2^2=\left|3+2i\right|^2$ yields $65=1^2+8^2$. Now you need to find a parametrization that yields both $(1^2+2^2)(2^2+3^2)=4^2+7^2$ and $(1^2+2^2)(3^2+2^2)=1^2+8^2$. $\endgroup$ Commented Sep 19, 2014 at 0:52
  • $\begingroup$ Euler observed $$ (aAp^2 + bBq^2)(abr^2 + ABs^2) = Ab(apr \pm Bqs)^2 + aB(Aps \mp bqr)^2, $$ but this is simply an identity, not a complete solution/parameterization. $\endgroup$ Commented Sep 19, 2014 at 1:06
  • 2
    $\begingroup$ That's sort of my point, though - the fact that you can 'chain' repeated instances of the product-of-two-squares identities means that you can get arbitrarily many ways of expressing one sum-of-two-squares (for instance) as a product of two others, and it's not clear to me that a single parametrization can capture all of those distinct expressions. $\endgroup$ Commented Sep 19, 2014 at 2:16

5 Answers 5

3
$\begingroup$

I don't think it has been explicitly mentioned yet, but presumably you are interested in integer solutions for given values of $a, b, c$.

L E Dickson's "History of the Theory of Numbers" vol 2 [ http://books.google.co.uk/books?id=eNjKEBLt_tQC ] page 433 details necessary and sufficient conditions for a homogenous quaternary quadratic $a x^2 + b y^2 + c z^2 + d t^2 = 0$ to have non-zero integer solutions, for a given set of non-zero integers $a, b, c, d$.

So if you can find numerical integer values of $x, y$ such that, denoting $A := x^2 + a y^2$, $A u^2 + A b v^2 - p^2 - c q^2 = 0$ has no non-zero integer solutions $u, v, p, q$, then that would rule out a general parametrisation, at least for unrestricted values of $a, b, c$. I suspect there are such numeric values of $A, b, c$.

If on the other hand $a, b, c$ are also thrown into the pot, i.e. as variables on the same footing as $x, y$ etc, then it is trivial to find every integer solution by simply taking $a, b, p, q = x A, z B, x z P, x z Q$ respectively to obtain an equation (in general *) bilinear in x, z which can then be expressed in the form $(x + F)(z + G) = H$, in which $F, G, H$ do not depend on $x, z$, and then one can simply take $x + F, z + G = H / t, t$ respectively for some parameter $t$ and clear denominators.

(*) In the special case when $P^2 + c Q^2$ = 1 we have an equation linear in $x, z$. But in that case we can take $x, z = y^2 X, t^2 Z$ respectively to obtain $(A + X)(B + Z) = X Z$, and solve this as above for $A, B$ to obtain $A + X, B + Z = X/t, Z t$ respectively.

$\endgroup$
2
  • $\begingroup$ I about it to him and spoke. Only in the given literature formulas solving these equations no. They look pretty bulky. For example: artofproblemsolving.com/blog/98937 $\endgroup$
    – individ
    Commented Oct 2, 2014 at 14:21
  • $\begingroup$ Unfortunately (q.v. Dickson’s "Fallacies in Diophantine Analysis"), writing a rational parameterization and clearing denominators is demonstrably not the same as finding all integer solutions to an equation. The latter is far more difficult. $\endgroup$ Commented Dec 16, 2014 at 14:11
2
$\begingroup$

I think that this method of calculation it is necessary to separately draw.

As I have repeatedly said formula in General looks pretty bulky. And still remain questions about the completeness of the solution. So I decided that solutions should be found a little differently.

In Diofantos equation:

$$(x^2+ay^2)(u^2+bv^2)=p^2+cq^2$$

Put some numbers: $t,y$

Decompose to factor the following expression: $ct^2-ay^2=AB$

Then we can define the following numbers:

$$s=\frac{A-B}{2}+t$$

$$x=\frac{A+B}{2}$$

Next, you can specify the desired number: $v$

Subject to the following expression for the multiplier: $cs^2-bv^2=FJ$

This will allow us to unambiguously identify numbers:

$$k=\frac{J-F}{2}+s$$

$$u=\frac{F+J}{2}$$

And for the full solution will be found by the formula two other numbers.

$$p=ks+(c+1)ts-tk-s^2$$

$$q=s^2-tk$$

$\endgroup$
1
  • 1
    $\begingroup$ Very ingenious method! But you must have a sign incorrect, or another similar error: when I plug all those numbers in, the products don't match identically. $\endgroup$ Commented Oct 2, 2014 at 13:32
2
$\begingroup$

As posted in my comment above, the case $a=b=c=1$ is relatively trivial to solve, using existing (nearly "classical") solutions to the 2.2.4 Diophantine sums-of-squares equation $$X_1^2 + X_2^2 = Y_1^2+Y_2^2+Y_3^2+Y_4^2.$$

Since nobody else was able or willing to develop a complete solution for the more general equation in the title, I am working on it myself. The complete solution will be complicated — as fully expected/anticipated — but is within reach. I will post it back here when I've fully verified my proof/algorithm.

$\endgroup$
-2
$\begingroup$

Still not clear what you want. If you need a method, the method of finding solutions I have already in a previous post wrote. If regarding the parameterization.

Then for the equation:

$$(x^2+ay^2)(u^2+bv^2)=z^2+cr^2$$

You can write many upgrades parameterization similar to the previous one.

$$x=cq^2-an^2+p^2$$

$$y=2pn$$

$$u=ck^2-bs^2+t^2$$

$$v=2ts$$

$$z=(p^2+an^2-cq^2)(t^2+bs^2-ck^2)-4cpqtk$$

$$r=2tk(p^2+an^2-cq^2)+2pq(t^2+bs^2-ck^2)$$

$q,n,p,k,s,t$ - integers asked us.

If this formula is not satisfied, then you can write in another form. But the point remains the same. Decisions revolve around the same equation.

If such a decision is not satisfied - tell.

$\endgroup$
7
  • $\begingroup$ If $x_1, x_2, y_1, y_2, y_3$ are integers satisfying $$X_1^2 + X_2^2 = Y_1^2+Y_2^2+Y_3^2$$ and $(x_1,x_2) \ne (y_1,y_2)$, then there exist integers $k,m,n,r,s,t,w$ such that $\gcd(r,s,t)=1$, $rm-sk \ge 1$, and \begin{align} x_1 &= \tfrac{1}{2}\bigl(m(t^2+r^2) - rsk - s(nt-w)\bigr), & y_1 &= \tfrac{1}{2}\bigl(m(t^2-r^2) + rsk - s(nt-w)\bigr), \\ x_2 &= \tfrac{1}{2}\bigl(-k(t^2+s^2) + rsm + r(nt-w)\bigr), & y_2 &= \tfrac{1}{2}\bigl(-k(t^2-s^2) - rsm + r(nt-w)\bigr), \\ && y_3 &= -t(rm-sk) \end{align} holds. This gives all solutions. I'm looking for a similar solution for $(\star)$. $\endgroup$ Commented Dec 16, 2014 at 13:55
  • 1
    $\begingroup$ Since $y$ and $v$ in your parameterization are necessarily even, and there are certainly solutions to $(\star)$ with $y,v$ odd, your solution is necessarily not complete. $\endgroup$ Commented Dec 16, 2014 at 14:09
  • 1
    $\begingroup$ The problem with having to explain what must be cut is this: What about solutions where $y$ is not divisible by $3$, or $5$, or any given prime or composite factor? It is not immediately obvious whether that is a restriction that needs to be "reduced" from your solution. Without proof that your solution gives all possible solutions, with the possible exception of a division by 2, one can't trust it to be the complete solution. (n.b. My solution, above, is proveable.) $\endgroup$ Commented Dec 16, 2014 at 14:56
  • 2
    $\begingroup$ Yes, you say that all over MO and MSE. And it seems many people are tired of hearing it. Until you are able or willing to reveal your proofs or methods, perhaps it's better to refrain from offering half-solutions like this one. $\endgroup$ Commented Dec 16, 2014 at 15:03
  • 1
    $\begingroup$ I suspect part of the communication issue revolves around the phrase "complete solution". individ is producing things which, if they are solutions, leave no variable alone, and are complete in providing an answer for each variable. What is wanted (and which may be explained elsewhere, but I don't see it clearly yet) is a system of expressions which will capture ALL solutions of the original system, and in a nice way which allows easy and uniform generation of any solution: a "complete" and nice description of all solutions. Gerhard "Words: Can't Live Without 'Em" Paseman, 2014.12.16 $\endgroup$ Commented Dec 16, 2014 at 22:20
-2
$\begingroup$

Once these equations are referred to - it is necessary to write and solutions.

For the equation:

$$X_1^2+X_2^2=Y_1^2+Y_2^2+Y_3^2$$

Solutions have the form:

$$X_1=t^2+2(p+s-k)t+2k^2+2p^2+4ps-4pk-2sk$$

$$X_2=t^2+2(p+s-k)t+2k^2+2s^2+4ps-2pk-4sk$$

$$Y_1=t^2+2(p+s-k)t+2k^2+2ps-2pk-2sk$$

$$Y_2=t^2+2(p+s-k)t+2ps$$

$$Y_3=2(p+s-k)(t+p+s-k)$$

For the equation:

$$X_1^2+X_2^2=Y_1^2+Y_2^2+Y_3^2+Y_4^2$$

Solutions have the form:

$$X_1=t^2+2(p+s-y)t+k^2+2y^2+2p^2-4yp-2ys+4ps$$

$$X_2=t^2+2(p+s-y)t+k^2+2y^2+2s^2-2yp-4ys+4ps$$

$$Y_1=t^2+2(p+s-y)t+k^2+2y^2-2yp-2ys+2ps$$

$$Y_2=2(p+s-y)k$$

$$Y_3=2(p+s-y)(t+p+s-y)$$

$$Y_4=t^2+2(p+s-y)t+k^2+2ps$$

$k,y,t,p,s$ - integers asked us.

$\endgroup$
3
  • 2
    $\begingroup$ I'll take it on faith that these do provide solutions. Whether they provide all solutions is left completely unclear. $\endgroup$ Commented Dec 26, 2014 at 13:25
  • 10
    $\begingroup$ @ToddTrimble You better answer the question. Why is this forum so it is not like solving Diophantine equations? The formula will write and all we try to remove the formulas. $\endgroup$
    – individ
    Commented Dec 26, 2014 at 13:30
  • 2
    $\begingroup$ The original question is asking for a way of producing all of the solutions. Your answer does not explain why your formulas will produce every possible solution $\endgroup$
    – Yemon Choi
    Commented Dec 26, 2014 at 14:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .