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.

← 12
Lecture 13 Rules, the transpose, and solving the system
14 →
13 Problems

Rules, the transpose, and solving the system

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 — elimination is learned by doing it, not by watching it. 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 are numbers; fractions may be typed as -5/4 or as -1.25. One answer is an expression in $t{:}$ type it as 3 - 2t or 3 - 2*t.

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

Rules for matrix multiplication, and the identity

Read the theory: 1. Rules for matrix multiplication, and the identity →
Problem 2●●○ IntermediateSolution included

Let $\mathbf{A}$ and $\mathbf{B}$ be square matrices of the same order $n,$ and $\mathbf{I}=\mathbf{I}_{n}.$

(a) Expand $(\mathbf{A}+2\mathbf{I})(\mathbf{A}-3\mathbf{I})$ and simplify as far as the rules allow.

(b) Expand $(\mathbf{A}-\mathbf{B})^{2}.$ Why can the middle terms be collected in (a) but not in (b)?

(c) Check (a) with $\mathbf{A}=\begin{pmatrix}1&2\\3&0\end{pmatrix}{:}$ compute $\mathbf{A}+2\mathbf{I},$ $\mathbf{A}-3\mathbf{I}$ and their product. Which rule of Watch out 13.5 do you see?

Hint

Use the two distributive laws of Fact 13.1, then $\mathbf{A}\mathbf{I}=\mathbf{I}\mathbf{A}=\mathbf{A}$ (Fact 13.4) and $\mathbf{I}\mathbf{I}=\mathbf{I}.$

Stuck? Read 1. Rules for matrix multiplication, and the identity →

Three rules that do not survive

Read the theory: 2. Three rules that do not survive →
Problem 6●●○ IntermediateSolution included

Let $$\mathbf{N}=\begin{pmatrix}2&-4\\1&-2\end{pmatrix}.$$

(a) Compute $\mathbf{N}^{2}.$ Which number has the same property among the real numbers?

(b) Find two different $2\times2$ matrices $\mathbf{C}$ and $\mathbf{D}$ with $\mathbf{N}\mathbf{C}=\mathbf{N}\mathbf{D}.$

(c) Which two failures of Watch out 13.5 have you shown?

Hint

For (b), try $\mathbf{C}=\mathbf{I}$ and $\mathbf{D}=\mathbf{I}+\mathbf{N},$ and use (a).

Stuck? Read 2. Three rules that do not survive →

The transpose

Read the theory: 3. The transpose →
Problem 9●●○ IntermediateSolution included

(a) Show that $(\mathbf{A}\mathbf{B}\mathbf{C})^{\top}=\mathbf{C}^{\top}\mathbf{B}^{\top}\mathbf{A}^{\top}$ whenever the product $\mathbf{A}\mathbf{B}\mathbf{C}$ exists.

(b) Let $\mathbf{A}$ be $2\times3,$ $\mathbf{B}$ be $3\times4$ and $\mathbf{C}$ be $4\times1.$ Give the orders of $\mathbf{A}\mathbf{B}\mathbf{C},$ of $(\mathbf{A}\mathbf{B}\mathbf{C})^{\top}$ and of the three factors of $\mathbf{C}^{\top}\mathbf{B}^{\top}\mathbf{A}^{\top}.$

(c) Show that $\mathbf{S}=\mathbf{A}+\mathbf{A}^{\top}$ is symmetric for every square $\mathbf{A},$ and compute it for $\mathbf{A}=\begin{pmatrix}1&4\\-2&3\end{pmatrix}.$

Hint

For (a), read $\mathbf{A}\mathbf{B}\mathbf{C}$ as $(\mathbf{A}\mathbf{B})\mathbf{C}$ (associativity) and use $(\mathbf{P}\mathbf{Q})^{\top}=\mathbf{Q}^{\top}\mathbf{P}^{\top}$ twice.

Stuck? Read 3. The transpose →

Gaussian elimination

Read the theory: 4. Gaussian elimination →
Problem 13●○○ BasicSolution included

Solve by Gaussian elimination, naming every row operation, and check your answer: $$ \begin{aligned} 2y+3z&=1\\ x+y+z&=2\\ 2x+3y-z&=9\,. \end{aligned} $$

Hint

The first equation has no $x,$ so it cannot give the first leading entry. Start by interchanging the first two equations (operation (1) of Definition 13.13).

Stuck? Read 4. Gaussian elimination →

No solution, one, or infinitely many

Read the theory: 5. No solution, one, or infinitely many →
Problem 17●○○ BasicSolution included

Each array is the finished augmented matrix of a system in $x,$ $y,$ $z.$ How many solutions has each system? Give all of them.

(a) $$\left(\begin{array}{ccc|c}1&0&2&1\\0&1&-1&3\\0&0&0&0\end{array}\right)$$

(b) $$\left(\begin{array}{ccc|c}1&3&0&2\\0&0&1&4\\0&0&0&1\end{array}\right)$$

(c) $$\left(\begin{array}{ccc|c}1&0&0&-1\\0&1&0&0\\0&0&1&5\end{array}\right)$$

Hint

Use Fact 13.20 in its order: first look for a row $(0\;0\;0\mid c)$ with $c\ne0;$ then count the columns with a leading entry.

Stuck? Read 5. No solution, one, or infinitely many →

The shape of the solution set

Read the theory: 6. The shape of the solution set →
Problem 18●●● ChallengeSolution included

Consider the system in $x_{1},x_{2},x_{3},x_{4}{:}$ $$ \begin{aligned} x_{1}+3x_{2}-x_{3}+2x_{4}&=4\\ 2x_{1}+6x_{2}-x_{3}+5x_{4}&=11\,. \end{aligned} $$

(a) Find all solutions by Gaussian elimination. How many degrees of freedom are there?

(b) Write the solution set as $\mathbf{s}+\alpha\mathbf{r}_{1}+\beta\mathbf{r}_{2},$ $\alpha,\beta\in\mathbb{R},$ and check that $\mathbf{s}$ solves the system and that $\mathbf{r}_{1},$ $\mathbf{r}_{2}$ solve the homogeneous system.

Hint

After one row operation the leading entries sit in columns $1$ and $3.$ Two columns are free: call $x_{2}=\alpha$ and $x_{4}=\beta.$

Stuck? Read 6. The shape of the solution set →
Problem 19●●● ChallengeSolution included

The vectors $\mathbf{u}=(1,2,3)$ and $\mathbf{v}=(2,0,4)$ are both solutions of a linear system $\mathbf{A}\mathbf{x}=\mathbf{b}$ in three unknowns.

(a) Find a non-zero solution of $\mathbf{A}\mathbf{x}=\mathbf{0}.$

(b) Show that $\mathbf{u}+\alpha(\mathbf{v}-\mathbf{u})$ solves $\mathbf{A}\mathbf{x}=\mathbf{b}$ for every number $\alpha,$ and give the solution for $\alpha=3.$

(c) Explain why no linear system has exactly two solutions.

Hint

Compute $\mathbf{A}(\mathbf{v}-\mathbf{u})$ with the rules of Fact 13.1. You never need to know $\mathbf{A}.$

Stuck? Read 6. The shape of the solution set →

Mixed, as on the exam

Problem 20●●● ChallengeSolution included

A workshop makes three products, $x,$ $y$ and $z$ units a week. One unit of the first takes $1$ hour on the cutting machine and $2$ hours on the assembly line; one unit of the second takes $2$ and $1$ hours; one unit of the third takes $3$ hours on each. Both machines are to be used fully: $40$ hours of cutting and $50$ of assembly a week.

(a) Write the conditions as a system $\mathbf{A}\mathbf{x}=\mathbf{b}$ and find all solutions.

(b) Which of the solutions are possible production plans?

(c) The profit per unit is $3,$ $2$ and $6$ hundred kronor, that is $\mathbf{p}^{\top}\mathbf{x}$ with $\mathbf{p}^{\top}=(3\;\;2\;\;6).$ Which possible plan gives the largest profit, and how large is it?

Hint

Two equations in three unknowns: one unknown is free (Fact 13.20). Put $z=t.$ A plan makes sense only if no quantity is negative.

Stuck? Read 6. The shape of the solution set →

As on the exam

3 problems · 22 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 16 pComputeModel: 2025-09-30 Q6; practice exam 1 Q7 (b); final 2026-09-28 Q7 (c)

Matrix form and Gaussian elimination to the only solution

Consider the linear system $$ \left\{ \begin{aligned} 2x-y+3z&=13\\ x-y+2z&=9\\ 3x-2y+4z&=19\,. \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.

    2 p
  2. (b)

    Solve the system using Gaussian elimination. Name every row operation, and check your answer.

    4 p

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

Exam problem 210 pComputeModel: 2019-11-01 Q6; 2021-11-10 Q6; 2023-09-25 Q7

A parameter decided by the last row

For a real number $a,$ consider the linear system $$ \left\{ \begin{aligned} x+y+z&=1\\ x+2y+3z&=2\\ 2x+3y+(a^{2}+3)z&=a+2\,. \end{aligned} \right. $$

  1. (a)

    Reduce the augmented matrix of the system to a staircase by Gaussian elimination, naming every row operation.

    3 p
  2. (b)

    For which values of $a$ does the system have exactly one solution? Find that solution.

    3 p
  3. (c)

    For each of the remaining values of $a,$ determine whether the system has no solution or infinitely many. 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 36 pComputeModel: 2024-11-05 Q6 (b); 2019-10-02 Q1

Four equations in three unknowns, and two

Find all solutions of each system. Name every row operation.

  1. (a)
    $$ \left\{ \begin{aligned} x-y+2z&=3\\ x-z&=1\\ 2x-y+z&=4\\ 3x-4y+9z&=11\,. \end{aligned} \right. $$
    3 p
  2. (b)

    $$ \left\{ \begin{aligned} x+3y-z&=2\\ 2x+7y-z&=7\,. \end{aligned} \right. $$ Explain also, before solving, why this system cannot have exactly one solution.

    3 p

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