Find all possible values of a-b

  • MHB
  • Thread starter anemone
  • Start date
In summary, the expression "a-b" represents the difference between two numbers, with "a" being the first number and "b" being the second number. To find all possible values of a-b, one can use a number line or table to list out all combinations of numbers for "a" and "b" and then subtract each pair to record the results. Multiple solutions are possible for a-b, depending on the given values of "a" and "b". There is no specific order to find all possible values of a-b, and this process can be useful in various mathematical and scientific applications, such as solving equations and identifying patterns and relationships between numbers.
  • #1
anemone
Gold Member
MHB
POTW Director
3,883
115
The numbers $a$ and $b$ are prime and satisfy $\dfrac{a+1}{a}+\dfrac{b}{b+1}=\dfrac{2k}{k+2}$ for some positive integer $k$.

Find all possible values of $a-b$.
 
Mathematics news on Phys.org
  • #2
Hint:

Notice that $a$ and $b+1$ are coprime.
 
  • #3
anemone said:
Hint:

Notice that $a$ and $b+1$ are coprime.

Not solved since long

above assumption is incorrect as a= 3, b= 5. if above is true then we need to prove it
 
  • #4
Solution of other:

$\dfrac{a+1}{a}+\dfrac{b}{b+1}=\dfrac{2k}{k+2}$

Subtract 2 from both sides to get

$\dfrac{1}{b+1}-\dfrac{1}{a}=\dfrac{4}{k+2}$

From this, since $k$ is positive, we have that $a>b+1$. Therefore $a$ and $b+1$ are coprime, since $a$ is prime.

Group the terms on the LHS to get

$\dfrac{a-b-1}{a(b+1)}=\dfrac{4}{k+2}$

Now, $(a,\,a-b-1)=(a, b+1)=1$ and $(b+1,\,a-b-1)=(b+1,\,a)=1$ so the fraction on the left is in lowest terms.

Therefore the numerator on the left must divide the numerator on the right, which is 4. Since $a-b-1$ is positive, it must be $1,\,2$ or $4$ so that $a-b$ must be $2,\,3$ or $5$. All of these can be attained by $(a,\,b,\,k)=(5,\,3,\,78),\,(5,\,2,\,28)$ and $(7,\,2,\,19)$ respectively.
 

FAQ: Find all possible values of a-b

What is the meaning of "a-b"?

The expression "a-b" simply means the difference between two numbers, with "a" being the first number and "b" being the second number.

How do I find all possible values of a-b?

To find all possible values of a-b, you can use a number line or a table to list out all the possible combinations of numbers for "a" and "b". Then, subtract each pair of numbers and record the result. This will give you a list of all possible values of a-b.

Can there be more than one solution for a-b?

Yes, there can be multiple solutions for a-b. It depends on the given values of "a" and "b". For example, if a=5 and b=3, then the possible values of a-b are 2 and -2.

Is there a specific order to find all possible values of a-b?

No, there is no specific order to find all possible values of a-b. You can start with any value for "a" and "b" and continue listing out all the possible combinations and their differences.

How can finding all possible values of a-b be useful?

Finding all possible values of a-b can be useful in many mathematical and scientific applications. It can help in solving equations, identifying patterns and relationships between numbers, and making predictions based on the given values of "a" and "b".

Similar threads

Replies
1
Views
1K
Replies
2
Views
1K
Replies
3
Views
974
Replies
4
Views
988
Replies
1
Views
1K
Replies
1
Views
855
Replies
2
Views
1K
Back
Top