Skip to main content
ScanSolve logoScanSolve
Toggle sidebar
  • Home
  • Tutor
  • Humanizer
  • AI Detector
  • Questions
  • Blog
  • Mobile App

  • Home
  • Tutor
  • Humanizer
  • AI Detector

  • Questions
    Math homework helpMath
    Physics homework helpPhysics
    Chemistry homework helpChemistry
    Biology homework helpBiology
    Computer Science homework helpComputer Science
    History homework helpHistory
    More homework helpMore
  • Blog

  • Mobile App

Browse Subjects

  • Math
  • Physics
  • Chemistry
  • Biology
  • Computer Science
  • History
  • All Subjects
ScanSolvePLUS
  • Unlimited answers
  • ScanSolve AI Pro
Start Free Trial →
Try on WhatsApp
App StoreGoogle Play

Scan it, Solve it

support@getscansolve.com

© 2026 ScanSolve. All rights reserved.

Company

About UsCareersContact Us

Resources

Questions HubAI HumanizerAI DetectorBlog

Support

FAQTerms of ServicePrivacy Policy

Download App

Download ScanSolve on App StoreGet ScanSolve on Google PlayChat on WhatsApp
Home/Blog/How to Solve Systems of Equations: Substitution, Elimination & Graphing
Mathematics

How to Solve Systems of Equations: Substitution, Elimination & Graphing

Updated March 12, 20269 min read
Three methods to solve systems of equations: graphing, substitution, elimination

What Is a System of Equations?

A system of equations is a set of two or more equations with the same variables. The solution to the system is the set of values that satisfies ALL the equations simultaneously. For a system of two linear equations in two variables (x and y), the solution is the point (x, y) where the two lines intersect on a graph.

For example, the system x + y = 10 and x - y = 4 has the solution x = 7, y = 3, because 7 + 3 = 10 and 7 - 3 = 4. Both equations are satisfied by the same pair of values. Systems of equations arise constantly in real-world problems: mixing solutions in chemistry, finding break-even points in business, balancing forces in physics, and optimizing resources in engineering.

A system of two linear equations can have exactly one solution (the lines intersect at one point), no solution (the lines are parallel — they have the same slope but different y-intercepts), or infinitely many solutions (the lines are identical — the equations are multiples of each other). Knowing which case you are dealing with helps you choose the right approach and interpret your results.

Method 1: Solving by Graphing

How to solve systems of equations by graphing

The graphing method involves plotting both equations on the same coordinate plane and identifying the point of intersection. To graph each equation, convert it to slope-intercept form (y = mx + b), plot the y-intercept, use the slope to find additional points, and draw the line.

Example: Solve y = 2x + 1 and y = -x + 7 by graphing. The first line has slope 2 and y-intercept 1. The second has slope -1 and y-intercept 7. Plotting both, they intersect at (2, 5). Check: 5 = 2(2) + 1 = 5 ✓, and 5 = -(2) + 7 = 5 ✓.

The graphing method is excellent for visualizing the problem and understanding what a solution means geometrically. However, it has a major limitation: if the solution involves non-integer values (like x = 1/3, y = 2/7), reading exact coordinates from a graph is difficult. For precise answers, the algebraic methods (substitution and elimination) are more reliable. In practice, graphing is best used as a check or when a problem explicitly asks for it.

Method 2: Substitution

The substitution method works by solving one equation for one variable, then substituting that expression into the other equation. This reduces the system to a single equation with one variable, which you can solve directly.

Step-by-step example: Solve the system 2x + y = 8 and 3x - 2y = 1. Step 1: Solve the first equation for y: y = 8 - 2x. Step 2: Substitute into the second equation: 3x - 2(8 - 2x) = 1. Step 3: Simplify and solve: 3x - 16 + 4x = 1, so 7x = 17, and x = 17/7. Step 4: Substitute back to find y: y = 8 - 2(17/7) = 56/7 - 34/7 = 22/7. Solution: (17/7, 22/7).

Substitution works best when one equation is already solved for a variable (like y = 3x + 2) or when a variable has a coefficient of 1 or -1, making it easy to isolate. If both equations have variables with coefficients other than 1, substitution can lead to messy fractions. In that case, elimination is often cleaner.

Method 3: Elimination (Addition/Subtraction)

The elimination method works by adding or subtracting the equations to eliminate one variable. If the coefficients of one variable are opposites (like 3y and -3y), simply add the equations. If not, multiply one or both equations by constants to create opposite coefficients.

Example: Solve 3x + 2y = 16 and 5x - 2y = 8. Notice that the y-coefficients are already opposites (2y and -2y). Add the equations: (3x + 2y) + (5x - 2y) = 16 + 8, giving 8x = 24, so x = 3. Substitute back: 3(3) + 2y = 16, so 2y = 7, and y = 3.5. Solution: (3, 3.5).

When coefficients are not conveniently opposite, multiply to make them so. Solve 2x + 3y = 12 and 5x + 4y = 23. Multiply the first equation by 5 and the second by -2: 10x + 15y = 60 and -10x - 8y = -46. Add: 7y = 14, so y = 2. Substitute: 2x + 6 = 12, so x = 3. Solution: (3, 2).

Elimination is generally the fastest method for systems where both equations are in standard form (Ax + By = C) and the coefficients are integers. It avoids the fractions that often appear in substitution. Many experienced students develop an instinct for which method will be cleanest for a given system.

Special Cases: No Solution and Infinite Solutions

If the elimination process eliminates both variables and produces a false statement like 0 = 5, the system has no solution. This means the lines are parallel. Example: x + y = 3 and 2x + 2y = 10. Multiply the first by -2: -2x - 2y = -6. Add to the second: 0 = 4. This is false, so there is no solution. You can verify: both equations have slope -1, but different y-intercepts (3 and 5), confirming they are parallel.

If the process produces a true statement like 0 = 0, the system has infinitely many solutions. The two equations represent the same line. Example: x + y = 3 and 2x + 2y = 6. Multiply the first by -2: -2x - 2y = -6. Add to the second: 0 = 0. The second equation is just double the first, so every point on the line x + y = 3 is a solution.

On exams, always interpret your result. If you get a unique solution (x, y), verify it in BOTH original equations. If you get a contradiction, state 'no solution' and explain the lines are parallel. If you get an identity, state 'infinitely many solutions' and express one variable in terms of the other (e.g., 'all points (x, 3-x)').

Systems of Three Equations

Systems with three variables (x, y, z) require three equations and involve the same methods applied in stages. The strategy is to use elimination or substitution to reduce the system from three equations in three variables to two equations in two variables, then solve that two-variable system using the methods above.

Example: Solve x + y + z = 6, 2x - y + z = 3, and x + 2y - z = 5. Add the first and third equations to eliminate z: 2x + 3y = 11. Add the first and second equations: 3x + 2z = 9 — wait, this still has z. Instead, add the second and third: 3x + y = 8. Now solve the two-variable system: 2x + 3y = 11 and 3x + y = 8. From the second: y = 8 - 3x. Substitute: 2x + 3(8 - 3x) = 11, so 2x + 24 - 9x = 11, giving -7x = -13, x = 13/7. Then y = 8 - 39/7 = 17/7. Finally z = 6 - 13/7 - 17/7 = 12/7.

For larger systems, Gaussian elimination (using augmented matrices and row operations) provides a systematic approach. Many calculators and software tools can solve these systems instantly, but understanding the manual methods is essential for exams and for understanding what the tools are doing behind the scenes. If you are stuck on a system of equations, ScanSolve can solve it with complete step-by-step work.

ScanSolve Editorial Team

ScanSolve Editorial Team

Our team of educators and AI specialists creates step-by-step guides to help students master every subject.

In This Article

  • What Is a System of Equations?
  • Method 1: Solving by Graphing
  • Method 2: Substitution
  • Method 3: Elimination (Addition/Subtraction)
  • Special Cases: No Solution and Infinite Solutions
  • Systems of Three Equations

Explore More Homework Help

Algebra Homework HelpPre-Algebra Homework HelpMathematics Homework HelpCalculus Homework HelpBrowse All Questions

Need Help With Your Homework?

Snap a photo of any homework problem and get a step-by-step solution instantly. ScanSolve handles math, science, history, and more.

Try ScanSolve Free

Related Articles

Quadratic formula and parabola graph showing the solutions of a quadratic equation
Mathematics

How to Solve Quadratic Equations: Complete Step-by-Step Guide

Learn how to solve quadratic equations using factoring, the quadratic formula, and completing the square. Step-by-step examples with detailed explanations for students.

Right triangle diagram showing the Pythagorean theorem with sides a, b, and hypotenuse c
Mathematics

What Is the Pythagorean Theorem? Formula, Proof & Examples

Learn the Pythagorean theorem with clear examples and proofs. Understand a² + b² = c² and how to use it to find missing sides of right triangles.

Triangle area formulas diagram showing base-height, Heron, and trigonometric methods
Mathematics

How to Find the Area of a Triangle: Formulas, Heron's Formula & Examples

Learn how to find the area of a triangle using base and height, Heron's formula, and trigonometry. Step-by-step examples and practice problems for geometry students.