CEGEP Linear Algebra · Sheet 03 of 7 All 7 sheets →
  1. Home
  2. Worksheets
  3. CEGEP Linear Algebra
  4. The Inverse of a Matrix
CEGEP Linear Algebra The Inverse of a Matrix Free · no sign-up

CEGEP Linear Algebra — The Inverse of a Matrix Worksheet

The set where row reduction stops being a procedure and starts being a test. What it means for a square matrix to have an inverse and why the definition insists on both orders, the 2x2 rule and the exact point at which it produces nothing, how the augmented array [A | I] turns into [I | A⁻¹] and why that works, what an elementary matrix is and why left-multiplying by one performs a row operation, how to solve a system as x = A⁻¹b and when doing so is genuinely worth it, and the list of statements about a square matrix that are either all true or all false together. Have a look on this page, then print the free PDF when you want to write on it.

Practice worksheet — free PDF

6 pages 6 questions Letter size, print-ready

No email, no account, no watermark. Teachers: photocopy it for your classes freely. Worked solutions and 4 harder problems come with the CEGEP Linear Algebra bundle.

All 6 questions

Each question targets one named concept from the sheet. Read them here, or print the PDF — it has working space under each one.

  1. Q1The Inverse of a Square Matrix

    An n×n matrix A is invertible when there is an n×n matrix A1 with AA1=A1A=In. For a 2×2 matrix A=[abcd] there is a rule: if the number adbc is not zero, then A1=1adbc[dbca], and if adbc=0 the rule produces nothing — part (b) asks you to settle that case yourself.

    1. Find A1 for A=[3512], and confirm your answer by computing AA1.
    2. Apply the rule to B=[4623]. Then, without using the rule at all, give a non-zero column x with Bx=0 and say in one sentence why the existence of such an x already rules out an inverse for B.
    3. A matrix M satisfies M1=[3423]. Recover M.
  2. Q2Finding an Inverse by Row Reduction

    Find A1 for A=[121134256] by reducing the augmented array [AI3] to [I3A1]. Name each row operation you use, and check one column of your answer by multiplying it back into A.

  3. Q3Elementary Matrices

    An elementary matrix is what you get by performing a single row operation on the identity matrix. Work throughout with 3×3 matrices, and take A=[132025410].

    1. Write down the elementary matrices E1, E2 and E3 corresponding to R3R34R1, to R212R2, and to R1R2.
    2. Compute E1A, and confirm that it is A with that row operation carried out.
    3. Write down E11, E21 and E31, naming the row operation each one performs, then explain in two sentences why every elementary matrix is invertible and why its inverse is again elementary.
  4. Q4Solving a System with the Inverse Matrix

    A soap workshop makes three blends, X, Y and Z. One batch of each blend uses the kilograms of olive oil, coconut oil and shea butter recorded in the corresponding column of A=[112235102],rows: olive oil, coconut oil, shea butter. If x lists the numbers of batches made, then Ax lists the kilograms consumed, so “a delivery b is used up exactly” means Ax=b.

    1. Verify that A1=[621101311] by computing AA1.
    2. This week's delivery is 9 kg of olive oil, 22 kg of coconut oil and 8 kg of shea butter. Use x=A1b to find the batch numbers.
    3. Next week's delivery is 7, 18 and 5 kg. Find those batch numbers too.
    4. In one sentence, say why computing A1 once is the efficient method here, whereas it would not be for a single delivery.
  5. Q5Conditions Equivalent to Invertibility

    For an n×n matrix A the following statements are either all true or all false: A is invertible; the reduced row echelon form of A is In; A has n pivots; Ax=0 has only the solution x=0; Ax=b has exactly one solution for every b; the columns of A are linearly independent. Apply that list to P=[123246011],Q=[102011213],R=[110011102]. For each matrix decide whether it is invertible, justifying the decision by counting pivots. For each one that is not invertible, also give a non-zero x sent to 0 by that matrix, and write one of its columns as a combination of the other two, so that two further statements on the list are seen to fail as well. Compute no inverses.

  6. Q6Synthesis — drawing on several topics in this set

    Let A=[1235].

    1. Reduce A to I2 using exactly three row operations, and write down the elementary matrices E1, E2, E3 of those operations, in the order you used them.
    2. From E3E2E1A=I2, read off A1 as a product of elementary matrices and multiply it out. Confirm the result against the 2×2 rule.
    3. Write A itself as a product of elementary matrices, and explain what this computation illustrates about the statement “A is a product of elementary matrices” as an addition to the invertibility list.

The 4 challenge problems for this topic are a separate, paid sheet and are not reproduced here.

Which stream is this for? This is CEGEP Linear Algebra — 201-NYC-05 under the legacy numbering, 201-SN4-RE under the current one, the same course either way — written against ministerial competency 0M04, Analyser des problèmes par l'utilisation de concepts de l'algèbre linéaire et de la géométrie vectorielle, in the Sciences de la nature programme. Scope follows the devis rather than any one college's outline. It sits directly after systems of linear equations, and it reuses their machinery rather than replacing it, so if row reduction is still shaky this is the set that will expose it. Determinants are the next worksheet, deliberately, and nothing here needs them.

How to do every concept on this sheet

This is the part worksheet sites usually leave out. Below is the actual reasoning behind each group of questions — not a full solution set, the decisions that get you to one. Read it before you start, or after you get stuck.

An inverse has to undo the matrix from both sides

Q1 opens with the definition rather than a formula, and the definition is a pair of equations: A⁻¹ is the matrix with AA⁻¹ = I and A⁻¹A = I. Both. That looks like pedantry until you remember that matrix multiplication does not commute, so a matrix that undoes A from the left is not automatically the same object as one that undoes it from the right — for square matrices they do coincide, but that is a theorem, not something the notation gives you. It is why part (a) asks you to confirm your answer by multiplying the product out, and why the notion is only defined for a square matrix at all.

A⁻¹ is one matrix, not an operation. There is no division of matrices and no such thing as B/A — the notation would not say whether you meant A⁻¹B or BA⁻¹, and those are different matrices. Everything on this sheet is written as a multiplication by A⁻¹ on a stated side, and the side is always part of the answer.

For a 2x2 matrix Q1 hands you the closed rule: swap the two diagonal entries, negate the other two, and divide the whole thing by the number ad − bc. Part (b) applies it to a matrix where that number is 0 and the rule collapses. Part (c) runs it backwards — you are given M⁻¹ and asked for M — which is worth doing slowly, because the fact it rests on is that inverting is its own undoing: the inverse of A⁻¹ is A.

Why this set characterises invertibility without ever mentioning determinants

The number ad − bc that appears in the 2x2 rule is a determinant, and you may already have heard "a matrix is invertible exactly when its determinant is non-zero". That statement is true and it is the next worksheet's business. On this one it is unavailable on purpose, and the ordering is what makes the ideas mean something rather than being a slogan you repeat.

Here, invertibility is decided by row reduction and by nothing else. Four statements do the work, and Q5 gives them to you outright as a list that is either all true or all false for a given square matrix: the reduced row echelon form of A is I; A has n pivots; Ax = 0 has only the solution x = 0; the columns of A are linearly independent. Each says the same fact from a different direction, and each one you can check by hand with the reduction you already know.

A determinant compresses all of that into a single number, which is convenient and which hides the mechanism. Meeting the mechanism first is what lets you answer the questions the number cannot: which vector is sent to zero, which column is redundant, how many pivots were lost. Q1(b) and Q5 both make that concrete by asking for a non-zero x with Ax = 0 — a single such vector is a complete proof that no inverse exists, since multiplying Ax = 0 on the left by a hypothetical A⁻¹ would force x = 0.

[A | I] to [I | A⁻¹], and why that is not a trick

Q2 is the general method: augment A with an identity of the same size, row reduce until the left block is the identity, and read the inverse off the right block. The question asks you to name each row operation as you use it, which is the habit that makes the method checkable — and the point of Q3 is that each of those named operations is itself a matrix.

Finding an inverse by row reduction

The same reduction you use on a system, run on a wider array.

  1. 1
    Write [A | I]

    One array, a vertical bar, the identity of the same size on the right. Every operation from here on is applied to the full width of the row — half-applying an operation is the commonest error in the whole method, and it is silent.

  2. 2
    Reduce the left block downwards to echelon form

    Clear the first column, then the second, and count leading entries as you go. This is the moment the question is answered: n pivots means the reduction will reach I and the inverse exists.

  3. 3
    If a row of the left block goes to zero, stop

    There is no inverse and there is nothing further to compute. Carrying on produces a right-hand block that means nothing.

  4. 4
    Clear upwards to reach the identity

    Work back from the last pivot, as in Q2. When the left block is I, the right block is A⁻¹ — nothing else needs to be done to it.

  5. 5
    Check one column

    Q2 asks for this explicitly, and it costs one matrix-column product: A times the first column of your answer should be the first column of I. An arithmetic slip anywhere in the reduction shows up here.

The reason it works is the whole content of Q3. An elementary matrix is what you get by doing one row operation to the identity, and left-multiplying by it performs that same operation — part (b) asks you to verify exactly this on one product. So a reduction of A to I is a chain of left multiplications, and applying that same chain to the I sitting on the right assembles the matrix that undoes A. The array is not two calculations side by side; it is one calculation, recorded twice.

Q3(c) then asks why every elementary matrix is invertible. The answer is that every allowed row operation can be undone by a row operation of the same kind — add back what you subtracted, multiply back by the reciprocal, or repeat the swap — so the inverse is elementary too. Notice where "allowed" is doing the work: scaling a row by 0 is not a legal operation, and that is precisely the case that would have no reciprocal to multiply back by.

The one detail this set is most often lost on: the order reverses

Everything above builds products of matrices, and every product has to be inverted at some point. There is exactly one rule for that, and it is not the one most people write first.

(AB)⁻¹ = B⁻¹A⁻¹ — the factors come back in the opposite order. Writing A⁻¹B⁻¹ is the standard error on this topic, borrowed from arithmetic, where it is harmless because numbers commute. Matrices do not. Check it against the definition and you can see why: in (AB)(B⁻¹A⁻¹) the inner pair B and B⁻¹ stand next to each other and collapse to I, and only once they are gone is A left facing A⁻¹. In (AB)(A⁻¹B⁻¹) nothing meets anything it can cancel.

(AB)⁻¹ = B⁻¹A⁻¹ (E₃E₂E₁)⁻¹ = E₁⁻¹E₂⁻¹E₃⁻¹

Q6 is where you watch it happen on a real product. Part (a) reduces a 2x2 matrix to the identity in three operations, so E₃E₂E₁A = I and therefore A⁻¹ = E₃E₂E₁ — the operations in the order you performed them. Part (c) asks for A itself, and it comes out as E₁⁻¹E₂⁻¹E₃⁻¹: the same three operations, each undone, and the whole list read backwards. That is the reversal rule in the only form you are likely to remember, because it also says something obvious about undoing a sequence of actions in the real world.

The same rule decides which side an inverse goes on. An inverse only cancels the factor it is standing next to. From Ax = b you multiply on the left, because that is where A is, giving x = A⁻¹b — the form Q4 asks you to use. Multiplying on the right would produce A x A⁻¹, which cancels nothing and, with a column x, is not even a legal product. Say which side you are multiplying on, every time; it is the sentence that carries the mark.

Solving a system by inversion, and knowing when not to

Q4 is a workshop making three blends of soap from three raw materials, with the recipe of each blend down a column of A, so that Ax lists the kilograms consumed. Part (a) verifies a supplied inverse; parts (b) and (c) then solve for two different weekly deliveries by the same product x = A⁻¹b. Part (d) asks the question the sheet is really about.

Inverting pays only when the coefficient matrix is reused. For a single right-hand side, Gauss-Jordan on [A | b] is strictly less work than reducing [A | I] and then multiplying — inverting solves every possible b, and you only wanted one. When A is fixed and b changes each week, the one reduction is amortised and each new week costs a single matrix-column product. That is the entire argument, and part (d) wants it in a sentence.

The other half of the judgement is that this method assumes an answer of a shape it may not have. x = A⁻¹b delivers exactly one solution, so it can only ever be used once A is known to be invertible — which, on this worksheet, means once the pivots have been counted. A system whose coefficient matrix is not invertible still has a perfectly good solution set; it is just empty or infinite, and only row reduction of the augmented array will report which.

The list, and how to use it as a list

Q5 gives you three 3x3 matrices and forbids you to compute a single inverse. You decide invertibility by counting pivots, and then, for each matrix that fails, you produce two more symptoms of the same failure: a non-zero vector sent to 0, and one column written as a combination of the other two.

Reading one reduction four ways

For an n x n matrix A, these stand or fall together.

  1. 1
    The reduced row echelon form of A is I

    What you observe directly. Reduce and look at what you get.

  2. 2
    A has n pivots

    The same observation counted rather than described. A pivot missing from a column means a free variable is coming.

  3. 3
    Ax = 0 has only the trivial solution

    Each free variable produces a whole line of non-zero solutions, so a missing pivot hands you the vector that disproves invertibility. Fewer pivots than columns, and a non-trivial solution always exists.

  4. 4
    The columns of A are linearly independent

    Read the same vector across the columns instead of down the variables: the entries of a non-zero x satisfying Ax = 0 are exactly the coefficients of a dependence among the columns. This is the translation Q5 asks you to perform.

Step 4 is the one worth practising, because it is one idea in two notations rather than two facts. Ax is a combination of the columns of A with the entries of x as coefficients, so a non-zero x with Ax = 0 is a statement that some combination of the columns, not all coefficients zero, gives the zero vector — and rearranging it writes one column in terms of the others. Q5 asks for the vector and for the relation between columns separately so that you see them as the same finding twice.

Q6(c) then adds one more entry to the list: A is a product of elementary matrices. It comes free from the reduction, since inverting E₃E₂E₁A = I in the other direction exhibits A as exactly such a product, and nothing in that argument depended on the particular matrix. A square matrix reduces to I precisely when it can be built out of row operations, and those are two readings of one calculation.

Getting the most out of it

Count pivots before you compute anything

Almost every question here is settled by the downward half of a row reduction. Get the matrix to echelon form, count the leading entries, and only then decide whether an inverse is worth chasing. Starting with the arithmetic of [A | I] and discovering a zero row three operations later is the expensive route to the same answer.

Apply every operation across the full row

In an augmented array the bar is punctuation, not a wall. A row operation acts on the whole row, both blocks, and a reduction that quietly leaves the right-hand block behind still looks tidy and produces a confident wrong answer. This is the one error the check in Q2 is designed to catch.

Say which side you multiplied on

Matrix multiplication does not commute, so "multiply by A⁻¹" is not an instruction until you have said left or right. Write x = A⁻¹b, not bA⁻¹; write (AB)⁻¹ = B⁻¹A⁻¹, not A⁻¹B⁻¹. On a CEGEP final the justification clause — which inverse, applied on which side, and why the equation forces it — is where the reasoning marks live.

Check by multiplying back

An inverse is the one answer in the course that verifies itself in a few seconds: multiply it back into the original and look for the identity. Q1, Q2, Q4 and Q6 all ask for some form of this, and one column is usually enough to catch a slip. Do it even when the question does not ask.

Want the solutions, or something more challenging?

The worksheet, the questions above and every explanation on this page stay free permanently. Three more PDFs exist for this topic — the worked answer key, a harder problem set, and the answer key to that. They come with the CEGEP Linear Algebra Solutions Bundle, which is what keeps the rest of the series free.

What else exists for The Inverse of a Matrix

Three PDFs · 10 pages · all three are in the bundle below.

  • Answer key — 3 pages. All 6 questions worked step by step, including the restrictions and the justifications. Not a list of final answers.
  • Challenge problems — 4 pages, 4 problems. A separate sheet at exam-plus difficulty covering the same 5 concepts. Harder than anything on the free sheet.
  • Challenge answer key — 3 pages. Every challenge problem worked to the same standard, with the checks shown.
  • PDF, letter size, print-ready.
In the bundle See what's in it Not sold separately

The one thing that's for sale

Best value for the whole year

Every CEGEP Linear Algebra topic — the complete Solutions Bundle

One download, one payment, the whole program. Every answer key and every challenge set for all 7 CEGEP Linear Algebra worksheet sets — including this one.

7 sets · 21 PDFs · 82 pages$19.99
  • Worked solutions, not answer lists — every step written out
  • Covers the whole year's program at this level
  • Less than the price of one hour of tutoring — for the entire year's solutions
Everything paid, in one file $19.99CAD · one payment CEGEP Linear Algebra bundle — coming soon Not on sale yet

Taking Secondary 1 Math as well? The Secondary 1 Math bundle covers all 15 of its sets — 45 PDFs, 182 pages — on the same terms.

Taking Secondary 2 Math as well? The Secondary 2 Math bundle covers all 14 of its sets — 42 PDFs, 181 pages — on the same terms.

Taking Secondary 3 Math as well? The Secondary 3 Math bundle covers all 11 of its sets — 33 PDFs, 154 pages — on the same terms.

Taking Secondary 4 Math as well? The Secondary 4 Math bundle covers all 17 of its sets — 51 PDFs, 154 pages — on the same terms.

Taking Secondary 5 Math as well? The Secondary 5 Math bundle covers all 21 of its sets — 63 PDFs, 228 pages — on the same terms.

Taking CEGEP Calculus I as well? The CEGEP Calculus I bundle covers all 8 of its sets — 24 PDFs, 82 pages — on the same terms.

Taking CEGEP Calculus II as well? The CEGEP Calculus II bundle covers all 8 of its sets — 24 PDFs, 90 pages — on the same terms.

Taking AP Calculus AB as well? The AP Calculus AB bundle covers all 8 of its sets — 24 PDFs, 126 pages — on the same terms.

Common questions

Is this worksheet really free?

Yes — the questions are on this page to read, and the PDF downloads directly, no email and no account. The one paid item is optional: the complete CEGEP Linear Algebra Solutions Bundle, which covers every set at this level.

Is this for 201-NYC-05 or 201-SN4-RE?

Both — they are the same course under two numbering systems, the first the legacy code and the second the current one. The content is written against ministerial competency 0M04 in the Sciences de la nature programme, so it matches whichever code your college prints on the outline.

Why is there no determinant anywhere on this worksheet?

Because it is not needed yet, and the ordering is deliberate. Invertibility is decided here by row reduction — whether the reduced form is the identity, whether there are n pivots, whether Ax = 0 has only the trivial solution, whether the columns are independent. Determinants are the next set in this course, and that is where "invertible exactly when the determinant is non-zero" belongs. Meeting the reduction first is what makes that statement informative rather than a slogan.

Is (AB)⁻¹ the same as A⁻¹B⁻¹?

No. The correct rule is (AB)⁻¹ = B⁻¹A⁻¹, with the order reversed, and it is the detail most often dropped in this set. The reason is that an inverse cancels only the factor standing next to it: in (AB)(B⁻¹A⁻¹) the inner pair B and B⁻¹ meet and collapse, freeing A to meet A⁻¹. Writing A⁻¹B⁻¹ imports a habit from arithmetic that matrices do not support, since they do not commute.

Does the ad − bc rule work on a 3x3 matrix?

No — that closed formula is specific to size two, and there is no comparably short one to memorise for larger matrices. Row reduction of [A | I] is the general method, works at any size, and tells you along the way whether an inverse exists at all. Use the 2x2 rule as a shortcut and a check, not as the method.

My reduction of [A | I] produced a row of zeros on the left. What now?

Stop — that is the answer. A square matrix with a zero row in its echelon form has fewer than n pivots, cannot reduce to the identity, and has no inverse. Whatever the right-hand block currently holds means nothing, so there is nothing to salvage by continuing. If the original problem was a system, go back to [A | b] and row reduce that instead.

Can I divide one matrix by another?

No, and the notation B/A is best treated as meaningless. Because multiplication does not commute, A⁻¹B and BA⁻¹ are different matrices and the slash would not say which you meant. Write the multiplication out with the inverse on a stated side instead — that choice is part of the answer, not a formatting preference.

When is it actually worth solving a system with an inverse?

When the coefficient matrix stays fixed and only the right-hand side changes, as in the workshop question here. One reduction produces the inverse and every later case costs a single product. For one system on its own, Gauss-Jordan on the augmented matrix is less work — and it keeps working when the matrix turns out not to be invertible, which inversion does not.

Can teachers use this in class?

Yes. Print and photocopy it for your own classes freely — I just ask that the tutorinmontreal.ca footer stays on the page.

I'm stuck on one question. Can you help?

Yes — through one-on-one tutoring, in Montreal or online. Get in touch to arrange a session, or see the current rates.

← All 7 CEGEP Linear Algebra worksheets  ·  Secondary 1 Math series (15 sheets) →  ·  Secondary 2 Math series (14 sheets) →  ·  Secondary 3 Math series (11 sheets) →  ·  Secondary 4 Math series (17 sheets) →  ·  Secondary 5 Math series (21 sheets) →  ·  CEGEP Calculus I series (8 sheets) →  ·  CEGEP Calculus II series (8 sheets) →  ·  AP Calculus AB series (8 sheets) →

Download the free worksheet

Ready to improve your grades?

WhatsApp is the way to reach me — tell me the course you're taking and what you're stuck on, and we'll sort out a first session from there.

Message Me on WhatsApp

or send a message

I reply within a day, usually sooner. Your details are used only to answer you — see the Privacy Policy.

Private math & science tutoring in Montreal, QC — Westmount · Outremont · Town of Mount Royal · Hampstead · Côte-Saint-Luc · NDG · Nuns' Island · West Island — and online across Quebec.

Chat with Marius