Macaulay2 » Documentation
Packages » CanonicalMaps :: coimageImageMap
next | previous | forward | backward | up | index | toc

coimageImageMap -- canonical isomorphism from coimage to image

Description

As $R$-modules form an abelian category, the canonical map $g \colon \operatorname{Coimage}(f) \to \operatorname{Image}(f)$, is an isomorphism.

As a first example, we consider a map between free abelian groups. In this case, the canonical map from the coimage to the image is obviously the identity map.

i1 : f = matrix {{2, 0}, {0, 3}, {1, 4}}

o1 = | 2 0 |
     | 0 3 |
     | 1 4 |

              3       2
o1 : Matrix ZZ  <-- ZZ
i2 : g = coimageImageMap f

o2 = | 1 0 |
     | 0 1 |

o2 : Matrix
i3 : assert(source g === coimage f and target g == image f)
i4 : assert(ker g == 0 and coker g == 0)

Working over a quotient of a polynomial ring, we show that the canonical map from the coimage to the image is not obviously the identity map. In fact, because of the way the generators for the image and coimage are chosen in Macaulay2, this will be induced by the identity map.

i5 : R = QQ[a,b,c,d]/(a*d-b*c);
i6 : M = module ideal(a*d, -b*c) ++ module ideal(a^2, b^2)

o6 = image | ad -ad 0  0  |
           | 0  0   a2 b2 |

                             2
o6 : R-module, submodule of R
i7 : N = prune M

o7 = cokernel {2} | 0   0   0   |
              {2} | -d2 -bd -b2 |
              {2} | c2  ac  a2  |

                            3
o7 : R-module, quotient of R
i8 : f = map(N, M, matrix {{-1_R, 1, 0, 0}, {0, 0, 1, 0}, {0, 0, 0, 1}})

o8 = {2} | -1 1 0 0 |
     {2} | 0  0 1 0 |
     {2} | 0  0 0 1 |

o8 : Matrix N <-- M
i9 : assert isWellDefined f
i10 : g = coimageImageMap f

o10 = {2} | 1 -1 0 0 |
      {2} | 0 0  0 0 |
      {2} | 0 0  1 0 |
      {2} | 0 0  0 1 |

o10 : Matrix
i11 : assert(source g === coimage f and target g == image f)
i12 : assert(coker g == 0 and ker g == 0)
i13 : assert(matrix g != 1)
i14 : assert(g === map(image f, coimage f, 1))

See also

Ways to use coimageImageMap:

  • coimageImageMap(Matrix)

For the programmer

The object coimageImageMap is a method function.


The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/CanonicalMaps.m2:790:0.