Exercises

Exercise 2.1

(See Solution 2.1.) Describe all the solutions of the equation

\[ x + y = 3. \]

Draw a picture of that solution set. Is it a homogeneous equation?

Exercise 2.2

(See Solution 2.2.) Consider the equation

\[ x = 3. \]

What is its solution set?

Consider the same equation, but now with two variables \(x\) and \(y\) being present (so we could rewrite the equation as \(x + 0 \cdot y = 3\) in order to emphasize the presence of \(y\)). What is the solution set this time?

Exercise 2.3

(See Solution 2.3.) Consider the system

\[ \begin{align*} 2x_1 - x_2 + x_3 + x_4 & = 1 \\ 5x_2 - 3 x_3 - 5 x_4 & = -3 \\ 3x_1 - 4 x_2 +3x_3 + 4x_4 &= 3. \end{align*} \]

What is the matrix associated to that system? Using Method 2.31, find all solutions of that system.

Exercise 2.4

(See Solution 2.4.) Consider the (augmented) matrix

\[ A := \left ( \begin{array}{cccccc|c} 1 & 0 & 3 & 0 & 0 & 0 & 1 \\ 0 & 1 & 2 & 4 & 1 & 0 & 0 \\ 0 & 0 & 0 & 2 & 1 & 0 & 2 \\ 0 & 0 & 0 & 0 & 0 & 1 & 3 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 \end{array} \right ). \]

What type of matrix is that? (I.e., what \(m \times n\)-matrix.) If \(A = (a_{ij})\), what is \(a_{13}\) and \(a_{31}\)? What is the linear system associated to that matrix? (Hint: one equation reads “\(\dots = 3\)”. For consistency, call the variables \(x_1, x_2, \dots, x_6\).)

Is the matrix in row-echelon form? Is it in reduced row-echelon form? If not, use the Gaussian algorithm (Method 2.29) in order to transform it into reduced row-echelon form. Name the columns which contain a leading 1 (Hint: there are 4 of them). Which variables are free, which variables are not free? Use Method 2.31 and solve the linear system associated to that augmented matrix.

Exercise 2.5

(See Solution 2.5.) Using Method 2.31, find all solutions of the following systems

\[ \begin{align*} x + y - z & = 1 \\ 3x-y+2z & = 5 \\ 4x + z & = 6. \end{align*} \]

and

\[ \begin{align*} x+y-z & = 1 \\ 3x-y+2z & = 0 \\ x + y - 2 z & = 2. \end{align*} \]

Exercise 2.6

(See Solution 2.6.) Let

\[ ax+by=c \]

be a linear equation. For which values of \(a\), \(b\) and \(c\) does this equation have no solution? For which values of \(a\), \(b\) and \(c\) does it have infinitely many solutions?

Exercise 2.7

(See Solution 2.7.) Compute the reduced row-echelon form of the matrices associated to the linear systems in Example 2.8, Example 2.10 and Example 2.11.

Exercise 2.8

(See Solution 2.8.) Consider the system

\[ \begin{align*} x + y & = 1 \\ x - y & = b, \end{align*} \]

where \(b\) is a real number. What is its solution set? Illustrate the system geometrically for \(b = 0\) and for \(b=1\).

Exercise 2.9

(See Solution 2.9.) Consider the system

\[ \begin{align*} ax + by & = 1 \\ x - y & = 2. \end{align*} \]

Here \(x\) and \(y\) are the variables and \(a\) and \(b\) are the coefficients.

  1. For which values of \(a\) and \(b\) does the system above have no solution?

  2. For which values does it have exactly one solution?

  3. For which values does it have infinitely many solutions?

Explain your findings algebraically and geometrically.

Exercise 2.10

(See Solution 2.10.) Find the solutions of the system

\[ \begin{align*} x_1 + 2x_2 - x_3 & = 0 \\ -2x_1 - 3 x_2 + x_3 & = 1 \\ x_2 - x_3 & = 1. \end{align*} \]

Exercise 2.11

(See Solution 2.11.) The linear system in the variables \(x_1, x_2, x_3, x_4\) associated to the matrix

\[ \left ( \begin{array}{cccc|c} 2 & -1 & 1 & -1 & 1 \\ 0 & 1 & -3 & 1 & 3 \\ 2 & 1 & -4 & 1 & 6 \\ 2 & 0 & -2 & 1 & 2 \\ \end{array} \right ) \]

has only one solution. Find it!

Exercise 2.12

(See Solution 2.12.) Find the solutions of the following linear system in the variables \(x_1, \dots, x_4\):

\[ \begin{align*} x_1 - x_2 + x_3 & = -2 \\ x_3 - x_4 & = 1 \\ x_1 - x_2 + x_4 & = -3 \\ x_1 - x_2 + 3 x_3 - 2 x_4 & = 0. \end{align*} \]

Exercise 2.13

(See Solution 2.13.) Solve the following linear system, where \(h\) is a parameter, and \(x, y\) are the unknowns:

\[ \begin{align*} x + h y & = 4 \\ 3x+6y & = 8. \end{align*} \]

For selected values of \(h\), illustrate the solution set graphically.

Exercise 2.14

(See Solution 2.14.) For any \(t \in {\bf R}\) consider the homogeneous linear system associated to the matrix

\[ \left ( \begin{array}{cccc|c} 2 & 0 & 1 & -t & 0 \\ 1 & -2 & 0 & 3 & 0 \\ 4 & -4 & t & 5 & 0 \end{array} \right ). \]
  1. Solve the system for \(t = 0\).

  2. Solve the system for all \(t \in {\bf R}\).

Exercise 2.15

(See Solution 2.15.) Solve the system

\[ \begin{align*} x_1 - x_3 + 2 x_4 & = 0 \\ x_2 + 2 x_3 - 2 x_4 & = 0 \\ x_1 + x_2 + x_3 &= 0. \end{align*} \]

Exercise 2.16

(See Solution 2.16.) Consider the linear system (in the unknowns \(x_1, x_2, x_3\)):

\[ \begin{align*} x_1 + x_2 + x_3 & = 1 \\ x_1 - x_3 & = 0. \end{align*} \]

Is there any \(t \in {\bf R}\) such that \((1-t,2+3t,4t)\) is a solution of that system?

Exercise 2.17

(See Solution 2.17.) Consider the following linear system (in the unknowns \(x_1, x_2, x_3\)):

\[ \begin{align*} x_1 - x_2 + 3 x_3 & = 0 \\ x_1 - x_2 & = 1. \end{align*} \]

Show that there is exactly one \(t \in {\bf R}\) such that the vector \((3+t, 2+t, \frac 23 + t)\) is a solution of that system.

Exercise 2.18

(See Solution 2.18.) Do there exist \(q, t \in {\bf R}\) such that the vector

\[ (x_1, x_2, x_3) = (1+t, t+q, -t+2q+1) \]

satisfies

\[ 3x_1 + 2x_2 -x_3 = 5? \]

Exercise 2.19

(See Solution 2.19.) Find a polynomial

\[ p(x) = a_0 + a_1x+a_2 x^2 + a_3 x^3 \]

such that \(p(1) = 0\) and \(p(2) = 3\). Is there a unique such polynomial?

Exercise 2.20

(See Solution 2.20.) Find the solution of the linear system associated to the following augmented matrix:

\[ \left ( \begin{array}{cccc|c} 1 & 1 & 2 & 3 & 1 \\ 2 & 0 & 1 & 2 & 1 \\ 1 & 3 & 5 & 7 & 2 \end{array} \right ). \]

Exercise 2.21

(See Solution 2.21.) For any \(\alpha \in {\bf R}\) find the solutions of the system associated to the matrix

\[ \left ( \begin{array}{cccc|c} 1 & 1 & 2 & 3 & -1 \\ 2 & 0 & 1 & 2 & \alpha \\ 1 & 3 & 5 & 7 & 0 \end{array} \right ). \]

Exercise 2.22

(See Solution 2.22.) Consider the following linear system in the unknowns \(x, y, z\), which depends on the parameter \(\alpha \in {\bf R}\):

\[ \begin{align*} 2x-y+z & = 1 \\ (\alpha+2) x - 2y+\alpha z & = -\alpha. \end{align*} \]

Determine the solution set of this system for each value of \(\alpha\).

Exercise 2.23

(See Solution 2.23.) The following extended exercise showcases the usage of linear algebra in network analysis. An idealized city consists of the following streets \(U\) to \(Z\), with four intersection points \(A\) to \(D\). The streets are all one-way streets:

image

At the point labelled \(A\), 500 cars per hour drive into the city, and at \(B\), 400 cars exit the city, while at \(C\) 100 cars exit the city per hour.

Describe the possible scenarios regarding the numbers of cars driving through the streets \(U\), \(V\), \(W\), \(X\), \(Y\) and \(Z\).

Exercise 2.24

(See Solution 2.24.) For any \(\lambda \in {\bf R}\) solve the system (in the unknowns \(x_1, x_2, x_3\))

\[ \begin{align*} \lambda x_1 & = 0 \\ \lambda x_2 + (1+\lambda) x_3 & = 1 \\ \lambda x_1 + x_2 + 2x_3 & = 3. \end{align*} \]