What is the formula to find the Zeros of this?

  • Thread starter konartist
  • Start date
  • Tags
    Formula
In summary: For a single complex root, the result should be close to zero, but for a pair of complex roots, the result could be off by a bit.In summary, the equation has three real roots, one just less than -2, one just less than +1, and one around 4.5.
  • #1
konartist
47
0
What is the formula to find the Zeros of this?

[tex]f(x)= x^3 - 3x^2 - 9x + 9[/tex]

I just can't seem to find them.
Rational root theorem:
+-1,3,9
(nope)
won't work with synthetic substitution

Can't group it either

What da hell?
 
Last edited:
Physics news on Phys.org
  • #2
I just ran it through mathematica and the roots are complex
 
  • #3
Pengwuino said:
I just ran it through mathematica and the roots are complex
Not according to my quick Matlab look - they don't look easy to find tho'...

4.54461,-2.37755,0.83294
 
Last edited:
  • #4
Well, the certainly can't all be complex!:approve:

A quick graph shows there are 3 real roots, one just less than -2, one just less than +1, one around 4.5.

There is a cubic formula but it is a lot more complicated than the quadratic formula. See:
http://www.math.vanderbilt.edu/~schectex/courses/cubic/
 
Last edited by a moderator:
  • #5
The cubic is fairly easy to solve (the quartic's the killer).

Don't memorise the formula, BTW. It's a lot easier to learn the principle of the thing. You can find it here : http://www.karlscalculus.org/cubic.html
 
Last edited by a moderator:
  • #6
I wonder if the OP wrote down the correct equation. Students shouldn't have to use the cubic equation to find roots, ie., one root should be easy to factor out, leaving a quadratic to solve - none of the roots are easy to find (by inspection) in the case here.
 
  • #7
J77 said:
I wonder if the OP wrote down the correct equation. Students shouldn't have to use the cubic equation to find roots, ie., one root should be easy to factor out, leaving a quadratic to solve - none of the roots are easy to find (by inspection) in the case here.

When I was in school, we had these chemical equilibrium questions to do. Now I never liked Chem a whole lot so I liked to fool around. Often to make these questions solvable at the kiddie level (junior high school I suppose), simple approximations such as assuming the concentration of a particular ion in abudance would not change would be made. That way the system could be reduced to solving a linear, or at the worst, a quadratic equation.

To get the teacher's goat, I purposely didn't use to make those approximations, instead choosing to solve the problem exactly. This used to give me cubics most of the time, and occasional quartics. We weren't "supposed" to know how to do these, but I did them anyway with all the complicated and tedious working (hey, I had a lot of time to kill :biggrin:). Needless to say, it pissed the teacher off a good deal. Of course, they couldn't mark me wrong, since the method and the answer were, if anything, more correct than the ones they expected us to be using.
 
  • #8
I just learned the Newton Method today, but it still isn't an exact zero. I really don't think there is anyway to solve this analyticaly, maybe just by a calculator?

EDIT: I have mathematica 5.0, how do I enter this into the program?? Is there a retard's guide to mathematica?
 
Last edited:
  • #9
konartist said:
I just learned the Newton Method today, but it still isn't an exact zero. I really don't think there is anyway to solve this analyticaly, maybe just by a calculator?

We've told you there's a perfectly well known and not too difficult way to solve it analytically should you choose to, and I've provided a reference. The question is, do you want to ?

Yes, Mathematica can solve this equation exactly in radicals. I've been out of touch with it, but there's a Solve[] function built in that gives exact solutions where possible. Perhaps someone else can help you with this. :smile:
 
  • #10
Oh, ok! I didn't see the link there.

Well, if anybody can tell me what to plug into mathematica I'd like to check my answers.
 
  • #11
konartist said:
Oh, ok! I didn't see the link there.

Well, if anybody can tell me what to plug into mathematica I'd like to check my answers.

Umm..why ?

If you want to solve it numerically, then you don't need Mathematica. Just substitute the solutions you find back into the equation with a calculator and verify the RHS comes very close to zero (within the limit of round-off error).

If you want to solve it analytically by hand, then you still don't need Mathematica. Just work it out in terms of radicals or trig ratios, then punch in the solution into your scientific calc to get a decimal number. Then put that back into the equation and again verify that it's a valid solution to the equation within round-off error.

The only thing Mathematica can help you with is to solve the equation analytically in radicals. To verify that, you can use a simple calc.

If you have 3 real roots, there's no problem at all verifying the roots. If you a single real root and a pair of complex conjugate roots, you can use a late model sci. calc. with complex number algebraic functions to do the trick.
 
Last edited:
  • #12
Anyway, if you're interested, I've solved the equation exactly by hand. Took 10 minutes, I recommend you try it.

The solution set is given by :

[tex]x = 1 + 4\cos(\frac{1}{3}\arctan\sqrt{63} + \frac{2}{3}k\pi)[/tex]

where k takes the values 0, 1, 2 in succession to give 3 real roots. Don't forget to work in radians.
 

1. What is the formula to find the Zeros of a polynomial?

The formula to find the zeros of a polynomial is known as the quadratic formula, which is (-b ± √(b^2 - 4ac)) / 2a.

2. Can the formula to find the Zeros be used for all types of polynomials?

No, the quadratic formula can only be used for quadratic polynomials, which are polynomials of degree 2. For higher degree polynomials, other methods such as factoring or using a graphing calculator may be necessary.

3. How do you know if a polynomial has complex zeros?

A polynomial may have complex zeros when the discriminant, b^2 - 4ac, is negative. This indicates that the zeros will be complex numbers in the form of a + bi, where a and b are real numbers and i is the imaginary unit.

4. Is there a way to find the zeros of a polynomial without using the quadratic formula?

Yes, for polynomials of degree 3 or higher, there are methods such as the rational root theorem and the factor theorem that can be used to find the zeros without using the quadratic formula.

5. Are there any special cases when finding the zeros of a polynomial?

Yes, there are some special cases to consider when finding the zeros of a polynomial. These include polynomials with repeated zeros, where the polynomial touches the x-axis at the same point multiple times, and irrational zeros, which cannot be represented as rational numbers.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
15
Views
627
  • Precalculus Mathematics Homework Help
Replies
9
Views
1K
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
  • Precalculus Mathematics Homework Help
Replies
19
Views
2K
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
  • Precalculus Mathematics Homework Help
Replies
8
Views
2K
  • Precalculus Mathematics Homework Help
Replies
27
Views
3K
Replies
3
Views
1K
Replies
12
Views
1K
  • Precalculus Mathematics Homework Help
Replies
10
Views
2K
Back
Top