Linear Algebra • Systems of Linear Equations & Matrices

Consistent vs. Inconsistent Systems

Learn how to tell whether a system of equations has solutions — and what that looks like on a graph.

Linear Algebra emblem with a matrix grid, a variable, and three-dimensional axes.
Inside this lesson 10 sections 5 questions 8 figures

SECTION 1

Historical Context & Motivation

People have been solving systems of equations for thousands of years. Ancient civilizations needed to figure out things like how many sheep and goats a farmer owned, given clues about their total number and total value. These kinds of problems naturally lead to two or more equations that must be true at the same time. Over the centuries, mathematicians discovered that sometimes these systems have neat solutions — and sometimes they have no solution at all. Understanding why this happens became a key idea in algebra.

~200 BCE • Ancient China — The Nine Chapters

Chinese mathematicians wrote The Nine Chapters on the Mathematical Art, which included methods for solving systems of linear equations — an early form of what we now call elimination.

~825 CE • Al-Khwarizmi & Algebra

The Persian mathematician Al-Khwarizmi wrote foundational texts on algebra. His work gave us the word "algebra" itself and helped formalize how to set up and solve equations.

1750 • Cramer's Rule

Swiss mathematician Gabriel Cramer published a formula for solving systems of linear equations using determinants. This rule also reveals when a system has no unique solution.

1888 • Modern Matrix Theory

Mathematicians like Arthur Cayley and James Sylvester developed matrix algebra, giving us powerful tools to classify systems as consistent or inconsistent using row reduction and rank.

Throughout all this history, one question kept coming up: does a given system of equations actually have a solution? If it does, we call it consistent. If it doesn't, we call it inconsistent. This lesson will teach you how to tell the difference — and why it matters.

SECTION 2

Core Principles & Definitions

A system of linear equations is a set of two or more equations that share the same variables. When you solve the system, you're looking for values of those variables that make every equation true at the same time. Whether or not such values exist determines if the system is consistent or inconsistent.

1

Consistent System

A system that has at least one solution. The equations "agree" — there is at least one point that satisfies all of them.
2

Inconsistent System

A system that has no solution. The equations contradict each other — no set of values can make all equations true at once.
3

Independent System

A consistent system with exactly one solution. On a graph, the lines cross at a single point.
4

Dependent System

A consistent system with infinitely many solutions. The equations describe the same line, so every point on that line is a solution.
✦

KEY TAKEAWAY

Think of it like making plans with friends. If you both say "let's meet at the park at 3 PM," your plans are consistent — there's a time and place that works. But if you say "let's meet at 3 PM" and your friend says "I'm busy all afternoon," your plans are inconsistent — there's no solution that makes both of you happy.

SECTION 3

Visual Explanation — Lines on a Graph

Each linear equation in two variables (like x and y) can be graphed as a straight line on the coordinate plane. When you have a system of two equations, you're looking at two lines. The relationship between those lines tells you exactly what kind of system you have.

Consistent & Independent(One Solution)xy(x, y)Line 1Line 2Lines cross at exactlyone point.Different slopesConsistent & Dependent(Infinitely Many Solutions)xySame line!Both equations describethe same line.Same slope, same interceptInconsistent(No Solution)xyLine 1Line 2Lines are parallel —they never meet.Same slope, different intercepts
Three possible outcomes for a system of two linear equations: the lines can intersect at one point (consistent & independent), overlap completely (consistent & dependent), or be parallel and never touch (inconsistent).

Look at the diagram above. In the left panel, the two lines have different slopes, so they cross at exactly one point. That crossing point gives you the one and only solution. In the center panel, both equations actually describe the same line — every single point on that line is a solution, which means infinitely many solutions. In the right panel, the two lines have the same slope but different y-intercepts, making them parallel. Parallel lines never cross, so there is no solution.

SECTION 4

Mathematical Framework

You can determine whether a system is consistent or inconsistent by looking at the slopes and y-intercepts of the lines. When each equation is written in slope-intercept form (y = mx + b), the values of m (slope) and b (y-intercept) tell the whole story.

SLOPE-INTERCEPT FORM

y=mx+by = mx + b

Where m = slope (steepness of the line) and b = y-intercept (where the line crosses the y-axis).

STANDARD FORM

a1x+b1y=c1anda2x+b2y=c2a₁x + b₁y = c₁ and a₂x + b₂y = c₂

A system of two equations with constants a, b, and c. You can compare the ratios of these constants to classify the system.

RATIO TEST FOR CLASSIFICATION

Comparea1/a2,b1/b2,andc1/c2Compare a₁/a₂, b₁/b₂, and c₁/c₂

If a₁/a₂ ≠ b₁/b₂ → consistent & independent (one solution). If a₁/a₂ = b₁/b₂ = c₁/c₂ → consistent & dependent (infinitely many). If a₁/a₂ = b₁/b₂ ≠ c₁/c₂ → inconsistent (no solution).

Here's the logic in plain language. If the slopes are different, the lines must cross somewhere — that's one solution. If the slopes are the same and the y-intercepts are also the same, the two equations are really describing the same line. But if the slopes are the same and the y-intercepts are different, the lines are parallel and never meet.

SECTION 5

Detailed Classification & Flowchart

The flowchart below gives you a step-by-step decision process. Start by converting both equations to slope-intercept form, then compare their slopes and intercepts. This method works every time for a system of two linear equations in two variables.

Write both equations as y = mx + bAre the slopesequal? (m₁ = m₂?)NoYesCONSISTENTIndependent — One SolutionAre y-interceptsequal? (b₁ = b₂?)NoYesINCONSISTENTNo Solution — Parallel LinesCONSISTENTDependent — Infinitely Many
A decision flowchart for classifying a system of two linear equations. Start at the top, compare slopes, then (if slopes match) compare y-intercepts.
TypeSlopesY-InterceptsSolutionsGraph
Consistent & IndependentDifferent (m₁ ≠ m₂)AnyExactly oneLines intersect
Consistent & DependentSame (m₁ = m₂)Same (b₁ = b₂)Infinitely manyLines overlap
InconsistentSame (m₁ = m₂)Different (b₁ ≠ b₂)NoneLines are parallel

Summary of the three possible outcomes for a system of two linear equations.

SECTION 6

Worked Example

Let's classify three different systems step by step. For each one, we'll convert to slope-intercept form, compare slopes and intercepts, and state the conclusion.

Example A — One Solution

System: 2x + y = 5 and x − y = 1

  1. 1

    Step 1 — Rewrite in slope-intercept form

    Equation 1: 2x + y = 5 → y = −2x + 5. Equation 2: x − y = 1 → −y = −x + 1 → y = x − 1.
  2. 2

    Step 2 — Compare slopes

    Equation 1 has slope m₁ = −2. Equation 2 has slope m₂ = 1. Since −2 ≠ 1, the slopes are different.
  3. 3

    Step 3 — Classify the system

    Because the slopes are different, the lines will cross at exactly one point.
    Consistent & Independent — one solution.
  4. 4

    Step 4 — Find the solution (optional verification)

    Set the equations equal: −2x + 5 = x − 1. Solving: 5 + 1 = x + 2x → 6 = 3x → x = 2. Then y = 2 − 1 = 1.
    The solution is (2, 1).

Example B — No Solution

System: 3x + y = 4 and 6x + 2y = 10

  1. 1

    Step 1 — Rewrite in slope-intercept form

    Equation 1: y = −3x + 4. Equation 2: 2y = −6x + 10 → y = −3x + 5.
  2. 2

    Step 2 — Compare slopes and intercepts

    Both slopes are m = −3 (equal). But the y-intercepts are 4 and 5 (different). Same slope, different intercepts means parallel lines.
  3. 3

    Step 3 — Classify the system

    Parallel lines never intersect, so there is no point that satisfies both equations.
    Inconsistent — no solution.

Example C — Infinitely Many Solutions

System: x + 2y = 6 and 2x + 4y = 12

  1. 1

    Step 1 — Rewrite in slope-intercept form

    Equation 1: 2y = −x + 6 → y = −(1/2)x + 3. Equation 2: 4y = −2x + 12 → y = −(1/2)x + 3.
  2. 2

    Step 2 — Compare slopes and intercepts

    Both slopes are −1/2 (equal) and both y-intercepts are 3 (equal). The two equations describe the exact same line.
  3. 3

    Step 3 — Classify the system

    Every point on the line y = −(1/2)x + 3 satisfies both equations.
    Consistent & Dependent — infinitely many solutions.

SECTION 7

Comparing Methods of Detection

There are several ways to determine whether a system is consistent or inconsistent. Each method has its own strengths and limitations. The table below compares the most common approaches you'll encounter.

MethodHow It WorksBest ForLimitation
GraphingPlot both lines and see if they intersect, overlap, or are parallel.Building visual intuition and checking answers.Hard to read exact intersection points from a graph; not precise for messy numbers.
SubstitutionSolve one equation for a variable and plug it into the other.Systems where one equation is already solved for x or y.Can get messy with fractions if neither variable is easy to isolate.
EliminationAdd or subtract equations to cancel out one variable.Systems where coefficients line up nicely.Requires multiplying equations first if coefficients don't match.
Slope ComparisonConvert to y = mx + b and compare m and b values directly.Quickly classifying a system without solving.Only classifies; doesn't give you the actual solution coordinates.
💡

Tip: What Happens Algebraically?

When you use substitution or elimination on an inconsistent system, you'll get a false statement like 0 = 5. When you work with a dependent system, you'll get a true statement like 0 = 0. These are clues! A false statement means no solution exists. A true statement means infinitely many solutions exist.
✦

KEY TAKEAWAY

Think of solving a system of equations like trying to find a meeting point for two roads. Graphing is like looking at a map — great for seeing the big picture but hard to pinpoint exact locations. Substitution and elimination are like using GPS coordinates — they give you the exact answer. Slope comparison is like checking whether the roads are even heading toward each other before you bother navigating.

SECTION 8

Connection to Larger Systems & Matrices

So far, we've looked at systems with two equations and two variables. But the concepts of consistency and inconsistency apply to larger systems too — three equations, four equations, or even hundreds. In more advanced courses, you'll use tools called matrices and a process called row reduction (also known as Gaussian elimination) to handle these bigger systems efficiently.

ConceptTwo-Variable Version (This Lesson)Advanced Version (Matrices)
Representing the systemTwo equations written in slope-intercept or standard form.An augmented matrix with rows for each equation and columns for each variable.
Detecting inconsistencySame slopes but different y-intercepts → parallel lines.A row like [0 0 0 | 5] in row-echelon form signals a contradiction (0 = 5).
Finding all solutionsSolve by substitution, elimination, or graphing.Back-substitution after row reduction, or reading solutions from reduced row-echelon form.
Infinitely many solutionsEquations describe the same line.Free variables appear; solutions are expressed in terms of a parameter.

How the ideas from this lesson extend to matrix-based methods.

The core idea stays exactly the same as you move to bigger systems: you're always asking, does this system have at least one solution? With two variables, you look at lines. With three variables, you'd look at planes in 3D space. With matrices, you use numbers and row operations — but the fundamental question never changes.

SECTION 9

Practice Problems

Try these five problems on your own. Start with the easier ones and work your way up. Remember to convert equations to slope-intercept form when comparing slopes and intercepts!

Question 1: CONCEPTUAL

You graph two lines on the coordinate plane and see that they are parallel. Is this system consistent or inconsistent? Explain your reasoning.
Show answer
The system is inconsistent. Parallel lines have the same slope but different y-intercepts, which means they never intersect. Since there is no point that lies on both lines, there is no pair of (x, y) values that satisfies both equations simultaneously. An inconsistent system always has zero solutions.

Question 2: BASIC CALCULATION

Classify the following system as consistent & independent, consistent & dependent, or inconsistent: y = 3x + 2 and y = −x + 6.
Show answer
Both equations are already in slope-intercept form. Equation 1 has slope m₁ = 3 and Equation 2 has slope m₂ = −1. Since 3 ≠ −1, the slopes are different, which means the lines intersect at exactly one point. The system is consistent and independent with one solution. You could find that solution by setting 3x + 2 = −x + 6, which gives x = 1, y = 5.

Question 3: INTERMEDIATE

Classify and solve (if possible): 4x − 2y = 8 and −6x + 3y = −12.
Show answer
Rewrite in slope-intercept form. Equation 1: −2y = −4x + 8 → y = 2x − 4. Equation 2: 3y = 6x − 12 → y = 2x − 4. Both equations simplify to y = 2x − 4, meaning they have the same slope (m = 2) and the same y-intercept (b = −4). The system is consistent and dependent with infinitely many solutions. Every point on the line y = 2x − 4 is a solution, such as (0, −4), (2, 0), and (3, 2).

Question 4: APPLIED

A school club sells small candles for $3 each and large candles for $5 each. On Monday they sold 20 candles and earned $70. On Tuesday a different group reported selling 20 candles but earning $80 from the same prices. Are these two reports consistent with each other? Set up and classify the system.
Show answer
Let s = small candles and l = large candles. Monday's report gives s + l = 20 and 3s + 5l = 70. Tuesday's report gives s + l = 20 and 3s + 5l = 80. The first equation is the same, but the second equations contradict: 3s + 5l cannot equal both 70 and 80 for the same values of s and l. Comparing 3s + 5l = 70 and 3s + 5l = 80, we'd get 0 = 10 after subtraction — a false statement. The reports are inconsistent. At least one report contains an error.

Question 5: CRITICAL THINKING

For what value of k will the system 2x + 4y = 10 and x + 2y = k be (a) consistent and dependent, and (b) inconsistent? Explain why no value of k makes it consistent and independent.
Show answer
Rewrite Equation 1: 4y = −2x + 10 → y = −(1/2)x + 5/2. Rewrite Equation 2: 2y = −x + k → y = −(1/2)x + k/2. Both have slope m = −1/2, so the lines are either parallel or identical — never intersecting at just one point. (a) For the system to be dependent, the y-intercepts must match: 5/2 = k/2, so k = 5. (b) For any other value of k (k ≠ 5), the intercepts differ and the system is inconsistent. No value of k can produce a consistent and independent system because the slopes are always equal, meaning the lines can never cross at a single point — they must either overlap completely or be parallel.

SUMMARY

Lesson Summary

Summary

A system of linear equations is classified based on whether its equations share a common solution. A consistent system has at least one solution — either exactly one (when lines intersect, called independent) or infinitely many (when lines overlap, called dependent). An inconsistent system has no solution because the lines are parallel.

To classify a system, convert equations to slope-intercept form (y = mx + b) and compare slopes and y-intercepts. Different slopes → one solution. Same slope and same intercept → infinitely many solutions. Same slope but different intercepts → no solution. Algebraically, a false statement like 0 = 5 signals inconsistency, while 0 = 0 signals dependence. These foundational ideas extend naturally to larger systems through matrices and row reduction.

Varsity Tutors • Linear Algebra • Consistent vs. Inconsistent Systems