Cubic equation/Proofs: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>David W Gillette
m (New page: Vieta and Harriot developed a plan for solving cubic equations that involves transforming the original equation into a depressed cubic - one without a quadratic term. He has a second subs...)
 
imported>Peter Schmitt
m (Solving cubic equations moved to Cubic equation/Proofs: move to Proofs subpage -- may be changed later, but belongs to "Cubic equation")
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Vieta and Harriot developed a plan for solving cubic equations that involves transforming the original equation into a depressed cubic - one without a quadratic term.  He has a second substitution that transforms it into a sixth degree equation which is of quadratic form - having only terms of degrees six, three and zero.  This can be solved by the quadratic formula and then taking the cube root.  The quadratic formula often results in complex solutions.  Finding the cube root of a complex number can be accomplished in polar form, so changing the form of the complex numbers as needed, is appropriate.  After the three cube roots are found, the values must be substituted back through the two transformations, to give the solutions of the original equation.
{{subpages}}
==The Method==
===The Depressed Cubic===
Start with a cubic equation in this form:


: <math>x^3+ax^2+bx+c=0 \ </math>
Vieta and Harriot helped to develop a plan for solving [[cubic equation]]s that involves transforming the original equation into a depressed cubic - one without a quadratic term.  They have a second substitution that transforms the cubic into a sixth degree equation which is of quadratic form - having only terms of degrees six, three and zero.  This can be solved by the quadratic formula and then taking the cube root.  The quadratic formula often results in complex solutions.  In this case (if there is no rational roots) roots can not be expressed in radicals using only real numbers. But finding the cube root of a complex number can be accomplished in polar form, so changing the form of the complex numbers as needed, is appropriate.  After the three cube roots are found, the values must be substituted back through the two transformations, to give the solutions of the original equation.


Let <math> x = t - \frac a 3 \ \ </math>
==Using the method==
To solve a cubic equation with this method, collect all the terms in decreasing degree on one side of the equation. 


Substituting this for <math>x \ </math> in the original equation gives::
:<math>dx^3 + ex^2 + fx + g = 0 \ </math>


: <math> \left (t - \frac a 3 \right ) ^3 + a \left (t - \frac a 3 \right ) ^ 2 + b \left (t - \frac a 3 \right ) + c = 0 </math>
If the coefficient of the cubic term is not 1, divide the equation by that coefient.


Expanding:
:<math>x^3 + a x^2 + bx + c = 0 \ </math>


: <math> t^3 - at^2 + \frac {a^2 t} 3 - \frac {a^3} {27}+ at^2 - \frac {2a^2t} 3 + \frac {a^3} 9 + bt - \frac{ab} 3 + c = 0 </math>
Identify the three remaining coeficients and use them to calculate values for <math>P \ </math> and <math>Q \ </math>.


Gathering like terms in <math>t \ </math>:
:<math>P \ = \frac{3b-a^2} 3 </math>


: <math> t^3 + (at^2 - at^2)  + \left ( \frac {a^2 t} 3 - \frac {2a^2 t} 3 + by \right ) + \left (- \frac {a^3} {27}+ \frac {a^3} 9 - \frac{ab} 3 + c \right ) </math>
:<math>Q \ = \frac{27c-9ab+2a^3} {27} </math>


Simplifying by adding like terms causes the quadratic terms to drop out:
Two transformations change the cubic into a quadratic in <math>w^3 \ </math>:


: <math> t^3 + \left ( \frac{3b-a^2} 3 \right ) t + \left ( \frac{27c-9ab+2a^3} {27} \right ) = 0 </math>
:<math>\left ( w^3 \right ) ^2 + Q \left ( w^3 \right ) - \frac{P^3}{27} = 0</math>


Common practice uses <math>P \ </math> for <math> \frac{3b-a^2} 3 </math>  
Use the values of <math>P \ </math> and <math>Q \ </math> to calculate the two values for <math>w^3 \ </math>.


and <math>Q \ </math> for <math> \frac{27c-9ab+2a^3} {27} </math>
:<math>w^3 = \frac{-Q \pm \sqrt{ Q^2 + \frac{4P^3}{27}}} 2</math>
 
Gives what is called the depressed cubic:
 
: <math> t^3 + Pt + Q = 0 \ </math>
 
===Vieta's Substitution===
 
The mathematicians Vieta and Harriot devised a plan that allows the depressed cubic to be written as a sixth degree equation, which is in the form of a quadratic. 
 
Start with:
 
:<math> t=w- \frac P {3w} </math>
 
Substituting;
 
:<math>\left ( w- \frac P {3w} \right ) ^3 + P \left ( w- \frac P {3w} \right ) + Q = 0 </math>
 
Expanding:
 
:<math>w^3 - 3w^2 \left ( \frac P {3w} \right ) + 3w \left ( \frac {P^2} {9w^2} \right ) - \left ( \frac {P^3}{27w^3} \right ) + Pw - \frac {P^2}{3w} + Q = 0</math>
 
Simplifying:
 
:<math>w^3 - wP + \frac {P^2}{3w} - \left ( \frac {P^3}{27w^3} \right ) + wP - \frac {P^2}{3w} + Q = 0</math>
 
The second term and fifth term cancel, as do the third and sixth; leaving:
 
:<math>w^3 - \left ( \frac {P^3}{27w^3} \right ) + Q = 0</math>
 
Multiplying the equation by <math>w^3 \ </math> yields a sixth degree equation:
 
:<math>w^6 + Qw^3 - \frac{P^3}{27} = 0</math>


Which can be written as a quadratic in <math>w^3 \ </math>.
Often the results will be complex <math>z = x \pm yi \ </math>. If so change them to polar form.


:<math>\left ( w^3 \right ) ^2 + Q \left ( w^3 \right ) - \frac{P^3}{27} = 0</math>
:<math>z = r \pm \angle \theta</math>


===Finishing the Solution===
Where <math>r = \sqrt{x^2+y^2}</math> and <math>\theta = \pm \arctan \frac y x</math>


Using the quadratic formula to solve for <math>w^3 \ </math>
Next, find the principle cube root of <math>w^3 \ </math>


:<math>w^3 = \frac{-Q \pm \sqrt{ Q^2 + \frac{4P^3}{27}}} 2</math>
:<math>w_1 = \sqrt[3]{r \pm \angle \ \theta} \ = \ \sqrt[3] r \pm \angle \ \frac{\theta} 3</math>


Finding the principle cube root:
And change back to rectangular form:


:<math>w_1 = \sqrt[3]{\frac{-Q \pm \sqrt{Q^2 + \frac{4P^3}{27}}}2}</math>
:<math>z = r \cos \theta + i r \sin \theta \ </math>


And the other two roots are found by multiplying a cube root of unity.
The other two roots are found by multiplying by the cube roots of unity.


:<math>w_2 = w_1 \left ( - \frac 1 2 + \frac {\sqrt 3} 2 i \right ) </math>
:<math>w_2 = w_1 \left ( - \frac 1 2 + \frac {\sqrt 3} 2 i \right ) </math>
Line 80: Line 46:
:<math>w_3 = w_1 \left ( - \frac 1 2 - \frac {\sqrt 3} 2 i \right ) </math>
:<math>w_3 = w_1 \left ( - \frac 1 2 - \frac {\sqrt 3} 2 i \right ) </math>


Since the cube root has a plus-and-minus sign in it, there are six solutions for <math>w \ </math>. But as they are substituted into Vieta's formula to get <math>t \ </math>, the result is three pairs of identical solutions.
The formula below is a combination of the two transformations that were use to get the quadratic equation solved above. Due to the plus-and-minus in the 3<math>w \ </math>s from the quadratic formula, there are often six different results at this point. But in the final step, there will be only three unique answers.
 
Use each of the six values of <math>w \ </math>, to calculate the three values of <math>x \ </math>.


Finally, the 3 <math>t \ </math>s are substituted into the original formula for <math>x \ </math>, to get the three solutions of the cubic equation.
:<math>x = w - \frac P {3w} - \frac a 3</math>


==An Example with Integer Solutions==
==An Example with Integer Solutions==
Line 103: Line 71:
:<math>Q = \frac{27c-9ab+2a^3}{27} = \frac{810-369-128}{27} = \frac{286}{27}</math>
:<math>Q = \frac{27c-9ab+2a^3}{27} = \frac{810-369-128}{27} = \frac{286}{27}</math>


Substitute these into the quadratic equation in <math>w^2 \ </math>:
When these are substituted into the quadratic equation:


:<math>\left ( w^3 \right ) ^2 + Q \left ( w^3 \right ) - \frac{P^3}{27} = 0</math>
::<math>\left ( w^3 \right ) ^2 + Q \left ( w^3 \right ) - \frac{P^3}{27} = 0</math>


:<math>\left ( w^3 \right ) ^2 + \frac{286}{27} w^3 + \frac{117699}{27} = 0</math>
:<math>\left ( w^3 \right ) ^2 + \frac{286}{27} w^3 + \frac{117699}{27} = 0</math>


The Quadratic Formula Gives:
It can be solved by the quadratic formula:


:<math>w^3 = \frac{ - \left ( \frac{286}{27} \right ) \pm \sqrt{ \left ( \frac{286}{27} \right )^2 - 4 \left ( \frac{117699}{27} \right )}} 2 </math>
:<math>w^3 = \frac{ - \left ( \frac{286}{27} \right ) \pm \sqrt{ \left ( \frac{286}{27} \right )^2 - 4 \left ( \frac{117699}{27} \right )}} 2 </math>
Line 135: Line 103:
:<math>w = 2 \frac 1 6 \pm \frac{\sqrt 3} 2 i</math>
:<math>w = 2 \frac 1 6 \pm \frac{\sqrt 3} 2 i</math>


Separating the plus and minus signs gives 6 <math>w \ </math>s:
Substituting the 6 <math>w \ </math>s into the formula for <math>x \ </math>:


:<math>w_1 \approx 1 \frac 5 6 + 1.443376 i</math>
::<math> x=w- \frac P {3w} - \frac a 3 </math>


:<math>w_2 \approx 1 \frac 5 6 - 1.443376 i</math>
:<math>x_1 = 1 \frac 5 6 + 1.443376 i - \frac {\frac{-49} 3}{1 \frac 5 6 + 1.443376 i} - \frac{-4} 3 = 5</math>


:<math>w_3 \approx \frac 1 3 + 2.309401 i</math>
:<math>x_2 = 1 \frac 5 6 - 1.443376 i - \frac {\frac{-49} 3}{1 \frac 5 6 - 1.443376 i} - \frac{-4} 3 = 5</math>


:<math>w_4 \approx \frac 1 3 - 2.309401 i</math>
:<math>x_3 = \frac 1 3 + 2.309401 i - \frac {\frac{-49} 3}{\frac 1 3 + 2.309401 i}  - \frac{-4} 3 = 2</math>


:<math>w_5 = -2 \frac 1 6 + \frac{\sqrt 3} 2 i</math>
:<math>x_4 = \frac 1 3 - 2.309401 i - \frac {\frac{-49} 3}{\frac 1 3 - 2.309401 i}   - \frac{-4} 3 = 2</math>


:<math>w_6 = -2 \frac 1 6 - \frac{\sqrt 3} 2 i</math>
:<math>x_5 = -2 \frac 1 6 + \frac{\sqrt 3} 2 i  - \frac {\frac{-49} 3}{-2 \frac 1 6 + \frac{\sqrt 3} 2 i}  - \frac{-4} 3 = -3</math>


Substituting the 6 <math>w \ </math>s into Vieta's formula for <math>t \ </math>:
:<math>x_6 = -2 \frac 1 6 - \frac{\sqrt 3} 2 i  - \frac {\frac{-49} 3}{-2 \frac 1 6 - \frac{\sqrt 3} 2 i}  - \frac{-4} 3 = -3</math>


::<math> t=w- \frac P {3w} </math>
Which can be checked to be the three solutions to the original equation.


:<math>t_1 \approx 1 \frac 5 6 + 1.443376 i - \frac {\frac{-49} 3}{3(1 \frac 5 6 + 1.443376 i)} \ = \ 3 \frac 2 3 </math>
==The Derivation of the Method==
===The Depressed Cubic===
Start with a cubic equation in this form:


:<math>t_2 \approx 1 \frac 5 6 - 1.443376 i - \frac {\frac{-49} 3}{3(1 \frac 5 6 - 1.443376 i)} \ = \ 3 \frac 2 3 </math>
: <math>x^3+ax^2+bx+c=0 \ </math>


:<math>t_3 \approx - \frac 1 3 + 2.309401 i - \frac {\frac{-49} 3}{3(- \frac 1 3 + 2.309401 i)} \ = \ \frac 2 3</math>
Let <math> x = t - \frac a 3 \ \ </math>


:<math>t_4 \approx - \frac 1 3 - 2.309401 i - \frac {\frac{-49} 3}{3(- \frac 1 3 - 2.309401 i)} \ = \ \frac 2 3</math>
Substituting this for <math>x \ </math> in the original equation gives::


:<math>t_5 = 2 \frac 1 6 + \frac{\sqrt 3} 2 i + \frac {\frac{-49} 3}{2 \frac 1 6 + \frac{\sqrt 3} 2 i} = -4 \frac 1 3</math>
: <math> \left (t - \frac a 3 \right ) ^3 + a \left (t - \frac a 3 \right ) ^ 2 + b \left (t - \frac a 3 \right ) + c = 0 </math>  


:<math>t_6 = 2 \frac 1 6 - \frac{\sqrt 3} 2 i + \frac {\frac{-49} 3}{2 \frac 1 6 - \frac{\sqrt 3} 2 i} = -4 \frac 1 3</math>
Expanding:
 
: <math> t^3 - at^2 + \frac {a^2 t} 3 - \frac {a^3} {27}+ at^2 - \frac {2a^2t} 3 + \frac {a^3} 9 + bt - \frac{ab} 3 + c = 0 </math>
 
Gathering like terms in <math>t \ </math>:
 
: <math> t^3 + (at^2 - at^2)  + \left ( \frac {a^2 t} 3 - \frac {2a^2 t} 3 + by \right ) + \left (- \frac {a^3} {27}+ \frac {a^3} 9 - \frac{ab} 3 + c \right ) </math>
 
Simplifying by adding like terms causes the quadratic terms to drop out:
 
: <math> t^3 + \left ( \frac{3b-a^2} 3 \right ) t + \left ( \frac{27c-9ab+2a^3} {27} \right ) = 0 </math>
 
Common practice uses <math>P \ </math> for <math> \frac{3b-a^2} 3 </math>
 
and <math>Q \ </math> for <math> \frac{27c-9ab+2a^3} {27} </math>
 
Gives what is called the depressed cubic:
 
: <math> t^3 + Pt + Q = 0 \ </math>
 
===Vieta's Substitution===
 
The mathematician Vieta devised a plan that allows the depressed cubic to be written as a sixth degree equation, which is in the form of a quadratic. 
 
Start with:
 
:<math> t=w- \frac P {3w} </math>


And finally substituting the 3 <math>t \ </math>s into the formula for <math>x \ </math> that gave the depressed cubic:
Substituting;


::<math>x = t - \frac a 3</math>
:<math>\left ( w- \frac P {3w} \right ) ^3 + P \left ( w- \frac P {3w} \right ) + Q = 0 </math>


:<math>x_1 = 3 \frac 2 3 - \frac{-4} 3 = 5</math>
Expanding:


:<math>x_2 = \frac 2 3 - \frac{-4} 3 = 2</math>
:<math>w^3 - 3w^2 \left ( \frac P {3w} \right ) + 3w \left ( \frac {P^2} {9w^2} \right ) - \left ( \frac {P^3}{27w^3} \right ) + Pw - \frac {P^2}{3w} + Q = 0</math>


:<math>x_3 = -4 \frac 1 3 - \frac{-4} 3 = -3</math>
Simplifying:


Which can easily be checked to be the three solutions to the original equation.
:<math>w^3 - wP + \frac {P^2}{3w} - \left ( \frac {P^3}{27w^3} \right ) + wP - \frac {P^2}{3w} + Q = 0</math>
 
The second term and fifth term cancel, as do the third and sixth; leaving:
 
:<math>w^3 - \left ( \frac {P^3}{27w^3} \right ) + Q = 0</math>
 
Multiplying the equation by <math>w^3 \ </math> yields a sixth degree equation:
 
:<math>w^6 + Qw^3 - \frac{P^3}{27} = 0</math>
 
Which can be written as a quadratic in <math>w^3 \ </math>.
 
:<math>\left ( w^3 \right ) ^2 + Q \left ( w^3 \right ) - \frac{P^3}{27} = 0</math>
 
===Finishing the Solution===
 
Using the quadratic formula to solve for <math>w^3 \ </math>
 
:<math>w^3 = \frac{-Q \pm \sqrt{ Q^2 + \frac{4P^3}{27}}} 2</math>
 
Finding the principle cube root:
 
:<math>w_1 = \sqrt[3]{\frac{-Q \pm \sqrt{Q^2 + \frac{4P^3}{27}}}2}</math>
 
And the other two roots are found by multiplying by a cube root of unity.
 
:<math>w_2 = w_1 \left ( - \frac 1 2 + \frac {\sqrt 3} 2 i \right ) </math>
 
:<math>w_3 = w_1 \left ( - \frac 1 2 - \frac {\sqrt 3} 2 i \right ) </math>
 
Since the cube root has a plus-and-minus sign in it, there are six solutions for <math>w \ </math>.  But as they are substituted into Vieta's formula to get <math>t \ </math>, the result is three pairs of identical solutions.
 
Finally, the 3 <math>t \ </math>s are substituted into the original formula for <math>x \ </math>, to get the three solutions of the cubic equation.

Latest revision as of 11:08, 15 September 2009

This article is a stub and thus not approved.
Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
 
Template:Proofs header

Template:Proofs footer

Vieta and Harriot helped to develop a plan for solving cubic equations that involves transforming the original equation into a depressed cubic - one without a quadratic term. They have a second substitution that transforms the cubic into a sixth degree equation which is of quadratic form - having only terms of degrees six, three and zero. This can be solved by the quadratic formula and then taking the cube root. The quadratic formula often results in complex solutions. In this case (if there is no rational roots) roots can not be expressed in radicals using only real numbers. But finding the cube root of a complex number can be accomplished in polar form, so changing the form of the complex numbers as needed, is appropriate. After the three cube roots are found, the values must be substituted back through the two transformations, to give the solutions of the original equation.

Using the method

To solve a cubic equation with this method, collect all the terms in decreasing degree on one side of the equation.

If the coefficient of the cubic term is not 1, divide the equation by that coefient.

Identify the three remaining coeficients and use them to calculate values for and .

Two transformations change the cubic into a quadratic in :

Use the values of and to calculate the two values for .

Often the results will be complex . If so change them to polar form.

Where and

Next, find the principle cube root of

And change back to rectangular form:

The other two roots are found by multiplying by the cube roots of unity.

The formula below is a combination of the two transformations that were use to get the quadratic equation solved above. Due to the plus-and-minus in the 3s from the quadratic formula, there are often six different results at this point. But in the final step, there will be only three unique answers.

Use each of the six values of , to calculate the three values of .

An Example with Integer Solutions

Solve the cubic equation.

Identify the coefficients:

Substitute these values to get , and :

When these are substituted into the quadratic equation:

It can be solved by the quadratic formula:

Which simplifies to:

Changing to polar form:

The cube root of which is:

Multiplying by the cube roots of unity:

Gives the other solutions:

Substituting the 6 s into the formula for :

Which can be checked to be the three solutions to the original equation.

The Derivation of the Method

The Depressed Cubic

Start with a cubic equation in this form:

Let

Substituting this for in the original equation gives::

Expanding:

Gathering like terms in :

Simplifying by adding like terms causes the quadratic terms to drop out:

Common practice uses for

and for

Gives what is called the depressed cubic:

Vieta's Substitution

The mathematician Vieta devised a plan that allows the depressed cubic to be written as a sixth degree equation, which is in the form of a quadratic.

Start with:

Substituting;

Expanding:

Simplifying:

The second term and fifth term cancel, as do the third and sixth; leaving:

Multiplying the equation by yields a sixth degree equation:

Which can be written as a quadratic in .

Finishing the Solution

Using the quadratic formula to solve for

Finding the principle cube root:

And the other two roots are found by multiplying by a cube root of unity.

Since the cube root has a plus-and-minus sign in it, there are six solutions for . But as they are substituted into Vieta's formula to get , the result is three pairs of identical solutions.

Finally, the 3 s are substituted into the original formula for , to get the three solutions of the cubic equation.