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.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
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 . Solving the system is finding where the lines meet.
Substitution
Use substitution when one equation already has a variable isolated (like ). 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 and : the and are opposites, so add the equations: , . Then gives , so . If neither variable lines up, multiply one or both equations first (for example, double an equation so a becomes 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 ) means the equations are the same line, so infinitely many solutions; a false statement (like ) 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 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 \3\, spending \6025n + f = 253n + 2f = 60n = 25 - ff = 15n = 103(10) + 2(15) = 60$.
How the SOL examines this topic
- Fill-in-the-blank. Solve a system and type the ordered pair .
- 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 and . [2 points]
- Cue. , ; .
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 and . Type the solution as an ordered pair .Show worked answer →
The solution is .
Use substitution because is already isolated. Replace in the second equation: , so , , . Then . Check in both: and . Solving for but forgetting to find 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 manyShow 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
- Graph systems of linear inequalities in two variables, identify the overlapping solution region, and determine whether a given point is a solution (A.EI.5).
A Virginia SOL Algebra I answer on A.EI.5: graphing a linear inequality as a half-plane, solid versus dashed boundaries, finding the overlap of a system, and testing whether a point is a solution.
- Solve multi-step linear equations in one variable, including equations with the variable on both sides and with rational-number coefficients, and classify an equation as having one solution, no solution, or infinitely many solutions (A.EI.1).
A Virginia SOL Algebra I answer on A.EI.1: the balance method, clearing fractions, variables on both sides, modeling with linear equations, and identifying one, no, or infinitely many solutions.
- Write equations of linear functions in slope-intercept and point-slope form given a graph, a slope and a point, or two points, and apply the slope relationships for parallel and perpendicular lines (A.F.4).
A Virginia SOL Algebra I answer on A.F.4: writing linear equations in slope-intercept and point-slope form, building from a slope and a point or two points, and parallel and perpendicular slope relationships.
- Calculate and interpret the slope of a linear function as a rate of change from a graph, table, equation, or two points, and identify the meaning of slope and intercepts in context (A.F.3).
A Virginia SOL Algebra I answer on A.F.3: the slope formula, slope as rate of change, reading slope and intercepts from graphs and tables, and interpreting them in context.
- Rearrange formulas and literal equations to solve for a specified variable, treating the other letters as constants and using inverse operations (A.EI.1).
A Virginia SOL Algebra I answer on rearranging literal equations and formulas: isolating a chosen variable, treating other letters as constants, clearing fractions, and factoring out the target variable when it appears twice.
Sources & how we know this
- 2023 Mathematics Standards of Learning — Virginia Department of Education (2023)
- Algebra I SOL Test Blueprint — Virginia Department of Education (2023)