PolynomialTools
Homogenize
homogenize a multivariate polynomial
IsHomogeneous
check if a multivariate polynomial is homogeneous
Calling Sequence
Parameters
Description
Examples
Compatibility
Homogenize(f, v)
Homogenize(f, v, X)
Homogenize(f, v, X, W)
IsHomogeneous(f)
IsHomogeneous(f, X)
IsHomogeneous(f, X, W)
f
-
multivariate polynomial, or list or set of multivariate polynomials
v
name or list of the form [name,posint]; the homogenization variable
X
(optional) list or set of names; variables w.r.t. which f is homogenized
W
(optional) list of nonnegative integers; weights
The Homogenize(f, v) command homogenizes the polynomial f, by multiplying each term of f by an appropriate power of v. The result is a polynomial g in the same variables as f plus one more variable v, such that all terms of g have the same total degree, which equals the total degree of f.
The homogenization variable v must be a new variable that does not appear in f.
The IsHomogeneous(f) command checks if the polynomial f is homogeneous, i.e., all terms have the same total degree. If so, it returns true, and false otherwise.
The Homogenize(f, v, X) command homogenizes the polynomial f only w.r.t. the subset of the variables given by X. The resulting polynomial will be homogeneous in the variables X∪v. The two-argument command Homogenize(f, v) is equivalent to Homogenize(f, v, indets(f,name)).
The IsHomogeneous(f, X) command checks if the polynomial f is homogeneous w.r.t. the subset of the variables given by X. The one-argument command IsHomogeneous(f) is equivalent to IsHomogeneous(f, indets(f,name)).
The Homogenize(f, v, X, W) calling sequence performs a weighted homogenization, with weight Wi given to variable Xi. If v=y,e, then the homogenization variable y is given weight e. Note that in this case the result may contain fractional powers of y.
The IsHomogeneous(f, X, W) command checks if the polynomial is weighted-homogeneous, with weight Wi given to variable Xi.
If f is a set or list of polynomials, then each element of f will be homogenized / checked for homogeneity.
with⁡PolynomialTools:
f≔x4+x2⁢y+y⁢z+2⁢z
IsHomogeneous⁡f
false
g≔Homogenize⁡f,v
g≔2⁢v3⁢z+v2⁢y⁢z+v⁢x2⁢y+x4
IsHomogeneous⁡g
true
IsHomogeneous⁡g,x,y,z
Homogenize⁡f,x⁢y+z3,v
2⁢v3⁢z+v2⁢y⁢z+v⁢x2⁢y+x4,v⁢x⁢y+z3
IsHomogeneous⁡g,a⁢b−c2
Homogenize⁡f,v,x,y
2⁢v4⁢z+v3⁢y⁢z+v⁢x2⁢y+x4
Homogenize⁡f,v,x,y,1,2
2⁢v4⁢z+v2⁢y⁢z+x4+x2⁢y
Homogenize⁡f,v,2,x,y,1,2
x4+2⁢v2⁢z+v⁢y⁢z+x2⁢y
Homogenize⁡f,v,2,x,y,1,1
2⁢v2⁢z+v32⁢y⁢z+v⁢x2⁢y+x4
h≔x6+x3⁢y+y2
IsHomogeneous⁡h
IsHomogeneous⁡h,x,y,1,3
Homogenize⁡h,v,x,y,1,3
x6+x3⁢y+y2
The PolynomialTools[Homogenize] and PolynomialTools[IsHomogeneous] commands were introduced in Maple 2018.
For more information on Maple 2018 changes, see Updates in Maple 2018.
See Also
Download Help Document
What kind of issue would you like to report? (Optional)