Find all pairs (m,k) of integer solutions

  • Context: MHB 
  • Thread starter Thread starter anemone
  • Start date Start date
  • Tags Tags
    Integer
Click For Summary

Discussion Overview

The discussion revolves around finding all pairs of integer solutions \((m,k)\) to the equation \((m^2+k)(m+k^2)=(m-k)^3\), where both \(m\) and \(k\) are non-zero integers. The conversation includes algebraic manipulations, exploration of discriminants, and the identification of potential solutions.

Discussion Character

  • Mathematical reasoning, Exploratory, Debate/contested

Main Points Raised

  • One participant proposes to multiply out the original equation, leading to a quadratic in \(k\) and a discriminant that must be a perfect square.
  • Another participant identifies that the condition \(m(m-8) = (m-4)^2 - 16\) must also be a square, suggesting that \(m-4\) can equal \(\pm5\), leading to potential values for \(m\).
  • It is noted that the only solutions derived from this reasoning are \((m,k) = (9,-21), (9,-6), (-1,-1)\).
  • A participant challenges the earlier reasoning by asking why \(m-4\) must equal \(\pm5\), leading to further exploration of the factorization of \(16\) into positive integers.
  • Another participant introduces an additional solution set \((m, k) = (8, -10)\), claiming it was overlooked in previous discussions.
  • One participant acknowledges a misunderstanding regarding the factorization and corrects their earlier reasoning, leading to the inclusion of the solution \((m, k) = (8, -10)\).

Areas of Agreement / Disagreement

Participants have identified multiple potential solutions, including \((9,-21), (9,-6), (-1,-1)\), and \((8,-10)\). There appears to be no consensus on the completeness of the solution set, as some participants argue that additional solutions may exist.

Contextual Notes

The discussion involves complex algebraic manipulations and assumptions regarding the nature of perfect squares and integer solutions, which may not be fully resolved. The dependency on specific algebraic identities and the conditions under which they hold true is also a point of contention.

anemone
Gold Member
MHB
POTW Director
Messages
3,851
Reaction score
115
Find all solutions to $(m^2+k)(m+k^2)=(m-k)^3$, where $m$ and $k$ are non-zero integers.
 
Mathematics news on Phys.org
anemone said:
Find all solutions to $(m^2+k)(m+k^2)=(m-k)^3$, where $m$ and $k$ are non-zero integers.
[sp]Multiply out the brackets: $$m^3 + m^2k^2 + mk + k^3 = m^3 -3m^2k + 3mk^2 - k^3$$, which (after dividing by the non-zero $k$) simplifies to $2k^2 + (m^2-3m)k + (m+3m^2) = 0.$ The discriminant of that quadratic in $k$ is $(m^2-3m)^2 - 8(m+3m^2)$, and that has to be a square, say $n^2$. So $$n^2 = (m^2-3m)^2 - 8(m+3m^2) = m^4 - 6m^3 - 15m^2 - 8m = m(m-8)(m+1)^2$$ and therefore $m(m-8) = (m-4)^2 - 16$ must also be a square. The only way that can happen is if $m-4 = \pm5$. Thus $m = 9$ or $-1$. If $m=9$ then the quadratic for $k$ has solutions $k= -21$ and $k=-6$. If $m=-1$ then the only solution for $k$ is $k=-1$.

That gives three possible solutions, $(m,k) = (9,-21),\ (9,-6),\ (-1,-1)$.[/sp]
 
Opalg said:
therefore $m(m-8) = (m-4)^2 - 16$ must also be a square. The only way that can happen is if $m-4 = \pm5$.

Why is that?
 
I like Serena said:
Opalg said:
therefore $m(m-8) = (m-4)^2 - 16$ must also be a square. The only way that can happen is if $m-4 = \pm5$.
Why is that?
If $x^2-16 = y^2$ then $16 = x^2-y^2 = (x+y)(x-y)$. The only factorisation of $16$ giving positive integer values for $x$ and $y$ is $x+y=8$, $x-y=2$, so that $x=5$ and $y=3$.
 
Thank you so much for participating, Opalg! And welcome back to the forum as well!:) But Opalg, I am sorry to tell you that you missed another solution set, which is $(m, k)=(8, -10)$.

My solution:
By expanding and simplifying the given equation, we get

$$m^3+m^2k^2+mk+k^3=m^3-3m^2k+3mk^2-k^3$$

$$2k^3+(m^2-3m)k^2+mk+3m^2k=0$$

Since $k \ne 0$, divide through the equation above by $k$, we have

$$2k^2+(m^2-3m)k+m+3m^2=0$$

and solve for $k$ using the quadratic formula yields

$$k=\frac{-(m^2-3m) \pm \sqrt{(m^2-3m)^2-4(2)(m+3m^2)}}{2(2)}$$

$$\;\;\;=\frac{3m-m^2 \pm \sqrt{(m+1)^2(m(m-8))}}{4}$$

$$\;\;\;=\frac{3m-m^2 \pm (m+1)\sqrt{m(m-8)}}{4}$$

Recall that the expression inside the radical must be greater than or equal to zero, thus, $$m(m-8)\ge 0$$ and this gives

$m\le 0$ and $m \ge 8$.

Also, bear in mind that we're told $m, k$ are both integer values, so, $m(m-8)$ has to be a squre.

But if we apply the AM-GM inequality to the terms $m$ and $m-8$, we find

$$\frac{m+m-8}{2} \ge \sqrt{m(m-8)}$$

$$m-4 \ge \sqrt{m(m-8)}$$

$m\ge 8$ implies $m-4 \ge 4$ and this further implies $\sqrt{m(m-8)} \le 4$ and now, we will solve for $m$ by considering $\sqrt{m(m-8)}=0$ or $1$ or $2$ or $3$or $4$ and we will take whichever solution that gives the integer values of $m$.

$$\sqrt{m(m-8)}= 4$$ gives irrational $m$ values.

$$\sqrt{m(m-8)}= 3$$ gives $m=-1, 9$.

$$\sqrt{m(m-8)}= 2$$ gives irrational $m$ values.

$$\sqrt{m(m-8)}= 1$$ gives irrational $m$ values.

$$\sqrt{m(m-8)}= 0$$ gives irrational $m=0, 8$ values but $m>0$, hence $m=8$.

Thus, by substituting each of the value of $m$ to the equation (*) above to find for its corresponding $k$ value, we end up with the following 4 solution sets, namely

$(m, k)=(-1, -1), (8, -10), (9, -6), (9, -21)$
 
I like Serena said:
Opalg said:
therefore $m(m-8) = (m-4)^2 - 16$ must also be a square. The only way that can happen is if $m-4 = \pm5$.
Why is that?
Oops, I should have taken I like Serena's query more seriously. I was thinking that the only way you could have $x^2-16 = y^2$ was in the situation $5^2 - 4^2 = 3^2$. But in the solution to this problem, the situation $4^2 - 4^2 = 0^2$ is also possible. That leads to the solution $m=8$ and $k=-10$.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K