Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I'm trying to inverse this equation

Z = X + X^2 / 2

but couldn't wrap up my head around it. If anyone can provide a step by step solution to this it will be really helpful.

Thanks in advance!

share|improve this question

closed as off-topic by Yves Klett, m_goldberg, ciao, bobthechemist, The Toad Mar 19 '14 at 5:15

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – Yves Klett, m_goldberg, ciao, bobthechemist, The Toad
If this question can be reworded to fit the rules in the help center, please edit the question.

Do you mean solve for X as a function of Z? Perhaps try the aptly named Solve function. There are step-by-step examples in the documentation. –  Ian Mar 18 '14 at 13:37
yea trying to solve X –  clinraus Mar 18 '14 at 13:40

1 Answer 1

up vote 1 down vote accepted

Use Solve or Reduce for this task

Reduce[z == x + x^2/2, x]
(* x == -1 - Sqrt[1 + 2 z] || x == -1 + Sqrt[1 + 2 z] *)

Solve[z == x + x^2/2, x]
(* {{x -> -1 - Sqrt[1 + 2 z]}, {x -> -1 + Sqrt[1 + 2 z]}} *)
share|improve this answer

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