Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Homogenize a polynomial with respect to a given set of variables
ResourceFunction["PolynomialHomogenize"][poly,vars,t] homogenizes the expanded polynomial poly in total degree of vars using the new variable t. | |
ResourceFunction["PolynomialHomogenize"][{poly1,poly2,…},vars,t] homogenizes each of polyi. |
Homogenize the equation for a hyperbola:
In[1]:= |
Out[1]= |
Create a homogenized polynomial of total degree 4:
In[2]:= |
Out[2]= |
Any variables appearing in a polynomial that are not specified in vars are treated as parameters (that is, part of the coefficients):
In[3]:= |
Out[3]= |
A polynomial can be de-homogenized by setting the homogenizing variable to unity:
In[4]:= |
Out[4]= |
In[5]:= |
Out[5]= |
PolynomialHomogenize requires the input polynomial to be fully expanded:
In[6]:= |
Out[6]= |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License