Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. 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 a problem $x^2(1-x) = 1$

This can be simplified ( I think ) to $-x^3 + x^2 - 1 = 0$

Google shows that there is 1 solution for this in its graph.

I am not sure how to get to that solution though? I need to get $x$ on one side of the equation. It doesn't seem to fit the quadratic format, but I may be wrong.

Help me remember my algebra :p


share|cite|improve this question
You can use the cubic formula – Amr Nov 27 '12 at 17:14
Type the following into wolframaplha and you can see the exact and numeric roots: Solve[x^2(1-x) == 1, x]. Also, to do it by hand, you can follow one of the methods here: Let us know if this helps. - A – Amzoti Nov 27 '12 at 17:21
There is only one real solution, there are two complex solutions. See – akkkk Nov 27 '12 at 17:22
Thanks. I am using this equation programatically to simulate a slinky falling. I believe the cubic formula is what I need. I'll update back here upon success : ) – Vigrond Nov 27 '12 at 17:25
up vote 1 down vote accepted

If you are only interested in the numerical value of the real solution, the iteration $x\leftarrow-1/\sqrt{1-x}$ with initial value $x=0$ will also give you the solution $x=-0.75487766624669$ to 14 decimal places after 23 iterations.

share|cite|improve this answer

Answer was in the comments. I used the Cubic Formula to solve.

Additionally, I was using Octave to do simulations that utilize this equation.

Octave actually has a roots function to find the roots of a given polynomial


octave:1> c = [1,1,0,-1]
c =

   1   1   0  -1

octave:2> roots(c)
ans =

  -0.87744 + 0.74486i
  -0.87744 - 0.74486i
   0.75488 + 0.00000i
share|cite|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.