Proving Unique Solution for ab = ba Using Logarithms | Homework Equations

In summary, the author tries to solve a homework problem involving a and b, but gets stuck. They eventually realize that only one value of a and b satisfies the equation, and find that it is 1.
  • #1
songoku
2,368
349

Homework Statement


Positive integers a and b, where a < b, satisfy the equation :
ab = ba

By first taking logarithms, show that there is only one value of a and b that satisfies the equation and find the value !


Homework Equations


logarithm


The Attempt at a Solution


I know the solution just by guessing, a = 2 and b = 4 but I don't know how to do it...

[tex]a^b=b^a[/tex]

[tex]b*log~a=a*log~b[/tex]

Then I stuck...:frown:

Thanks
 
Physics news on Phys.org
  • #2
try taking logs to base a or b instead of base 10
 
  • #3
Hi rock.freak667
rock.freak667 said:
try taking logs to base a or b instead of base 10

I think it will be the same.

[tex]a^b=b^a[/tex]

[tex]b*\log_{a}~a=a*\log_{a}b[/tex]

[tex]b=a*\log_{a}b[/tex]

Then stuck again...:(

Thanks
 
  • #4
Think of only one variable at a time (e.g. b in the last equation of your previous post).
 
  • #5
Since a and b are positive integer,

we can conclude a,b>0 without generalisation.

First by taking log base a,

[tex]

b=a log_{a}b[/tex]

[tex]b log_{b}a=a[/tex]

substituting to initial equation,

[tex]a^{2}-alog_{a}b=0[/tex]

[tex]a=0[/tex] or [tex]a=log_{a}b[/tex]

Therefore, [tex]a=log_{a}b[/tex]

is the only solution for a since logarithm curve is constantly decreasing.

[tex]b=a^{a}[/tex]

since exponent curve is ... leaving this part to you (=
 
Last edited:
  • #6
Hi turin and icystrike
turin said:
Think of only one variable at a time (e.g. b in the last equation of your previous post).
sorry I don't understand what you mean. From my last equation :

[tex]b=a*\log_{a}b[/tex]

Then, think only b as variable. how to continue? what about a?

icystrike said:
substituting to initial equation,

[tex]a^{2}-alog_{a}b=0[/tex]

I don't understand this part. To which initial equation do you substitute?

icystrike said:
[tex]a=0[/tex] or [tex]a=log_{a}b[/tex]

Therefore, [tex]a=log_{a}b[/tex]

is the only solution for a since logarithm curve is constantly decreasing.

[tex]b=a^{a}[/tex]

since exponent curve is ... leaving this part to you (=

even though I can reach this part, I still don't know how to continue. I think logarithm curve is constantly increasing, not decreasing. From y = log x, the value of y will increase if x increases.

exponent curve is also constantly increasing, but from b=aa, how to deduce that a = 2?

Thanks a lot
 
Last edited:
  • #7
icystrike said:
Since a and b are positive integer,

we can conclude a,b>0 without generalisation.

First by taking log base a,

[tex]

b=a log_{a}b[/tex]

[tex]b log_{b}a=a[/tex]
I'm with Songoku on this; I'm not following what you are doing. I understand how you got both equations above, but your description is that you are taking the log base a of both sides of the original equation. In your second equation you're taking the log base b of both sides of the original equation.
icystrike said:
substituting to initial equation,

[tex]a^{2}-alog_{a}b=0[/tex]
Now this doesn't make any sense to me. Where did it come from? This is equivalent to a2 - b = 0 from the first of your two equations above, where you have b = a logab.
icystrike said:
[tex]a=0[/tex] or [tex]a=log_{a}b[/tex]

Therefore, [tex]a=log_{a}b[/tex]

is the only solution for a since logarithm curve is constantly decreasing.
Assuming that the base is larger than 1, any log curve is constantly increasing. IOW, if x1 < x2, then logax1 < logax2.
icystrike said:
[tex]b=a^{a}[/tex]

since exponent curve is ... leaving this part to you (=
 
  • #8
Mark44 said:
Assuming that the base is larger than 1, ...
Whoops, I thought I knew how to do the problem, until you pointed out this assumption.
 
  • #9
So unless icystrike can explain what he's done, we're back at square 1 on this problem.
 
  • #10
Sorry guys I've made a mistake. we are back to square one.
Now I'm able to solve it.
But it contradicts the statement that a>b.

[tex]
((lg a)/(lg b))=((lg b)/(lg a))[/tex]
[tex](lg a)^{2}-(lg b)^{2}=0[/tex]
[tex](lg a-lg b)(lg a+lg b)=0[/tex]
Therefore a=b which contradicts a>b
Thus the only possibility is [tex]a=(1/b)[/tex]
since a is a interger,
b must divide 1,
whereby b=1
suggest a=1 .
and resulting a=b.
Which again leads to a contradiction
 
Last edited:
  • #11
icystrike said:
Sorry guys I've made a mistake. we are back to square one.
Now I'm able to solve it.
But it contradicts the statement that a>b.

[tex]
((lg a)/(lg b))=((lg b)/(lg a))[/tex]
How do you get the equation above? We know that ab = ba, so b loga = a logb
==> b/a = (log b)/(log a)

How do you get from this equation to (log a)/(log b) = (log b)/(log a)?
icystrike said:
[tex](lg a)^{2}-(lg b)^{2}=0[/tex]
[tex](lg a-lg b)(lg a+lg b)=0[/tex]
Therefore a=b which contradicts a>b
Thus the only possibility is [tex]a=(1/b)[/tex]
since a is a interger,
b must divide 1,
whereby b=1
suggest a=1 .
and resulting a=b.
Which again leads to a contradiction
 

FAQ: Proving Unique Solution for ab = ba Using Logarithms | Homework Equations

What is a logarithm?

A logarithm is a mathematical function that represents the power to which a base number must be raised to produce a given number. For example, the logarithm base 10 of 100 is 2, because 10 to the power of 2 is 100.

How is a logarithm used in proofs?

In proofs, logarithms are commonly used to simplify equations or to transform exponential functions into linear functions, making them easier to work with and manipulate algebraically.

What properties of logarithms are important in proofs?

The three main properties of logarithms that are important in proofs are the product property, the quotient property, and the power property. These properties allow for the manipulation and simplification of logarithmic expressions.

How do you know when to use a logarithm in a proof?

Logarithms are often used when dealing with exponential functions or when trying to solve equations involving exponents. If you encounter an equation or function with an exponent, it may be helpful to use logarithms to simplify the expression.

What are some common mistakes to avoid when using logarithms in proofs?

Some common mistakes when using logarithms in proofs include forgetting to apply the properties of logarithms correctly, not simplifying expressions fully, and confusing the base of the logarithm with the base of the exponential function.

Similar threads

Replies
2
Views
1K
Replies
12
Views
2K
Replies
12
Views
2K
Replies
4
Views
2K
Replies
3
Views
2K
Replies
22
Views
2K
Back
Top