Equation With Integer Solutions

  • MHB
  • Thread starter anemone
  • Start date
  • Tags
    Integer
I just added the plus minus sign and now it's completeIn summary, The equation $a^2(b-2)+b^2(a-2)+28=0$ was solved for integer solutions by Albert, who took into consideration of all cases and added the plus minus sign to complete the solution.
  • #1
anemone
Gold Member
MHB
POTW Director
3,883
115
Solve the following equation for integer solutions:

$a^2(b-2)+b^2(a-2)+28=0$
 
Mathematics news on Phys.org
  • #2
anemone said:
Solve the following equation for integer solutions:

$a^2(b-2)+b^2(a-2)+28=0---(A)$
suppose the original equation $A$ can be factorized as $(B)$ or $(C)$
$a^2(b-2)+b^2(a-2)+28=0----(A)\\
(a^2-x)[(b-2)-\dfrac{28}{x}]=0---(B)\\
\therefore x=1,\,\, or\,\, x=4\\
\rightarrow a=\pm 1\,\, or \,\, a=\pm 2--------(1)\\
(a-y)[a(b-2)-\dfrac{28}{y}]=0---(C)\\
\therefore a=y=\pm 1,\pm 2,\pm 4,\pm 7,\pm 14,\pm 28---(2)$
for $a,b\in Z$
check $(1)(2)$
the only solution :$a=2,b=-5$ will satisfy (A)
by symmetry:
$\therefore (a,b)=(2,-5) \,\, or \,\, (a,b)=(-5,2)$
 
Last edited:
  • #3
Thanks Albert for participating, and your final solution is correct.

My solution:

$a^2(b-2)+b^2(a-2)+28=0$

$a^2(b-2)+b^2(a-2)+32=4$

$a^2b-2a^2+ab^2-2b^2+32=4$

$ab(a+b)-2(a^2+b^2)+32=4$

$ab(a+b)-2(a+b)^2+4ab+32=4$

$(a+b)(ab-2(a+b))+4(ab+8)=4$

$(a+b)(ab-2(a+b)+8)-8(a+b)+4(ab+8)=4$

$(a+b)(ab-2(a+b)+8)+4(ab-2(a+b)+8)=4$

$(a+b+4)(ab-2(a+b)+8)=4$

$(a+b+4)(ab-2(a+b)+8)=\pm 1(\pm 1)\stackrel{\text{or}}=\pm 2(\pm 2)\stackrel{\text{or}}=\pm 4(\pm 1)\stackrel{\text{or}}=\pm 1(\pm 4)$

Upon checking for all cases, we see that the following two are the only solutions:

$(a,\,b)=(-5,\,2),\,(2,\,-5)$
 
  • #4
anemone said:
Thanks Albert for participating, and your final solution is correct.

My solution:

$a^2(b-2)+b^2(a-2)+28=0$

$a^2(b-2)+b^2(a-2)+32=4$

$a^2b-2a^2+ab^2-2b^2+32=4$

$ab(a+b)-2(a^2+b^2)+32=4$

$ab(a+b)-2(a+b)^2+4ab+32=4$

$(a+b)(ab-2(a+b))+4(ab+8)=4$

$(a+b)(ab-2(a+b)+8)-8(a+b)+4(ab+8)=4$

$(a+b)(ab-2(a+b)+8)+4(ab-2(a+b)+8)=4$

$(a+b+4)(ab-2(a+b)+8)=4$

$(a+b+4)(ab-2(a+b)+8)=1(1)\stackrel{\text{or}}=2(2)\stackrel{\text{or}}=4(1)\stackrel{\text{or}}=1(4)$

Upon checking for all cases, we see that the following two are the only solutions:

$(a,\,b)=(-5,\,2),\,(2,\,-5)$

above ans is correct nut

you missed out some cases of factors (-ve) * (-ve) in which you could have missed out solution but you did not miss out
 
  • #5
Ah, my mistake...I in fact took into consideration of all cases, just that I forgot to put the plus minus sign in the post...I just fixed it, thanks!
 
  • #6
anemone said:
Thanks Albert for participating, and your final solution is correct.

My solution:

$a^2(b-2)+b^2(a-2)+28=0$

$a^2(b-2)+b^2(a-2)+32=4$

$a^2b-2a^2+ab^2-2b^2+32=4$

$ab(a+b)-2(a^2+b^2)+32=4$

$ab(a+b)-2(a+b)^2+4ab+32=4$

$(a+b)(ab-2(a+b))+4(ab+8)=4$

$(a+b)(ab-2(a+b)+8)-8(a+b)+4(ab+8)=4$

$(a+b)(ab-2(a+b)+8)+4(ab-2(a+b)+8)=4$

$(a+b+4)(ab-2(a+b)+8)=4$

$(a+b+4)(ab-2(a+b)+8)=\pm 1(\pm 1)\stackrel{\text{or}}=\pm 2(\pm 2)\stackrel{\text{or}}=\pm 4(\pm 1)\stackrel{\text{or}}=\pm 1(\pm 4)$

Upon checking for all cases, we see that the following two are the only solutions:

$(a,\,b)=(-5,\,2),\,(2,\,-5)$

Sorry that I missed out last time

$\pm1(\pm 1)$ is invalid
 

FAQ: Equation With Integer Solutions

What is an equation with integer solutions?

An equation with integer solutions is an equation in which the values of the variables can be represented by whole numbers. This means that when the equation is solved, the resulting values will be integers.

How do you know if an equation has integer solutions?

To determine if an equation has integer solutions, you can solve the equation using different methods such as substitution or elimination. If the resulting values for all variables are integers, then the equation has integer solutions.

Can an equation have multiple integer solutions?

Yes, an equation can have multiple integer solutions. This means that there can be more than one set of values for the variables that satisfy the equation and result in integer solutions.

Are there any equations that do not have integer solutions?

Yes, there are equations that do not have integer solutions. For example, an equation with variables that have fractional or decimal values, such as 3x + 2.5y = 10, will not have integer solutions.

How can equations with integer solutions be useful in science?

Equations with integer solutions are useful in science because they allow for precise and accurate calculations. In many scientific experiments and studies, the variables involved can be represented by whole numbers, making equations with integer solutions a valuable tool for analyzing and understanding data.

Similar threads

Back
Top