Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Polinomial: distribute to greatest common factor

Hello, assuming I have a polinomial like this:

sage: var('x, y')
(x, y)
sage: y = 2*x^2 + x^3 + 10*x^4

is there a way to get it simplified applying the distributive property on the greatest common factor?
In this case, the output should be this:

y = x^2 * ( 2 + x + 10*x^2 )

Thank you!

Polinomial: Polynomial: distribute to greatest common factor

Hello, assuming I have a polinomial like this:

sage: var('x, y')
(x, y)
sage: y = 2*x^2 + x^3 + 10*x^4

is there a way to get it simplified applying the distributive property on the greatest common factor?
In this case, the output should be this:

y = x^2 * ( 2 + x + 10*x^2 )

Thank you!