The kernel and image of a ring map can be computed using image and ker . The output of ker is an ideal and the output of imageis a ring or quotient ring.
i1 : R = QQ[x,y,w]; U = QQ[s,t,u]/ideal(s^2); |
i3 : H = map(U,R,matrix{{s^2,t^3,u^4}}) |
i4 : ker H |
i5 : image H |