Mathematics II ยท Unit 1 ยท 5 hrs
Linear Equations in Linear Algebra
Exam-focused notes for Linear Equations in Linear Algebra (Mathematics II, MTH168): what the TU syllabus asks and how it has actually been tested, with 16 solved past questions from this unit.
Linear Equations in Linear Algebra in short
This chapter builds the algebra of linear systems: how to write them, reduce them to a solvable form, and read the solution set as a vector object. It also lays down the two structural questions, span and linear independence, that recur through every later chapter of linear algebra.
What this unit covers
- System of linear equations
- Row reduction and Echelon forms
- Vector equations
- The matrix equations Ax = b
- Applications of linear system
- Linear independence
Row reduction and Echelon forms
2080 ยท 10 marks
Define system of linear equations. When a system of equations is consistent? Make echelon form to solve:
$-2a - 3b + 4c = 5$
$b - 2c = 4$
$a + 3b - c = 2$
[10]
2079 ยท 10 marks
Reduce the system of equations into echelon form and solve:
$$x_1 - 2x_2 - x_3 + 3x_4 = 0$$ $$-2x_1 + 4x_2 + 5x_3 - 5x_4 = 3$$ $$3x_1 - 6x_2 - 6x_3 + 8x_4 = 2$$
[10]
2075 ยท 5 marks
Change into reduced echelon form of the matrix $$\begin{pmatrix} 0 & 3 & -6 \ 3 & -1 & 8 \ 3 & -9 & 12 \end{pmatrix}$$ [5]
Linear independence
2080 ยท 5 marks
Determine the column of the matrix A are linearly independent where $A = \begin{bmatrix} 3 & -3 & 6 \ 0 & 2 & 4 \ 0 & 3 & 0 \end{bmatrix}$ [5]
2079 ยท 5 marks
Determine the column of the matrix A are linearly independent, where $A = \begin{bmatrix} -2 & 8 & -1 \ 0 & 0 & 0 \ 0 & -5 & 3 \end{bmatrix}$ [5]
2078 ยท 5 marks
Determine the column of the matrix $A$ are linearly independent, where $A = \begin{bmatrix} 0 & 1 & 4 \ 1 & 2 & -1 \ 5 & 8 & 0 \end{bmatrix}$ [5]
2080.1 ยท 5 marks
Are vectors $v_1$, $v_2$, and $v_3$ linearly independent? Justify.
$$v_1 = \begin{bmatrix} 1 \ 4 \ 0 \end{bmatrix}, \quad v_2 = \begin{bmatrix} 10 \ 2 \ 1 \end{bmatrix}, \quad v_3 = \begin{bmatrix} -5 \ 0 \ 6 \end{bmatrix}$$
[5]
Vector equations
2080 ยท 5 marks
When two column vectors in $\mathbb{R}^2$ are equal? Give an example. Compute $u + 3v$, $u - 2v$, where $u = \begin{bmatrix} 1 \ -3 \ 2 \end{bmatrix}, \quad v = \begin{bmatrix} 1 \ -1 \ 3 \end{bmatrix}$ [5]
Show solved answerHide answer
Given
Given data:
$$\mathbf{u} = \begin{bmatrix} 1 \ -3 \ 2 \end{bmatrix}, \quad \mathbf{v} = \begin{bmatrix} 1 \ -1 \ 3 \end{bmatrix}$$
Tasks:
- State the condition for equality of two column vectors in $\mathbb{R}^2$, with an example.
- Compute $\mathbf{u} + 3\mathbf{v}$ and $\mathbf{u} - 2\mathbf{v}$.
Note: The vectors given are actually in $\mathbb{R}^3$ (three components), though the theory question refers to $\mathbb{R}^2$. The equality definition generalizes; I answer the theory for $\mathbb{R}^2$ as asked and compute using the given $\mathbb{R}^3$ vectors.
Solution
Part 1: Equality of two column vectors in $\mathbb{R}^2$
Two column vectors in $\mathbb{R}^2$ are equal if and only if their corresponding components are equal.
If $$\mathbf{u} = \begin{bmatrix} u_1 \ u_2 \end{bmatrix}, \quad \mathbf{v} = \begin{bmatrix} v_1 \ v_2 \end{bmatrix}$$ then $$\mathbf{u} = \mathbf{v} \iff u_1 = v_1 \ \text{and}\ u_2 = v_2.$$
Example: $$\begin{bmatrix} 3 \ -2 \end{bmatrix} = \begin{bmatrix} 3 \ -2 \end{bmatrix} \quad \text{(equal, matching entries)}$$ but $$\begin{bmatrix} 3 \ -2 \end{bmatrix} \neq \begin{bmatrix} -2 \ 3 \end{bmatrix} \quad \text{(order matters, entries differ)}.$$
Part 2: Compute $\mathbf{u} + 3\mathbf{v}$
$$3\mathbf{v} = 3\begin{bmatrix} 1 \ -1 \ 3 \end{bmatrix} = \begin{bmatrix} 3 \ -3 \ 9 \end{bmatrix}$$
$$\mathbf{u} + 3\mathbf{v} = \begin{bmatrix} 1 \ -3 \ 2 \end{bmatrix} + \begin{bmatrix} 3 \ -3 \ 9 \end{bmatrix} = \begin{bmatrix} 4 \ -6 \ 11 \end{bmatrix}$$
Compute $\mathbf{u} - 2\mathbf{v}$
$$2\mathbf{v} = \begin{bmatrix} 2 \ -2 \ 6 \end{bmatrix}$$
$$\mathbf{u} - 2\mathbf{v} = \begin{bmatrix} 1 \ -3 \ 2 \end{bmatrix} - \begin{bmatrix} 2 \ -2 \ 6 \end{bmatrix} = \begin{bmatrix} -1 \ -1 \ -4 \end{bmatrix}$$
Final Results
$$\mathbf{u} + 3\mathbf{v} = \begin{bmatrix} 4 \ -6 \ 11 \end{bmatrix}, \qquad \mathbf{u} - 2\mathbf{v} = \begin{bmatrix} -1 \ -1 \ -4 \end{bmatrix}$$
2079 ยท 5 marks
When two column vectors in $\mathbb{R}^2$ are equal? Give an example. Compute $u + 3v$, $u - 2v$, where $u = \begin{bmatrix} 1 \ -3 \ 2 \end{bmatrix}$, $v = \begin{bmatrix} 1 \ -1 \ 3 \end{bmatrix}$ [5]
Show solved answerHide answer
Equality of Column Vectors and Vector Operations
Given
$$\mathbf{u} = \begin{bmatrix} 1 \ -3 \ 2 \end{bmatrix}, \quad \mathbf{v} = \begin{bmatrix} 1 \ -1 \ 3 \end{bmatrix}$$
Required: definition of vector equality with example; compute $\mathbf{u} + 3\mathbf{v}$ and $\mathbf{u} - 2\mathbf{v}$.
Note: The header says $\mathbb{R}^2$, but the given vectors have 3 components, so they lie in $\mathbb{R}^3$. The equality definition is stated generally; the arithmetic is done component-wise.
Solution
Part 1: When are two column vectors equal?
Two column vectors are equal if and only if they have the same number of components and their corresponding components are equal.
For $\mathbb{R}^2$: if $\mathbf{a} = \begin{bmatrix} a_1 \ a_2 \end{bmatrix}$, $\mathbf{b} = \begin{bmatrix} b_1 \ b_2 \end{bmatrix}$, then
$$\mathbf{a} = \mathbf{b} \iff a_1 = b_1 \text{ and } a_2 = b_2$$
Example:
$$\begin{bmatrix} 2 \ 7 \end{bmatrix} = \begin{bmatrix} 2 \ 7 \end{bmatrix}$$
since $2 = 2$ and $7 = 7$. But $\begin{bmatrix} 2 \ 7 \end{bmatrix} \neq \begin{bmatrix} 7 \ 2 \end{bmatrix}$, since order matters.
Part 2: Compute $\mathbf{u} + 3\mathbf{v}$
$$3\mathbf{v} = 3\begin{bmatrix} 1 \ -1 \ 3 \end{bmatrix} = \begin{bmatrix} 3 \ -3 \ 9 \end{bmatrix}$$
$$\mathbf{u} + 3\mathbf{v} = \begin{bmatrix} 1+3 \ -3-3 \ 2+9 \end{bmatrix} = \begin{bmatrix} 4 \ -6 \ 11 \end{bmatrix}$$
Compute $\mathbf{u} - 2\mathbf{v}$
$$2\mathbf{v} = 2\begin{bmatrix} 1 \ -1 \ 3 \end{bmatrix} = \begin{bmatrix} 2 \ -2 \ 6 \end{bmatrix}$$
$$\mathbf{u} - 2\mathbf{v} = \begin{bmatrix} 1-2 \ -3+2 \ 2-6 \end{bmatrix} = \begin{bmatrix} -1 \ -1 \ -4 \end{bmatrix}$$
Final Results
$$\mathbf{u} + 3\mathbf{v} = \begin{bmatrix} 4 \ -6 \ 11 \end{bmatrix}, \qquad \mathbf{u} - 2\mathbf{v} = \begin{bmatrix} -1 \ -1 \ -4 \end{bmatrix}$$
2078 ยท 5 marks
When two column vectors in $\mathbb{R}^2$ are equal? Give an example. Compute $u + 3v$, $u - 2v$, where $u = \begin{bmatrix} 1 \ -3 \ 2 \end{bmatrix}$, $v = \begin{bmatrix} 1 \ -1 \ 3 \end{bmatrix}$ [5]
Show solved answerHide answer
Vector Equality and Operations
Given
$$\mathbf{u} = \begin{bmatrix} 1 \ -3 \ 2 \end{bmatrix}, \quad \mathbf{v} = \begin{bmatrix} 1 \ -1 \ 3 \end{bmatrix}$$
Required:
- Condition for equality of two column vectors in $\mathbb{R}^2$ with an example
- Compute $\mathbf{u} + 3\mathbf{v}$ and $\mathbf{u} - 2\mathbf{v}$
Note: The given vectors $\mathbf{u}$ and $\mathbf{v}$ each have 3 components, so they actually lie in $\mathbb{R}^3$, not $\mathbb{R}^2$. The theory part asks about $\mathbb{R}^2$, but the computation uses $\mathbb{R}^3$ vectors. The operations are still well defined (both same size), so we proceed as given.
Solution
Part 1: When are two column vectors in $\mathbb{R}^2$ equal?
Two column vectors are equal if and only if their corresponding components are equal (this requires them to have the same number of entries).
For $\mathbf{a} = \begin{bmatrix} a_1 \ a_2 \end{bmatrix}$ and $\mathbf{b} = \begin{bmatrix} b_1 \ b_2 \end{bmatrix}$:
$$\mathbf{a} = \mathbf{b} \iff a_1 = b_1 \text{ and } a_2 = b_2$$
Example:
$$\begin{bmatrix} 2 \ 7 \end{bmatrix} = \begin{bmatrix} 2 \ 7 \end{bmatrix}$$
is an equality since $2 = 2$ and $7 = 7$. However,
$$\begin{bmatrix} 2 \ 7 \end{bmatrix} \neq \begin{bmatrix} 7 \ 2 \end{bmatrix}$$
since the components (though the same set of numbers) are not in matching positions.
Part 2: Compute $\mathbf{u} + 3\mathbf{v}$
Scalar multiply:
$$3\mathbf{v} = \begin{bmatrix} 3(1) \ 3(-1) \ 3(3) \end{bmatrix} = \begin{bmatrix} 3 \ -3 \ 9 \end{bmatrix}$$
Add:
$$\mathbf{u} + 3\mathbf{v} = \begin{bmatrix} 1+3 \ -3+(-3) \ 2+9 \end{bmatrix} = \begin{bmatrix} 4 \ -6 \ 11 \end{bmatrix}$$
Compute $\mathbf{u} - 2\mathbf{v}$
Scalar multiply:
$$2\mathbf{v} = \begin{bmatrix} 2(1) \ 2(-1) \ 2(3) \end{bmatrix} = \begin{bmatrix} 2 \ -2 \ 6 \end{bmatrix}$$
Subtract:
$$\mathbf{u} - 2\mathbf{v} = \begin{bmatrix} 1-2 \ -3-(-2) \ 2-6 \end{bmatrix} = \begin{bmatrix} -1 \ -1 \ -4 \end{bmatrix}$$
Final Results
$$\mathbf{u} + 3\mathbf{v} = \begin{bmatrix} 4 \ -6 \ 11 \end{bmatrix}, \qquad \mathbf{u} - 2\mathbf{v} = \begin{bmatrix} -1 \ -1 \ -4 \end{bmatrix}$$
2076 ยท 5 marks
For what value of h will y be in span ${v_1, v_2, v_3}$ if $v_1, v_2, v_3$ and y are given as:
$$v_1 = \begin{bmatrix} 1 \ -1 \ -2 \end{bmatrix}, \quad v_2 = \begin{bmatrix} 5 \ -4 \ -7 \end{bmatrix}, \quad v_3 = \begin{bmatrix} -3 \ 1 \ 0 \end{bmatrix}, \quad \text{and } y = \begin{bmatrix} -4 \ 3 \ h \end{bmatrix}$$
[5]
System of linear equations
2079 ยท 5 marks
When a linear system of equation is consistent? Find the values of h and k for which the system is consistent: $$2x_1 - x_2 = h$$ $$-6x_1 + 3x_2 = k$$ [5]
2078 ยท 10 marks
Define system of linear equations. When a system of equation is consistent? Determine if the system is consistent:
$$-2x_1 - 3x_2 + 4x_3 = 5$$ $$x_2 - 2x_3 = 4$$ $$x_1 + 3x_2 - x_3 = 2$$
[10]
2076 ยท 10 marks
When a system of linear equation is consistent and inconsistent? Give an example for each. Test the consistency and solve:
$x - 2y = 5$
$-x + y + 5z = 2$
$y + z = 0$
[10]
Show solved answerHide answer
Consistency of a System of Linear Equations
Given
System of equations: $$x - 2y = 5 \quad \cdots (1)$$ $$-x + y + 5z = 2 \quad \cdots (2)$$ $$y + z = 0 \quad \cdots (3)$$
Unknowns: $x, y, z$ (3 unknowns, 3 equations).
Note: equation (1) has no $z$ term (coefficient 0) and equation (3) has no $x$ term (coefficient 0).
Definitions
Consistent system: has at least one solution (either a unique solution or infinitely many solutions).
Inconsistent system: has no solution.
By the rank criterion, if $\text{rank}(A) = \text{rank}([A|b])$ the system is consistent; otherwise inconsistent.
Examples
Consistent (unique solution): $$x + y = 3, \qquad x - y = 1 \implies x = 2,\ y = 1.$$
Inconsistent (no solution): $$x + y = 3, \qquad x + y = 5 \quad \text{(contradiction)}.$$
Solution
Augmented matrix
$$[A|b] = \begin{bmatrix} 1 & -2 & 0 & \big| & 5 \ -1 & 1 & 5 & \big| & 2 \ 0 & 1 & 1 & \big| & 0 \end{bmatrix}$$
Row reduction
$R_2 \leftarrow R_2 + R_1$:
$$\begin{bmatrix} 1 & -2 & 0 & \big| & 5 \ 0 & -1 & 5 & \big| & 7 \ 0 & 1 & 1 & \big| & 0 \end{bmatrix}$$
$R_3 \leftarrow R_3 + R_2$:
$$\begin{bmatrix} 1 & -2 & 0 & \big| & 5 \ 0 & -1 & 5 & \big| & 7 \ 0 & 0 & 6 & \big| & 7 \end{bmatrix}$$
Consistency check
The echelon form has 3 non-zero pivots and no row of the form $[0\ 0\ 0\ |\ k]$ with $k \neq 0$.
$$\text{rank}(A) = \text{rank}([A|b]) = 3 = \text{number of unknowns}$$
Hence the system is consistent with a unique solution.
Back substitution
Row 3: $$6z = 7 \implies z = \frac{7}{6}$$
Row 2: $$-y + 5z = 7 \implies -y + \frac{35}{6} = 7 \implies -y = \frac{42-35}{6} = \frac{7}{6} \implies y = -\frac{7}{6}$$
Row 1: $$x - 2y = 5 \implies x + \frac{14}{6} = 5 \implies x = \frac{30-14}{6} = \frac{16}{6} = \frac{8}{3}$$
Verification
- (1): $\frac{8}{3} - 2\left(-\frac{7}{6}\right) = \frac{8}{3} + \frac{7}{3} = 5$ โ
- (2): $-\frac{8}{3} - \frac{7}{6} + \frac{35}{6} = -\frac{16}{6} + \frac{28}{6} = 2$ โ
- (3): $-\frac{7}{6} + \frac{7}{6} = 0$ โ
Final Answer
The system is consistent with a unique solution:
$$\boxed{x = \frac{8}{3}, \quad y = -\frac{7}{6}, \quad z = \frac{7}{6}}$$
2075 ยท 10 marks
When a system of linear equation is consistent and inconsistent? Give an example for each. Test the consistency and solve:
$x + y + z = 4$
$x + 2y + 2z = 2$
$2x + 2y + z = 5$
[10]
Show solved answerHide answer
Consistency of a System of Linear Equations
Given Data
System of equations: $$x + y + z = 4 \quad \cdots (1)$$ $$x + 2y + 2z = 2 \quad \cdots (2)$$ $$2x + 2y + z = 5 \quad \cdots (3)$$
Definitions
Consistent System: A system of linear equations is consistent if it has at least one solution (either a unique solution or infinitely many solutions). By the rank criterion: $$\text{rank}(A) = \text{rank}([A|b]) \implies \text{consistent}$$
Inconsistent System: A system is inconsistent if it has no solution: $$\text{rank}(A) \neq \text{rank}([A|b]) \implies \text{inconsistent}$$
Examples
Consistent Example: $$x + y = 3, \quad x - y = 1$$ Solving gives $x = 2, ; y = 1$ (unique solution): consistent.
Inconsistent Example: $$x + y = 3, \quad x + y = 5$$ Contradictory equations, so no solution exists: inconsistent.
Testing Consistency and Solving
Step 1: Augmented Matrix
$$[A|b] = \begin{bmatrix} 1 & 1 & 1 & | & 4 \ 1 & 2 & 2 & | & 2 \ 2 & 2 & 1 & | & 5 \end{bmatrix}$$
Step 2: Row Reduction
$R_2 \leftarrow R_2 - R_1$: $$\begin{bmatrix} 1 & 1 & 1 & | & 4 \ 0 & 1 & 1 & | & -2 \ 2 & 2 & 1 & | & 5 \end{bmatrix}$$
$R_3 \leftarrow R_3 - 2R_1$: $$\begin{bmatrix} 1 & 1 & 1 & | & 4 \ 0 & 1 & 1 & | & -2 \ 0 & 0 & -1 & | & -3 \end{bmatrix}$$
Step 3: Consistency Check
The matrix is in echelon form with 3 non-zero rows: $$\text{rank}(A) = 3, \quad \text{rank}([A|b]) = 3, \quad \text{number of unknowns} = 3$$
Since $\text{rank}(A) = \text{rank}([A|b]) = 3 = $ number of unknowns, the system is consistent with a unique solution. No row of the form $[0;0;0,|,k],\ k \neq 0$ appears.
Step 4: Back Substitution
From Row 3: $$-z = -3 \implies z = 3$$
From Row 2: $$y + z = -2 \implies y + 3 = -2 \implies y = -5$$
From Row 1: $$x + y + z = 4 \implies x - 5 + 3 = 4 \implies x = 6$$
Check
| Equation | Substitution | Result |
|---|---|---|
| $x+y+z$ | $6 - 5 + 3$ | $4$ โ |
| $x+2y+2z$ | $6 - 10 + 6$ | $2$ โ |
| $2x+2y+z$ | $12 - 10 + 3$ | $5$ โ |
Final Answer
The system is consistent with the unique solution: $$\boxed{x = 6, \quad y = -5, \quad z = 3}$$
2080.1 ยท 10 marks
What is a system of linear equations? When the system is consistent? Find the condition on g, h, k that makes the system consistent.
$$x_1 - 4x_2 + 7x_3 = g$$ $$3x_2 - 5x_3 = h$$ $$-2x_1 + 5x_2 - 9x_3 = k$$
[10]
Show solved answerHide answer
System of Linear Equations: Definition, Consistency, and Condition
Given Data
System of equations: $$x_1 - 4x_2 + 7x_3 = g \quad (1)$$ $$3x_2 - 5x_3 = h \quad (2)$$ $$-2x_1 + 5x_2 - 9x_3 = k \quad (3)$$
Coefficient matrix and augmented matrix: $$A = \begin{bmatrix} 1 & -4 & 7 \ 0 & 3 & -5 \ -2 & 5 & -9 \end{bmatrix}, \qquad [A \mid b] = \begin{bmatrix} 1 & -4 & 7 & g \ 0 & 3 & -5 & h \ -2 & 5 & -9 & k \end{bmatrix}$$
1. Definition of a System of Linear Equations
A linear equation in variables $x_1, x_2, \ldots, x_n$ is an equation of the form: $$a_1x_1 + a_2x_2 + \cdots + a_nx_n = b$$ where $a_1, \ldots, a_n, b$ are constants.
A system of linear equations is a finite collection of linear equations involving the same variables. In matrix form it is written $Ax = b$.
2. When is a System Consistent?
A system is consistent if it has at least one solution (either a unique solution or infinitely many). It is inconsistent if it has no solution.
Equivalently, $Ax = b$ is consistent if and only if $\operatorname{rank}(A) = \operatorname{rank}([A\mid b])$. In row-echelon form, no row of the type $[,0\ 0\ \cdots\ 0 \mid c,]$ with $c \neq 0$ may appear.
3. Finding the Condition on $g, h, k$
Row reduction of the augmented matrix:
$$\begin{bmatrix} 1 & -4 & 7 & g \ 0 & 3 & -5 & h \ -2 & 5 & -9 & k \end{bmatrix}$$
Step 1: $R_3 \leftarrow R_3 + 2R_1$
$$R_3 = (-2+2,\ 5-8,\ -9+14,\ k+2g) = (0,\ -3,\ 5,\ k+2g)$$
$$\begin{bmatrix} 1 & -4 & 7 & g \ 0 & 3 & -5 & h \ 0 & -3 & 5 & k+2g \end{bmatrix}$$
Step 2: $R_3 \leftarrow R_3 + R_2$
$$R_3 = (0,\ -3+3,\ 5-5,\ k+2g+h) = (0,\ 0,\ 0,\ 2g+h+k)$$
$$\begin{bmatrix} 1 & -4 & 7 & g \ 0 & 3 & -5 & h \ 0 & 0 & 0 & 2g+h+k \end{bmatrix}$$
Consistency condition: The last row gives the equation $$0 = 2g + h + k.$$
For the system to be consistent, this must not be a contradiction, so:
$$\boxed{2g + h + k = 0}$$
Correction Note
In a hand solution it is easy to carry $R_3$ correctly to $k + 2g$ in Step 1 and then write the final constant as $g + h + k$. Adding $R_2$ to $R_3$ actually gives: $$(k + 2g) + h = 2g + h + k,$$ not $g + h + k$, so the condition is $2g + h + k = 0$.
Verification: Try $g=1, h=0, k=-2$ (satisfies $2g+h+k = 2+0-2 = 0$).
- Eq (2): $3x_2 - 5x_3 = 0$
- Eq (1): $x_1 - 4x_2 + 7x_3 = 1$
- Eq (3): $-2x_1 + 5x_2 - 9x_3 = -2$
Compute $2\times(1) + (3)$: $2(x_1-4x_2+7x_3) + (-2x_1+5x_2-9x_3) = -3x_2+5x_3$. LHS constant: $2(1)+(-2)=0$. So $-3x_2+5x_3 = 0 \Rightarrow 3x_2-5x_3=0$, which matches Eq (2). Consistent. โ
This confirms the correct condition is $2g + h + k = 0$.
Summary Table
| Condition | System Status | Solutions |
|---|---|---|
| $2g + h + k = 0$ | Consistent | Infinitely many |
| $2g + h + k \neq 0$ | Inconsistent | No solution |
Make Unit 1 stick
Practice MTH168 with flashcards & quizzes