Skip to main content

logic - Why I am not getting True when testing equation?


My input is:


$ \frac{1}{a^x}==(\frac{1}{a})^x $


I want to get output:


True


But getting output:


$ a^{-x}==\left(\frac{1}{a}\right)^x $


Question: How to get output: True



Answer



Your expression is only true if a is positive.


Simplify[a^-x == (1/a)^x, a > 0]


True




Comments