System of Equations Calculator - MathCracker.com (2024)

Instructions: Use this system of equations calculator to solve a general system of equations you provide, with the same number of equations and variables, showing all the steps. First, click on one of the buttons below to specify the dimension of the system (number of equations and variables). For example, "2x2" means "2 equations and 2 variables"

Then, fill out the coefficients associated to all the variables and the right hand size, for each of the equations. If a variable is not present in one specific equation, type "0" or leave it empty.

More about this system of equations solver

This calculator allows you to compute the solution of a system of linear equations, provided that the number of equations is the same as the number of variables, and you can define a system of up to five variables and five equations.

Solving a system of equations can be laborious and requires lots of computations, especially for large systems.

How to solve a system of equations

There are several strategies, but the most commonly used are:

  • The graphical method
  • The substitution method
  • The elimination method

Those methods are broadly used, especially for 2x2 system (this is, systems with 2 variables and 2 equations). The problem with these methods is that they get cumbersome for larger systems.

And the graphical method is only applicable for 2x2 systems. For large systems you can use more systematic rules like Gaussian elimination and Cramer's Method.

There is several methods that can be used to compute solutions to systems of linear equations, but we favor using the Cramer's Rule approach, as it is one of the easiest ways of recalling the calculation of the solutions of system.

How to solve a system of equations with this calculator

  1. Decide on the size of the system (number of variables and number of equations). The options are 2x2, 3x3, 4x4 and 5x5 systems
  2. Once the size is specified, you need to specify the coefficients associated to each variable
  3. If a coefficient is not used, leave it blank or type 0
  4. Click on "Calculate" and this solver will show you all the steps and solutions

Cramer's Rule is tightly related to this calculator of solutions of a system of equation using matrices, so you can also use that route instead.

System of Equations Calculator - MathCracker.com (1)

Is this a System of 5 equations solver

Yes, with this solver you can get the solutions to systems of up to 5 equations and 5 variables. The methodology for more variables and equations does not really change, but the hand calculations become really lengthy. So for bigger than 5 equations you may want to solve it with a computer.

How do you solve a system of equations using this solver?

Step 1: You need to specify the system of equations you want to solve, by filling out the blanks with the coefficients of the system. Observe that when a variable is not in the equation, its coefficient should be set to zero.

Step 2: Just click "Calculate", and this solver will do the rest. First, the calculator will find the matrix form.

Step 3: The solver will compute the determinant of the matrix A. If det(A) = 0, we know that the system will not have a unique solution.

Step 4: The calculator will compute the adjoint matrix.

Step 5: The solver uses Cramer's Rule formula to compute the corresponding solutions:

\[x_j = \displaystyle \frac{\det(A^j) }{\det(A)}\]

So, how would you solve a 6 variable equation?

It would be exactly the same approach, only that the calculation of the adjoint matrix would be potentially very laborious. You would be better off with a CAS like Mathematica or Matlab to get the solutions, skipping all the step by step, which could be too extensive.

Can you use Excel to solve a system of equations?

Technically you can, using some special group functions, such as "=MMULT", but usually the average Excel user won't know how to do it, typically.

The advantage of this System of equations solver with steps is that all you need to do is to specify the system of equations you want to solve, using a visually intuitive from. From then on, all you need to do is to click "Compute" to get step-by-step calculation.

System of Equations Calculator - MathCracker.com (2)

Example of a system of equation solution

Consider the following system of equation

\[ \begin{aligned}2 x&\, + \, &3 y&\, + \, & z & \, = \,3\\2 x&\, + \, &2 y&\, + \, &4 z & \, = \,1\\ x&\, + \, & y&\, + \, & z & \, = \,2\end{aligned}\]

Solve the above system using Cramer's Rule, showing all the steps.

Solution: A \(3 \times 3\) system of linear equations has been provided.

Step 1: Find the corresponding Matrix Structure

The first step consists of finding the corresponding matrix \(A\) and vector \(b\) that allow the system to be written as \(A x = b\).

In this case, and based on the coefficients of the equations provided, we get that

\[ A = \begin{bmatrix}\displaystyle 2&\displaystyle 3&\displaystyle 1\\[0.6em]\displaystyle 2&\displaystyle 2&\displaystyle 4\\[0.6em]\displaystyle 1&\displaystyle 1&\displaystyle 1\end{bmatrix}\]

and

\[ b = \begin{bmatrix}\displaystyle 3\\[0.6em]\displaystyle 1\\[0.6em]\displaystyle 2\end{bmatrix}\]

Step 2: Compute the Determinant of the Matrix

Now, we need to compute the determinant of \(A\) in order to know whether or not we can use Cramer's Rule:

Using the sub-determinant formula we get:

\[ \begin{vmatrix}\displaystyle 2&\displaystyle 3&\displaystyle 1\\[0.6em]\displaystyle 2&\displaystyle 2&\displaystyle 4\\[0.6em]\displaystyle 1&\displaystyle 1&\displaystyle 1\end{vmatrix} = 2 \cdot \left( 2 \cdot \left( 1 \right) - 1 \cdot \left(4 \right) \right) - 3 \cdot \left( 2 \cdot \left( 1 \right) - 1 \cdot \left(4 \right) \right) + 1 \cdot \left( 2 \cdot \left( 1 \right) - 1 \cdot \left(2 \right) \right)\] \[ = 2 \cdot \left( -2 \right) - 3 \cdot \left( -2 \right) + 1 \cdot \left( 0 \right) = 2\]

Since \(\det(A) = \displaystyle 2 \ne 0\), we conclude that the matrix is invertible, and we can continue with the use of Cramer's Rule.

Step 3: Computing the Solutions

Now, we need to compute each of the solutions \(x_j\), by using the formula:

\[ x_j = \displaystyle \frac{\det(A^j)}{\det(A)}\]

where \(A^j\) correponds exactly to the matrix \(A\) except that the column j is replaced by \(b\).

For \(x\):

Using the sub-determinant formula we get:

\[ \begin{vmatrix}\displaystyle 3&\displaystyle 3&\displaystyle 1\\[0.6em]\displaystyle 1&\displaystyle 2&\displaystyle 4\\[0.6em]\displaystyle 2&\displaystyle 1&\displaystyle 1\end{vmatrix} = 3 \cdot \left( 2 \cdot \left( 1 \right) - 1 \cdot \left(4 \right) \right) - 3 \cdot \left( 1 \cdot \left( 1 \right) - 2 \cdot \left(4 \right) \right) + 1 \cdot \left( 1 \cdot \left( 1 \right) - 2 \cdot \left(2 \right) \right)\] \[ = 3 \cdot \left( -2 \right) - 3 \cdot \left( -7 \right) + 1 \cdot \left( -3 \right) = 12\]

Now we find that using Cramer's formula, \(x\) is computed as

\[x = \displaystyle \frac{\det(A^{ 1}) }{\det(A)} = \displaystyle \frac{ \begin{vmatrix}\displaystyle 3&\displaystyle 3&\displaystyle 1\\[0.6em]\displaystyle 1&\displaystyle 2&\displaystyle 4\\[0.6em]\displaystyle 2&\displaystyle 1&\displaystyle 1\end{vmatrix} }{ \begin{vmatrix}\displaystyle 2&\displaystyle 3&\displaystyle 1\\[0.6em]\displaystyle 2&\displaystyle 2&\displaystyle 4\\[0.6em]\displaystyle 1&\displaystyle 1&\displaystyle 1\end{vmatrix}} = \displaystyle \frac{ \displaystyle 12 }{ \displaystyle 2} = 6 \]

For \(y\):

Using the sub-determinant formula we get:

\[ \begin{vmatrix}\displaystyle 2&\displaystyle 3&\displaystyle 1\\[0.6em]\displaystyle 2&\displaystyle 1&\displaystyle 4\\[0.6em]\displaystyle 1&\displaystyle 2&\displaystyle 1\end{vmatrix} = 2 \cdot \left( 1 \cdot \left( 1 \right) - 2 \cdot \left(4 \right) \right) - 3 \cdot \left( 2 \cdot \left( 1 \right) - 1 \cdot \left(4 \right) \right) + 1 \cdot \left( 2 \cdot \left( 2 \right) - 1 \cdot \left(1 \right) \right)\] \[ = 2 \cdot \left( -7 \right) - 3 \cdot \left( -2 \right) + 1 \cdot \left( 3 \right) = -5\]

Now we find that using Cramer's formula, \(y\) is computed as

\[y = \displaystyle \frac{\det(A^{ 2}) }{\det(A)} = \displaystyle \frac{ \begin{vmatrix}\displaystyle 2&\displaystyle 3&\displaystyle 1\\[0.6em]\displaystyle 2&\displaystyle 1&\displaystyle 4\\[0.6em]\displaystyle 1&\displaystyle 2&\displaystyle 1\end{vmatrix} }{ \begin{vmatrix}\displaystyle 2&\displaystyle 3&\displaystyle 1\\[0.6em]\displaystyle 2&\displaystyle 2&\displaystyle 4\\[0.6em]\displaystyle 1&\displaystyle 1&\displaystyle 1\end{vmatrix}} = \displaystyle \frac{ \displaystyle -5 }{ \displaystyle 2} = -\frac{5}{2} \]

For \(z\):

Using the sub-determinant formula we get:

\[ \begin{vmatrix}\displaystyle 2&\displaystyle 3&\displaystyle 3\\[0.6em]\displaystyle 2&\displaystyle 2&\displaystyle 1\\[0.6em]\displaystyle 1&\displaystyle 1&\displaystyle 2\end{vmatrix} = 2 \cdot \left( 2 \cdot \left( 2 \right) - 1 \cdot \left(1 \right) \right) - 3 \cdot \left( 2 \cdot \left( 2 \right) - 1 \cdot \left(1 \right) \right) + 3 \cdot \left( 2 \cdot \left( 1 \right) - 1 \cdot \left(2 \right) \right)\] \[ = 2 \cdot \left( 3 \right) - 3 \cdot \left( 3 \right) + 3 \cdot \left( 0 \right) = -3\]

Now we find that using Cramer's formula, \(z\) is computed as

\[z = \displaystyle \frac{\det(A^{ 3}) }{\det(A)} = \displaystyle \frac{ \begin{vmatrix}\displaystyle 2&\displaystyle 3&\displaystyle 3\\[0.6em]\displaystyle 2&\displaystyle 2&\displaystyle 1\\[0.6em]\displaystyle 1&\displaystyle 1&\displaystyle 2\end{vmatrix} }{ \begin{vmatrix}\displaystyle 2&\displaystyle 3&\displaystyle 1\\[0.6em]\displaystyle 2&\displaystyle 2&\displaystyle 4\\[0.6em]\displaystyle 1&\displaystyle 1&\displaystyle 1\end{vmatrix}} = \displaystyle \frac{ \displaystyle -3 }{ \displaystyle 2} = -\frac{3}{2} \]

Hence, and summarizing, the solution is

\[ \begin{bmatrix}\displaystyle x\\\\\displaystyle y\\\\\displaystyle z\end{bmatrix} = \begin{bmatrix}\displaystyle 6\\\\\displaystyle -\frac{ 5}{ 2}\\\\\displaystyle -\frac{ 3}{ 2}\end{bmatrix}\]

which concludes the calculation of the solutions for the given linear system.

System of Equations Calculator - MathCracker.com (2024)

FAQs

How do you check your answer to a system of equations? ›

If you are asked if a point is a solution to an equation, we replace the variables with the given values and see if the 2 sides of the equation are equal (so is a solution), or not equal (so not a solution). A solution to a system of equations means the point must work in both equations in the system.

What is the easiest way to solve system of equations? ›

Whenever one equation is already solved for a variable, substitution will be the quickest and easiest method. Even though you're not asked to solve, these are the steps to solve the system: Substitute y + 2 y+2 y+2 for x in the second equation. Distribute the −2 and then combine like terms.

What is a substitution calculator? ›

The solve by substitution calculator allows to find the solution to a system of two or three equations in both a point form and an equation form of the answer.

What is the solution to the system of equations answers? ›

The solution set to a system of equations will be the coordinates of the ordered pair(s) that satisfy all equations in the system. In other words, those values of x and y will make the equations true. Accordingly, when a system of equations is graphed, the solution will be all points of intersection of the graphs.

How do you check equations answers? ›

Substitute the number for the variable in the equation. Simplify the expressions on both sides of the equation. Determine whether the resulting equation is true. If it is true, the number is a solution.

What are the three possible answers to a system of equations? ›

The three possible solutions to a system of equations are one solution, infinite solutions, or no solutions. One solution means a single point satisfies the system. Infinite solutions mean an infinite number of points satisfy the system. No solution means that no points satisfy the system.

What are the 4 steps to solving a system of equations? ›

HOW TO SOLVE A SYSTEM OF EQUATIONS BY ELIMINATION.
  1. Write both equations in standard form. ...
  2. Make the coefficients of one variable opposites. ...
  3. Add the equations resulting from Step 2 to eliminate one variable.
  4. Solve for the remaining variable.
  5. Substitute the solution from Step 4 into one of the original equations.
Mar 3, 2024

How do you solve a system of equations without graphing? ›

To solve a system of linear equations without graphing, you can use the substitution method. This method works by solving one of the linear equations for one of the variables, then substituting this value for the same variable in the other linear equation and solving for the other variable.

What is your favorite method to use to solve systems of equations? ›

If both equations are presented in slope intercept form ( y = m x + b ) , then either graphing or substitution would be most efficient. If one equation is given in slope intercept form or solved for , then substitution might be easiest.

Is 0 0 no solution? ›

If you get an equation that is always true, such as 0 = 0, then there are infinite solutions.

How to tell how many solutions an equation has? ›

If we can solve the equation and get something like x=b where b is a specific number, then we have one solution. If we end up with a statement that's always false, like 3=5, then there's no solution. If we end up with a statement that's always true, like 5=5, then there are infinite solutions.. Created by Sal Khan.

How many solutions does the system have? ›

A system of two equations can be classified as follows: If the slopes are the same but the y-intercepts are different, the system has no solution. If the slopes are different, the system has one solution. If the slopes are the same and the y-intercepts are the same, the system has infinitely many solutions.

How to solve a system of equations by substitution? ›

Solve a system of equations by substitution
  1. Solve one of the equations for either variable.
  2. Substitute the expression from Step 1 into the other equation.
  3. Solve the resulting equation.
  4. Substitute the solution in Step 3 into one of the original equations to find the other variable.
  5. Write the solution as an ordered pair.

How would you solve a system of equations? ›

To solve a system of equations using substitution:
  1. Isolate one of the two variables in one of the equations.
  2. Substitute the expression that is equal to the isolated variable from Step 1 into the other equation. ...
  3. Solve the linear equation for the remaining variable.

What is the root of an equation? ›

The roots of a quadratic equation are the values of the variable that satisfy the equation. They are also known as the "solutions" or "zeros" of the quadratic equation. For example, the roots of the quadratic equation x2 - 7x + 10 = 0 are x = 2 and x = 5 because they satisfy the equation.

How do you prove a solution to a system of equations? ›

We can verify the solution by substituting the values into each equation to see if the ordered pair satisfies both equations.

How to find out if a system of equations has no solution? ›

If the system consists of two functions, then there will be no points of intersection. A system of two linear equations has no solution if the lines are parallel. Parallel lines on a coordinate plane have the same slope and different y-intercepts (see figure 3 for an example of this).

How to find out how many solutions a system of equations has? ›

A system of two equations can be classified as follows: If the slopes are the same but the y-intercepts are different, the system has no solution. If the slopes are different, the system has one solution. If the slopes are the same and the y-intercepts are the same, the system has infinitely many solutions.

How are answers to systems of equations written? ›

Four ways to represent a system of equations are by its equations (algebra), a table (numbers), a graph (visual), and a verbal description (words). To write a system of linear equations from a table or graph, you must calculate the slope and the y-intercept.

References

Top Articles
Latest Posts
Article information

Author: Lidia Grady

Last Updated:

Views: 5835

Rating: 4.4 / 5 (65 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Lidia Grady

Birthday: 1992-01-22

Address: Suite 493 356 Dale Fall, New Wanda, RI 52485

Phone: +29914464387516

Job: Customer Engineer

Hobby: Cryptography, Writing, Dowsing, Stand-up comedy, Calligraphy, Web surfing, Ghost hunting

Introduction: My name is Lidia Grady, I am a thankful, fine, glamorous, lucky, lively, pleasant, shiny person who loves writing and wants to share my knowledge and understanding with you.