Why is $\log a = \log b \Rightarrow a=b$ true?
Asked
Active
Viewed 103 times
-1
-
1This "answer" does not answer the question and should be a comment. – bbgodfrey Jun 19 '21 at 17:56
-
@will Is this a question abou math or about the Mathematica software? – A.G. Jun 20 '21 at 04:04
3 Answers
2
Straightforward approaches are
FindInstance[Exists[{a, b}, Log[a] == Log[b] && a != b], {a, b}, Complexes]
*({})*
and
FunctionInjective[Log[z], z, Complexes]
(*True)*
user64494
- 26,149
- 4
- 27
- 56
2
Reduce can do it:
Reduce[Log[a] == Log[b], {a, b}]
(* b == a *)
Coolwater
- 20,257
- 3
- 35
- 64
-
Or
Reduce[Log[a] == Log[b], b] // FullSimplify. SimplyReduce[Log[a] == Log[b]]does not work. – user64494 Jun 19 '21 at 18:08
0
Simple proof
Exp /@ (Log[a] == Log[b])
(* a == b *)
Of course the converse is not true
Log /@ (Exp[a] == Exp[b])
(* Log[E^a] == Log[E^b] *)
mikado
- 16,741
- 2
- 20
- 54
-
This demonstration only holds because $x\to e^x$ is known to be injective on $\mathbb R$. – A.G. Jun 19 '21 at 18:15
-