What are all the two-digit positive integers in which the difference between the integer and the product of its two digits is $12$?

659 Views Asked by At

What are all the two-digit positive integers in which the difference between the integer and the product of its two digits is $12$ ?

What I did so far:

$10a+b-ab=12$,

$10a+b(1-a)=12$,

$-10(1-a)+b(1-a)=2$,

$(b-10)(1-a)=2$

Then I solve and get $b=12$ or $11$, but this can't be right.

Please help.

3

There are 3 best solutions below

0
On

from the equation $$(a-1)(10-b)=2$$ we obtain $$a-1=2$$ and $$10-b=1$$ from here we get $$a=3,b=9$$ or $$a-1=1$$ and $$10-b=2$$ from here we get $$a=2,b=8$$

0
On

Hint: The equation $10a+b-ab-12=0$ is equivalent to $b(a-1)=2(5a - 6)$. Note that $a-1=0$ is impossible.

0
On

You have done correctly so far. To proceed further, we can divide it into following cases:

Case 1. $(b-10) = 2$ and $(1-a) = 1$
Case 2. $(b-10)=1$ and $(1-a)=2$
Case 3. $(b-10)=-1$ and $(1-a)=-2$
Case 4. $(b-10)=-2$ and $(1-a)=-1$

We can easily check the values of $a,b$ satisfying the conditions and we thus get the permissible values as: $39$ and $28$. Hope it helps.