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

imageMap -- canonical map associated to an image object

Description

The image of a map $f \colon M \to N$ of $R$-modules is an object $I := \operatorname{Image}(f)$, together with the map $e \colon M \to I$ and the monomorphism $g \colon I \to N$, such that the following two properties hold: (1) $f = g \circ e$, and (2) for any map $h \colon M \to L$ and any monomorphism $i \colon L \to N$ such that $f = i \circ h$, there exists a unique map $u \colon I \to L$ such that $g = i \circ u$ and $h = u \circ e$.

We illustrate the image map using a homomorphism of abelian groups.

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

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

              3       2
o1 : Matrix ZZ  <-- ZZ
i2 : (g,e) = imageMap f

o2 = (| 2 0 |, | 1 0 |)
      | 0 1 |  | 0 1 |
      | 1 4 |

o2 : Sequence
i3 : assert(isWellDefined g and isWellDefined e and f === g * e)
i4 : assert(ker g == 0)
i5 : assert(source g === image f)
i6 : assert(target g === target f)
i7 : assert(f // g === e)
i8 : h = matrix {{0, 1}, {1, 4}}

o8 = | 0 1 |
     | 1 4 |

              2       2
o8 : Matrix ZZ  <-- ZZ
i9 : i = matrix {{-8, 2}, {1, 0}, {0, 1}}

o9 = | -8 2 |
     | 1  0 |
     | 0  1 |

              3       2
o9 : Matrix ZZ  <-- ZZ
i10 : assert(f === i * h and kernel i == 0)
i11 : u = imageMap(i, h, f)

o11 = | 0 1 |
      | 1 4 |

o11 : Matrix
i12 : assert(g === i * u and h === u * e)
i13 : assert(source u === image f)
i14 : assert(target u === source i)

The image of $f$ is isomorphic to the kernel of the cokernel map of $f$, but the isomorphism is typically non-trivial, as the generators of a kernel are not canonically defined. Moreover, the morphism $e$ arises from the universal property of the kernel applied to the cokernel map of $f$.

i15 : assert(image f == kernel cokernelMap f)
i16 : v = kernelMap(f, cokernelMap f)

o16 = | 0  -1 |
      | -1 -4 |

o16 : Matrix
i17 : assert(target v === kernel cokernelMap f)
i18 : j = map(source g, target v, ((generators target v) // (generators source g)))

o18 = | 4  -1 |
      | -1 0  |

o18 : Matrix
i19 : assert(kernel j == 0 and coker j == 0)
i20 : assert(g * j * v === f)
i21 : assert(j * v === e)

The non-trivial isomorphism between the kernel of the cokernel map and the image is given here by $j$.

For a second example, we work over a quotient of a polynomial ring.

i22 : R = QQ[a,b,c,d]/(a*d-b*c);
i23 : f = map(R^2,, matrix{{a,b},{c,d}})

o23 = | a b |
      | c d |

              2      2
o23 : Matrix R  <-- R
i24 : (g,e) = imageMap f

o24 = (| a b |, {1} | 1 0 |)
       | c d |  {1} | 0 1 |

o24 : Sequence
i25 : assert(isWellDefined g and isWellDefined e and f === g * e)
i26 : assert(ker g == 0)
i27 : assert(source g === image f)
i28 : assert(target g === target f)
i29 : assert(f // g === e)
i30 : h = matrix {{7*a-3*c, 7*b-3*d}, {-2*a+c, -2*b+d}}

o30 = | 7a-3c 7b-3d |
      | -2a+c -2b+d |

              2      2
o30 : Matrix R  <-- R
i31 : i = matrix {{1_R, 3}, {2, 7}}

o31 = | 1 3 |
      | 2 7 |

              2      2
o31 : Matrix R  <-- R
i32 : assert(f === i * h and kernel i == 0)
i33 : u = imageMap(i, h, f)

o33 = | 7a-3c 7b-3d |
      | -2a+c -2b+d |

o33 : Matrix
i34 : assert(g === i * u and h === u * e)
i35 : assert(source u === image f)
i36 : assert(target u === source i)
i37 : assert(image f == kernel cokernelMap f)
i38 : v = kernelMap(f, cokernelMap f)

o38 = {1} | 0 1 |
      {1} | 1 0 |

o38 : Matrix
i39 : assert(target v === kernel cokernelMap f)
i40 : j = map(source g, target v, ((generators target v) // (generators source g)))

o40 = {1} | 0 1 |
      {1} | 1 0 |

o40 : Matrix
i41 : assert(kernel j == 0 and coker j == 0)
i42 : assert(g * j * v === f)

Coimage is dual to image in category theory.

See also

Ways to use imageMap:

  • imageMap(Matrix)
  • imageMap(Matrix,Matrix,Matrix)

For the programmer

The object imageMap is a method function.


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