<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/158853</link>
    <title>MATLAB Central Newsreader - Roots of 4th order polynomial</title>
    <description>Feed for thread: Roots of 4th order polynomial</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Tue, 06 Nov 2007 13:59:16 -0500</pubDate>
      <title>Roots of 4th order polynomial</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/158853#400026</link>
      <author>Markus Buehren</author>
      <description>Hi!&lt;br&gt;
&lt;br&gt;
There is an analytical way to compute the roots of a&lt;br&gt;
polynomial of 4th degree, found by some guy called Ferrari.&lt;br&gt;
Here are two descriptions: &lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://mathworld.wolfram.com/QuarticEquation.html&quot;&gt;http://mathworld.wolfram.com/QuarticEquation.html&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.mathe.tu-freiberg.de/~hebisch/cafe/viertergrad.pdf&quot;&gt;http://www.mathe.tu-freiberg.de/~hebisch/cafe/viertergrad.pdf&lt;/a&gt;&lt;br&gt;
(in german) &lt;br&gt;
&lt;br&gt;
I wonder why I can't find an implementation in Matlab (or C)&lt;br&gt;
of this algorithm on Matlab central. Does anyone know where&lt;br&gt;
to find one?&lt;br&gt;
&lt;br&gt;
Regards&lt;br&gt;
Markus</description>
    </item>
    <item>
      <pubDate>Tue, 06 Nov 2007 16:39:03 -0500</pubDate>
      <title>Re: Roots of 4th order polynomial</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/158853#400058</link>
      <author> l_combee@yahoo.no</author>
      <description>On Nov 6, 2:59 pm, &quot;Markus Buehren&quot; &amp;lt;mb_matlab.REM...@gmxTHIS.de&amp;gt;&lt;br&gt;
wrote:&lt;br&gt;
&amp;gt; Hi!&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; There is an analytical way to compute the roots of a&lt;br&gt;
&amp;gt; polynomial of 4th degree, found by some guy called Ferrari.&lt;br&gt;
&amp;gt; Here are two descriptions:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://mathworld.wolfram.com/QuarticEquation.html&quot;&gt;http://mathworld.wolfram.com/QuarticEquation.html&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://www.mathe.tu-freiberg.de/~hebisch/cafe/viertergrad.pdf&quot;&gt;http://www.mathe.tu-freiberg.de/~hebisch/cafe/viertergrad.pdf&lt;/a&gt;&lt;br&gt;
&amp;gt; (in german)&lt;br&gt;
&lt;br&gt;
There is a &quot;simpler&quot; (?) solution then the ones described above (the&lt;br&gt;
final results are obviously the same), and it doesn't&lt;br&gt;
require one to &quot;eliminate&quot; the x^3 term.&lt;br&gt;
&lt;br&gt;
Just rewrite as follows:&lt;br&gt;
&lt;br&gt;
x^4 + a1*x^3 + a2*x^2 + a3*x + a4 =&amp;gt; (x^2 + b1*x + b3)*(x^2 + b2*x +&lt;br&gt;
b4)&lt;br&gt;
&lt;br&gt;
b1,2,3,4 are simple linear and intuitive expressions in a1,2,3,4 with&lt;br&gt;
an additional unknown parameter r, e.g.,&lt;br&gt;
b1 = a1/2 + r&lt;br&gt;
b2 = a1/2  - r&lt;br&gt;
b3/2 = a2 - 1/4*a1^2 + r^2 - (...)/r&lt;br&gt;
b4/2 = a2 - 1/4*a1^2 + r^2 + (...)/r&lt;br&gt;
&lt;br&gt;
where r is a non-zero root of the cubic equation&lt;br&gt;
r^3 + k*r^2 + l*r^2 + m = 0&lt;br&gt;
and where k,l,m are again simple expressions of the a1,2,3,4&lt;br&gt;
&lt;br&gt;
Voila.</description>
    </item>
    <item>
      <pubDate>Thu, 08 Nov 2007 00:40:43 -0500</pubDate>
      <title>Re: Roots of 4th order polynomial</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/158853#400270</link>
      <author>Markus Buehren</author>
      <description>&amp;gt; There is a &quot;simpler&quot; (?) solution then the ones described&lt;br&gt;
above (the&lt;br&gt;
&amp;gt; final results are obviously the same), and it doesn't&lt;br&gt;
&amp;gt; require one to &quot;eliminate&quot; the x^3 term.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Just rewrite as follows:&lt;br&gt;
&lt;br&gt;
Do you have an implementation of that method??&lt;br&gt;
&lt;br&gt;
Markus</description>
    </item>
  </channel>
</rss>

