Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I get

Solve[(1/9)^(r/2) == 1/n , r] 

to give me


and not


share|improve this question
Thanks. Solve may have just been the wrong command. – lip1 Dec 11 '12 at 15:18
@b.gatessucks Perhaps you should consider posting working answers, however short they may be, as answers and not as comments. The list of seemingly unanswered questions is growing and growing. I won't hold it against you ;-) – Sjoerd C. de Vries Dec 11 '12 at 15:35
You can get the result with Solve, you can do e.g. this Simplify[ Solve[ (1/9)^(r/2) == 1/n, r, Reals], n > 0]. – Artes Dec 11 '12 at 15:37
@SjoerdC.deVries the alternative is someone collects all these answers in comments and produce 200 answers ;-) – chris Dec 11 '12 at 15:44
Or I can answer my own question with the comments :) – lip1 Dec 11 '12 at 15:45
up vote 1 down vote accepted

This does it :

Reduce[(1/9)^(r/2) == 1/n && n > 0, r, Reals]

(* n > 0 && r == Log[n]/Log[3] *)
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.