A “system of equations” is type of math problem in which you have two or more separate equations and you need to find the values of two or more variables. In general, to be able to find a solution, you need to have as many different equations as the number of variables that you wish to find. (There are advanced problems where the number of equations and the number of variables do not match, but that will not be addressed here.)

Method 1
Method 1 of 5:

Arranging the Equations to Begin Solving

  1. In algebra, the “standard format” for an equation is written as .[1] When written in this format, the letters A, B and C are commonly chosen to represent numerical values, while x and y are the variables that you need to solve.
    • You could easily work with different variables, but the structure of the standard format will be the same. For example, if you are solving a business-related problem about selling hats and scarves to calculate the total number of items sold, you might choose the variable to represent the number of hats and to represent the number of scarves. Your standard format in this case would look like . The steps for solving the problem will still be the same.
  2. This may require you to combine similar terms, if each variable appears in the equation more than once, for example.[2] You will also need to move the terms so they appear in the proper order.[3]
    • For example, given the equation , you need to perform the following steps to get to standard format:
      • (given equation)
      • (combine like terms)
      • (subtract 1 from both sides)
    • You may be familiar with seeing linear equations in the form . This is called the “slope-intercept” form of a line. It is useful for different purposes. It could be used to solve the system by linear combinations, but the standard format Ax+By=C is preferred. If you have your data in the slope-intercept form, you will need to rewrite it algebraically into standard format as follows:
      • (given slope-intercept form)
      • (subtract mx from both sides)
      • - (rearrange terms to get x first)
      • A=-m, B=1, C=b (redefine terms for standard format)
  3. It is helpful to write your equations with one directly over the other, so the similar terms line up.
    • For example, if you have the two equations, in standard format, of and , write them in two rows as:
    Advertisement
Method 2
Method 2 of 5:

Using Linear Combinations if a Pair of Coefficients Match

  1. When you have your equations written in standard format, lined up so the similar terms are aligned, check the coefficients. You are looking for one pair of coefficients that match.[4]
    • For example, consider these two equations:
    • You should see very quickly that the term appears identically in each equation.
    • Be very careful when matching the terms. Look for the signs (plus or minus) to match as well. For this method of solving, the terms and are NOT considered to be the same.
    • If your system does not have a matching pair of coefficients, you cannot use this method for solving. You will need to go on to the next method.
  2. Working across the system from left to right, subtract each term of the second equation from the corresponding term of the first equation.
    • It may be helpful simply to draw a long horizontal line across the bottom of the two equations and subtract downward, as you would with any ordinary subtraction problem.
      • ------------------------
  3. If one of your terms matched exactly, as it should, and you subtracted correctly, then one of the variables should be eliminated from the problem. Rewrite what you have left as a single equation.
    • In the example above, you should be left with .
    • Because one of the variables gets eliminated in this method, some textbooks will refer to this as the “elimination” method of solving a system of equations.
  4. What you have left should be a fairly simple, one-variable equation. Solve it by dividing both sides of the equation by the coefficient.[5]
    • In the example above, divide both sides of by 4. You will be left with the solution .
  5. Take that solution, in our example y=1, and substitute it in place of in either one of the original equations.
    • In this case, we can choose the first example, . When you replace the variable with its solution, you will have .
  6. Use basic algebraic steps to solve for the remaining variable. Remember that whatever action you do to one side of the equation, you must also do to the other side.[6] For example:
    • (original equation)
    • (subtract 1 from both sides)
    • (divide both sides by 2 to get solution)
  7. Verify that you have done the work correctly by checking your solutions. You should be able to place your two solutions, in this example and , into each of the original equations. When you then simplify the equations, you will get true statements.
    • For example, check the first equation as follows:
      • (original equation)
      • (insert values for x and y)
      • (simplify multiplication)
      • (simplify addition, to get solution)
      • The true statement 5=5 shows the solution is correct.
    • Check the second equation as follows:
      • (original equation)
      • (insert values for x and y)
      • (simplify multiplication)
      • (simplify subtraction, to get solution)
      • The true statement 1=1 shows the solution is correct.
  8. The final solution, which you have proven to work in both equations, is and .[7]
    • If you are working on graphing linear functions, you may also write your solution as an ordered pair. Thus, for this example, you would write and in the form .
    Advertisement
Method 3
Method 3 of 5:

Using Linear Combinations if a Pair of Coefficients are Opposites

  1. Set up your two equations in standard format and look at the coefficients of each of your variables. You are looking for the circumstance where the numbers are the same but the signs are different.[8]
    • Consider this example:
    • By examination, you should see that the first equation contains the term , while the second equation contains the term . These two terms are opposites of each other.
  2. Working across the system from left to right, add each term of the first equation to the corresponding term of the second equation. It may be helpful simply to draw a long horizontal line across the bottom of the two equations and add downward, as you would with any ordinary addition problem.
    • The above example works out as follows:
      • -------------------------
  3. Because you were adding, and one of your terms contained opposites, then one of the variables should be eliminated from the problem. Rewrite what you have left as a single equation.
    • In the example above, the variable was eliminated. The remaining equation is .
    • Because one of the variables gets eliminated in this method, as with the prior subtraction method, some textbooks will refer to this as the “elimination” method of solving a system of equations.
  4. What you have left should be a fairly simple, one-variable equation. Solve it by dividing both sides of the equation by the coefficient.
    • In the example above, divide both sides of by 3. You will be left with the solution .
  5. Take that solution, in our example x=8, and substitute it in place of in either one of the original equations.
    • Choose the first equation:
      • (original equation)
      • (insert value of x)
      • -- <subtract 8 from both sides)
      • (divide both sides by -3, to get solution)
  6. Verify that you have done the work correctly by checking your solutions. You should be able to place your two solutions, in this example and , into each of the original equations. When you then simplify the equations, you will get true statements.
    • For example, start with the first equation:
      • (original equation)
      • (insert values of x and y)
      • (simplify multiplication)
      • (simplify subtraction to get solution)
      • The true statement 5=5 shows that the solution is correct.
    • Now try the second equation:
      • (original equation)
      • (insert values of x and y)
      • (simplify multiplication)
      • (simplify addition to get solution)
      • The true statement 19=19 shows that the solution is correct.
  7. The final solution, which you have proven to work in both equations, is and .[9]
    • If you are working on graphing linear functions, you may also write your solution as an ordered pair. This for this example, you would write and in the form .
    Advertisement
Method 4
Method 4 of 5:

Using Linear Combinations for any Coefficients

  1. It is more likely that your system of equations will not have a pair of matching or opposite coefficients. When you line up the two equations and compare coefficients, unless two coefficients (the A and B of the standard format) match exactly, you need to take a couple extra steps.[10]
    • For example, consider these two initial equations:
    • When you examine them, there are no matching coefficients for similar terms. That is, the 3x does not match the 8x, and the 2y does not match the -4y. There is also no pair of opposites.
  2. Examine the two equations and decide what number you could use to multiply one of the equations, to create a pair of matching or opposite coefficients. For example, given the system and , you should be able to see that the first equation contains a term and the second equation contains a term -. If you double the first term, you will have a pair of opposite coefficients.
    • Multiply each term of the equation to create a new equation for solving. In this example, multiply each term of the first equation by . This will turn the original equation into . Notice that you now have a pair of opposite coefficients in the terms of and -.
    • In some cases, you may need to do a double multiplication, or use a fraction. For example, in the system and , there are no coefficients that are simple integer multiples of each other. You could multiply the first equation by to create , and now the coefficients are ready to be canceled. Alternatively, if you prefer not to work with fractions, you could multiply the first equation by 5 and the second equation by 2. This would create two completely new equations, as follows:
      • (first original equation)
      • (second original equation)
      • Now multiply the first equation by 5, and the second equation by 2
      • →→
      • →→
  3. If you have created a matching pair of coefficients, you will subtract terms to eliminate one variable. If you have created a pair of opposite coefficients, you will add terms to eliminate one variable. Consider the following example:
      • (first equation)
      • (second equation)
      • ----------------------
      • (add two equations together to cancel y terms)
      • (divide by 14 to get solution)
  4. Take that solution, in our example x=1, and substitute it in place of in either one of the original equations. This works as follows:
    • (original equation)
    • (insert x value)
    • (simplify multiplication)
    • (subtract 3 from both sides)
    • (divide both sides by 2)
  5. Verify that you have done the work correctly by checking your solutions. You should be able to place your two solutions, in this example and , into each of the original equations. When you then simplify the equations, you should get true statements.
    • For example, check the first equation:
      • (original equation)
      • (insert x and y values)
      • (simplify multiplication)
      • (simplify addition to get solution)
      • The true statement shows that the solution is correct.
    • Now check the second equation, as follows:
      • (original equation)
      • (insert x and y values)
      • (simplify multiplication)
      • (simplify subtraction)
      • The true statement shows that the solution is correct.
  6. The final solution, which you have proven to work in both equations, is and .[11]
    • If you are working on graphing linear functions, you may also write your solution as an ordered pair. This for this example, you would write and in the form .
    Advertisement
Method 5
Method 5 of 5:

Dealing with Special Circumstances

  1. [12] In some circumstances, your system of linear equations may have infinite solutions. This means that any pair of values that you insert into the two variables will make the two equations correct. This happens when the two equations are really just algebraic variations of the same, single equation.
    • For example, consider these two equations:
    • If you begin working on this system and try creating a pair of matching coefficients, you will find that by multiplying the second equation by 2 you will create the equation . This is an exact match of the first equation. If you proceed through the steps, you will eventually get the result .
    • A solution of 0=0 means that you have “infinite” solutions or you can simply say that the two equations are identical.
    • If you consider this system graphically and plot the lines that are represented by the two equations, the “infinite” solution means that the two lines lie exactly one on top of the other. It is really only one line.
  2. [13] Occasionally you may have a system in which the two equations, when written in standard form, are nearly identical except that the constant term C is different. Such a system has no solution.
    • Consider these equations:
    • At first glance, these look like very different equations. However, when you begin solving and multiply each term of the second equation by 2 to try to create matching coefficients, you will wind up with the two equations:
    • This is an impossible situation, since the expression cannot equal both 6 and 8 at the same time. If you were to try solving this by subtracting the terms, you would reach the result , which is an incorrect statement. In such a circumstance, your response is that there is no solution to this system.
    • If you consider what this system means graphically, these are two parallel lines. They will never intersect, so there is no single solution to the system.
  3. [14] It is possible for a system of linear equations to have more than two variables. You may have 3, 4, or as many variables as the problem dictates. Finding a solution to the system means finding a single value for each variable that makes each equation in the system correct. To find a single, unique solution, you must have as many equations as you have variables. Thus, if you have the variables and , you need three equations.
    • Solving a system of three or more variables can be done using the linear combinations explained here, but that gets very complicated. The preferred method is using matrices, which is too advanced for this article. You may wish to read Use a Graphing Calculator to Solve a System of Equations.
    Advertisement

Community Q&A

Search
Add New Question
  • Question
    Given the two equations 6x+ 2y = 2 and 8x + 3y = 14, explain how knowing how to find the least common multiple (LCM) of two numbers can help you solve the system of equations presented here by eliminating the x-terms.
    Community Answer
    Community Answer
    These equations are already written in standard format, Ax+By=C. However, the x coefficients do not match, so they are not ready to be eliminated. To eliminate the x terms, you need to do a multiplication step. The quickest way to multiply would be to multiply the first equation by the x-coefficient from the second equation, and multiply the second equation by the x-coefficient from the first equation. This would give you the equations 48x+16y=16 and 48x+18y=84. These are very large, bulky numbers. If you recognize that 6 and 8 have a least common multiple of 24, you could choose different numbers to multiply. Multiply the first equation by 4 and the second equation by 3, and you will create 24x+8y=8 and 24x+9y=42. You can now solve the system more easily.
  • Question
    How do i solve 2×+5y=1/3×-2y=8
    Community Answer
    Community Answer
    This is a strange way of writing the problem. By using two equals signs in a line like this, you have combined two different equations. Breaking these apart gives 2x+5y=8 and 1/3 x -2y=8. Because each equation equals 8, you can just drop the 8 and put the two equations as equal to each other, so you have 2x+5y=1/3 x-2y. Because you have two variables here, and only one equation, you cannot get a single solution. The best you can do is simplify the equation by combining like terms. This will give 1 2/3 x = -7y. If you wish to write this in a slope-intercept form to describe a line, you could divide both sides by 7, and switch sides, to get y= -5/21 x. My guess is that you probably copied your problem incorrectly. Check it again.
  • Question
    This is just the elimination method. Is there any other simpler method?
    Community Answer
    Community Answer
    There's also the substitution method, but it is only simpler in some cases.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit

Advertisement

Tips

  • Note that linear combinations is only one way to solve a system of equations. You can also solve a system by substitution. For help on that, see Solve Systems of Algebraic Equations Containing Two Variables.
Advertisement

Warnings

  • Always pay careful attention to the signs of the coefficients. Common mistakes occur when people miss negative signs. Remember that if the signs match, then you will subtract terms to eliminate a variable. If the signs are opposites, then you will add to eliminate a variable.
Advertisement

Video

About this article

wikiHow Staff
Co-authored by:
wikiHow Staff Writer
This article was co-authored by wikiHow Staff. Our trained team of editors and researchers validate articles for accuracy and comprehensiveness. wikiHow's Content Management Team carefully monitors the work from our editorial staff to ensure that each article is backed by trusted research and meets our high quality standards. This article has been viewed 101,791 times.
10 votes - 60%
Co-authors: 10
Updated: February 19, 2024
Views: 101,791
Thanks to all authors for creating a page that has been read 101,791 times.

Did this article help you?

Advertisement