Matrix operations (add/multiply/determinant/inverse)

Math · Algebra II

Question 1 of 10

0

    What is the determinant of [[-4, -5], [5, -5]]?

    Decimals (0.75 or 0,75), fractions (3/4) and mixed numbers (1 1/2) are accepted. Do not use thousands separators.

    How to type your answer
    • Fractions: 3/4. Mixed numbers: 1 1/2.
    • Decimals with a point or a comma: 0.75 or 0,75.
    • Negative numbers start with a minus: -3/4.
    • Percentages need the % sign: 75%.

    Stuck? Read the explanation

    Unlocks at a streak of 5 correct answers in a row.

    Print a free worksheet (PDF)

    Embed this practice on your site or class page

    Paste this HTML into your page. Students practise right there; it is free and needs no account.

    Matrix operations (add/multiply/determinant/inverse) explained

    A matrix is a rectangular grid of numbers. Matrices can be added, multiplied by a number and multiplied by each other, and they give a compact way to write and solve systems of equations. For a 2 by 2 matrix, the determinant is a single number that tells you whether the matrix has an inverse, which is the matrix that undoes it.

    Addition and multiplication by a number work entry by entry. You can only add matrices of the same size, and multiplying by a number multiplies every entry. Matrix multiplication is different: each entry of the product combines a row of the first matrix with a column of the second, multiplying matching entries and adding. The number of columns in the first matrix must equal the number of rows in the second, and the order matters, so ABAB is usually not equal to BABA.

    For A=(abcd)A = \begin{pmatrix} a & b \\ c & d \end{pmatrix}, the determinant is ad−bcad - bc. If it is zero, there is no inverse. Otherwise the inverse is 1ad−bc(d−b−ca)\dfrac{1}{ad - bc}\begin{pmatrix} d & -b \\ -c & a \end{pmatrix}, which swaps the two diagonal entries and changes the signs of the other two.

    Worked example

    Let A=(3124)A = \begin{pmatrix} 3 & 1 \\ 2 & 4 \end{pmatrix}.

    1. det⁡A=3×4−1×2=10\det A = 3 \times 4 - 1 \times 2 = 10, which is not zero, so AA has an inverse.
    2. A−1=110(4−1−23)A^{-1} = \dfrac{1}{10}\begin{pmatrix} 4 & -1 \\ -2 & 3 \end{pmatrix}.
    3. Check the top-left entry of AA−1A A^{-1}: (3×4+1×(−2))/10=10/10=1(3 \times 4 + 1 \times (-2)) / 10 = 10/10 = 1.

    A common mistake is forgetting to change the signs of bb and cc when writing the inverse. Using (4123)\begin{pmatrix} 4 & 1 \\ 2 & 3 \end{pmatrix} instead gives a top-left entry of 14/1014/10 in the product, so it does not undo AA.

    What you will practise

    New numbers every time you practise. Levels: Easy, Medium, Hard. Each answer is followed by a worked explanation.

    Example questions

    • Easy

      What is the determinant of [[-2, -5], [-2, 5]]?

    • Medium

      Multiply [[1, 1], [2, 2]] by [[3, 1], [2, 4]]. What is the top-left entry of the product?

    • Hard

      Let A = [[-1, -3], [-3, -3]] and B = [[4, 5], [-1, -1]]. What is the determinant of the product AB?