15 wks to JAMB

L.O.E.P · MathematicsNo. 15

Explainer · Matrices and determinants · about 18 min

A shop's sales at two branches, one row per branch and one column per food, make a matrix. Add them, multiply row by column, find a determinant with ad − bc, and use the inverse to solve two equations at once.

Watch the lecture

Ash and Kay teach this lesson, start to finish.

⬇ Save for offline

Keeps it on this phone, so it plays with no signal and no data, at this same address.

In short

The key words in this lesson, in plain English:

Matrix:
A block of numbers in rows and columns. A 2 × 3 matrix has 2 rows and 3 columns (rows first). Its transpose swaps rows and columns.
Determinant:
A number worked out from a square matrix. For a 2 × 2 with rows (a, b) and (c, d) it is ad − bc; a 3 × 3 is expanded along the top row with signs + − +. If it is 0 the matrix has no inverse.
Simultaneous equations:
Two equations true at the same time. Their solution is the one pair (x, y) that fits both: where their two lines cross. Solve by substitution, by elimination, or with a graph; check the pair in both.

Free this month: 1 of 1 lessons. A free account gives you 3 a month.

A shop sells rice, beans and garri at two branches. Write the bags sold as a block of numbers, one row per branch and one column per food, and you have a matrix. Spreadsheets, phone screens that rotate pictures and the search engine that ranks web pages all run on blocks of numbers like this.

Kay:It's just a box of numbers. What am I actually meant to do with it?
1

Play · entry by entry

Adding, subtracting and scaling

Press Next

Right0 / 5

Same place, same job

Where you see it: two branches' sales tables added together give the company's total: each food at each branch adds to its own partner. A MathematicsMatrixA block of numbers in rows and columns. A 2 × 3 matrix has 2 rows and 3 columns (rows first). Its transpose swaps rows and columns.Science dictionary ▶ with 2 rows and 3 columns is 2 × 3 (rows first). Add or subtract matrices of the same size entry by entry; multiplying by a number k multiplies every entry:3142 + 152−3 = 466−13 + 1, 1 + 5, 4 + 2, 2 + (−3)23142 = 6284every entry × 22x51 = 2751 gives x = 7equal matrices: every entry matchesthe transpose Aᵀ: 123456ᵀ = 142536rows become columnsA 2 × 2 and a 2 × 3 can't be added: there's nothing to pair with the extra column.

Try one · adding and scaling

Work it on paper first, then press Next step to check yourself a line at a time.

    Line0 / 0Worked0
    2

    Play · row times column

    Multiplying matrices

    Pick the value for the marked entry

    Products0 / 3

    Row of the first, column of the second

    Where you see it: a bill: bags bought (a row) times the price of each (a column), multiplied pair by pair and added, gives the total you pay. The entry in row i, column j of AB is row i of A times column j of B: multiply pair by pair, then add.21031452a 2 × 2 times a 2 × 2row 1 · column 1: 2 × 1 + 1 × 5 = 7top leftrow 1 · column 2: 2 × 4 + 1 × 2 = 10top rightrow 2 · column 1: 0 × 1 + 3 × 5 = 15bottom leftrow 2 · column 2: 0 × 4 + 3 × 2 = 6bottom right= 710156The inside sizes must match: a 3 × 2 times a 2 × 2 works and gives a 3 × 2. Order matters: AB is usually not BA.

    Try one · multiplying

    Work it on paper first, then press Next step to check yourself a line at a time.

      Line0 / 0Worked0
      3

      Play · cross multiply

      The determinant of a 2 × 2

      Press Next

      Right0 / 5

      |A| = ad − bc

      Where you see it: a phone stretching a photo: the MathematicsDeterminantA number worked out from a square matrix. For a 2 × 2 with rows (a, b) and (c, d) it is ad − bc; a 3 × 3 is expanded along the top row with signs + − +. If it is 0 the matrix has no inverse.Science dictionary ▶ says how much the area grows. A determinant of 0 squashes the picture flat. The determinant of a 2 × 2 MathematicsMatrixA block of numbers in rows and columns. A 2 × 3 matrix has 2 rows and 3 columns (rows first). Its transpose swaps rows and columns.Science dictionary ▶ is the leading diagonal's product minus the other diagonal's:abcd = ad − bcdown-right minus up-right5324 = 5 × 4 − 3 × 2 = 14x432 = 10an unknown inside2x − 12 = 10, so x = 11ad − bc, then solveWatch the signs: with a negative entry, bc might be negative, and minus a negative adds.

      Try one · 2 × 2 determinants

      Work it on paper first, then press Next step to check yourself a line at a time.

        Line0 / 0Worked0
        4

        Work it out

        The determinant of a 3 × 3 (3 by 3) matrix

        Find the determinant of 231104−121. Pick each move.

        Step 1

          Along the top row: + − +

          Where you see it: engineers check whether a bridge's equations have one answer by finding a MathematicsDeterminantA number worked out from a square matrix. For a 2 × 2 with rows (a, b) and (c, d) it is ad − bc; a 3 × 3 is expanded along the top row with signs + − +. If it is 0 the matrix has no inverse.Science dictionary ▶; a 0 warns them the design can't be solved. Take each top-row entry in turn. Cover its row and column; the 2 × 2 left over is its minor (with its sign, its cofactor). Multiply, then combine with the signs + − +:abcdefghi= aefhi − bdfgi + cdeghthe middle term is subtracted2(0 − 8) − 3(1 + 4) + 1(2 − 0)the matrix above= −16 − 15 + 2 = −29A zero on the top row wipes out its whole term: less work.

          Try one · 3 × 3 determinants

          Work it on paper first, then press Next step to check yourself a line at a time.

            Line0 / 0Worked0
            5

            Play · undo it

            The inverse of a 2 × 2

            Press Next

            Right0 / 5

            A⁻¹ = 1/|A| × (swap, change signs)

            Where you see it: a coded message: one MathematicsMatrixA block of numbers in rows and columns. A 2 × 3 matrix has 2 rows and 3 columns (rows first). Its transpose swaps rows and columns.Science dictionary ▶ scrambles the numbers and its inverse unscrambles them. The inverse A⁻¹ undoes A: AA⁻¹ = I, the MathematicsInverse of a matrixA⁻¹ undoes A: AA⁻¹ = I, the identity matrix with 1s down the diagonal. For a 2 × 2, swap a and d, change the signs of b and c, and divide by the determinant. A singular matrix (determinant 0) has none.Science dictionary ▶ 1001. For a 2 × 2:A = 4322|A| = 8 − 6 = 2the determinant first2−3−24swap a and d; change the signs of b and cA⁻¹ = 122−3−24÷ |A|If |A| = 0 there is no inverse: the matrix is singular.

            Try one · inverses

            Work it on paper first, then press Next step to check yourself a line at a time.

              Line0 / 0Worked0
              6

              Play · solve the pair

              Simultaneous equations with matrices

              Press Next

              Right0 / 5

              AX = B, so X = A⁻¹B

              Where you see it: two shoppers buy different numbers of pens and books for known totals; a MathematicsMatrixA block of numbers in rows and columns. A 2 × 3 matrix has 2 rows and 3 columns (rows first). Its transpose swaps rows and columns.Science dictionary ▶ finds both prices at once. Write the coefficients as a matrix, multiply both sides by its inverse:2x + y = 7, 3x + 2y = 122132xy = 712the coefficients in rows|A| = 4 − 3 = 1, A⁻¹ = 2−1−32swap, change signs, ÷ 1xy = 2−1−32712 = 2314 − 12 = 2, −21 + 24 = 3For one unknown alone, swap that unknown's column for the answers and divide MathematicsDeterminantA number worked out from a square matrix. For a 2 × 2 with rows (a, b) and (c, d) it is ad − bc; a 3 × 3 is expanded along the top row with signs + − +. If it is 0 the matrix has no inverse.Science dictionary ▶: y = (2 × 12 − 7 × 3) ÷ 1 = 3.

              Try one · equations

              Work it on paper first, then press Next step to check yourself a line at a time.

                Line0 / 0Worked0
                7

                Play · quick rounds

                Matrices: quick rounds

                Press Next

                Right0 / 5

                The traps that cost marks

                Where you see it: a pilot runs the same checklist before every flight, because the slips are always the same few. These are the exam's. The wrong options are built from these:rows first: a 2 × 3 has 2 rowsnot 2 columnsAB: row of A times column of Bnot entry by entryad − bcnot ad + bc3 × 3: signs + − +the middle term is taken awayinverse: swap a and d, negate b and cthen ÷ the determinant

                Try one · any kind

                Work it on paper first, then press Next step to check yourself a line at a time.

                  Line0 / 0Worked0
                  8

                  Exam corner

                  How the exam asks it

                  Three questions the exam loves, one line at a time. Press Next step and say the next line before it appears.

                  Find the inverse of 5273.

                  1. |A| = 15 − 14 = 1ad − bc
                  2. A⁻¹ = 3−2−75swap, change signs, ÷ 1
                  Line1 / 2

                  Find x if x523 = 11.

                  1. 3x − 10 = 11ad − bc
                  2. 3x = 21, x = 7
                  Line1 / 2

                  Evaluate 102310241.

                  1. 1(1 − 0) − 0 + 2(12 − 2)+ − + along the top; the 0 wipes its term
                  2. = 1 + 20 = 21
                  Line1 / 2

                  Now try the real ones

                  Real JAMB, WAEC and NECO past questions on this lesson (the JAMB and WAEC ones in LOEP's words). Answer them one at a time: each is marked, with the worked answer.

                  Start the 10 real questions ▶
                  1. JAMB 2023Find the determinant of the matrix ( 1 2 -1 ; 3 0 2 ; -2 1 4 ).
                  2. JAMB 2022Given A = ( 1 2 ; 3 1 ; 2 4 ) and B = ( 2 1 ; 1 3 ), find the product AB.
                  3. JAMB 1997If ( 3 -1 ; 2 5 )( x ; y ) = ( 5 ; 26 ), find the value of y - x.
                  4. JAMB 2022What is the determinant of the matrix M = ( 5 2 ; 3 4 )?
                  5. JAMB 2013Given M = ( 3 1 ; 4 2 ) and N = ( 1 5 ; 2 3 ), find 3M - N.
                  6. JAMB 1994Find x and y if ( 2 1 ; 4 y )( x ; 3 ) = ( 11 ; 1 ).
                  7. JAMB 2020Find the positive value of x for which the determinant | x 2 0 ; 2 x 2 ; 0 2 x | equals 0.
                  8. JAMB 2008Find x and y if ( 2 3 ; x -1 ) + ( 4 -1 ; 5 y ) = ( 6 2 ; 3 4 ).
                  9. JAMB 2019If | 1 2 -1 ; x 3 2 ; 0 1 4 | = -26, find x.
                  10. JAMB 2006Find p and q if ( 3p 5 ; 2 -4q )( 2 ; 1 ) = ( 17 ; -8 ).
                  9

                  The League's test

                  Pass the League's test

                  Six exam-style questions from the League. Get all six right to earn your stamp. Three wrong and you resit.

                  The League's badge

                  League test · Matrices

                  You: ♥♥♥

                  Press Start when you're ready.

                  Remember it

                  Tap a card to flip it. Say the answer before you flip.

                  Ash:Say the size before you start: rows by columns. Then it's three moves for the whole topic: entry by entry to add, row times column to multiply, ad − bc for the determinant.
                  Matrices and determinants: Mathematics explained, with games · L.O.E.P