1.1 Introduction to Systems of Linear Equations-07

Table of contents

  1. Introduction to systems of linear equations
  2. Linear systems with one, no, or infinitely many solutions
  3. Augmented matrices and elementary row operations
  4. Using elementary row operations to solve linear systems
  5. Exercise set 1.1

1. Introduction to systems of linear equations

1.1 Linear equations

A linear equation in nn variables x1,x2,…,xnx_1, x_2, \dots, x_n is an equation that can be written in the form a1x1+a2x2+⋯+anxn=ba_1x_1 + a_2x_2 + \dots + a_nx_n = b, where a1,a2,…,ana_1, a_2, \dots, a_n and bb are constants, and not all aia_i are zero. For two or three variables, these equations are often written as a1x+a2y=ba_1x + a_2y = b (where a1,a2a_1, a_2 are not both zero) or a1x+a2y+a3z=ba_1x + a_2y + a_3z = b (where a1,a2,a3a_1, a_2, a_3 are not all zero).

If b=0b=0, the equation a1x1+a2x2+⋯+anxn=0a_1x_1 + a_2x_2 + \dots + a_nx_n = 0 is called a homogeneous linear equation 1.

The following are examples of linear equations:

  • x+3y=7x + 3y = 7.
  • 1x−y+3z=−11x - y + 3z = -1.
  • x1−2x2−3x3+x4=0x_1 - 2x_2 - 3x_3 + x_4 = 0.
  • x1+x2+⋯+xn=1x_1 + x_2 + \dots + x_n = 1 1.

The following are examples of non-linear equations:

  • x+3y2=4x + 3y^2 = 4.
  • 3x+2y−xy=53x + 2y - xy = 5.
  • sin⁡x+y=0\sin x + y = 0.
  • x1+2x2+x3=1\sqrt{x_1} + 2x_2 + x_3 = 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 mm equations in nn unknowns x1,x2,…,xnx_1, x_2, \dots, x_n 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 nn unknowns is a sequence of nn numbers s1,s2,…,sns_1, s_2, \dots, s_n that makes every equation in the system true when substituted for the unknowns x1,x2,…,xnx_1, x_2, \dots, x_n 2.

SystemUnknownsSolution
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 nn numbers (s1,s2,…,sn)(s_1, s_2, \dots, s_n) is called an ordered nn-tuple 2.

📝 The linear system

\begin{align\ast} 5x + y &= 3 \\ 2x - y &= 4 \end{align\ast}

has the solution x=1,y=−2x=1, y=-2, which can be represented as the ordered pair (1,−2)(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 RepresentationNumber of Solutions
Intersecting linesOne solution
Parallel linesNo solution
Coincident linesInfinitely many solutions

2.2 Example: A linear system with one solution

Consider the linear system: 2x+y=62x + y = 6 −2x+2y=−2-2x + 2y = -2

To solve this system, we can use elimination. Adding the two equations results in 3y=43y = 4, which gives y=43y = \frac{4}{3}.

Substituting this value back into the first equation, 2x+43=62x + \frac{4}{3} = 6, we get 2x=6−43=18−43=1432x = 6 - \frac{4}{3} = \frac{18-4}{3} = \frac{14}{3}, so x=73x = \frac{7}{3}. The solution is the point (73,43)(\frac{7}{3}, \frac{4}{3}) 3.

📝 For the system 2x+y=62x + y = 6 and −2x+2y=−2-2x + 2y = -2, the solution is (73,43)(\frac{7}{3}, \frac{4}{3}) 3.

2.3 Example: A linear system with no solutions

Consider the linear system: x+y=4x + y = 4 3x+3y=63x + 3y = 6

If we multiply the first equation by 3, we get 3x+3y=123x + 3y = 12. This equation contradicts the second equation, 3x+3y=63x + 3y = 6.

Therefore, there is no pair of (x,y)(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=4x + y = 4 and 3x+3y=63x + 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=14x - 2y = 1 −16x+8y=−4-16x + 8y = -4

If we multiply the first equation by -4, we get −16x+8y=−4-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=ty = t, where tt is any real number. Substituting this into the first equation, 4x−2t=14x - 2t = 1, we solve for xx: 4x=1+2t4x = 1 + 2t, so x=1+2t4x = \frac{1 + 2t}{4}.

The solutions are of the form (1+2t4,t)(\frac{1 + 2t}{4}, t) 3.

📝 For the system 4x−2y=14x - 2y = 1 and −16x+8y=−4-16x + 8y = -4, the solutions can be expressed as (1+2t4,t)(\frac{1 + 2t}{4}, 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 mm linear equations in nn variables is an m×(n+1)m \times (n+1) matrix 4.

📝 The linear system: x1+x2+2x3=9x_1 + x_2 + 2x_3 = 9 2x1+4x2−3x3=12x_1 + 4x_2 - 3x_3 = 1 3x1+6x2−5x3=03x_1 + 6x_2 - 5x_3 = 0 is represented by the augmented matrix: (112∣924−3∣136−5∣0)\begin{pmatrix} 1 & 1 & 2 & | & 9 \\ 2 & 4 & -3 & | & 1 \\ 3 & 6 & -5 & | & 0 \end{pmatrix} 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 NameSymbolic RepresentationDescription
Multiply a row by a nonzero constantcRicR_iA row is multiplied by any number other than zero.
Interchange two rowsRi↔RjR_i \leftrightarrow R_jTwo rows in the matrix are swapped.
Add a constant times one row to anothercRi+RjcR_i + R_jA 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:

xyzConstant
1129
24-31
36-50

The following elementary row operations are applied:

  • Add -2 times the first row to the second row (R2←−2R1+R2R_2 \leftarrow -2R_1 + R_2).
  • Add -3 times the first row to the third row (R3←−3R1+R3R_3 \leftarrow -3R_1 + R_3).
  • Multiply the second row by 2 (R2←2R2R_2 \leftarrow 2R_2).
  • Add -3 times the second row to the third row (R3←−3R2+R3R_3 \leftarrow -3R_2 + R_3).
  • Multiply the third row by -2 (R3←−2R3R_3 \leftarrow -2R_3).
  • Add -1 times the second row to the first row (R1←−R2+R1R_1 \leftarrow -R_2 + R_1).
  • Add -11 times the third row to the first row (R1←−11R3+R1R_1 \leftarrow -11R_3 + R_1).
  • Add 2 times the third row to the second row (R2←2R3+R2R_2 \leftarrow 2R_3 + R_2).

After these operations, the matrix is transformed into:

xyzConstant
1001
0102
0013

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 xx and yy is one that can be written in the form ax+by=cax + by = c, where aa, bb, and cc are constants.

  • Linear equation criteria: An equation is linear in xx and yy if it involves only terms with xx to the first power, yy to the first power, or constants.
  • 2/3 x + 3y = 1 is linear.
  • cos(7) x - 4y = log(3) is linear, as cos⁡(7)\cos(7) and log⁡(3)\log(3) are constants.
  • y + 7 = x is linear, as it can be rearranged to x−y=7x - 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 = 1 is not linear due to the x1/3x^{1/3} term.
  • cos x - 4y = 0 is not linear due to the cos⁡x\cos x term.
  • xy = 1 is not linear due to the product of variables xyxy 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,…x_1, x_2, x_3, \dots in order, and the last entry is the constant term.
  • For the augmented matrix
————
520-11
3-1-1-1
-620-3

the corresponding linear system is:

  • 5x1+2x2=−115x_1 + 2x_2 = -11.
  • 3x1−x2−x3=−13x_1 - x_2 - x_3 = -1.
  • −6x1+2x2=−3-6x_1 + 2x_2 = -3 6.
  • For the augmented matrix
—————
10305
01-40-2
00113
00000

the corresponding linear system is:

  • x1=5x_1 = 5.
  • x2−4x3=−2x_2 - 4x_3 = -2.
  • x3+x4=3x_3 + x_4 = 3.
  • 0=00 = 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,…x_1, x_2, \dots in order, followed by the constant term.
  • For the system:
  • 3x1−2x2=−13x_1 - 2x_2 = -1
  • 4x1+5x2=34x_1 + 5x_2 = 3
  • 7x1+3x2=27x_1 + 3x_2 = 2 The augmented matrix is:
———
3-2-1
453
732
  • For the system:
  • 2x1+2x3=12x_1 + 2x_3 = 1
  • 3x1−x2+4x3=73x_1 - x_2 + 4x_3 = 7
  • 6x1+x2−x3=06x_1 + x_2 - x_3 = 0 The augmented matrix is:
————
2021
3-147
61-10
  • For the system:
  • x1=3x_1 = 3
  • x2=1x_2 = 1
  • x3=2x_3 = 2 The augmented matrix is:
————
1003
0101
0012

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=3x + 2y - 2z = 3 3x−y+z=13x - y + z = 1 −x+5y−5z=5-x + 5y - 5z = 5
  • The tuple (2,4,1)(2, 4, 1) is not a solution because 2+2(4)−2(1)=2+8−2=8≠32 + 2(4) - 2(1) = 2 + 8 - 2 = 8 \neq 3.
  • The tuple (1/2,1/2,0)(1/2, 1/2, 0) is a solution because:
  • 1/2+2(1/2)−2(0)=1/2+1=3/2≠31/2 + 2(1/2) - 2(0) = 1/2 + 1 = 3/2 \neq 3. This tuple is not a solution.
  • The tuple (5,8,1)(5, 8, 1) is not a solution because 5+2(8)−2(1)=5+16−2=19≠35 + 2(8) - 2(1) = 5 + 16 - 2 = 19 \neq 3.
  • The tuple (1/2,1/2,2)(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=a2x - 3y = a and 4x−6y=b4x - 6y = b, the conditions for the number of solutions can be analyzed.

  • Analysis of a 2x2 system: Consider the system: 2x−3y=a2x - 3y = a 4x−6y=b4x - 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 xx and yy are proportional, but the constant terms are not in the same proportion. In this case, if b≠2ab \neq 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/32/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=2ab = 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=−86x_1 + 2x_2 = -8 3x1+x2=−43x_1 + x_2 = -4 This system has infinitely many solutions. Let x2=tx_2 = t, where tt is any real number.

Substituting into the second equation: 3x1+t=−43x_1 + t = -4, so 3x1=−4−t3x_1 = -4 - t, which gives x1=−43−13tx_1 = -\frac{4}{3} - \frac{1}{3}t. The solution set is (−43−13t,t)(-\frac{4}{3} - \frac{1}{3}t, t).

  • For the system: 2x−y+2z=−42x - y + 2z = -4 6x−3y+6z=−126x - 3y + 6z = -12 −4x+2y−4z=8-4x + 2y - 4z = 8 All three equations are multiples of each other. Let x=sx = s and y=ty = t, where ss and tt are any real numbers.

Substituting into the first equation: 2s−t+2z=−42s - t + 2z = -4, so 2z=−4−2s+t2z = -4 - 2s + t, which gives z=−2−s+12tz = -2 - s + \frac{1}{2}t. The solution set is (s,t,−2−s+12t)(s, t, -2 - s + \frac{1}{2}t) 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:
————
2144
-57-62
4383

The operation R1←12R1R_1 \leftarrow \frac{1}{2}R_1 would create a fraction. Instead, one can use other operations.

For example, if the matrix were:

————
-61-17
1-143
-43-28

The operation R1←−16R1R_1 \leftarrow -\frac{1}{6}R_1 would create a fraction. However, if the matrix was:

————
-61-17
1-143
-43-28

The operation R2←R2+16R1R_2 \leftarrow R_2 + \frac{1}{6}R_1 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:

————
-61-17
1-143
-43-28

Swapping R1R_1 and R2R_2 would place a 1 in the upper left 8.

  • For the augmented matrix:
————
2144
-57-62
4383

The operation R1←R1+R2R_1 \leftarrow R_1 + R_2 would result in:

————
-38-26
-57-62
4383

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][0 \ 0 \ \dots \ 0 \ | \ c] where c≠0c \neq 0 appears, the system is inconsistent. Otherwise, it is consistent.
  • For the augmented matrix:
————
14k-4
-18-48

Applying R2←R2+R1R_2 \leftarrow R_2 + R_1 yields:

————
14k-4
012k-44

This system is always consistent because there is no row of the form [0 0 ∣ c][0 \ 0 \ | \ c] with c≠0c \neq 0 9.

  • For the augmented matrix:
———
4-1k
1-22

Applying R1↔R2R_1 \leftrightarrow R_2 and then R1←R1−4R2R_1 \leftarrow R_1 - 4R_2 yields:

———
07k-8
1-22

This system is consistent if 7≠07 \neq 0, which is always true. If k−8k-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,zx, y, z be the ounces of Food 1, Food 2, and Food 3, respectively. The linear system is:
  • Fat: 2x+3y+z=72x + 3y + z = 7.
  • Protein: 2x+y+3z=92x + y + 3z = 9.
  • Carbohydrates: 4x+2y+5z=164x + 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,ca, b, c such that the parabola y=ax2+bx+cy = ax^2 + bx + c passes through (1,1)(1, 1), (2,4)(2, 4), and (−1,1)(-1, 1).
  • Substituting the points:
  • (1,1):a(1)2+b(1)+c=1  ⟹  a+b+c=1(1, 1): a(1)^2 + b(1) + c = 1 \implies a + b + c = 1.
  • (2,4):a(2)2+b(2)+c=4  ⟹  4a+2b+c=4(2, 4): a(2)^2 + b(2) + c = 4 \implies 4a + 2b + c = 4.
  • (−1,1):a(−1)2+b(−1)+c=1  ⟹  a−b+c=1(-1, 1): a(-1)^2 + b(-1) + c = 1 \implies a - b + c = 1.
  • This system of linear equations in a,b,ca, 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=3x - y = 3 and 2x−2y=k2x - 2y = k cannot have a unique solution, regardless of the value of kk. True. The second equation is a multiple of the first. If k=6k=6, there are infinitely many solutions; if k≠6k \neq 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=00=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 cc, then all solutions to the new system can be obtained by multiplying solutions from the original system by cc. 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][2 \ -1 \ | \ 4; \ 0 \ 0 \ | \ -1] is consistent. False. The second row represents the equation 0x+0y=−10x + 0y = -1, which simplifies to 0=−10 = -1, an impossibility 10.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also