Can I get a general solution for 4th, 5th and 6th degree polynomial

$$\begin{align} y=&Ax^3 +Bx^2 +Cx +D &\tag{1}\\ y=&Ax^4 +Bx^3 +Cx^3 +Dx +E&\tag{2}\\ y=&Ax^5 +Bx^4 +Cx^3 +Dx^2 +Ex +D&\tag{3}\\ y=&Ax^6 +Bx^5 +Cx^4 +Dx^3 +Ex^2 +Dx +E\tag{4} \end{align}$$

I want to solve this equations in programmatically. I know to reduce the degree by using synthetic method but, to apply synthetic method we nee to find out 1st root. in programmatically finding the root for every equation is too difficult pLease help me.

link|improve this question
There are formulas for degree 3 and 4 but not for higher degree. However, the formulas are too complicated for general use. You'd better stick to other algorithms. – lhf Feb 15 at 10:23
If we use other method to solve , we have to find 1st root of the equation. To find exact root in programmatically is too difficult. can u help me for getting the 1st root if the equation. – Vinu Feb 15 at 11:06
Newton's Approximation? – Nunoxic Feb 15 at 12:53
1  
@Nunoxic, you first need to isolate roots and that is the hardest part. Refinement is easy. – lhf Feb 15 at 12:58
1  
As mentioned by lhf and deoxygerbe, you're out of luck for sufficiently simple closed-form solutions for quintics and higher degrees. You'll want to use a numerical method for this, like the QR algorithm, the Jenkins-Traub method, or the (Weierstrass-)Durand-Kerner method. – J. M. Feb 15 at 23:46
show 1 more comment
feedback

migrated from stackoverflow.com Feb 15 at 22:16

This question came from our site for professional and enthusiast programmers.

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.