 
 
 
sylvester takes two polynomials as arguments.
sylvester returns the Sylvester matrix S of these polynomials.
If A(x)=∑i=0i=n aixi and 
B(x)=∑i=0i=mbixi are 2 polynomials, their Sylvester matrix 
S is a square matrix of size m+n where m=degree(B(x)) and 
n=degree(A(x)). The m first lines are made with the A(x)
coefficients, so that :
| ⎛ ⎜ ⎜ ⎜ ⎝ | 
 | ⎞ ⎟ ⎟ ⎟ ⎠ | 
and the n further lines are made with the B(x) coefficients, so that :
| ⎛ ⎜ ⎜ ⎝ | 
 | ⎞ ⎟ ⎟ ⎠ | 
Input :
^3-p*x+q,3*x^2-p,x)Output :
Input :
Output :
^3--27*q^2 
 
