LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to find factors of the 4th degree polynomial

Hello!

I have 4th degree polynomial like this:

y=x^4+18*x^3+52420*x^2+34303*x+51959400

 

Is it possible to present this in LV in the form like y=(a*x^2+b*x+c)(d*x^2+e*x+f) ?

 

I tried to use the PFE function, but I don't get the correct solution with it. I know that there is a method described by Lodovico Ferrari, but I don't know how to use it in LV

 

0 Kudos
Message 1 of 7
(2,648 Views)

Hi spalinowy,

 


@spalinowy wrote:

y=x^4+18*x^3+52420*x^2+34303*x+51959400

Is it possible to present this in LV in the form like y=(a*x^2+b*x+c)(d*x^2+e*x+f) ?


You need to solve this puzzle:

 

a*d = 1 (I would assume a=d=1)
a*e + b*d = 18 (= b+e, with first assumption)
a*f + b*e + c*d = 52420 (=f + b*e + c, with first assumption)
b*f + c*e = 34303
c*f = 51959400

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 7
(2,638 Views)

 


@GerdW wrote:
a*d = 1 (I would assume a=d=1)
a*e + b*d = 18 (= b+e, with first assumption)
a*f + b*e + c*d = 52420 (=f + b*e + c, with first assumption)
b*f + c*e = 34303
c*f = 51959400

Is it based on some theory?
Where can I find something about it?

0 Kudos
Message 3 of 7
(2,626 Views)

Hi spalinowy,

 


@spalinowy wrote:

Is it based on some theory?
Where can I find something about it?


 

 

y
= (a*x² + b*x + c)*(d*x² + e*x + f)
= a*d*x²*x² + (a*e + b*d)*x³ + (a*f + b*e + c*d)*x² + (b*f + c*e)*x + c*f
= x²*x² + 18*x³ + 52420*x² + 34303*x + 51959400

 

 

Basic math…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 7
(2,623 Views)

🤝

Sometimes I have the simplest things become unclear when I slept 3 hours 😴

0 Kudos
Message 5 of 7
(2,613 Views)

Why do you want to factor it?  LabVIEW can easily evaluate a quartic just as well as a pair of quadratics.  If you know the coefficients of the two quadratics are all integers, it shouldn't be a dfficult problem to write a LabVIEW routine to find them (best left as "an exercise for the Reader", who will probably learn something in the process).

 

Bob Schor

0 Kudos
Message 6 of 7
(2,552 Views)

This polynomial is the denominator of transfer function. On the Bode chart there are 2 resonances, and if you divide it into two polynomials, of 2 degree will have two characteristics with single resonances.

0 Kudos
Message 7 of 7
(2,538 Views)