High School Solving ab = a + b: What are the Possible Answers?

  • Thread starter Thread starter Einstein's Cat
  • Start date Start date
Click For Summary
SUMMARY

The equation ab = a + b has integer solutions, notably a = b = 2 and a = b = 0. To find other solutions, b can be expressed as b = a / (a - 1), necessitating that a is a multiple of a - 1 for b to remain an integer. Further analysis reveals that if b exceeds 2, no integer solutions exist, as demonstrated through the relationship a = b(a - 1).

PREREQUISITES
  • Understanding of integer equations
  • Familiarity with algebraic manipulation
  • Knowledge of quadratic expressions
  • Ability to analyze integer properties and multiples
NEXT STEPS
  • Explore integer solutions to quadratic equations
  • Study the properties of multiples and divisibility in integers
  • Learn about algebraic manipulation techniques for solving equations
  • Investigate the implications of restrictions on integer values in equations
USEFUL FOR

Mathematicians, educators, students studying algebra, and anyone interested in solving integer equations.

Einstein's Cat
Messages
182
Reaction score
2
There is the equation

ab = a + b (the solutions have to be integers)

A solution to this is a= b= 2.

What are other solutions? Are there other solutions?
 
Mathematics news on Phys.org
Why don't you solve for b in terms of a and think about what would be necessary for b to be an integer if a is?
 
  • Like
Likes blue_leaf77
Einstein's Cat said:
Are there other solutions?
One more.
 
blue_leaf77 said:
One more.
it would be that

b= a / (a - 1)
thus b has to be a multiple of a - 1

I assume that the other solution is a=b=0
 
Einstein's Cat said:
thus b has to be a multiple of a - 1
No, it is ##a## that needs to be a multiple of ##a-1## in order for ##b## to be an integer!
 
Orodruin said:
No, it is ##a## that needs to be a multiple of ##a-1## in order for ##b## to be an integer!
what pairs of integers satisfy that? I can't for the life of me think of any!
 
Did you try to simply insert common integers into the equation?

You got one solution of a=b=2 from a^2=(a+a) which can be converted to a quadratic expression to factor right?
 
  • Like
Likes Logical Dog
Einstein's Cat said:
what pairs of integers satisfy that? I can't for the life of me think of any!
So prove it.
##a## being a multilple of ##a-1## means ##a=b\cdot (a-1)## and since ##a## is the greater number, ##b## has to be positive.
Can you show why ##b## cannot be greater than ##2##?
 
  • Like
Likes Logical Dog and Einstein's Cat
fresh_42 said:
So prove it.
##a## being a multilple of ##a-1## means ##a=b\cdot (a-1)## and since ##a## is the greater number, ##b## has to be positive.
Can you show why ##b## cannot be greater than ##2##?
if b is greater than 2, say 3, then a= 3a - 3. no integer satisfies this from 1 to 10 and has a gets bigger the 3 is a smaller proportion of a so it can be assumed that this is the case
 
  • #10
Einstein's Cat said:
if b is greater than 2, say 3, then a= 3a - 3. no integer satisfies this from 1 to 10 and has a gets bigger the 3 is a smaller proportion of a so it can be assumed that this is the case
Well, ... yes. But the restriction to numbers until ##10## lacks a bit of rigor. ##a=b(a-1) > 2(a-1) = 2a -2## and thus ##a<2## would be more general and also leaves you with the cases ##a \in \{0,1\}\, ##or## \, b \in \{0,1,2\}## which you can handle manually. Or you proceed along the lines @jedishrfu has pointed out in #7.
 
  • Like
Likes Logical Dog

Similar threads

  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 23 ·
Replies
23
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
7
Views
2K