116
Xnumbers Tutorial
85
Polynomial shift
=PolyShift(Poly, x0)
Performs the polynomial translation to x
0
,
The argument "Poly" can be the polynomial strings or the vector of polynomial coefficients.
This function returns the coefficient vector of the translated polynomial.
If you select one cell, the output will be a polynomial string
Example. Given the polynomial:
6
5
4
3
2
144
8633
275809
4952504
47389623
188784918
x
x
x
x
x
x
+
−
+
−
+
−
substituting x with z+24, we have
6
4
3
2
9
16
9
18
z
z
z
z
z
+
−
−
−
+
−
This function is useful for transforming polynomial for reducing the coefficients amplitude and
improving the precision of rootfinder methods. In this example we work with coefficients of two
maximum digits, instead of 9 digits. We note also that the second polynomial, having the
second coefficient = 0, is centered. His roots are the same of the given polynomial, translated
of 24, but can be factorize much better. In fact, we have
9)
2)(
1)(
(
2
2
2
−
+ +
− +
z
z
z
z
z
Polynomial center
=PolyCenter(Coefficients)
Returns the center of the polynomial roots circle
The argument specifies the vector of the polynomial coefficients in the following order:
[
]
n
a a a a a a
, , ...
2
1
0
It can also be a polynomial string
if x
1
, x
2
, ...x
n
are roots of polynomial the center Bx is defined as:
n
a
n
x
x x
x
n
n
x
1
2
1
0
...
B
−
−
=
+
+ +
+
=