A determinant has two legitimate spellings: an operator applied to a name, or bars drawn around the entries. The choice is about what the reader must see, but the bars carry a technical requirement — they have to come from the environment so they grow with the rows. The enclosed grid is a matrix (Systems of Equations shows the augmented variant), and the expansion underneath is a sum (Summation).
Which one to use
\det Avmatrix\det(AB)\det A_{n}\sum_j a_{ij} C_{ij}VmatrixThe commands
\det(A)
\det \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}
\begin{vmatrix} a & b \\ c & d \end{vmatrix}
\begin{Vmatrix} a & b \\ c & d \end{Vmatrix}
\begin{vmatrix} a & b \\ c & d \end{vmatrix} = ad - bc
\det(A_{3}) \quad \det(\lambda I - A)
\det(A) = \sum_{j=1}^{n} (-1)^{i+j} a_{ij} M_{ij}
\det(AB) = \det(A)\det(B)
\det(A) = 0 \iff A^{-1} \text{ does not exist}
\det(A^{\mathsf{T}}) = \det(A)
Worked examples
Two spellings, one quantity
\det(A) = \begin{vmatrix} 2 & 1 \\ 5 & 3 \end{vmatrix} = 1
Operator form names it, bar form shows the arrangement, and the arithmetic closes the line.
Expansion along a row
\begin{vmatrix} a & b & c \\ d & e & f \\ g & h & i \end{vmatrix} = aei + bfg + cdh - ceg - bdi - afh
The Rule of Sarrus stated as a single identity; the 3×3 grid above it justifies the sign pattern.
Solving for an unknown
\begin{vmatrix} x & 2 \\ 3 & 5 \end{vmatrix} = 0 \iff 5x - 6 = 0
Common exam shape: the determinant is given as zero and something must be recovered from it.
Eigenvalue equation
\det(\lambda I - A) = 0
Characteristic polynomial in one line, which is why \lambda needs no special handling beyond being a Greek command.
Common mistakes
- Writing
det(A)unescaped inside maths mode. It prints as the italic product of d, e and t and reads as three variables. - Confusing
vmatrixwithVmatrix. One pair of bars, one pair each — the capital form is normally reserved for matrix norms. - Forgetting that
&separates cells and\\separates rows. Swapping them produces a grid with the wrong shape rather than an error message. - Writing
A^{-1}and\det(A)^{-1}close together without distinguishing them: the first is the inverse matrix, the second is the reciprocal of a number.
Questions about this notation
Do I need brackets after \det?
\det A is valid and common when A is a single symbol; parentheses help when the argument is a sum, a product or a matrix environment, because the operator otherwise looks like it applies only to the first token.Which environment gives vertical bars?
How do I write a determinant that is not square?
How do I write dots or a block matrix inside a determinant?
vmatrix use \vdots for a vertical run, \ddots for the diagonal and \cdots across a row; blocks are separated with the usual & and \\. If the bars are only decoration and you are applying an operator to a matrix, write \det A instead: \det takes no delimiters and prints upright, so it cannot be mistaken for a product of three letters.Keep reading
Three ways into the same idea: the notation itself, the lesson that teaches it, and an article that applies it.