Learn on PengiOpenStax Algebra and TrigonometryChapter 11: Systems of Equations and Inequalities

Lesson 11.2: Systems of Linear Equations: Three Variables

In this Grade 7 math lesson from OpenStax Algebra and Trigonometry, students learn to solve three-by-three systems of linear equations using Gaussian elimination and back-substitution to find ordered triple solutions. The lesson covers how to achieve upper triangular form, identify inconsistent systems with no solution, and express solutions for dependent systems with infinitely many solutions. Real-world investment scenarios are used to ground the algebraic concepts in practical context.

Section 1

πŸ“˜ Systems of Linear Equations: Three Variables

New Concept

We're extending our skills to solve systems with three variables. You'll learn to find the unique solution (x,y,z)(x, y, z) where three planes intersect, and how to identify systems with infinite solutions or no solution at all.

What’s next

Next up, you'll tackle worked examples using elimination and back-substitution. Then, test your skills on practice cards and interactive challenge problems.

Section 2

Solving three-by-three systems

Property

In order to solve systems of equations in three variables, known as three-by-three systems, the primary tool we will be using is called Gaussian elimination. The goal is to eliminate one variable at a time to achieve upper triangular form. A system in upper triangular form looks like the following:

Ax+By+Cz=DEy+Fz=GHz=K\begin{aligned} A x + B y + C z &= D \\ E y + F z &= G \\ H z &= K \end{aligned}

The third equation can be solved for zz, and then we back-substitute to find yy and xx. To write the system in upper triangular form, we can perform the following operations:

  1. Interchange the order of any two equations.
  2. Multiply both sides of an equation by a nonzero constant.
  3. Add a nonzero multiple of one equation to another equation.

The solution set to a three-by-three system is an ordered triple (x,y,z){(x, y, z)}.

Examples

  • To solve the system x+y+z=6x+y+z=6, 2xβˆ’y+z=32x-y+z=3, and x+yβˆ’z=0x+y-z=0, first add equation (1) and (2) to get 3x+2z=93x+2z=9. Add equation (1) and (3) to get 2x=62x=6, so x=3x=3. Substitute x=3x=3 into 3x+2z=93x+2z=9 to get z=0z=0. Finally, substitute x=3x=3 and z=0z=0 into x+y+z=6x+y+z=6 to find y=3y=3. The solution is (3,0,3)(3, 0, 3).
  • Find the solution for the system xβˆ’y+2z=7x-y+2z=7, y+z=5y+z=5, and 3z=93z=9. Start with the last equation to find z=3z=3. Back-substitute z=3z=3 into the second equation to get y+3=5y+3=5, so y=2y=2. Finally, substitute y=2y=2 and z=3z=3 into the first equation: xβˆ’2+2(3)=7x-2+2(3)=7, which gives x=3x=3. The solution is (3,2,3)(3, 2, 3).

Section 3

Number of possible solutions

Property

  • Systems that have a single solution are those which, after elimination, result in a solution set consisting of an ordered triple (x,y,z){(x, y, z)}. Graphically, the ordered triple defines a point that is the intersection of three planes in space.
  • Systems that have an infinite number of solutions are those which, after elimination, result in an expression that is always true, such as 0=00 = 0. Graphically, an infinite number of solutions represents a line or coincident plane that serves as the intersection of three planes in space.
  • Systems that have no solution are those that, after elimination, result in a statement that is a contradiction, such as 3=03 = 0. Graphically, a system with no solution is represented by three planes with no point in common.

Examples

  • A system with a single solution, like x+y+z=3x+y+z=3, 2y=22y=2, and 3z=63z=6, solves to the unique ordered triple (1,1,2)(1, 1, 2). This means the three planes intersect at a single point.
  • Consider the system x+y+z=2x+y+z=2 and 2x+2y+2z=42x+2y+2z=4. Multiplying the first equation by -2 and adding it to the second results in 0=00=0. This identity indicates there are infinite solutions.

Section 4

Inconsistent systems

Property

An inconsistent system of equations in three variables does not have a solution that satisfies all three equations. The process of elimination will result in a false statement, such as 3=73=7 or some other contradiction. Graphically, the three planes do not intersect at a single point.

Examples

  • Consider the system x+y+z=5x+y+z=5, 2x+2y+2z=122x+2y+2z=12, and xβˆ’yβˆ’z=1x-y-z=1. If we multiply the first equation by βˆ’2-2 and add it to the second, we get (βˆ’2xβˆ’2yβˆ’2z)+(2x+2y+2z)=βˆ’10+12( -2x-2y-2z ) + ( 2x+2y+2z ) = -10+12, which simplifies to 0=20=2. This is a contradiction, so there is no solution.
  • Given the equations xβˆ’2y+z=4x-2y+z=4 and βˆ’x+2yβˆ’z=1-x+2y-z=1, adding them together immediately yields the contradiction 0=50=5. The system is inconsistent.

Section 5

Dependent systems

Property

A dependent system of equations has an infinite number of solutions. This happens when the elimination process yields an identity, such as 0=00=0. When a system is dependent, we can find general expressions for the solutions. By adding equations and simplifying, we can express two of the variables in terms of the third (e.g., find yy and zz in terms of xx). The general solution is an ordered triple like (x,52x,32x)(x, \frac{5}{2}x, \frac{3}{2}x), where xx can be any real number.

Examples

  • In the system x+y+z=4x+y+z=4, 2x+2y+2z=82x+2y+2z=8, and xβˆ’y=1x-y=1, multiplying the first equation by βˆ’2-2 and adding it to the second results in 0=00=0. This identity proves the system is dependent and has infinite solutions.
  • Continuing with the system above, we express the solution in terms of one variable. From xβˆ’y=1x-y=1, we get y=xβˆ’1y=x-1. Substituting this into the first equation gives x+(xβˆ’1)+z=4x+(x-1)+z=4, so 2xβˆ’1+z=42x-1+z=4, which means z=5βˆ’2xz=5-2x. The general solution is (x,xβˆ’1,5βˆ’2x)(x, x-1, 5-2x).

Book overview

Jump across lessons in the current chapter without opening the full course modal.

Continue this chapter

Chapter 11: Systems of Equations and Inequalities

  1. Lesson 1

    Lesson 11.1: Systems of Linear Equations: Two Variables

  2. Lesson 2Current

    Lesson 11.2: Systems of Linear Equations: Three Variables

  3. Lesson 3

    Lesson 11.3: Systems of Nonlinear Equations and Inequalities: Two Variables

  4. Lesson 4

    Lesson 11.4: Partial Fractions

  5. Lesson 5

    Lesson 11.5: Matrices and Matrix Operations

  6. Lesson 6

    Lesson 11.6: Solving Systems with Gaussian Elimination

  7. Lesson 7

    Lesson 11.7: Solving Systems with Inverses

  8. Lesson 8

    Lesson 11.8: Solving Systems with Cramer's Rule

Lesson overview

Expand to review the lesson summary and core properties.

Expand

Section 1

πŸ“˜ Systems of Linear Equations: Three Variables

New Concept

We're extending our skills to solve systems with three variables. You'll learn to find the unique solution (x,y,z)(x, y, z) where three planes intersect, and how to identify systems with infinite solutions or no solution at all.

What’s next

Next up, you'll tackle worked examples using elimination and back-substitution. Then, test your skills on practice cards and interactive challenge problems.

Section 2

Solving three-by-three systems

Property

In order to solve systems of equations in three variables, known as three-by-three systems, the primary tool we will be using is called Gaussian elimination. The goal is to eliminate one variable at a time to achieve upper triangular form. A system in upper triangular form looks like the following:

Ax+By+Cz=DEy+Fz=GHz=K\begin{aligned} A x + B y + C z &= D \\ E y + F z &= G \\ H z &= K \end{aligned}

The third equation can be solved for zz, and then we back-substitute to find yy and xx. To write the system in upper triangular form, we can perform the following operations:

  1. Interchange the order of any two equations.
  2. Multiply both sides of an equation by a nonzero constant.
  3. Add a nonzero multiple of one equation to another equation.

The solution set to a three-by-three system is an ordered triple (x,y,z){(x, y, z)}.

Examples

  • To solve the system x+y+z=6x+y+z=6, 2xβˆ’y+z=32x-y+z=3, and x+yβˆ’z=0x+y-z=0, first add equation (1) and (2) to get 3x+2z=93x+2z=9. Add equation (1) and (3) to get 2x=62x=6, so x=3x=3. Substitute x=3x=3 into 3x+2z=93x+2z=9 to get z=0z=0. Finally, substitute x=3x=3 and z=0z=0 into x+y+z=6x+y+z=6 to find y=3y=3. The solution is (3,0,3)(3, 0, 3).
  • Find the solution for the system xβˆ’y+2z=7x-y+2z=7, y+z=5y+z=5, and 3z=93z=9. Start with the last equation to find z=3z=3. Back-substitute z=3z=3 into the second equation to get y+3=5y+3=5, so y=2y=2. Finally, substitute y=2y=2 and z=3z=3 into the first equation: xβˆ’2+2(3)=7x-2+2(3)=7, which gives x=3x=3. The solution is (3,2,3)(3, 2, 3).

Section 3

Number of possible solutions

Property

  • Systems that have a single solution are those which, after elimination, result in a solution set consisting of an ordered triple (x,y,z){(x, y, z)}. Graphically, the ordered triple defines a point that is the intersection of three planes in space.
  • Systems that have an infinite number of solutions are those which, after elimination, result in an expression that is always true, such as 0=00 = 0. Graphically, an infinite number of solutions represents a line or coincident plane that serves as the intersection of three planes in space.
  • Systems that have no solution are those that, after elimination, result in a statement that is a contradiction, such as 3=03 = 0. Graphically, a system with no solution is represented by three planes with no point in common.

Examples

  • A system with a single solution, like x+y+z=3x+y+z=3, 2y=22y=2, and 3z=63z=6, solves to the unique ordered triple (1,1,2)(1, 1, 2). This means the three planes intersect at a single point.
  • Consider the system x+y+z=2x+y+z=2 and 2x+2y+2z=42x+2y+2z=4. Multiplying the first equation by -2 and adding it to the second results in 0=00=0. This identity indicates there are infinite solutions.

Section 4

Inconsistent systems

Property

An inconsistent system of equations in three variables does not have a solution that satisfies all three equations. The process of elimination will result in a false statement, such as 3=73=7 or some other contradiction. Graphically, the three planes do not intersect at a single point.

Examples

  • Consider the system x+y+z=5x+y+z=5, 2x+2y+2z=122x+2y+2z=12, and xβˆ’yβˆ’z=1x-y-z=1. If we multiply the first equation by βˆ’2-2 and add it to the second, we get (βˆ’2xβˆ’2yβˆ’2z)+(2x+2y+2z)=βˆ’10+12( -2x-2y-2z ) + ( 2x+2y+2z ) = -10+12, which simplifies to 0=20=2. This is a contradiction, so there is no solution.
  • Given the equations xβˆ’2y+z=4x-2y+z=4 and βˆ’x+2yβˆ’z=1-x+2y-z=1, adding them together immediately yields the contradiction 0=50=5. The system is inconsistent.

Section 5

Dependent systems

Property

A dependent system of equations has an infinite number of solutions. This happens when the elimination process yields an identity, such as 0=00=0. When a system is dependent, we can find general expressions for the solutions. By adding equations and simplifying, we can express two of the variables in terms of the third (e.g., find yy and zz in terms of xx). The general solution is an ordered triple like (x,52x,32x)(x, \frac{5}{2}x, \frac{3}{2}x), where xx can be any real number.

Examples

  • In the system x+y+z=4x+y+z=4, 2x+2y+2z=82x+2y+2z=8, and xβˆ’y=1x-y=1, multiplying the first equation by βˆ’2-2 and adding it to the second results in 0=00=0. This identity proves the system is dependent and has infinite solutions.
  • Continuing with the system above, we express the solution in terms of one variable. From xβˆ’y=1x-y=1, we get y=xβˆ’1y=x-1. Substituting this into the first equation gives x+(xβˆ’1)+z=4x+(x-1)+z=4, so 2xβˆ’1+z=42x-1+z=4, which means z=5βˆ’2xz=5-2x. The general solution is (x,xβˆ’1,5βˆ’2x)(x, x-1, 5-2x).

Book overview

Jump across lessons in the current chapter without opening the full course modal.

Continue this chapter

Chapter 11: Systems of Equations and Inequalities

  1. Lesson 1

    Lesson 11.1: Systems of Linear Equations: Two Variables

  2. Lesson 2Current

    Lesson 11.2: Systems of Linear Equations: Three Variables

  3. Lesson 3

    Lesson 11.3: Systems of Nonlinear Equations and Inequalities: Two Variables

  4. Lesson 4

    Lesson 11.4: Partial Fractions

  5. Lesson 5

    Lesson 11.5: Matrices and Matrix Operations

  6. Lesson 6

    Lesson 11.6: Solving Systems with Gaussian Elimination

  7. Lesson 7

    Lesson 11.7: Solving Systems with Inverses

  8. Lesson 8

    Lesson 11.8: Solving Systems with Cramer's Rule