Skip to main content
TexasMathsSyllabus dot point

How do you solve a system of two linear equations by graphing, substitution, and elimination, and tell how many solutions it has?

Solve systems of two linear equations in two variables by graphing, substitution, and elimination, and determine whether a system has one solution, no solution, or infinitely many (TEKS A.5C, A.3E).

A STAAR Algebra I answer on solving systems of two linear equations by graphing, substitution, and elimination (TEKS A.5C, A.3E), and identifying one solution, no solution (parallel), or infinitely many (same line).

Generated by Claude Opus 4.810 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this topic is asking
  2. Method 1: graphing
  3. Method 2: substitution
  4. Method 3: elimination
  5. Number of solutions
  6. How STAAR examines this topic
  7. Checking a proposed solution
  8. Reading the number of solutions from the equations
  9. Try this

What this topic is asking

A system of two linear equations asks for the point that satisfies both equations at once. TEKS A.5C and A.3E ask you to solve such systems by graphing, substitution, and elimination, and to determine the number of solutions. Systems are a reliable part of Reporting Category 3 and feed directly into the modeling questions.

Method 1: graphing

Graph both lines and read the intersection point. This is quick when the lines are easy to graph and the intersection is a lattice point, and it is the method the calculator supports directly. Its weakness is precision: a non-integer intersection is hard to read exactly, so confirm by substitution.

Method 2: substitution

Use substitution when one equation has a variable already isolated (or easy to isolate). Solve one equation for a variable, substitute that expression into the other, solve, then back-substitute.

For y=3x+1y = 3x + 1 and 2x+y=112x + y = 11: substitute to get 2x+(3x+1)=112x + (3x + 1) = 11, so 5x+1=115x + 1 = 11, x=2x = 2, and y=3(2)+1=7y = 3(2) + 1 = 7, giving (2,7)(2, 7).

Method 3: elimination

Use elimination when adding or subtracting the equations cancels a variable. Scale one or both equations first if needed so a pair of coefficients becomes opposite.

Number of solutions

The relationship between the two lines determines the count.

  • One solution. Different slopes; the lines cross once.
  • No solution. Same slope, different yy-intercept; the lines are parallel. Algebraically, the variables cancel and a false statement remains.
  • Infinitely many. Same slope and same intercept; the equations are the same line. Algebraically, the variables cancel and a true statement remains.

So y=2x+1y = 2x + 1 and y=2x−4y = 2x - 4 have no solution (parallel), while y=2x+1y = 2x + 1 and 2y=4x+22y = 4x + 2 have infinitely many (identical).

How STAAR examines this topic

  • Multiple choice. Solve a system and pick the ordered pair, with the coordinates-reversed distractor.
  • Equation editor and number entry. Enter the solution pair, or a single coordinate.
  • Inline choice. Classify the number of solutions from the slopes and intercepts.

A clarifying idea is that all three methods find the same intersection point, so choosing the method that fits the system, substitution when a variable is isolated, elimination when coefficients align, saves time, while graphing offers a visual check.

Checking a proposed solution

A fast way to handle a multiple-choice system, especially on the no-calculator portions of practice, is to test the answer choices. A candidate ordered pair is the solution only if it satisfies both equations, so substitute it into each. The pair (3,5)(3, 5) solves y=2x−1y = 2x - 1 and x+y=8x + y = 8 because 5=2(3)−15 = 2(3) - 1 and 3+5=83 + 5 = 8; a pair that fits only one equation is not a solution. This back-check is also the safeguard against the coordinate-reversal error, since (5,3)(5, 3) would fail the first equation immediately.

Reading the number of solutions from the equations

You can often classify a system without fully solving it by comparing slopes and intercepts. Put both equations in slope-intercept form: different slopes guarantee exactly one solution; equal slopes with different intercepts give no solution; equal slopes and equal intercepts give infinitely many. This is quicker than solving when an inline-choice item only asks for the count, and it reinforces the geometric picture of two lines crossing, running parallel, or coinciding.

Try this

Q1. Solve y=x+2y = x + 2 and 3x+y=103x + y = 10. [1 point]

  • Cue. 3x+(x+2)=10⇒4x=8⇒x=23x + (x + 2) = 10 \Rightarrow 4x = 8 \Rightarrow x = 2, y=4y = 4: (2,4)(2, 4).

Q2. How many solutions do y=4x−3y = 4x - 3 and y=4x+5y = 4x + 5 have? [1 point]

  • Cue. Same slope, different intercept: parallel, no solution.

Exam-style practice questions

Practice questions written in the style of TEA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

STAAR (style)1 marksMultiple choice. What is the solution to the system y=2x−1y = 2x - 1 and x+y=8x + y = 8? (A) (3,5)(3, 5) (B) (5,3)(5, 3) (C) (2,3)(2, 3) (D) (4,4)(4, 4)
Show worked answer →

The correct answer is (A).

Use substitution since yy is already isolated: x+(2x−1)=8x + (2x - 1) = 8, so 3x−1=83x - 1 = 8, 3x=93x = 9, x=3x = 3. Then y=2(3)−1=5y = 2(3) - 1 = 5, giving (3,5)(3, 5). Check in the second equation: 3+5=83 + 5 = 8. Choice (B) reverses the coordinates, a common slip; the answer is written as (x,y)(x, y).

STAAR (style)2 marksEquation editor. Solve the system using elimination and enter the ordered pair: 3x+2y=163x + 2y = 16 and x−2y=−8x - 2y = -8.
Show worked answer →

Enter (2,5)(2, 5).

The yy-terms are already opposites (+2y+2y and −2y-2y), so add the equations: (3x+2y)+(x−2y)=16+(−8)(3x + 2y) + (x - 2y) = 16 + (-8) gives 4x=84x = 8, so x=2x = 2. Substitute into x−2y=−8x - 2y = -8: 2−2y=−82 - 2y = -8, so −2y=−10-2y = -10 and y=5y = 5. The solution is (2,5)(2, 5). Adding to cancel a variable is the fastest method when coefficients are already opposite.

Related dot points

Sources & how we know this