Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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

I have an equation which I want to rearrange so one variable is on the left side by itself.

Normally, I would do this with basic algebra and identities.

However, is it possible to use Mathematica to do this for me, automatically?

share|improve this question

migrated from Aug 18 '12 at 17:08

This question came from our site for finance professionals and academics.

Hello Gravitas, and welcome to Mathematica.SE. Thanks for the Accept. – Mr.Wizard Aug 21 '12 at 8:30
up vote 5 down vote accepted

That is an extremely general question, but usually, yes.
The commonly used functions used are Solve and Reduce:

Reduce[x^2 + a x + 1 == 0, a]
x != 0 && a == (-1 - x^2)/x

The documentation pages linked above contain many examples. Please read these, and if necessary narrow your question to a specific difficulty or problem.

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.