When does addition equal multiplication?

If A A and B B are both positive integers such that A + B = A × B , A + B = A\times B, what is the value of A B ? A - B?


The answer is 0.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

6 solutions

A + B = A B A + B A B = 0 A + B ( 1 A ) = 0 ( A 1 ) B ( A 1 ) = 1 ( 1 B ) ( A 1 ) = 1 ( B 1 ) ( A 1 ) = 1 { B 1 = 1 A 1 = 1 or { B 1 = 1 A 1 = 1 \begin{aligned} A+B&=AB\\ A+B-AB&=0\\ A+B(1-A)&=0\\ (A-1)-B(A-1)&=-1\\ (1-B)(A-1)&=-1\\ (B-1)(A-1)&=1\\ \end{aligned}\\ \implies\begin{cases}B-1=1\\ A-1=1\end{cases}\text{or} \begin{cases}B-1=-1\\ A-1=-1\end{cases} After solving,we get ( A , B ) = ( 2 , 2 ) , ( 0 , 0 ) (A,B)=(2,2),(0,0) .However,since A and B are positive integers,so ( A , B ) = ( 2 , 2 ) A B = 0 (A,B)=(2,2)\implies A-B=\boxed{0}

Quite good. Indeed, the trick on the combination of AB, A and B is often seen in many contexts.

It's always beneficial to recognise AB - B - A = (A-1)(B-1) - 1, or AB - B + A = (A-1)(B+1) + 1, or AB + A + B = (A + 1)(B+1) -1, etc., so that your argument can be shortened by a bit. You may also see a similar trick used in matrices and junior high-school maths competitions.

By the way, you may apply the exact same technique to the following problem .

Wing Tang - 5 years, 4 months ago
Weiting Hong
Feb 3, 2016

A × B A \times B = A + B

A × B A \times B - A = B

A × ( B 1 ) A \times (B-1) = B

A = B ( B 1 ) \frac{B}{(B-1)}

In order to have A as an positive integer, B must be 2 (since two adjacent natural numbers are coprime, only something next to 1 may satisfy this condition)

Plug B back to the equation

2A = A+2

A = 2

Therefore: A - B = 2 - 2 = 0 \boxed{0}

Arthur Pletcher
Sep 12, 2016

A+B=AB,
A+B/AB=1,
A/AB + B/AB=1,
B+A=1,
AB=1 (SUBSTITUTING),
=> A * 1/A=1,
=> A=B,
=> A-B=0




Prasit Sarapee
Feb 3, 2016

Brute force is simple way.
A=1 B=1 ==> A+B=2 AB=1 not ok!
A=2 B=2 ==> A+B=4 AB=4 OK. :)

A=0 B=0 ==> A+B=0 AB = 0 A-B=0

c:

Aura Odum - 4 years, 9 months ago
Vincent Romero
Feb 3, 2016

2+2=2x2. 2-2=0

Kamalpreet Singh
Feb 1, 2016

Put A=2 and B=2 in the given expression.

It's good to get the solution, but you cannot guarantee that it's the only solution, i.e. there may be other solutions too.

Wing Tang - 5 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...