Adjugate Matrix Calculator

Find the adjugate of a square matrix: minors, cofactors, then transpose.

Matrix A
Size
3

Write rows separated by semicolons, like 1, 2; 3, 4.

Try

Result

You enteredadj⁡(123014560)\operatorname{adj}\begin{pmatrix} 1 & 2 & 3 \\ 0 & 1 & 4 \\ 5 & 6 & 0 \end{pmatrix}

(−2418520−15−4−541)\displaystyle \begin{pmatrix} -24 & 18 & 5 \\ 20 & -15 & -4 \\ -5 & 4 & 1 \end{pmatrix}

Determinant

1\displaystyle 1
Show the work
  1. Matrix of minors

    The minor MijM_{ij} is the determinant left after crossing out row ii and column jj of AA. Work out one for every position.

    Using Mij=det⁡(A without row i and column j)M_{ij} = \det\left(A \text{ without row } i \text{ and column } j\right)

    M11=∣1460∣=−24,  M=(−24−20−5−18−15−4541)M_{11} = \begin{vmatrix} 1 & 4 \\ 6 & 0 \end{vmatrix} = -24,\ \ M = \begin{pmatrix} -24 & -20 & -5 \\ -18 & -15 & -4 \\ 5 & 4 & 1 \end{pmatrix}
  2. Cofactors (checkerboard of signs)

    Multiply each minor by +1+1 or −1-1 in a checkerboard pattern that starts with ++ in the top-left corner: the sign is ++ when i+ji + j is even and −- when it is odd.

    Using Cij=(−1)i+jMijC_{ij} = \left(-1\right)^{i+j} M_{ij}

    C=(+−+−+−+−+)⊙(−24−20−5−18−15−4541)=(−2420−518−1545−41)C = \begin{pmatrix} + & - & + \\ - & + & - \\ + & - & + \end{pmatrix} \odot \begin{pmatrix} -24 & -20 & -5 \\ -18 & -15 & -4 \\ 5 & 4 & 1 \end{pmatrix} = \begin{pmatrix} -24 & 20 & -5 \\ 18 & -15 & 4 \\ 5 & -4 & 1 \end{pmatrix}
  3. Transpose

    The adjugate is the transpose of the cofactor matrix: rows become columns.

    Using adj⁡(A)=CT\operatorname{adj}\left(A\right) = C^{\mathsf{T}}

    adj⁡(A)=(−2420−518−1545−41)T=(−2418520−15−4−541)\operatorname{adj}\left(A\right) = \begin{pmatrix} -24 & 20 & -5 \\ 18 & -15 & 4 \\ 5 & -4 & 1 \end{pmatrix}^{\mathsf{T}} = \begin{pmatrix} -24 & 18 & 5 \\ 20 & -15 & -4 \\ -5 & 4 & 1 \end{pmatrix}
  4. Adjugate and determinant

    The adjugate is what makes the inverse formula work: multiplying AA by its adjugate gives the determinant times the identity matrix. When the determinant is not 0, dividing the adjugate by it gives the inverse.

    Using A adj⁡(A)=det⁡(A)IA\,\operatorname{adj}\left(A\right) = \det\left(A\right) I

    det⁡(A)=1\det\left(A\right) = 1
  5. Result

    So adj⁡(A)=(−2418520−15−4−541)\operatorname{adj}(A) = \begin{pmatrix} -24 & 18 & 5 \\ 20 & -15 & -4 \\ -5 & 4 & 1 \end{pmatrix}.

Worked examples