Exercises – Long Day#


Exercise 1: Properties of Systems of Linear Equations#

We are given the following linear equation system over \(\mathbb R\) in the three unknowns \(x\), \(y\), and \(z\).

\[\begin{split} \left\{ \begin{array}{ccccccl} 3x & - &7y & + &z & = & 1\\ 11x & -&y & +&4z & = & 4. \end{array} \right. \end{split}\]

Question a#

Is the system homogeneous or inhomogeneous?

Question b#

Is the triple \((-1,-1,-3) \in \mathbb{R}^3\) a solution to the system? What about the triple \((0,0,1)\)?

Question c#

We still consider the linear equation system given in the beginning of the exercise. What is its corresponding homogeneous linear equation system?

Question d#

We are being informed that the triple \((27,1,-74)\) is a solution to the corresponding homogeneous system from Question c. Now use the result from Question b to find yet another solution to the given inhomogeneous linear equation system.


Exercise 2: Augmented Matrix and Row Operations#

We define the following matrix

\[\begin{split} {\mathbf A}=\left[ \begin{array}{ccc} 1 & 3 & 4\\ 0 & 4 & -4\\ -2 & 0 & -9\\ \end{array} \right] \end{split}\]

and the following vector

\[\begin{split} {\mathbf b}= \left[ \begin{array}{cccc} 1\\ 0\\ -1\\ \end{array} \right]. \end{split}\]

Question a#

Write out the system of linear equations over \(\mathbb R\) in the unknowns \(x_1\), \(x_2\), and \(x_3\) that has the augmented matrix \([{\mathbf A}|{\mathbf b}]\).

Question b#

Determine the matrix that you get by performing the row operation \(R_3 \leftarrow R_3+2R_1\) on the matrix \([\mathbf{A}|\mathbf{b}]\).

Question c#

Now consider the matrix that was found in the previous question (after the row operation) and perform the row operation \(R_2 \leftarrow (1/4)\cdot R_2\) followed by the row operations \(R_1 \leftarrow R_1-3R_2\) and \(R_3 \leftarrow R_3-6R_2\). What is the result?

Question d#

Determine the reduced row-echelon form of the matrix \([\mathbf{A}|\mathbf{b}]\).

Question e#

Describe and solve the linear equation system over \(\mathbb R\) that has the reduced row-echelon form found in Question d as its augmented matrix. Check that the solution you find is a solution to the original linear equation system that had the augmented matrix \([{\mathbf A}|{\mathbf b}].\)


Exercise 3: Reduced Row-Echelon Forms#

The following matrices are defined

\[\begin{split} {\mathbf A}=\left[ \begin{array}{ccc} 1 & 3 & 4\\ 0 & 1 & 5\\ 0 & 0 & 1\\ \end{array} \right], \quad {\mathbf B}=\left[ \begin{array}{ccc} 2 & 0 & 4\\ 0 & 4 & 0\\ \end{array} \right], \quad {\mathbf C}=\left[ \begin{array}{ccc} 1 & 0 & 0\\ 0 & 0 & 0\\ 0 & 1 & 0\\ 0 & 0 & 1\\ \end{array} \right], \quad {\mathbf D}=\left[ \begin{array}{ccc} 1 & 4 & 0 & 9\\ 0 & 0 & 1 & 2\\ \end{array} \right]. \end{split}\]

Question a#

Which of these matrices are in row-echelon form? Which are in reduced row-echelon form?

Question b#

Determine the reduced row-echelon form of each of the given matrices \({\mathbf A}\), \({\mathbf B}\), \({\mathbf C}\), and \({\mathbf D}\).


Exercise 4: Reduced Row-Echelon Form of \(4\times 5\) Matrix#

We define the matrix

\[\begin{split}{\mathbf A}= \left[ \begin{array}{ccc} 1 & 0 & 0 & 1 & 0\\ -2 & 1 & 0 & 3 & 1\\ 5 & 0 & 1 & -4 & 1\\ 4 & 1 & 1 & 0 & 2\\ \end{array} \right]. \end{split}\]

How many non-zero rows does the reduced row-echelon form of \(\mathbf A\) have?


Exercise 5: Relation between Row-Echelon Form and Reduced Row-Echelon Form#

We define the following matrix, which is already is in row-echelon form:

\[\begin{split}{\mathbf B}= \left[ \begin{array}{ccc} 1 & 6 & 10 & 1 & 0\\ 0 & 0 & 1 & 3 & 1\\ 0 & 0 & 0 & 0 & 1\\ 0 & 0 & 0 & 0 & 0\\ \end{array} \right]. \end{split}\]

Question a#

Without carrying out any computations, justify that \(\mathbf B\) will have a reduced row-echelon form of this type:

\[\begin{split} \left[ \begin{array}{ccc} 1 & a & 0 & b & 0\\ 0 & 0 & 1 & c & 0\\ 0 & 0 & 0 & 0 & 1\\ 0 & 0 & 0 & 0 & 0\\ \end{array} \right] \end{split}\]

for certain numbers \(a,b,c \in \mathbb{R}\).

Question b#

Consider why it more generally applies that the number of non-zero rows in a matrix in row-echelon form is equal to the number of non-zero rows in its reduced row-echelon form.


Exercise 6: Examples of Systems of Linear Equations#

Question a#

Provide an example of an inhomogeneous linear equation system over \(\mathbb R\) in the three unknowns \(x_1\), \(x_2\), and \(x_3\) that does not have any solutions.

Question b#

Can a homogeneous linear equation system have no solutions?

Question c#

Provide an example of a homogeneous linear equation system over \(\mathbb R\) that contains at least two equations and has at least two solutions.


Exercise 7: A System of Four Equations in Four Unknowns#

We again consider the matrix

\[\begin{split} \left[ \begin{array}{ccc} 1 & 0 & 0 & 1 & 0\\ -2 & 1 & 0 & 3 & 1\\ 5 & 0 & 1 & -4 & 1\\ 4 & 1 & 1 & 0 & 2\\ \end{array} \right] \end{split}\]

from Exercise 4. We are informed that this matrix is the augmented matrix of a linear equation system over \(\mathbb R\) in the unknowns \(x_1,x_2,x_3\), and \(x_4\).

Question a#

Find a solution to the system that fulfills \(x_4=0\). Also, find a solution to the system that fulfills \(x_4=1\).

Question b#

We are given a real number \(t\). Find a solution to the system that fulfills \(x_4=t\).


Exercise 8: Square Matrix and corresponding System of Linear Equations#

A matrix \(\mathbf A\) is called a square matrix if it contains just as many rows as columns. In other words, the matrix \(\mathbf A\) is square precisely if \({\mathbf A} \in \mathbb{F}^{n \times n}\) for a natural number \(n\).

Question a#

Given a square matrix \({\mathbf A} \in \mathbb{R}^{4 \times 4}\) and a vector \(\mathbf b\in\mathbb R^4\). We are informed that the reduced row-echelon form of \(\mathbf A\) is:

\[\begin{split} \left[ \begin{array}{ccc} 1 & 0 & 0 & 0\\ 0 & 1 & 0 & 0\\ 0 & 0 & 1 & 0\\ 0 & 0 & 0 & 1\\ \end{array} \right]. \end{split}\]

Show that a system of linear equations over \(\mathbb R\) with the augmented matrix \({[{\mathbf A}|{\mathbf b}]} \in \mathbb{R}^{4 \times 5}\) has exactly one solution.


“Exercise 9”: Thematic Python Module#

Today at 15:30 the first of a series of thematic Python modules will be released. It will be published via DTU Learn as a Jupyter Notebook file containing a set of Python-focused exercises. The purpose is to introduce the use of Python - in particular the Python package SymPy - for mathematical computations on the topics we have covered this far in the course. The intention is that you finish the exercises of the day before you start working on the Python problems. Next Long Day (in semester week 7, after the Autumn break) a test on this module will be carried out in Möbius. Details about this test will be found in the description of week 7.