1.1 Introduction to Systems of Linear Equations-07
Table of contents
- Introduction to systems of linear equations
- Linear systems with one, no, or infinitely many solutions
- Augmented matrices and elementary row operations
- Using elementary row operations to solve linear systems
- Exercise set 1.1
1. Introduction to systems of linear equations
1.1 Linear equations
A linear equation in n variables x1,x2,…,xn is an equation that can be written in the form a1x1+a2x2+⋯+anxn=b, where a1,a2,…,an and b are constants, and not all ai are zero. For two or three variables, these equations are often written as a1x+a2y=b (where a1,a2 are not both zero) or a1x+a2y+a3z=b (where a1,a2,a3 are not all zero).
If b=0, the equation a1x1+a2x2+⋯+anxn=0 is called a homogeneous linear equation 1.
The following are examples of linear equations:
- x+3y=7.
- 1x−y+3z=−1.
- x1−2x2−3x3+x4=0.
- x1+x2+⋯+xn=1 1.
The following are examples of non-linear equations:
- x+3y2=4.
- 3x+2y−xy=5.
- sinx+y=0.
- x1+2x2+x3=1 1.
1.2 Systems of linear equations
A system of linear equations, also called a linear system, is a finite set of linear equations. The variables in these equations are referred to as unknowns.
A general linear system of m equations in n unknowns x1,x2,…,xn can be represented as: \begin{align\ast} a_{11}x_1 + a_{12}x_2 + \dots + a_{1n}x_n &= b_1 \\ a_{21}x_1 + a_{22}x_2 + \dots + a_{2n}x_n &= b_2 \\ &\vdots \\ a_{m1}x_1 + a_{m2}x_2 + \dots + a_{mn}x_n &= b_m \end{align\ast} 2.
A solution to a linear system in n unknowns is a sequence of n numbers s1,s2,…,sn that makes every equation in the system true when substituted for the unknowns x1,x2,…,xn 2.
| System | Unknowns | Solution |
|---|---|---|
| 5x + y = 3 2x - y = 4 | x, y | (1, -2) |
| 4x1 - x2 + 3x3 = -1 3x1 + x2 + 9x3 = -4 | x1, x2, x3 | (1, 2, -1) |
A sequence of n numbers (s1,s2,…,sn) is called an ordered n-tuple 2.
📝 The linear system
\begin{align\ast} 5x + y &= 3 \\ 2x - y &= 4 \end{align\ast}has the solution x=1,y=−2, which can be represented as the ordered pair (1,−2) 2.
2. Linear systems with one, no, or infinitely many solutions
2.1 Types of solutions for linear systems 3
A system of two linear equations in two variables can have one solution, no solution, or infinitely many solutions. Graphically, these correspond to lines that intersect at a single point, lines that are parallel and distinct, or lines that are coincident (the same line) 3.
The three possibilities for the solution set of a linear system are:
- One solution: The lines intersect at a single point.
- No solution: The lines are parallel and do not intersect.
- Infinitely many solutions: The lines are coincident, meaning they are the same line 3.
| Graphical Representation | Number of Solutions |
|---|---|
| Intersecting lines | One solution |
| Parallel lines | No solution |
| Coincident lines | Infinitely many solutions |
2.2 Example: A linear system with one solution
Consider the linear system: 2x+y=6 −2x+2y=−2
To solve this system, we can use elimination. Adding the two equations results in 3y=4, which gives y=34.
Substituting this value back into the first equation, 2x+34=6, we get 2x=6−34=318−4=314, so x=37. The solution is the point (37,34) 3.
📝 For the system 2x+y=6 and −2x+2y=−2, the solution is (37,34) 3.
2.3 Example: A linear system with no solutions
Consider the linear system: x+y=4 3x+3y=6
If we multiply the first equation by 3, we get 3x+3y=12. This equation contradicts the second equation, 3x+3y=6.
Therefore, there is no pair of (x,y) that can satisfy both equations simultaneously. This indicates that the lines represented by these equations are parallel and distinct 3.
📝 The system x+y=4 and 3x+3y=6 has no solution because the equations are contradictory 3.
2.4 Example: A linear system with infinitely many solutions
Consider the linear system: 4x−2y=1 −16x+8y=−4
If we multiply the first equation by -4, we get −16x+8y=−4, which is identical to the second equation. This means the two equations represent the same line.
To express the solutions, we can let y=t, where t is any real number. Substituting this into the first equation, 4x−2t=1, we solve for x: 4x=1+2t, so x=41+2t.
The solutions are of the form (41+2t,t) 3.
📝 For the system 4x−2y=1 and −16x+8y=−4, the solutions can be expressed as (41+2t,t), indicating infinitely many solutions 3.
3. Augmented matrices and elementary row operations
3.1 Representing linear systems with augmented matrices
A linear system of equations can be concisely represented using an augmented matrix. This matrix captures the coefficients of the variables and the constant terms from each equation in a structured format.
- Linear system: A set of linear equations, where each equation involves variables raised to the power of one.
- Augmented matrix: A matrix formed by combining the coefficient matrix of a linear system with the column vector of constant terms.
- The augmented matrix for a system of m linear equations in n variables is an m×(n+1) matrix 4.
📝 The linear system: x1+x2+2x3=9 2x1+4x2−3x3=1 3x1+6x2−5x3=0 is represented by the augmented matrix: 1231462−3−5∣∣∣910 4.
3.2 Elementary row operations 4
Elementary row operations are fundamental transformations applied to the rows of an augmented matrix. These operations do not change the solution set of the linear system represented by the matrix, making them crucial for solving systems of equations.
- Elementary row operations: A set of operations that can be performed on the rows of a matrix without altering the solution set of the corresponding linear system 4.
| Operation Name | Symbolic Representation | Description |
|---|---|---|
| Multiply a row by a nonzero constant | cRi | A row is multiplied by any number other than zero. |
| Interchange two rows | Ri↔Rj | Two rows in the matrix are swapped. |
| Add a constant times one row to another | cRi+Rj | A multiple of one row is added to another row. |
4. Using elementary row operations to solve linear systems
4.1 Solving a system of linear equations
This section demonstrates how to solve a system of linear equations using elementary row operations on an augmented matrix. The goal is to transform the matrix into row-echelon form, from which the solution can be easily read 5.
The process involves a series of steps to manipulate the rows of the augmented matrix. These operations include swapping two rows, multiplying a row by a non-zero scalar, and adding a multiple of one row to another 5.
The example begins with the system: x + y + 2z = 9 2x + 4y - 3z = 1 3x + 6y - 5z = 0
This system is represented by the augmented matrix:
| x | y | z | Constant |
|---|---|---|---|
| 1 | 1 | 2 | 9 |
| 2 | 4 | -3 | 1 |
| 3 | 6 | -5 | 0 |
The following elementary row operations are applied:
- Add -2 times the first row to the second row (R2←−2R1+R2).
- Add -3 times the first row to the third row (R3←−3R1+R3).
- Multiply the second row by 2 (R2←2R2).
- Add -3 times the second row to the third row (R3←−3R2+R3).
- Multiply the third row by -2 (R3←−2R3).
- Add -1 times the second row to the first row (R1←−R2+R1).
- Add -11 times the third row to the first row (R1←−11R3+R1).
- Add 2 times the third row to the second row (R2←2R3+R2).
After these operations, the matrix is transformed into:
| x | y | z | Constant |
|---|---|---|---|
| 1 | 0 | 0 | 1 |
| 0 | 1 | 0 | 2 |
| 0 | 0 | 1 | 3 |
This reduced row-echelon form directly reveals the solution:
- x = 1
- y = 2
- z = 3
📝 The solution x = 1, y = 2, z = 3 is now evident 5.
5. Exercise set 1.1
5.1 Identifying linear equations
The exercises in this section focus on identifying whether given equations are linear in specified variables. A linear equation in variables x and y is one that can be written in the form ax+by=c, where a, b, and c are constants.
- Linear equation criteria: An equation is linear in x and y if it involves only terms with x to the first power, y to the first power, or constants.
2/3 x + 3y = 1is linear.cos(7) x - 4y = log(3)is linear, as cos(7) and log(3) are constants.y + 7 = xis linear, as it can be rearranged to x−y=7.- Non-linear equation criteria: Equations involving variables raised to powers other than one, products of variables, or variables within trigonometric, logarithmic, or exponential functions are generally not linear.
2x^(1/3) + 3y = 1is not linear due to the x1/3 term.cos x - 4y = 0is not linear due to the cosx term.xy = 1is not linear due to the product of variables xy 6.
5.2 Finding linear systems from augmented matrices
An augmented matrix represents a system of linear equations. The columns of the matrix correspond to the coefficients of the variables and the constants on the right-hand side of the equations.
- Constructing a system from an augmented matrix: Each row in the augmented matrix represents an equation. The entries in a row, excluding the last one, are the coefficients of the variables x1,x2,x3,… in order, and the last entry is the constant term.
- For the augmented matrix
| — | — | — | — |
|---|---|---|---|
| 5 | 2 | 0 | -11 |
| 3 | -1 | -1 | -1 |
| -6 | 2 | 0 | -3 |
the corresponding linear system is:
- 5x1+2x2=−11.
- 3x1−x2−x3=−1.
- −6x1+2x2=−3 6.
- For the augmented matrix
| — | — | — | — | — |
|---|---|---|---|---|
| 1 | 0 | 3 | 0 | 5 |
| 0 | 1 | -4 | 0 | -2 |
| 0 | 0 | 1 | 1 | 3 |
| 0 | 0 | 0 | 0 | 0 |
the corresponding linear system is:
- x1=5.
- x2−4x3=−2.
- x3+x4=3.
- 0=0 6.
5.3 Finding augmented matrices from linear systems 6
The augmented matrix for a linear system is formed by writing the coefficients of the variables in columns and the constants in the last column, separated by a vertical line (implied in the matrix representation).
- Constructing an augmented matrix: For each equation in the system, create a row in the matrix. The entries in the row are the coefficients of x1,x2,… in order, followed by the constant term.
- For the system:
- 3x1−2x2=−1
- 4x1+5x2=3
- 7x1+3x2=2 The augmented matrix is:
| — | — | — |
|---|---|---|
| 3 | -2 | -1 |
| 4 | 5 | 3 |
| 7 | 3 | 2 |
- For the system:
- 2x1+2x3=1
- 3x1−x2+4x3=7
- 6x1+x2−x3=0 The augmented matrix is:
| — | — | — | — |
|---|---|---|---|
| 2 | 0 | 2 | 1 |
| 3 | -1 | 4 | 7 |
| 6 | 1 | -1 | 0 |
- For the system:
- x1=3
- x2=1
- x3=2 The augmented matrix is:
| — | — | — | — |
|---|---|---|---|
| 1 | 0 | 0 | 3 |
| 0 | 1 | 0 | 1 |
| 0 | 0 | 1 | 2 |
5.4 Determining solutions of linear systems
A solution to a linear system is a tuple of values for the variables that satisfies all equations in the system simultaneously.
- Checking for solutions: Substitute the given values for the variables into each equation of the system. If all equations hold true, the tuple is a solution.
- For the system: x+2y−2z=3 3x−y+z=1 −x+5y−5z=5
- The tuple (2,4,1) is not a solution because 2+2(4)−2(1)=2+8−2=8=3.
- The tuple (1/2,1/2,0) is a solution because:
- 1/2+2(1/2)−2(0)=1/2+1=3/2=3. This tuple is not a solution.
- The tuple (5,8,1) is not a solution because 5+2(8)−2(1)=5+16−2=19=3.
- The tuple (1/2,1/2,2) is not a solution 7.
5.5 Conditions for no solution, one solution, or infinitely many solutions
The number of solutions to a linear system depends on the relationships between its equations. For a system with two variables, 2x−3y=a and 4x−6y=b, the conditions for the number of solutions can be analyzed.
- Analysis of a 2x2 system: Consider the system: 2x−3y=a 4x−6y=b
- No solutions: This occurs when the equations are inconsistent, meaning they represent parallel lines that do not intersect. This happens when the coefficients of x and y are proportional, but the constant terms are not in the same proportion. In this case, if b=2a, there are no solutions.
- One solution: This occurs when the equations represent distinct lines that intersect at a single point. This happens when the slopes of the lines are different. For this specific system, the slopes are the same (2/3), so there will never be exactly one solution.
- Infinitely many solutions: This occurs when the equations are dependent, meaning they represent the same line. This happens when the coefficients and the constant terms are proportional. In this case, if b=2a, there are infinitely many solutions 7.
5.6 Parametric description of solution sets
When a linear system has infinitely many solutions, the solution set can be described using parametric equations. This involves expressing the variables in terms of one or more free parameters.
- Using parametric equations: Identify the free variables (variables that can take on any value). Express the basic variables (variables that are determined by the free variables) in terms of these parameters.
- For the system: 6x1+2x2=−8 3x1+x2=−4 This system has infinitely many solutions. Let x2=t, where t is any real number.
Substituting into the second equation: 3x1+t=−4, so 3x1=−4−t, which gives x1=−34−31t. The solution set is (−34−31t,t).
- For the system: 2x−y+2z=−4 6x−3y+6z=−12 −4x+2y−4z=8 All three equations are multiples of each other. Let x=s and y=t, where s and t are any real numbers.
Substituting into the first equation: 2s−t+2z=−4, so 2z=−4−2s+t, which gives z=−2−s+21t. The solution set is (s,t,−2−s+21t) 8.
5.7 Elementary row operations
Elementary row operations are used to transform an augmented matrix into a simpler form (like row-echelon form) to solve the system of linear equations.
- Creating a leading 1: An elementary row operation can be used to create a '1' in the upper-left corner of an augmented matrix without introducing fractions in the first row.
- For the augmented matrix:
| — | — | — | — |
|---|---|---|---|
| 2 | 1 | 4 | 4 |
| -5 | 7 | -6 | 2 |
| 4 | 3 | 8 | 3 |
The operation R1←21R1 would create a fraction. Instead, one can use other operations.
For example, if the matrix were:
| — | — | — | — |
|---|---|---|---|
| -6 | 1 | -1 | 7 |
| 1 | -1 | 4 | 3 |
| -4 | 3 | -2 | 8 |
The operation R1←−61R1 would create a fraction. However, if the matrix was:
| — | — | — | — |
|---|---|---|---|
| -6 | 1 | -1 | 7 |
| 1 | -1 | 4 | 3 |
| -4 | 3 | -2 | 8 |
The operation R2←R2+61R1 is not allowed as it creates fractions. A valid operation to create a 1 in the upper left corner without fractions might involve swapping rows or adding multiples of other rows.
For the matrix:
| — | — | — | — |
|---|---|---|---|
| -6 | 1 | -1 | 7 |
| 1 | -1 | 4 | 3 |
| -4 | 3 | -2 | 8 |
Swapping R1 and R2 would place a 1 in the upper left 8.
- For the augmented matrix:
| — | — | — | — |
|---|---|---|---|
| 2 | 1 | 4 | 4 |
| -5 | 7 | -6 | 2 |
| 4 | 3 | 8 | 3 |
The operation R1←R1+R2 would result in:
| — | — | — | — |
|---|---|---|---|
| -3 | 8 | -2 | 6 |
| -5 | 7 | -6 | 2 |
| 4 | 3 | 8 | 3 |
This does not create a 1 in the upper left. A suitable operation to create a 1 in the upper left without fractions is not immediately obvious from the provided examples without further context or specific matrix values 8.
5.8 Values of k for consistent systems
A linear system is consistent if it has at least one solution. The consistency of a system can depend on the values of parameters within its equations.
- Determining consistency: For an augmented matrix, consistency can be determined by examining the row-echelon form. If a row of the form [0 0 … 0 ∣ c] where c=0 appears, the system is inconsistent. Otherwise, it is consistent.
- For the augmented matrix:
| — | — | — | — |
|---|---|---|---|
| 1 | 4 | k | -4 |
| -1 | 8 | -4 | 8 |
Applying R2←R2+R1 yields:
| — | — | — | — |
|---|---|---|---|
| 1 | 4 | k | -4 |
| 0 | 12 | k-4 | 4 |
This system is always consistent because there is no row of the form [0 0 ∣ c] with c=0 9.
- For the augmented matrix:
| — | — | — |
|---|---|---|
| 4 | -1 | k |
| 1 | -2 | 2 |
Applying R1↔R2 and then R1←R1−4R2 yields:
| — | — | — |
|---|---|---|
| 0 | 7 | k-8 |
| 1 | -2 | 2 |
This system is consistent if 7=0, which is always true. If k−8 were to lead to an inconsistent row after further operations, that would be a concern.
However, with the current form, it appears consistent 9.
5.9 Setting up linear systems for word problems
Linear systems can be used to model real-world scenarios, such as dietary requirements or fitting curves to data points.
- Dietary requirements: To find the amounts of different foods needed to meet specific nutritional requirements, set up equations where variables represent the quantities of each food, and the coefficients represent the nutritional content per unit of each food.
- A diet requires 7 units of fat, 9 units of protein, and 16 units of carbohydrates.
- Food 1: 2 units fat, 2 units protein, 4 units carbohydrates per ounce.
- Food 2: 3 units fat, 1 unit protein, 2 units carbohydrates per ounce.
- Food 3: 1 unit fat, 3 units protein, 5 units carbohydrates per ounce.
- Let x,y,z be the ounces of Food 1, Food 2, and Food 3, respectively. The linear system is:
- Fat: 2x+3y+z=7.
- Protein: 2x+y+3z=9.
- Carbohydrates: 4x+2y+5z=16 9.
- Curve fitting: To find the coefficients of a polynomial that passes through given points, substitute the coordinates of each point into the polynomial equation, creating a system of linear equations.
- Find a,b,c such that the parabola y=ax2+bx+c passes through (1,1), (2,4), and (−1,1).
- Substituting the points:
- (1,1):a(1)2+b(1)+c=1⟹a+b+c=1.
- (2,4):a(2)2+b(2)+c=4⟹4a+2b+c=4.
- (−1,1):a(−1)2+b(−1)+c=1⟹a−b+c=1.
- This system of linear equations in a,b,c would have one solution because three non-collinear points uniquely determine a parabola 10.
5.10 True/False exercises on linear systems
These exercises test understanding of fundamental properties of linear systems and their corresponding augmented matrices.
- Statement analysis:
- (a) A linear system whose equations are all homogeneous must be consistent. True. A homogeneous system always has the trivial solution (all variables equal to zero).
- (b) Multiplying a row of an augmented matrix through by zero is an acceptable elementary row operation. False. Elementary row operations include multiplying a row by a non-zero scalar.
- (c) The linear system x−y=3 and 2x−2y=k cannot have a unique solution, regardless of the value of k. True. The second equation is a multiple of the first. If k=6, there are infinitely many solutions; if k=6, there are no solutions. A unique solution is impossible.
- (d) A single linear equation with two or more unknowns must have infinitely many solutions. True. If there are more unknowns than equations, there will be free variables, leading to infinitely many solutions (assuming the equation is not trivial like 0=0).
- (e) If the number of equations in a linear system exceeds the number of unknowns, then the system must be inconsistent. False. The system can still be consistent, potentially with a unique solution or infinitely many solutions, depending on the relationships between the equations.
- (f) If each equation in a consistent linear system is multiplied through by a constant c, then all solutions to the new system can be obtained by multiplying solutions from the original system by c. False. Solutions to the new system are not necessarily scaled versions of the original solutions; they are still solutions to the modified system.
- (g) Elementary row operations permit one row of an augmented matrix to be subtracted from another. True. This is a form of adding a multiple of one row to another (specifically, adding -1 times one row to another).
- (h) The linear system with corresponding augmented matrix [2 −1 ∣ 4; 0 0 ∣ −1] is consistent. False. The second row represents the equation 0x+0y=−1, which simplifies to 0=−1, an impossibility 10.
© 2026 Maeve. All rights reserved. This content is protected by copyright.