Kernel in LaTeX (\ker(f))
- LaTeX command
\ker(f)- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Kernel of f: everything f sends to zero, a subspace or normal subgroup.
\ker is a predefined operator, so it prints upright with the right spacing: \ker T = \{v \in V \mid T(v) = 0\}. A homomorphism is injective exactly when its kernel is trivial, and the first isomorphism theorem states G/\ker\varphi \cong \operatorname{im}\varphi. Parentheses are optional for a single symbol, \ker A. In linear algebra the kernel is also called the null space, sometimes written N(A) or \operatorname{null}(A). There is no built-in operator for image to pair with it, so declare \im or use \operatorname{im}.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Kernel: $\ker(f)$
\[ G / \ker \varphi \cong \operatorname{im} \varphi \]
\end{document}Related symbols
- Domain
\text{dom}(f) - Image
\text{Im}(f) - Codomain
\text{cod}(f) - Inverse Function
f^{-1} - Range
\text{range}(f) - Composition
f \circ g
Frequently asked questions
- How do I write Kernel in LaTeX?
- Type \ker(f) in math mode, for example $G / \ker \varphi \cong \operatorname{im} \varphi$. It works in plain LaTeX without loading any package.
- Which package do I need for \ker(f)?
- None. \ker(f) is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \ker(f) in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\ker(f)$ in running text.
Beste AI LaTeX Editor, Overleaf Alternatief
Octree helpt onderzoekers van 15+ universiteiten sneller onderzoeksartikelen schrijven met AI
- Genereer mooie TikZ-diagrammen met AI
- Upload afbeelding en converteer naadloos naar LaTeX
- Krijg directe hulp bij het schrijven en opmaken van onderzoeksartikelen