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, [email protected] · Put “MM1005” in the subject line.

← 14
Lecture 15 One array, four questions
15 Problems

One array, four questions

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 — every row operation named next to its arrow — 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 here are numbers; fractions may be typed as -5/4 or as -1.25. A matrix is typed row by row, with a semicolon between the rows, for example 1 2; 3 4.

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

The method, and where the marks go

Read the theory: 1. The method, and where the marks go →
Problem 3●○○ BasicSolution included

A student solves $$ \begin{aligned} x + 2y + z &= 8\\ 2x + y + z &= 7\\ x + y + 2z &= 9 \end{aligned} $$ and writes three steps:

(i) $R_2\to R_2-2R_1$;

(ii) "interchange columns $2$ and $3,$ so that the second row starts with $-1$";

(iii) $R_3\to 0\cdot R_3,$ "since the third equation is not needed".

(a) Which of the three steps are elementary row operations? For each one that is not, say what it does to the system.

(b) Solve the system correctly, naming every row operation, and check your answer.

Hint

The three operations are: interchange two rows, multiply a row by a number $\alpha\ne0,$ add a multiple of one row to a different row. Ask of each step whether it acts on rows and whether it can be undone.

Stuck? Read 1. The method, and where the marks go →

Reading the finished array

Read the theory: 2. Reading the finished array →
Problem 5●●○ IntermediateSolution included

Each array below is the end of an elimination. Give the verdict (none, exactly one, infinitely many) and, where there are solutions, all of them.

(a) Unknowns $x_1,x_2,x_3,x_4{:}$ $$ \left(\begin{array}{cccc|c} 1 & 2 & 0 & -1 & 3\\ 0 & 0 & 1 & 2 & 1\\ 0 & 0 & 0 & 0 & 0 \end{array}\right) $$

(b) Unknowns $x_1,x_2,x_3{:}$ $$ \left(\begin{array}{ccc|c} 1 & 0 & 1 & 2\\ 0 & 1 & 1 & 0\\ 0 & 0 & 0 & 4 \end{array}\right) $$

(c) Unknowns $x_1,x_2,x_3{:}$ $$ \left(\begin{array}{ccc|c} 1 & 0 & 0 & 2\\ 0 & 1 & 0 & -1\\ 0 & 0 & 1 & 0\\ 0 & 0 & 0 & 0 \end{array}\right) $$

Hint

First look for a row $(0\;\cdots\;0\mid c)$ with $c\ne0.$ Then mark the columns of the unknowns that carry a leading entry. The column after the rule is not an unknown.

Stuck? Read 2. Reading the finished array →

Finding the inverse by row operations

Read the theory: 3. Finding the inverse by row operations →
Problem 10●●○ IntermediateSolution included

Let $$ \mathbf{A}=\begin{pmatrix}2&1&0\\1&1&1\\0&1&3\end{pmatrix}. $$ (a) Find $\mathbf{A}^{-1}$ with Method 15.3, naming every row operation, and check your answer with one product.

(b) Use it to solve $\mathbf{A}\mathbf{x}=(3,2,4).$

Hint

A leading entry $1$ is easier than $2:$ interchange rows $1$ and $2$ first. Then clear below, scale, and clear above until the left block is $\mathbf{I}.$

Stuck? Read 3. Finding the inverse by row operations →
Problem 11●●● ChallengeSolution included

Let $$ \mathbf{B}=\begin{pmatrix}1&2&0\\2&5&1\\1&3&k\end{pmatrix}. $$ (a) Reduce $(\mathbf{B}\mid\mathbf{I})$ as far as you can without knowing $k.$ For which $k$ does a row of the left block become zero?

(b) Finish the reduction for $k=2$ and give $\mathbf{B}^{-1}.$

(c) Explain, without computing a determinant, why a zero row in the left block means $|\mathbf{B}|=0.$ Then confirm by computing $|\mathbf{B}|.$

Hint

Two operations clear the first column; one more clears the second. For (c): a zero row leaves a column of the left block without a leading entry. What does that say about the system $\mathbf{B}\mathbf{x}=\mathbf{0}$?

Stuck? Read 3. Finding the inverse by row operations →

Many right-hand sides at once

Read the theory: 4. Many right-hand sides at once →
Problem 13●●○ IntermediateSolution included

Let $$ \mathbf{A}=\begin{pmatrix}1&2&1\\0&1&1\\1&2&2\end{pmatrix}. $$ (a) Solve $\mathbf{A}\mathbf{x}=\mathbf{b}$ for the three right-hand sides $(4,2,5),$ $(3,1,4)$ and $(0,0,1)$ in one reduction.

(b) One of your three answers is a column of $\mathbf{A}^{-1}.$ Which one, and which column?

Hint

Write all three right-hand sides after the rule, in a $3\times6$ array, and reduce once. The operations are chosen by the left block alone.

Stuck? Read 4. Many right-hand sides at once →

Which tool for which question

Read the theory: 5. Which tool for which question →
Problem 17●●○ IntermediateSolution included

Consider $$ \begin{aligned} x + y + z &= 2\\ x + 2y + 3z &= 3\\ 2x + 3y + az &= c \end{aligned} $$ (a) For which $a$ has the system exactly one solution, whatever $c$ is?

(b) Let $a$ be the remaining value. For which $c$ are there solutions? Give all of them.

Hint

(a) is a question for the determinant (Fact 15.7). In (b) the determinant has said all it can: eliminate, and read the last row as a function of $c.$

Stuck? Read 5. Which tool for which question →

Mixed, as on the exam

Problem 18●●● ChallengeSolution included

A workshop makes three goods from three inputs. One unit of good $j$ uses $a_{ij}$ units of input $i,$ where $$ \mathbf{A}=(a_{ij})=\begin{pmatrix}1&1&1\\1&2&1\\1&1&2\end{pmatrix}. $$ In a given week the amounts $\mathbf{b}=(b_1,b_2,b_3)$ of the inputs are available, and the plan $\mathbf{x}$ (units of each good) must use them exactly: $\mathbf{A}\mathbf{x}=\mathbf{b}.$

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

(b) Find the plan for the three weeks with $\mathbf{b}=(10,13,14),$ $(9,12,11)$ and $(6,9,10).$

(c) One of the three plans cannot be carried out. Which, and why?

(d) Why is computing $\mathbf{A}^{-1}$ worth it here, and when would one elimination of $(\mathbf{A}\mid\mathbf{b})$ be better?

Hint

Three operations bring $(\mathbf{A}\mid\mathbf{I})$ to $(\mathbf{I}\mid\mathbf{A}^{-1})$: clear the first column, then clear above. A plan is a list of quantities produced.

Stuck? Read 4. Many right-hand sides at once →
Problem 19●●● ChallengeSolution included

For a real number $a,$ consider $$ \begin{aligned} x + ay + z &= 1\\ x + 3y + az &= 1\\ ax + 3y + z &= 2 \end{aligned} $$ (a) Compute the determinant of the coefficient matrix and factor it completely. For which $a$ is there exactly one solution?

(b) For each remaining value of $a,$ decide whether there are no solutions or infinitely many, and give them all when there are infinitely many.

Hint

The determinant is a cubic in $a.$ An integer root divides the constant term (Lecture 1); try $a=1$ first. For each root, eliminate and read the last row.

Stuck? Read 6. The course on one page →

As on the exam

3 problems · 24 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: final 2026-09-28 Q7; practice exam 2 Q7

A determinant with a parameter, and every value decided

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

  1. (a)

    Compute $|\mathbf{A}|$ and determine for which values of $a$ the system has exactly one solution.

    3 p
  2. (b)

    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
  3. (c)

    Solve the system for $a=1$ using Gaussian elimination.

    3 p

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

Exam problem 26 pComputeModel: (notes: Method 15.3); 2020-09-30 Q1

An inverse by row operations, used twice, and a matrix without one

Let $$ \begin{aligned} &\mathbf{A}=\begin{pmatrix}1&2&1\\1&3&1\\2&4&3\end{pmatrix},\\ &\mathbf{C}=\begin{pmatrix}1&2&1\\1&3&1\\3&7&3\end{pmatrix}. \end{aligned} $$

  1. (a)

    Find $\mathbf{A}^{-1}$ by elementary row operations on $(\mathbf{A}\mid\mathbf{I}),$ and check your answer.

    3 p
  2. (b)

    Use $\mathbf{A}^{-1}$ to solve $\mathbf{A}\mathbf{x}=\mathbf{b}$ for $\mathbf{b}=(4,5,9)$ and for $\mathbf{b}=(1,0,1).$

    2 p
  3. (c)

    Apply the same method to $\mathbf{C}.$ What happens, and what does it tell you about $\mathbf{C}$?

    1 p

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

Exam problem 38 pComputeModel: 2024-11-05 Q6; 2022-11-09 Q7

One matrix, four questions

For a real number $k,$ let $$ \mathbf{A}=\begin{pmatrix}1&1&2\\2&3&k\\1&2&3\end{pmatrix}. $$

  1. (a)

    Compute $|\mathbf{A}|.$ For which $k$ has $\mathbf{A}\mathbf{x}=\mathbf{b}$ exactly one solution for every $\mathbf{b}$?

    2 p
  2. (b)

    Let $k=5.$ In one reduction, solve $\mathbf{A}\mathbf{x}=\mathbf{b}^{1}$ and $\mathbf{A}\mathbf{x}=\mathbf{b}^{2},$ where $\mathbf{b}^{1}=(1,3,2)$ and $\mathbf{b}^{2}=(0,1,0).$ For each, say how many solutions there are and give them all.

    3 p
  3. (c)

    Let $k=4.$ Find $\mathbf{A}^{-1}$ by row operations, and check it.

    3 p

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