How could I solve the equation $5a+6b+56=ab$ ? How can I find each pairs $(a, b)$ without trying out them all, when a and b arent allowed to be negative or floating point ?
Asked
Active
Viewed 39 times
1 Answers
1
This is solution if you want Positive Integral solutions :
For this, you can proceed to factorize in the following way ;
$5a+6b-ab+56=0$
$(a-6)(b-5)=86$
See this link for factorization trick.
$(a-6)(b-5)=2\times 43=1\times86$
So possibilities are :
$(a-6)=2, (b-5)=43$
$(a-6)=43, (b-5)=2$
$(a-6)=1, (b-5)=86$
$(a-6)=86, (b-5)=1$
Hope this helps!
Jaideep Khare
- 19,293
-
What is meaning of Floating Points? – Jaideep Khare Mar 12 '17 at 13:03
-
1.5 = floating point, 1.3 = floating point, 1=integer – Luatic Mar 12 '17 at 14:46
-
@user7185318 Does it include irrationals? – Jaideep Khare Mar 12 '17 at 14:54
-
Its simply the rule number modulo 1 = 0 – Luatic Mar 12 '17 at 14:55