Skip to Content
ÁlgebraDeterminante

Determinante

Antes de definir el determinante, repasemos algunas definiciones importantes.

Sea VV un K\KK-espacio vectorial. Una función f:V×V××V  (n  veces)Kf : V \times V \times \ldots \times V \; (n \; veces) \to \KK es nn-multilineal si es lineal en cada coordenada:

f(v1,,vi+vi,,vn)=f(v1,,vi,,vn)+f(v1,,vi,,vn)f(v1,,λvi,,vn)=λf(v1,,vi,,vn)λK,i=1,,n\begin{aligned} f(\bfv_1, \ldots, \bfv_i + \bfv_i', \ldots, \bfv_n) &= f(\bfv_1, \ldots, \bfv_i, \ldots, \bfv_n) + f(\bfv_1, \ldots, \bfv_i', \ldots, \bfv_n) \\ f(\bfv_1, \ldots, \lambda \bfv_i, \ldots, \bfv_n) &= \lambda \cdot f(\bfv_1, \ldots, \bfv_i, \ldots, \bfv_n) \quad \forall \lambda \in \KK, \forall i = 1, \ldots, n \\ \end{aligned}

Una función nn-multilineal ff se dice alternante si al evaluarla en una nn-upla con dos vectores iguales se anula. Es decir:

f(v1,,vi,,vj,,vn)=0sivi=vj,  ichar"338=jf(\bfv_1, \ldots, \bfv_i, \ldots, \bfv_j, \ldots, \bfv_n) = 0 \quad \text{si} \quad \bfv_i = \bfv_j, \; i \not= j

La fórmula recursiva del determinante utiliza partes de una matriz AKn×nA \in \KK^{n \times n} para calcular su valor.

Sea AKn×nA \in \KK^{n \times n}, sean 1i,jn1 \leq i, j \leq n. Entonces A(ij)K(n1)×(n1)A(i|j) \in \KK^{(n-1) \times (n-1)} es la matriz que se obtiene de AA suprimiendo la fila ii y la columna jj.

La única función multilineal alternada es f:Kn×nKf : \KK^{n \times n} \to \KK tal que f(In)=1f(I_n) = 1 se llama determinante de orden nn. Su valor se denota como det(A)\det(A) o A|A|, y determina si una matriz cuadrada es invertible.

f((10),(01))=1    det(1001)=adbcf(\begin{pmatrix} 1 \\ 0 \end{pmatrix}, \begin{pmatrix} 0 \\ 1 \end{pmatrix}) = 1 \implies \det\begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} = ad - bc det(An×n)={a11,n=1i=1n  (1)i+1ai1det(A(i1)),n>1\det(A^{n \times n}) = \begin{cases} a_{11} ,& n = 1 \\ \displaystyle{\sum_{i=1}^{n}} \; (-1)^{i+1} \cdot a_{i1} \cdot \det(A(i|1)), & n > 1 \end{cases}

Propiedades del Determinante

Si AKn×nA \in \KK^{n \times n} y det(A)char"338=0    A\det(A) \not= 0 \implies A es invertible.

Demostración:

detAdetA1=det(AA1)=det(In)=1\det A \cdot \det A^{-1} = \det(A \cdot A^{-1}) = \det(I_n) = 1

Si AKn×nA \in \KK^{n \times n} es matriz triangular superior     det(A)=i=1n  aii\implies \det(A) = \displaystyle{\prod_{i=1}^n} \; a_{ii}

Demostración:

Puede probarse por inducción en nn. Para n=1n = 1 es trivial, ya que det(A)=a11\det(A) = a_{11}.
Supongamos esto vale para cualquier matriz triangular superior de tamaño (n1)×(n1)(n - 1) \times (n - 1).
Consideremos el desarollo del determinante por la primera columna:

detA=i=1n  (1)i+1ai1det(A(i1))=(1)1+1a11det(a220ann)=a11a22ann=i=1n  aii\begin{aligned} \det A &= \displaystyle{\sum_{i=1}^{n}} \; (-1)^{i+1} \cdot a_{i1} \cdot \det(A(i|1)) \\ &= (-1)^{1+1} \cdot a_{11} \cdot \det \begin{pmatrix} a_{22} & \ldots & * \\ \vdots & \ddots & \vdots \\ 0 & \ldots & a_{nn} \end{pmatrix} = a_{11} \cdot a_{22} \cdot \ldots \cdot a_{nn} \\ &= \displaystyle{\prod_{i=1}^n} \; a_{ii} \\ \end{aligned}

Sea AKn×n    det(A)=det(At)A \in \KK^{n \times n} \implies \det(A) = \det(A^t) (igual al de su transpuesta)

Demostración:

Puede probarse por inducción en nn. Para n=1n = 1 es trivial, ya que det(A)=a11=det(At)\det(A) = a_{11} = \det(A^t).
Asumimos que vale para cualquier matriz (n1)×(n1)(n - 1) \times (n - 1). Entonces:

det(At)=i=1n  (1)i+1a1idet((At)(1i))=i=1n  (1)i+1a1idet((A(i1))t)=i=1n  (1)i+1a1idet(A(i1))=det(A)\begin{aligned} \det(A^t) &= \displaystyle{\sum_{i=1}^{n}} \; (-1)^{i+1} \cdot a_{1i} \cdot \det((A^t)(1|i)) \\ &= \displaystyle{\sum_{i=1}^{n}} \; (-1)^{i+1} \cdot a_{1i} \cdot \det((A(i|1))^t) \\ &= \displaystyle{\sum_{i=1}^{n}} \; (-1)^{i+1} \cdot a_{1i} \cdot \det(A(i|1)) \\ &= \det(A) \end{aligned}

Sea AKn×n    det(An)=(det(A))nA \in \KK^{n \times n} \implies \det(A^n) = (\det(A))^n.

Por consecuencia del punto anterior, det(A1)=1det(A)\det(A^{-1}) = \frac{1}{\det(A)}


Sea AKn×n    A \in \KK^{n \times n} \implies si una fila o columna de AA es nula, entonces det(A)=0\det(A) = 0.

Esta última afirmación no es recíproca. Por ejemplo, la siguiente matriz A3×3A^{3 \times 3} tiene detA=0\det A = 0

A=[123456789]A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}

Demostración:

Supongamos la ii-ésima fila es nula. Entonces, al desarrollar el determinante por la ii-ésima fila:

detA=+(1)i+10det(A(i1))++(1)i+n0det(A(in))=0\det A = \ldots + (-1)^{i+1} \cdot 0 \cdot \det(A(i|1)) + \ldots + (-1)^{i+n} \cdot 0 \cdot \det(A(i|n)) = 0

Existen algunas reglas memotécnicas para calcular el determinante de matrices pequeñas.

Si tenemos una matriz 2×22 \times 2:

A=[abcd]A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}

Entonces:

det  A=a  det[d]b  det[c]=adbcdet \; A = a \; det[d] - b \; det[c] = ad - bc

Con una matriz 3×33 \times 3, aplicamos la regla de Sarrus.

A=[abcdefghi]  (+)    abcdefghiabdegh  ()    abcdefghiabdegh\begin{aligned} A &= \begin{bmatrix} a & b & c \\ d & e & f \\ g & h & i \\ \end{bmatrix} \\ &\; \\ (+) &\implies \begin{vmatrix} \color{red} a & \color{green} b & \color{blue} c \\ d & \color{red} e & \color{green} f \\ g & h & \color{red} i \\ \end{vmatrix} \begin{matrix} a & b \\ \color{blue} d & e \\ \color{green} g & \color{blue} h \\ \end{matrix} \\ &\; \\ (-) &\implies \begin{vmatrix} a & b & \color{blue} c \\ d & \color{blue} e & \color{green} f \\ \color{blue} g & \color{green} h & \color{red} i \\ \end{vmatrix} \begin{matrix} \color{green} a & \color{red} b \\ \color{red} d & e \\ g & h \\ \end{matrix} \\ \end{aligned} =aei  +  bfg  +  cdh    gec    hfa    idb\begin{aligned} \\ &= \color{red}{a \cdot e \cdot i} \color{darkgray}{\; + \;} \color{green}{b \cdot f \cdot g} \color{darkgray}{\; + \;} \color{blue}{c \cdot d \cdot h} \color{darkgray}{\; - \;} \color{blue}{g \cdot e \cdot c} \color{darkgray}{\; - \;} \color{green}{h \cdot f \cdot a} \color{darkgray}{\; - \;} \color{red}{i \cdot d \cdot b} \end{aligned}

Ejemplo: Calcular el determinante de la matriz AA

A=[2311021305111125]A = \begin{bmatrix} 2 & 3 & 1 & 1 \\ 0 & 2 & -1 & 3 \\ 0 & 5 & 1 & 1 \\ 1 & 1 & 2 & 5 \\ \end{bmatrix} det[2311021305111125]=(1)1+1a11det(A(11))+(1)1+2a21det(A(21))  +(1)1+3a31det(A(31))+(1)4+1a41det(A(41))\begin{aligned} \det\begin{bmatrix} 2 & 3 & 1 & 1 \\ 0 & 2 & -1 & 3 \\ 0 & 5 & 1 & 1 \\ 1 & 1 & 2 & 5 \\ \end{bmatrix} &= (-1)^{1 + 1} \cdot a_{11} \cdot \det(A(1|1)) + (-1)^{1 + 2} \cdot a_{21} \cdot \det(A(2|1)) \\ &\;+ (-1)^{1 + 3} \cdot a_{31} \cdot \det(A(3|1)) + (-1)^{4 + 1} \cdot a_{41} \cdot \det(A(4|1)) \\ \end{aligned}

Si reemplazamos ai1a_{i1} por el elemento correspondiente:

det(A)=(1)1+12det(A(11))+(1)2+10det(A(21))+(1)3+10det(A(31))+(1)4+11det(A(41))  =2det[213511125]det[311213511]  =2(215+(1)11+35213321255(1))(3(1)1+135+1215(1)1133121)  =2578=106\begin{aligned} \det(A) &= (-1)^{1+1} \cdot 2 \cdot \det(A(1|1)) + (-1)^{2+1} \cdot 0 \cdot \det(A(2|1)) \\ &+ (-1)^{3+1} \cdot 0 \cdot \det(A(3|1)) + (-1)^{4+1} \cdot 1 \cdot \det(A(4|1)) \\ &\; \\ &= 2 \cdot \det\begin{bmatrix} 2 & -1 & 3 \\ 5 & 1 & 1 \\ 1 & 2 & 5 \\ \end{bmatrix} - \det\begin{bmatrix} 3 & 1 & 1 \\ 2 & -1 & 3 \\ 5 & 1 & 1 \\ \end{bmatrix} \\ &\; \\ &= 2 \cdot \big(2 \cdot 1 \cdot 5 + (-1) \cdot 1 \cdot 1 + 3 \cdot 5 \cdot 2 - 1 \cdot 3 \cdot 3 - 2 \cdot 1 \cdot 2 - 5 \cdot 5 \cdot (-1)\big) \\ &- \big(3 \cdot (-1) \cdot 1 + 1 \cdot 3 \cdot 5 + 1 \cdot 2 \cdot 1 - 5 \cdot (-1) \cdot 1 - 1 \cdot 3 \cdot 3 - 1 \cdot 2 \cdot 1\big) \\ &\; \\ &= 2 \cdot 57 - 8 \\ &= 106 \end{aligned}

Adjunta clásica

Dada AKn×nA \in \KK^{n \times n}, y CKn×nC \in \KK^{n \times n} tal que Cij=(1)i+jaijdet(A(ij))C_{ij} = (1)^{i+j} \cdot a_{ij} \cdot \det(A(i|j)).
Su transpuesta se llama matriz adjunta clásica de AA tal que adj(A)ij=Cji=(1)i+jajidet(A(ji))\text{adj}(A)_{ij} = C_{ji} = (1)^{i+j} \cdot a_{ji} \cdot \det(A(j|i)).

Regla de Cramer

Sea AKn×nA \in \KK^{n \times n} una matriz invertible y sea bKn×1b \in \KK^{n \times 1}. Escribimos a A=[A1,  A2,  ,  An]A = [A_1, \; A_2, \; \ldots, \; A_n], como columnas. Entonces la única solución del sistema lineal Ax=bAx = b está dada por:

x=(x1xn),dondexi=det(1,,bpos.  i,,n)detA,i=1,,nx = \begin{pmatrix} x_1 \\ \vdots \\ x_n \end{pmatrix}, \quad \text{donde} \quad x_i = \frac{\det(1, \ldots, \stackrel{\text{pos.}\; i}{b}, \ldots, n)}{\det A}, \quad \forall i = 1, \ldots, n

Demostración:

Multiplicamos por adj(A)\text{adj}(A) el sistema:

Ax=b    adj(A)Ax=badj(A)det(A)x=adj(A)b(det(A)x)i=(adj(A)b)idet(A)xi=j=1nadj(A)ijbj=j=1n(1)i+jajidet(A(ji))bj=det(1,,bpos.  i,,n)    xi=det(1,,bpos.  i,,n)detA\begin{aligned} Ax = b \implies \text{adj}(A) \cdot Ax &= b \cdot \text{adj}(A) \\ \det(A) x &= \text{adj}(A) \cdot b \\ (\det(A) x)_i &= (\text{adj}(A) \cdot b)_i \\ \det(A) \cdot x_i &= \sum_{j=1}^{n} \text{adj}(A)_{ij} \cdot b_j \\ &= \sum_{j=1}^{n} (1)^{i+j} \cdot a_{ji} \cdot \det(A(j|i)) \cdot b_j \\ &= \det(1, \ldots, \stackrel{\text{pos.}\; i}{b}, \ldots, n) \\ \implies x_i &= \frac{\det(1, \ldots, \stackrel{\text{pos.}\; i}{b}, \ldots, n)}{\det A} \\ \end{aligned}

Ejercicios resueltos - Determinantes

Calcular el determinante de la matriz BB:

1.

B=[2000003001000004]  det(B)=(1)1+12det(B(11))+(1)2+10det(B(21))  +(1)3+10det(B(31))+(1)4+10det(B(41))  =2det[030100004]  =2(004+300+0(1)00000004(1)3)=212=24\begin{aligned} B &= \begin{bmatrix} 2 & 0 & 0 & 0 \\ 0 & 0 & 3 & 0 \\ 0 & -1 & 0 & 0 \\ 0 & 0 & 0 & 4 \\ \end{bmatrix} \\ &\; \\ \det(B) &= (-1)^{1+1} \cdot 2 \cdot \det(B(1|1)) + (-1)^{2+1} \cdot 0 \cdot \det(B(2|1)) \\ &\;+ (-1)^{3+1} \cdot 0 \cdot \det(B(3|1)) + (-1)^{4+1} \cdot 0 \cdot \det(B(4|1)) \\ &\; \\ &= 2 \cdot \det\begin{bmatrix} 0 & 3 & 0 \\ -1 & 0 & 0 \\ 0 & 0 & 4 \\ \end{bmatrix} \\ &\; \\ &= 2 \cdot \big(0 \cdot 0 \cdot 4 + 3 \cdot 0 \cdot 0 + 0 \cdot (-1) \cdot 0 - 0 \cdot 0 \cdot 0 - 0 \cdot 0 \cdot 0 - 4 \cdot (-1) \cdot 3\big) \\ &= 2 \cdot 12 \\ &= 24 \end{aligned}

Determinar para qué valores de cRc \in \RR la matriz es invertible:

2.

A=[0cc121ccc]A = \begin{bmatrix} 0 & c & -c \\ -1 & 2 & -1 \\ c & -c & c \\ \end{bmatrix} det(A)=(02c+c(1)c+(c)(1)(c))c2(c)(c)(1)0c(1)c=c2c2+2c2(c2)=c2\begin{aligned} \det(A) &= \big(0 \cdot 2 \cdot c + c \cdot (-1) \cdot c + (-c) \cdot (-1) \cdot (-c)\big) - c \cdot 2 \cdot (-c) - (-c) \cdot (-1) \cdot 0 - c \cdot (-1) \cdot c \\ &= -c^2 - c^2 + 2c^2 - (-c^2) \\ &= c^2 \end{aligned}

Si el determinante es distinto de cero, la matriz es invertible.
Por lo tanto, AA es invertible para todo cR{0}c \in \RR - \{0\}.

3.

B=[4c3c2c5c4]B = \begin{bmatrix} 4 & c & 3 \\ c & 2 & c \\ 5 & c & 4 \\ \end{bmatrix} det(B)=(424+cc5+3cc)325cc44cc=32+5c2+3c2304c24c2=2\begin{aligned} \det(B) &= \big(4 \cdot 2 \cdot 4 + c \cdot c \cdot 5 + 3 \cdot c \cdot c\big) - 3 \cdot 2 \cdot 5 - c \cdot c \cdot 4 - 4 \cdot c \cdot c \\ &= 32 + 5c^2 + 3c^2 - 30 - 4c^2 - 4c^2 \\ &= 2 \end{aligned}

En este caso el determinante 22, por lo que la matriz es invertible cR\forall c \in \RR.

4.

C=[1c1c1101c]C = \begin{bmatrix} 1 & c & -1 \\ c & 1 & 1 \\ 0 & 1 & c \\ \end{bmatrix} det(C)=(11c+c10+(1)c1)(1)10c1111c=c+0c01c3=1c3  1c3=0c3=1c=1\begin{aligned} \det(C) &= \big(1 \cdot 1 \cdot c + c \cdot 1 \cdot 0 + (-1) \cdot c \cdot 1\big) - (-1) \cdot 1 \cdot 0 - c \cdot 1 \cdot 1 - 1 \cdot 1 \cdot c \\ &= c + 0 -c - 0 - 1 - c^3 \\ &= -1 - c^3 \\ &\; \\ \therefore -1 - c^3 &= 0 \\ c^3 &= -1 \\ c &= -1 \end{aligned}

La matriz es invertible para todo cR{1}c \in \RR - \{-1\}.