Math for economyMM1005

How to find your way

  1. 1Search for the word that confuses you — the box at the top searches the whole course.
  2. 2Look it up in Concepts. Every concept links to the section that explains it. Concepts →
  3. 3Read the Watch out and Common error boxes: they show the mistakes that are actually made.
  4. 4Still stuck? Bring the question to the exercise session or send an email.

Lecturer: Eric Ahlqvist, eric.ahlqvist@math.su.se · Put “MM1005” in the subject line.

← 13
Lecture 14 Determinants and the inverse
15 →
14 Problems

Determinants and the inverse

The problems follow the sections of the theory. Those that are checked at once get new numbers each time you press New variant: repeat them until the method runs by itself. Those with a solution are for paper. Write the whole solution before you open it, then compare line by line. Last come problems in the form of the exam, with points and a marking guide.

Typing an answer. Most answers checked here are numbers; fractions may be typed as -5/4 or as -1.25. Where several values are asked for, separate them with a semicolon, as in 3; -3.

●○○ Basic●●○ Intermediate●●● Challenge Checked instantlySolution included

Determinants of order 2

Read the theory: 1. Determinants of order 2 →
Problem 5●○○ BasicSolution included

Let $\mathbf{A}=\begin{pmatrix}4&1\\1&3\end{pmatrix}.$

(a) Compute $|\mathbf{A}|,$ and give the area of the parallelogram spanned by the rows $(4,1)$ and $(1,3).$

(b) What is the determinant when the two rows are interchanged? What happens to the area?

(c) For which $c$ do the rows $(4,1)$ and $(c,2)$ lie on one line? Check your answer.

Hint

The area is the absolute value of the determinant; the sign records the order of the rows. For (c), set the determinant equal to $0.$

Stuck? Read 1. Determinants of order 2 →
Problem 6●●● ChallengeSolution included

Consider the system $$ \begin{aligned} (k+1)x+2y&=3\\ 4x+(k-1)y&=-6\,. \end{aligned} $$

(a) For which $k$ does it have exactly one solution?

(b) For those $k,$ find the solution by Cramer's rule, and simplify.

(c) Decide what happens at each of the remaining values of $k.$

(d) The simplified formula of (b) makes sense at one of the remaining values. Does it give "the" solution there?

Hint

$|\mathbf{A}|=(k+1)(k-1)-8.$ Factor it, and factor the numerators of Cramer's rule too. In (c), write out the two equations for each value and compare them.

Stuck? Read 1. Determinants of order 2 →

Determinants of order 3

Read the theory: 2. Determinants of order 3 →
Problem 10●○○ BasicSolution included

Let $$ \mathbf{A}=\begin{pmatrix}2&0&1\\ p&3&4\\ 1&0&5\end{pmatrix}, $$ where $p$ is a number.

(a) Which row or column is the cheapest to expand along, and what is the sign of the one term that survives?

(b) Compute $|\mathbf{A}|.$ Does it depend on $p?$

(c) Check the value by expanding along the first row.

Hint

Look for the row or column with the most zeros. The sign of the $(i,j)$ term is $(-1)^{i+j}.$

Stuck? Read 2. Determinants of order 3 →

Cramer's rule of order 3, and the determinant of a product

Read the theory: 3. Cramer's rule of order 3, and the determinant of a product →
Problem 14●●○ IntermediateSolution included

Find $z$ in the solution of $$ \begin{aligned} 2x+y&=1\\ x+3y+z&=0\\ y+2z&=3 \end{aligned} $$ by Cramer's rule, without finding $x$ and $y.$ Then find $y$ the same way and check both in an equation.

Hint

$z=|\mathbf{A}_{3}|/|\mathbf{A}|,$ where $\mathbf{A}_{3}$ is $\mathbf{A}$ with its third column replaced by the right-hand side. Write the missing coefficients as $0.$

Stuck? Read 3. Cramer's rule of order 3, and the determinant of a product →
Problem 15●●○ IntermediateSolution included

$\mathbf{A}$ and $\mathbf{B}$ are of order $3,$ with $|\mathbf{A}|=2$ and $|\mathbf{B}|=-3.$ Compute

(a) $|\mathbf{A}\mathbf{B}^{\top}|,$

(b) $|-\mathbf{A}|,$

(c) $|\mathbf{A}^{2}\mathbf{B}|,$

(d) $|2\mathbf{B}|.$

(e) Explain, with an example, why $|\mathbf{A}+\mathbf{B}|$ cannot be computed from the given information.

Hint

Fact 14.13 for products and transposes, Watch out 14.14 for a scalar: the scalar is raised to the power $3.$

Stuck? Read 3. Cramer's rule of order 3, and the determinant of a product →

The inverse, and when it exists

Read the theory: 4. The inverse, and when it exists →
Problem 18●●● ChallengeSolution included

Let $\mathbf{A}$ be a square matrix.

(a) Show in two ways that if $\mathbf{A}^{2}=\mathbf{0}$ then $\mathbf{A}$ has no inverse: once with determinants, once by multiplying by $\mathbf{A}^{-1}.$

(b) Give a matrix $\mathbf{A}\ne\mathbf{0}$ of order $2$ with $\mathbf{A}^{2}=\mathbf{0}.$

(c) Show that if $\mathbf{A}$ is invertible and $\mathbf{A}^{2}=\mathbf{A},$ then $\mathbf{A}=\mathbf{I}.$

Hint

For (a), suppose $\mathbf{A}^{-1}$ exists and reach a contradiction. For (c), multiply $\mathbf{A}\mathbf{A}=\mathbf{A}$ by $\mathbf{A}^{-1}$ on one side.

Stuck? Read 4. The inverse, and when it exists →

The inverse of order 2, and its rules

Read the theory: 5. The inverse of order 2, and its rules →
Problem 20●●○ IntermediateSolution included

Let $\mathbf{A}=\begin{pmatrix}2&1\\1&1\end{pmatrix}$ and $\mathbf{B}=\begin{pmatrix}1&2\\0&1\end{pmatrix}.$

(a) Compute $\mathbf{A}\mathbf{B}$ and invert it with Fact 14.20.

(b) Compute $\mathbf{A}^{-1}$ and $\mathbf{B}^{-1},$ and then $\mathbf{B}^{-1}\mathbf{A}^{-1}$ and $\mathbf{A}^{-1}\mathbf{B}^{-1}.$ Which of the two is $(\mathbf{A}\mathbf{B})^{-1}?$

Hint

All three determinants are $1,$ so no fractions appear.

Stuck? Read 5. The inverse of order 2, and its rules →

Solving the system with the inverse

Read the theory: 6. Solving the system with the inverse →
Problem 22●●○ IntermediateSolution included

Let $\mathbf{A}=\begin{pmatrix}5&3\\3&2\end{pmatrix}.$

(a) Find $\mathbf{A}^{-1}.$

(b) Solve $\mathbf{A}\mathbf{x}=\mathbf{b}$ for the three right-hand sides $\mathbf{b}=(11,7),$ $(2,1)$ and $(0,1).$

(c) Find the matrix $\mathbf{Y}$ with $\mathbf{Y}\mathbf{A}=\begin{pmatrix}1&0\\2&1\end{pmatrix},$ and show that $\mathbf{A}^{-1}\begin{pmatrix}1&0\\2&1\end{pmatrix}$ is not it.

Hint

$|\mathbf{A}|=1.$ In (b) each solution is one product $\mathbf{A}^{-1}\mathbf{b}.$ In (c), $\mathbf{A}$ stands to the right of $\mathbf{Y}.$

Stuck? Read 6. Solving the system with the inverse →

Mixed, as on the exam

Problem 23●●● ChallengeSolution included

Consider the system $$ \begin{aligned} x+y+z&=1\\ x+2y+az&=2\\ x+4y+a^{2}z&=c\,, \end{aligned} $$ where $a$ and $c$ are numbers.

(a) For which $a$ does the system have exactly one solution for every $c?$

(b) For each remaining value of $a,$ find the values of $c$ for which there are solutions, and give all solutions for those $c.$

Hint

The determinant depends on $a$ only. For (b), subtract the first equation from the other two.

Stuck? Read 6. Solving the system with the inverse →

As on the exam

3 problems · 28 p

Problems in exam form, with points. Solve them on paper or in the box. Then open the solution one step at a time and mark yourself against the rubric.

Exam problem 110 pComputeModel: practice exam 2 Q7; 2022-11-09 Q7; 2024-11-05 Q6

A cubic determinant, and the values it leaves

For a real number $a,$ consider the linear system $$ \left\{ \begin{aligned} ax+3y+z&=2\\ x+2y+az&=1\\ 2x+ay-2z&=2 \end{aligned} \right. $$ and let $\mathbf{A}$ be its coefficient matrix.

  1. (a)

    Compute $\det\mathbf{A}$ and write it as a product of factors of degree one in $a.$

    4 p
  2. (b)

    For which values of $a$ does the system have exactly one solution? Justify your answer.

    2 p
  3. (c)

    For each of the remaining values of $a,$ determine whether the system has no solution or infinitely many solutions. Whenever there are infinitely many, give all of them.

    4 p

The text is stored only in this browser. Nobody marks it for you.

Exam problem 210 pComputeModel: practice exam 1 Q7; 2022-09-28 Q7; 2021-09-28 Q6

Matrix form, a determinant, elimination — and a singular matrix

Consider the linear system $$ \left\{ \begin{aligned} x-y+2z&=-3\\ 2x+y+z&=6\\ 3x-2y+4z&=-4 \end{aligned} \right. $$

  1. (a)

    Write the system in matrix form $\mathbf{A}\mathbf{v}=\mathbf{b},$ where $\mathbf{A}$ is a $3\times3$ matrix and $\mathbf{v},$ $\mathbf{b}$ are $3\times1$ matrices, and compute $\det\mathbf{A}.$ What does its value tell you about the number of solutions?

    3 p
  2. (b)

    Solve the system using Gaussian elimination.

    4 p
  3. (c)

    Find all values of $k$ for which the matrix $$\begin{pmatrix} k&1&2\\ 3&k&0\\ 1&0&1\end{pmatrix}$$ is not invertible.

    3 p

The text is stored only in this browser. Nobody marks it for you.

Exam problem 38 pComputeModel: 2024-10-01 Q7; 2023-10-31 Q6

A matrix equation, solved from the right

Let $$ \begin{aligned} \mathbf{M}&=\begin{pmatrix}3&1\\4&2\end{pmatrix},\\[4pt] \mathbf{P}&=\begin{pmatrix}13&5\\-6&0\\14&6\end{pmatrix},\quad \mathbf{Q}=\begin{pmatrix}1&0\\-1&1\\2&1\end{pmatrix}. \end{aligned} $$ We look for every matrix $\mathbf{N}$ with $$\mathbf{N}\mathbf{M}=\mathbf{P}-2\mathbf{Q}\,.$$

  1. (a)

    Compute $\mathbf{C}=\mathbf{P}-2\mathbf{Q}.$ What order must $\mathbf{N}$ have? Explain.

    2 p
  2. (b)

    Show that $\mathbf{M}$ is invertible, and find $\mathbf{M}^{-1}.$

    3 p
  3. (c)

    Find $\mathbf{N}.$ Explain on which side you multiply, and check your answer.

    3 p

The text is stored only in this browser. Nobody marks it for you.