Go to Post We don't use fancy tools like that, but we might need some wood glue or something :) - MrForbes [more]
Home
Go Back   Chief Delphi > Other > Math and Science
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-09-2006, 02:39
Dave Scheck's Avatar
Dave Scheck Dave Scheck is offline
Registered User
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2002
Location: Arlington Heights, IL
Posts: 574
Dave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond repute
Re: Need help factoring a 3rd Degree polynomial

I used to know a trick to solve cubic polynomials, but that has long since escaped me.

Here's a pretty complex formula that will give you your roots directly.

You can also take a brute force approach that you can use is the Rational Root Theorem. Essentiallty what it says is that for any polynomial, each rational root will have the property that x = p/q wher q is a factor of your x^0 term and q is a factor of your x^n term.

In your case, it's pretty easy.
p has to be +-1 or +-3 and q has to be +=1

So all combinations will give you the following values of x. Once you have those, you plug them into your original equation and find the ones that make the roots.

Code:
x = 1 ==> f(1) = 1 - 10 + 3 => -6
x = -1 ==> f(-1) = -1 + 10 + 3 => 12
x = 3 ==> f(3) = 27 - 30 + 3 => 0 <-- Rational root
x = -3 ==> f(-3) = -27 + 30 + 3 => 6
So as Karthik pointed out, since 3 is a root, (x - 3) is a factor. From there you should follow his other suggestion of using synthetic division.

I also came across this page which has some pretty good examples. In particular, you may want to take note of the Intermediate Value Theorem. They also talk about synthetic division if you need a refresher.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need assistance for a -40 degree cold chamber Don Wright General Forum 13 24-06-2005 20:00
Factoring 3rd degree polynomial sanddrag Math and Science 5 02-02-2005 00:10
Whats your hardest factoring problem? jon virgi Math and Science 1 19-04-2003 01:28


All times are GMT -5. The time now is 07:51.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi