Factor - Maple Help

Online Help

All Products    Maple    MapleSim


PolynomialTools[Approximate]

  

Factor

  

compute approximate factorization

 

Calling Sequence

Parameters

Options

Description

Examples

References

Compatibility

Calling Sequence

Factor(F, vars)

Factor(F, vars, options)

Parameters

F

-

polynom({numeric,complex(numeric)})

vars

-

set or list of variables

Options

• 

noexact

  

if provided, exact factorization of F will not be attempted

• 

optimize

  

if given then a post-processing step is done on the output, using Optimization:-NLPSolve to return an approximate factorization with smaller backward error. Optionally, it can be given as optimize=list with a list of extra options to be passed to optimization.

Description

• 

After a series of initial preprocessing steps designed to handle exact and degenerate cases, numerical factors of F are found from the a low rank approximation of its RuppertMatrix.

• 

This command works for univariate polynomials by calling factor which finds the real linear and quadratic factors from the roots.

Examples

withPolynomialTools:-Approximate:

Fsortexpandx2+y21x3y3+1,x,y

Fx5+x3y2x2y3y5x3+y3+x2+y21

(1)

aF_8FactorexpandF+108xy,x,y

aF_83.444064833199750.552477515351686+9.46726890028623×10−11x+1.34863083369451×10−9y+0.552477517557262x2+2.03989782080192×10−9xy+0.552477516011368y20.5255500376362296.82222680826386×10−10x3.43514242374310×10−9y7.62609054545801×10−10x2+6.10950662565009×10−10xy+6.99437842035687×10−10y20.525550038352441x33.70256461964700×10−10yx28.19581361585493×10−10y2x+0.525550036492460y3

(2)

sortfnormalexpandaF_8,x,y

1.x5+0.9999999988x3y20.9999999958x2y30.9999999937y50.9999999947x3+0.9999999990y3+0.9999999972x2+0.9999999972y20.9999999946

(3)

ilog10normexpandFaF_8,2normF,2

−9

(4)

aF_4FactorexpandF+104xy,x,y

aF_43.472662930000950.5528858274411459.97108941035032×10−6x+0.0000179791567477263y+0.552898569944418x2+8.98886932466931×10−6xy+0.552899121071388y20.5208340242675115.33436675048057×10−6x+0.0000175929390281277y+4.50859262571895×10−6x20.0000210937198288496xy+9.51805868064093×10−6y2+0.520828698460088x3+2.48682307894181×10−6yx22.34026244980658×10−6y2x0.520822689868150y3

(5)

sortfnormalexpandaF_4,6,x,y

1.00001x5+1.00000x3y20.999991x2y30.999996y50.999994x3+1.00001y3+1.00001x2+1.00000y20.999994

(6)

ilog10normexpandFaF_4,2normF,2

−5

(7)

aF_4IFactorexpandF+104Ixy,x,y

aF_4I3.33619010286800+0.00138524690482115I0.563243378344182+0.I+3.13353783832099×10−100.0000272294178703771Ix+−9.76499830597157×10−11+0.0000398338050312695Iy+0.563243374462419+0.0000246224700712112Ix28.65949653567788×10−9+0.0000388463734635401Ixy+0.563243379993721+0.0000319121864341227Iy20.5321732438483540.000251648003844275I+−3.44355626123618×10−11+7.37230937854983×10−6Ix1.32808396699356×10−8+0.0000153645729853419Iy3.07623209457749×10−9+4.12354158710398×10−6Ix2+7.05525063405447×10−9+0.0000239417134783695Ixy8.60740959257295×10−10+0.0000123372409064711Iy2+0.5321732430473710.000244232252846877Ix32.53189723598475×10−9+2.35423160039879×10−6Iyx2+−3.20721711648609×10−10+4.05320710982624×10−6Iy2x+−0.532173249216916+0.000240066165610370Iy3

(8)

sortfnormalexpandaF_4I,6,x,y

1.00000x5+1.00000x3y21.00000x2y31.00000y5+0.000115711Ix3y1.00000x3+1.00000y3+1.00000x20.000113958Ixy+1.00000y21.00000+0.I

(9)

ilog10normexpandFaF_4I,2normF,2

−5

(10)

References

  

Gao, S.; Kaltofen, E.; May, J.; Yang, Z.; and Zhi, L. "Approximate factorization of multivariate polynomials via differential equations." Proceedings of the 2004 International Symposium on Symbolic and Algebraic Computation (ISSAC 2004),  pp. 167-174. Ed. J. Guitierrez. ACM Press, 2004.

  

Kaltofen, E.; May, J.; Yang, Z.; and Zhi, L. "Approximate factorization of multivariate polynomials using singular value decomposition." Journal of Symbolic Computation Vol. 43(5), (2008): 359-376.

Compatibility

• 

The PolynomialTools:-Approximate:-Factor command was introduced in Maple 2021.

• 

For more information on Maple 2021 changes, see Updates in Maple 2021.

See Also

factor

RuppertMatrix