Elimination Method Calculator

Enter the coefficients of the 2x2 system of linear equations to solve it step by step using the elimination method with an interactive graph.

x + y =
x + y =

Quick Examples

Rate this tool

How to Use the Calculator

This online elimination method calculator (also known as the addition method) is an algebraic and graphing tool designed to solve 2x2 systems of linear equations. In addition to giving you the direct solution and classifying the system analytically, the math engine walks through the complete step-by-step procedure and generates an interactive graph on the Cartesian coordinate plane.

How to enter coefficients into the grid:

  • Unit coefficients (1 and -1): If a variable appears without a visible number in your problem (for example, x + 2y = 8 or -y = 4), you must explicitly enter 1 or -1 in the corresponding box so the calculator can process the term.
  • Missing terms or blank cells: If one of the equations does not contain one of the variables (for example, 2x = 6), you can enter 0 in the missing variable's box or leave it blank; the system automatically treats empty fields as zero.
  • Supported number formats: You can enter integers (positive or negative), decimal values (with a period or comma, such as 1.5 or -0.25), and exact fractions (such as 1/2, -3/4, or 7/3). The engine preserves fractions symbolically throughout the entire calculation to avoid rounding errors.

Once you enter the values and click the calculate button, the output is organized into three main sections:

1. Quick Answer and System Classification
In the first highlighted block, you will get an immediate diagnosis of the system based on the nature of its solutions:

  • Consistent and independent system: Has a unique solution. Both exact and decimal values for x and y are displayed, along with the coordinates of the intersection point P(x, y) where the two lines cross.
  • Inconsistent system: Has no solution. This occurs when the equations represent two parallel lines that never intersect on the plane.
  • Consistent and dependent system: Has infinitely many solutions. This occurs when both equations represent the exact same geometric line (coincident lines).

2. Step-by-Step Mathematical Solution
To provide a clean, easy-to-follow breakdown, the algorithm analyzes the coefficients of both equations and automatically selects the most convenient variable to eliminate (prioritizing terms that are already opposites, equal, or integer multiples of each other). The procedure is structured into five stages:

  1. Identify the system: The system is presented in standard notation, labeling equation (1) and equation (2).
  2. Match the coefficients: One or both equations are multiplied by the appropriate factors so that the coefficients of the chosen variable have the same absolute value and opposite signs, producing an equivalent system.
  3. Add the equations vertically: Both equations are added term by term to cancel out the selected variable and reduce the problem to a single-variable linear equation.
  4. Solve the resulting equation: The remaining variable is solved for, with its value highlighted in a box. If the system has no solution or infinitely many solutions, this step demonstrates the contradiction (for example, 0 = 5) or the identity (for example, 0 = 0).
  5. Back-substitution: The value found is substituted into the simpler original equation to solve for the second variable and complete the solution set.

3. Interactive Graph on the Cartesian Plane
In the bottom section, the geometric representation of the system is plotted in two dimensions. Each linear equation is drawn in a distinct color, highlighting the intersection point whenever a unique solution exists.

Worked Examples

Below are examples of problems solved using the calculator.

Example 1

Solve the following system of linear equations using the elimination method:

$$ \displaystyle \begin{cases} 3x + 2y = 12 \\ 5x - 2y = 4 \end{cases} $$

Result

The system has a unique solution (consistent and independent system):

$$ \displaystyle \begin{cases} \displaystyle x = 2 \\[1em] \displaystyle y = 3 \end{cases} $$

The lines intersect at a single point:

$$ \displaystyle P\left(2, 3\right) $$

Step-by-Step Solution

1. Identify the system of equations.

The system of linear equations to solve is:

$$ \displaystyle \begin{cases} 3x + 2y = 12 \quad (1) \\[0.5em] 5x - 2y = 4 \quad (2) \end{cases} $$

2. Make the coefficients of the variable to eliminate opposites.

The coefficients of the variable y are already opposites, so there is no need to multiply the equations.

3. Add the equations to eliminate the variable.

Add both equations term by term to eliminate the variable y:

$$ \displaystyle \begin{array}{r} 3x + 2y = 12 \\[0.4em] + \quad 5x - 2y = 4 \\[0.4em] \hline 8x = 16 \end{array} $$

4. Solve the resulting single-variable linear equation.

Solve for x:

$$ \displaystyle x = \frac{16}{8} \\[0.5em] \boxed{x = 2} $$

5. Substitute the known value to find the other variable.

Substitute the value of x into equation (1) and solve for y:

$$ \displaystyle 3x + 2y = 12 \\[0.5em] 3(2) + 2y = 12 \\[0.5em] 2y + 6 = 12 \\[0.5em] 2y = 12 - 6 \\[0.5em] 2y = 6 \\[0.5em] y = \frac{6}{2} \\[0.5em] \boxed{y = 3} $$

Therefore, the solution to the system is:

$$ \displaystyle \begin{cases} \displaystyle x = 2 \\[1em] \displaystyle y = 3 \end{cases} $$
Graph of the lines 3x + 2y = 12 and 5x - 2y = 4 intersecting at the point (2, 3)
Example 2

Find the solution to the 2x2 system of equations using elimination:

$$ \displaystyle \begin{cases} 4x + 5y = 13 \\ 6x - 2y = 5 \end{cases} $$

Result

The system has a unique solution (consistent and independent system):

$$ \displaystyle \begin{cases} \displaystyle x = \frac{51}{38} \approx 1.34 \\[1em] \displaystyle y = \frac{29}{19} \approx 1.53 \end{cases} $$

Both lines intersect at the point:

$$ \displaystyle P\left(\frac{51}{38}, \frac{29}{19}\right) \approx \left(1.34, 1.53\right) $$

Step-by-Step Solution

1. Identify the system of equations.

The system of equations to solve is as follows:

$$ \displaystyle \begin{cases} 4x + 5y = 13 \quad (1) \\[0.5em] 6x - 2y = 5 \quad (2) \end{cases} $$

2. Make the coefficients of the variable to eliminate opposites.

Multiply equation (1) by 3 and equation (2) by -2 so that the coefficients of x become opposites:

$$ \displaystyle \begin{cases} 3(4x + 5y) = 3(13) \\[0.5em] (-2)(6x - 2y) = (-2)(5) \end{cases} $$

This gives us the following equivalent system:

$$ \displaystyle \begin{cases} 12x + 15y = 39 \quad (1) \\[0.5em] -12x + 4y = -10 \quad (2) \end{cases} $$

3. Add the equations to eliminate the variable.

Add both equations term by term to cancel out the variable x:

$$ \displaystyle \begin{array}{r} 12x + 15y = 39 \\[0.4em] + \quad -12x + 4y = -10 \\[0.4em] \hline 19y = 29 \end{array} $$

4. Solve the resulting single-variable linear equation.

Solve for y:

$$ \displaystyle \boxed{y = \frac{29}{19}} $$

5. Substitute the known value to find the other variable.

Substitute the value obtained for y into equation (1) to solve for x:

$$ \displaystyle 4x + 5y = 13 \\[0.5em] 4x + 5\left(\frac{29}{19}\right) = 13 \\[0.5em] 4x + \frac{145}{19} = 13 \\[0.5em] 4x = 13 - \frac{145}{19} \\[0.5em] 4x = \frac{102}{19} \\[0.5em] x = \frac{\frac{102}{19}}{4} \\[0.5em] \boxed{x = \frac{51}{38}} $$

Therefore, the solution to the system is:

$$ \displaystyle \begin{cases} \displaystyle x = \frac{51}{38} \approx 1.34 \\[1em] \displaystyle y = \frac{29}{19} \approx 1.53 \end{cases} $$
Graph of the lines 4x + 5y = 13 and 6x - 2y = 5 intersecting at the point (51/38, 29/19)
Example 3

Determine the values of the variables in the following system with fractional coefficients:

$$ \displaystyle \begin{cases} \frac{2}{3}x + \frac{1}{4}y = 3 \\\\ \frac{1}{2}x - \frac{3}{4}y = -1 \end{cases} $$

Result

The system has a unique solution (consistent and independent system):

$$ \displaystyle \begin{cases} \displaystyle x = \frac{16}{5} = 3.2 \\[1em] \displaystyle y = \frac{52}{15} \approx 3.47 \end{cases} $$

The point of intersection of the lines is:

$$ \displaystyle P\left(\frac{16}{5}, \frac{52}{15}\right) \approx \left(3.2, 3.47\right) $$

Step-by-Step Solution

1. Identify the system of equations.

We start with the following system of equations with fractions:

$$ \displaystyle \begin{cases} \frac{2}{3}x + \frac{1}{4}y = 3 \quad (1) \\[0.5em] \frac{1}{2}x - \frac{3}{4}y = -1 \quad (2) \end{cases} $$

2. Make the coefficients of the variable to eliminate opposites.

Multiply equation (1) by 3 so that the coefficients of y become opposites:

$$ \displaystyle \begin{cases} 3(\frac{2}{3}x + \frac{1}{4}y) = 3(3) \\[0.5em] \frac{1}{2}x - \frac{3}{4}y = -1 \end{cases} $$

This yields the following equivalent system:

$$ \displaystyle \begin{cases} 2x + \frac{3}{4}y = 9 \quad (1) \\[0.5em] \frac{1}{2}x - \frac{3}{4}y = -1 \quad (2) \end{cases} $$

3. Add the equations to eliminate the variable.

Add both equations term by term to eliminate the variable y:

$$ \displaystyle \begin{array}{r} 2x + \frac{3}{4}y = 9 \\[0.4em] + \quad \frac{1}{2}x - \frac{3}{4}y = -1 \\[0.4em] \hline \frac{5}{2}x = 8 \end{array} $$

4. Solve the resulting single-variable linear equation.

Solve for the variable x:

$$ \displaystyle x = \frac{8}{\frac{5}{2}} \\[0.5em] \boxed{x = \frac{16}{5}} $$

5. Substitute the known value to find the other variable.

Substitute x into equation (1) and solve for y:

$$ \displaystyle \frac{2}{3}x + \frac{1}{4}y = 3 \\[0.5em] \frac{2}{3}\left(\frac{16}{5}\right) + \frac{1}{4}y = 3 \\[0.5em] \frac{1}{4}y + \frac{32}{15} = 3 \\[0.5em] \frac{1}{4}y = 3 - \frac{32}{15} \\[0.5em] \frac{1}{4}y = \frac{13}{15} \\[0.5em] y = \frac{\frac{13}{15}}{\frac{1}{4}} \\[0.5em] \boxed{y = \frac{52}{15}} $$

Thus, the solution to the system is:

$$ \displaystyle \begin{cases} \displaystyle x = \frac{16}{5} = 3.2 \\[1em] \displaystyle y = \frac{52}{15} \approx 3.47 \end{cases} $$
Graph of the lines (2/3)x + (1/4)y = 3 and (1/2)x - (3/4)y = -1 intersecting at the point (16/5, 52/15)
Example 4

Analyze and solve the following system of linear equations using the addition method:

$$ \displaystyle \begin{cases} 3x - 2y = 7 \\ 6x - 4y = 9 \end{cases} $$

Result

The system has no solution (inconsistent system). The lines are parallel and do not intersect at any point.

Step-by-Step Solution

1. Identify the system of equations.

Consider the following system of linear equations:

$$ \displaystyle \begin{cases} 3x - 2y = 7 \quad (1) \\[0.5em] 6x - 4y = 9 \quad (2) \end{cases} $$

2. Make the coefficients of the variable to eliminate opposites.

Multiply equation (1) by -2 to give the variable x opposite coefficients:

$$ \displaystyle \begin{cases} (-2)(3x - 2y) = (-2)(7) \\[0.5em] 6x - 4y = 9 \end{cases} $$

This gives us the following equivalent system:

$$ \displaystyle \begin{cases} -6x + 4y = -14 \quad (1) \\[0.5em] 6x - 4y = 9 \quad (2) \end{cases} $$

3. Add the equations to eliminate the variable.

Add the two equations term by term to eliminate x:

$$ \displaystyle \begin{array}{r} -6x + 4y = -14 \\[0.4em] + \quad 6x - 4y = 9 \\[0.4em] \hline 0 = -5 \end{array} $$

4. Analyze the resulting statement.

Examine the statement obtained after adding the equations:

$$ \displaystyle \boxed{0 = -5} $$

This statement is a mathematical contradiction; therefore, the system has no solution (the lines are parallel).

Graph of two parallel lines corresponding to the equations 3x - 2y = 7 and 6x - 4y = 9 with no points of intersection
Example 5

Find the solution set of the following system of equations using elimination:

$$ \displaystyle \begin{cases} 2x + 3y = 5 \\ 4x + 6y = 10 \end{cases} $$

Result

The system has infinitely many solutions (consistent and dependent system). Both equations describe the exact same line (coincident lines).

Step-by-Step Solution

1. Identify the system of equations.

The given system of equations is:

$$ \displaystyle \begin{cases} 2x + 3y = 5 \quad (1) \\[0.5em] 4x + 6y = 10 \quad (2) \end{cases} $$

2. Make the coefficients of the variable to eliminate opposites.

Multiply equation (1) by -2 so that the variable x has opposite coefficients:

$$ \displaystyle \begin{cases} (-2)(2x + 3y) = (-2)(5) \\[0.5em] 4x + 6y = 10 \end{cases} $$

This leads to the following equivalent system:

$$ \displaystyle \begin{cases} -4x - 6y = -10 \quad (1) \\[0.5em] 4x + 6y = 10 \quad (2) \end{cases} $$

3. Add the equations to eliminate the variable.

Add both equations term by term to eliminate x:

$$ \displaystyle \begin{array}{r} -4x - 6y = -10 \\[0.4em] + \quad 4x + 6y = 10 \\[0.4em] \hline 0 = 0 \end{array} $$

4. Analyze the resulting statement.

Review the statement obtained after adding the equations:

$$ \displaystyle \boxed{0 = 0} $$

Since this statement is an identity that holds true for any values satisfying the equation, the system has infinitely many solutions (the lines are coincident).

Graph of two coincident lines corresponding to the equations 2x + 3y = 5 and 4x + 6y = 10

Related Tools

Daniel Machado

Professor of Mathematics, graduated from the Faculty of Exact, Chemical and Natural Sciences of the National University of Misiones (UNAM). Developer and creator of RigelUp, dedicated to building tools for mathematical learning.