Gapplet

We determine the miminal polynomial of the sum and the product of two algebraic numbers a and b, when given their minimum polynomials f and g.

Input f,  e.g., X^3+X+1
Input g,  e.g., X^2+X+1
 
a+b a*b