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

kernelMap -- canonical map associated to a kernel object

Description

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

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

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

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

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

o2 = | 1  |
     | 8  |
     | -2 |

o2 : Matrix
i3 : assert(source g === kernel f and target g === source f)
i4 : assert(f * g == 0)
i5 : h = map(source f, ZZ^2, {{2,3},{16,24},{-4,-6}})

o5 = | 2  3  |
     | 16 24 |
     | -4 -6 |

              3       2
o5 : Matrix ZZ  <-- ZZ
i6 : assert(f * h == 0)
i7 : u = kernelMap(h, f)

o7 = | 2 3 |

o7 : Matrix
i8 : assert(h == g * u)

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

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

o10 = | a b |
      | c d |

              2      2
o10 : Matrix R  <-- R
i11 : assert(ker f != 0)
i12 : g = kernelMap f

o12 = {1} | -d -b |
      {1} | c  a  |

o12 : Matrix
i13 : assert(source g === kernel f and target g === source f)
i14 : assert(f * g == 0)
i15 : h = map(source f,, {{d*a^3},{-c*a^3}})

o15 = {1} | a3d  |
      {1} | -a3c |

              2      1
o15 : Matrix R  <-- R
i16 : assert(f * h == 0)
i17 : u = kernelMap(h, f)

o17 = {2} | 0    |
      {2} | -a2c |

o17 : Matrix
i18 : assert(h == g * u)

Cokernels are dual to kernels in category theory.

See also

Ways to use kernelMap:

  • kernelMap(Matrix)
  • kernelMap(Matrix,Matrix)

For the programmer

The object kernelMap is a method function.


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