Determinant in LaTeX (\det(A))

det⁡(A)\det(A)
LaTeX command
\det(A)
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Determinant of a square matrix A, the scalar giving its signed volume scaling factor.

\det is a predefined operator, so it prints upright with correct spacing; typing det(A) would italicize three separate variables. Key identities include \det(AB) = \det(A)\det(B) and \det(A^{-1}) = 1/\det(A). Unlike \sin, \det can take limits placed under it in display style, like \lim. For an explicit matrix, the vmatrix environment draws vertical bars directly, so \begin{vmatrix} a & b \\ c & d \end{vmatrix} = ad - bc reads naturally. Parentheses are optional when the argument is a single letter, \det A, as with other operators.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

det⁡(abcd)=ad−bc\det\begin{pmatrix} a & b \\ c & d \end{pmatrix} = ad - bc
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Determinant: $\det(A)$

\[ \det\begin{pmatrix} a & b \\ c & d \end{pmatrix} = ad - bc \]
\end{document}

Related symbols

All الجبر الخطي →

Frequently asked questions

How do I write Determinant in LaTeX?
Type \det(A) in math mode, for example $\det\begin{pmatrix} a & b \\ c & d \end{pmatrix} = ad - bc$. It works in plain LaTeX without loading any package.
Which package do I need for \det(A)?
None. \det(A) is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \det(A) in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\det(A)$ in running text.
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf

يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي

  • أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
  • ارفع صورة وحولها إلى LaTeX بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث