Finding the root of f(x) = x³ - x - 1

  • Thread starter Thread starter LearninDaMath
  • Start date Start date
  • Tags Tags
    Root
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
7 replies · 11K views
LearninDaMath
Messages
295
Reaction score
0

Homework Statement



How does one find the root of f(x) = x^3 - x - 1 ? Quadratic Equation only works on power of 2. I can't factor out an x to get a first term of x^2 because then Quadratic equation still won't work because the middle and last term would be messed up, I think.

What are the rules or the process?
 
Physics news on Phys.org
There is a formula, like the one you've memorized for quadratics, though the one for cubics is more frightening. Try a google search for it.

Or you can sometimes see a solution by inspection, esp. integer solutions. Or you can use a numerical method to find an approximate solution, that approximation can be to whatever accuracy you desire. Or you could plot a graph and read off from there.

Are you content to settle for a solution correct to 4 sig figs? :wink:
 
It is always recommended that you sketch the curve so that you know what you are dealing with. There are plenty of online plotting resources, quickmath is a handy one. Here's a sample, but it's not of the exact function you have (I don't plan to do your work for you!) http://www.quickmath.com/webMathema...uation&v1=x^3+-+x+-+2=y&v2=-2&v3=2&v4=-4&v5=4

Bookmark that site, it offers a lot more than just curve plotting. :smile:
 
Use the rational root test, then test for each one using synthetic division.
 
The rational root test won't give a root here because this polynomial has NO rational roots. The rational root test, for this polynomial, says that 1 and -1 are the only possible rational roots and they clearly are not roots.

If a and b are any two numbers then [itex](a- b)^3= a^3- 3a^2b+ 3ab^2- b^3[/itex] and [itex]3ab(a- b)= 3a^2b- 3ab^2[/itex] so that [itex](a- b)^3+ 3ab(a- b)= a^3- b^3[/itex]. That means that if we let x= a- b, m= 3ab, and [itex]n= a^3- b^3[/itex], we have [itex]x^3+ mx= n[/itex].

Now, suppose we know m and n. Can we solve for a and b and so find x? Yes, we can!

From m= 3ab, we have b= m/3a. Putting that into [itex]n= a^3- b^3[/itex], we get [itex]n= a^3- m^3/3^3a^3[/itex]. Multiplying through by [itex]a^3[/itex] we have [itex]na^3= (a^3)^2- m^3/3^3[/itex] which is a quadratic [itex](a^3)^2- na^3- m^3/3^3= 0[/itex] for [itex]a^3[/itex].

Solving that with the the quadratic formula,
[tex]a^3= \frac{n\pm\sqrt{n^2+4\frac{m^3}{3^3}}}{2}= \frac{n}{2}\pm\sqrt{\left(\frac{n}{2}\right)^2+ \left(\frac{m}{3}\right)^3}[/tex]

Since [itex]a^3- b^3= n[/itex],
[tex]b^3= a^3- n= -\frac{n}{2}\mp\sqrt{\left(\frac{n}{2}\right)^2+ \left(\frac{m}{3}\right)^3}[/tex]
 
Last edited by a moderator:
HallsofIvy said:
The rational root test won't give a root here because this polynomial has NO rational roots. The rational root test, for this polynomial, says that 1 and -1 are the only possible rational roots and they clearly are not roots.

You are right that in this case it wouldn't help, but it is a good rule of thumb in general.
 
HallsofIvy said:
we have [itex]x^x+ mx= n[/itex]
Very neat!

Is it too late to fix the typo?