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

  • B
  • Thread starter Einstein's Cat
  • Start date
In summary, the conversation discusses the equation ab = a + b and its solutions for integers a and b. One solution is a = b = 2, and the conversation explores other possible solutions and the conditions necessary for b to be an integer if a is. The conversation also mentions the quadratic expression of the equation and how it can be used to find solutions. It concludes with a discussion on the restrictions for a and b and how they can be handled manually.
  • #1
Einstein's Cat
182
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
  • #2
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
  • #3
Einstein's Cat said:
Are there other solutions?
One more.
 
  • #4
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
 
  • #5
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!
 
  • #6
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!
 
  • #7
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
  • #8
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
  • #9
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

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

1. What is the main purpose of solving the equation ab = a + b?

The main purpose of solving ab = a + b is to find the possible values of a and b that satisfy the equation. This can help in solving various mathematical problems and equations involving variables.

2. Is there a unique solution for the equation ab = a + b?

No, there are infinite solutions for the equation ab = a + b. This is because any value of a and b that satisfy the equation can be considered a solution.

3. Can the equation ab = a + b be solved for all real numbers?

Yes, the equation ab = a + b can be solved for all real numbers. This is because the equation does not have any restrictions on the values of a and b.

4. Are there any specific values of a and b that satisfy the equation ab = a + b?

Yes, there are specific values of a and b that satisfy the equation ab = a + b. Some examples include a = 1 and b = 2, a = 0 and b = 0, and a = 2 and b = 4.

5. How can solving the equation ab = a + b be useful in real life?

Solving the equation ab = a + b can be useful in various real-life scenarios, such as calculating the total cost of items when a discount is applied, finding the dimensions of a rectangle with a given perimeter, and solving for the growth rate of a population. It is a fundamental equation in algebra and can be applied in many different contexts.

Similar threads

Replies
1
Views
656
Replies
1
Views
790
Replies
1
Views
981
Replies
2
Views
1K
Replies
21
Views
614
Replies
1
Views
911
Replies
2
Views
1K
Replies
3
Views
1K
Back
Top