homogeneous - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


algcurves

  

homogeneous

  

make a polynomial in two variables homogeneous in three variables

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

homogeneous(f, x, y, z)

Parameters

f

-

polynomial in x and y

x, y, z

-

variables

Description

• 

Algebraic curves are often represented using a polynomial in two variables, or as a homogeneous polynomial in three variables. This command converts a polynomial to the homogeneous representation.

• 

If f is a polynomial in x and y of degree d, and f can be written as ∑i,jci,j⁢xi⁢yj for some coefficients ci,j, then the output of this command is ∑i,jci,j⁢xi⁢yj⁢zd−i−j.

Examples

> 

with⁡algcurves:

> 

f≔y2−x3

f≔−x3+y2

(1)
> 

homogeneous⁡f,x,y,z

−x3+y2⁢z

(2)

Now one can convert back as follows:

> 

subs⁡z=1,

−x3+y2

(3)

See Also

algcurves