Skip to main content
VirginiaMathsSyllabus dot point

How do you solve a system of two linear equations by graphing, substitution, and elimination, and what does the number of solutions mean?

Solve systems of two linear equations in two variables by graphing, substitution, and elimination, and interpret one solution, no solution, or infinitely many solutions in context (A.EI.4).

A Virginia SOL Algebra I answer on A.EI.4: solving systems by graphing, substitution, and elimination, classifying one, no, or infinitely many solutions, and modeling situations with a system.

Generated by Claude Opus 4.89 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. What a system means
  3. Substitution
  4. Elimination
  5. Graphing and the number of solutions
  6. Why the algebra and the geometry agree
  7. Modeling with a system
  8. How the SOL examines this topic
  9. Try this

What this topic is asking

A.EI.4 asks you to solve a system of two linear equations in two variables by graphing, substitution, and elimination, and to interpret the number of solutions. On the Virginia Algebra I SOL these are Equations and Inequalities items: solve and type an ordered pair, identify the number of solutions, or set up a system from a word problem. They appear as fill-in-the-blank, multiple choice, and coordinate-plane items.

What a system means

A system of equations is two (or more) equations considered together, and its solution is the set of values that make every equation true at the same time. For two lines, that is their point of intersection (x,y)(x, y). Solving the system is finding where the lines meet.

Substitution

Use substitution when one equation already has a variable isolated (like y=3x+1y = 3x + 1). Substitute that expression into the other equation, solve for the remaining variable, then back-substitute.

Elimination

Use elimination when the coefficients of one variable are equal or opposite, or can be made so by multiplying. Add or subtract the equations to cancel that variable.

For 3x+2y=163x + 2y = 16 and x2y=0x - 2y = 0: the +2y+2y and 2y-2y are opposites, so add the equations: 4x=164x = 16, x=4x = 4. Then 42y=04 - 2y = 0 gives y=2y = 2, so (4,2)(4, 2). If neither variable lines up, multiply one or both equations first (for example, double an equation so a 2y2y becomes 4y4y to match the other).

Graphing and the number of solutions

Graphing both lines and reading the crossing point works for whole-number intersections, and the Desmos calculator makes it quick. More importantly, the picture classifies the system:

  • One solution. The lines have different slopes and cross at one point (a consistent, independent system).
  • No solution. The lines have the same slope but different intercepts, so they are parallel and never meet (inconsistent).
  • Infinitely many solutions. The two equations describe the same line (same slope and intercept), so every point on it works (consistent, dependent).

Why the algebra and the geometry agree

The three outcomes of a system are the same three outcomes you met when solving a single linear equation, for exactly the same reason. When you solve a system algebraically and the variables cancel, the leftover statement tells you which case you are in: a true statement (like 0=00 = 0) means the equations are the same line, so infinitely many solutions; a false statement (like 0=50 = 5) means the lines are parallel, so no solution. When the variables do not cancel, you get a unique value, so one solution. This mirrors the geometry precisely: identical lines overlap everywhere, parallel lines never touch, and lines with different slopes cross once. Picking a method (substitution, elimination, graphing) does not change the answer, only the route, because all three are asking the same question: which (x,y)(x, y) lies on both lines.

Modeling with a system

Word problems with two unknowns usually become a system. Name both unknowns, write one equation for each piece of information, then solve. "A school buys notebooks at \3andfoldersat and folders at \22, spending \60on on 25items"gives items" gives n + f = 25and and 3n + 2f = 60.Substituting. Substituting n = 25 - fleadsto leads to f = 15foldersand folders and n = 10notebooks;check notebooks; check 3(10) + 2(15) = 60$.

How the SOL examines this topic

  • Fill-in-the-blank. Solve a system and type the ordered pair (x,y)(x, y).
  • Multiple choice. Identify the number of solutions, or pick the solution.
  • Coordinate-plane items. Graph two lines and select their intersection, or build a system from a context.

Try this

Q1. Solve y=x+1y = x + 1 and 2x+y=72x + y = 7. [2 points]

  • Cue. 2x+(x+1)=73x=6x=22x + (x + 1) = 7 \Rightarrow 3x = 6 \Rightarrow x = 2, y=3y = 3; (2,3)(2, 3).

Q2. How many solutions does a system of two identical lines have? [1 point]

  • Cue. The same line, so infinitely many.

Exam-style practice questions

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

SOL (style)2 marksFill in the blank. Solve the system y=2x1y = 2x - 1 and x+y=8x + y = 8. Type the solution as an ordered pair (x,y)(x, y).
Show worked answer →

The solution is (3,5)(3, 5).

Use substitution because yy is already isolated. Replace yy in the second equation: x+(2x1)=8x + (2x - 1) = 8, so 3x1=83x - 1 = 8, 3x=93x = 9, x=3x = 3. Then y=2(3)1=5y = 2(3) - 1 = 5. Check in both: 3+5=83 + 5 = 8 and 5=2(3)15 = 2(3) - 1. Solving for xx but forgetting to find yy leaves the ordered pair incomplete.

SOL (style)1 marksMultiple choice. Two lines in a system have the same slope but different y-intercepts. How many solutions does the system have? (A) none (B) exactly one (C) two (D) infinitely many
Show worked answer →

The correct answer is (A).

Same slope with different y-intercepts means the lines are parallel and never intersect, so there is no point that satisfies both equations: no solution (an inconsistent system). If the lines had the same slope and the same intercept they would be identical, giving infinitely many solutions; different slopes would cross once.

Related dot points

Sources & how we know this