PDF download Download Article PDF download Download Article

Multivariable linear equations are equations that have two or more unknowns (generally represented by 'x' and 'y'). There are multiple ways that you can solve these equations, including elimination and substitution.


Method 1
Method 1 of 3:

Solving a Linear Equation with Elimination

PDF download Download Article
  1. In order to solve the problem, you will need to familiarize yourself with the components of the equations. Let’s use the following example to learn how to eliminate variables:
    • 8x - 3y = -3
    • 5x - 2y = -1
  2. To eliminate a variable, the numerical coefficient (the number in front of the variable) of a variable must be opposite to one another (for instance 5 and -5 are opposites). The goal is to get rid of one variable, so that you can solve for the other variable by eliminating one through subtraction. This means making the coefficients of the same variable in both equations cancel each other out. [2] For instance:
    • In 8x - 3y = -3 (equation A) and 5x - 2y = -1 (equation B), you can multiply equation A with 2 and equation B with 3 so that you get 6y in equation A and 6y in equation B.
    • This would look like: equation A: 2(8x - 3y =-3) = 16x -6y = -6.
    • Equation B: 3(5x - 2y = -1) = 15x -6y =-3
    Advertisement
  3. Now that you have a variable that can be eliminated, you can do so by adding or subtracting. Whether you add or subtract will depend on how you will be able to remove the variable. In our equation we would subtract, because 6y is in each of the equations: [2]
    • (16x - 6y = -6) - (15x - 6y = -3) = 1x = -3. Therefore x = -3.
    • For other cases, if the numerical coefficient of x is not 1 after we add or subtract, we must divide both sides by the numerical coefficient to simplify the equation.
  4. Now that you have found what ‘x’ equals, you can plug that number into one of the original equations to solve for ‘y’. [3] When you know that it works in one of the equations, you can try plugging it into the other equation to make sure:
    • Equation B: 5(-3) - 2y = -1 so -15 -2y = -1. Add 15 to both sides so -2y = 14. Divide both sides by -2 so that y = -7.
    • Therefore x = -3 and y = -7.
  5. Once you have found your variables, plug them into the original equations to make sure they are correct. If one of the equations doesn’t work with the variables you have found, you will have to try again.
    • 8(-3) - 3(-7) = -3 so -24 +21 = -3 TRUE.
    • 5(-3) -2(-7) = -1 so -15 + 14 = -1 TRUE.
    • Therefore, the variables we have found are correct.
  6. Advertisement
Method 2
Method 2 of 3:

Solving a Linear Equation with Substitution

PDF download Download Article
  1. It doesn’t matter which equation you decide to work with or even which variable you choose to solve for, as you should find the same solution no matter what. However, you do want to make the process as simple as possible. You should choose the equation that you think will be easiest to work with. [4] For instance, if there is an equation where one of the coefficients is 1, such as x - 3y = 7, you would choose that as it will be easy to solve for ‘x’. For example, let’s say our equations are:
    • x - 2y = 10 (equation A) and -3x -4y = 10 (equation B). You would choose to work with x - 2y = 10 because the coefficient of x in this equation is 1.
    • Solving for x in equation A would meaning adding 2y to both sides. Therefore, x = 10 + 2y.
  2. For this step, you will need to insert (or substitute) your solution for ‘x’ into the other solution that you did not work with. This will allow you to find the other variable, in this case ‘y’. [8] Let’s try it:
    • Insert the ‘x’ of equation B into equation A: -3(10 + 2y) -4y = 10. You can see that we have taken ‘x’ out of the equation and inserted what ‘x’ equals.
  3. Now that you have removed one of the variables from the equation, you can solve for the other variable. This is is simply solving a regular one-variable linear equation. [6] Let’s solve ours:
    • -3(10 + 2y) -4y = 10 so -30 -6y -4y = 10.
    • Combine the y’s: -30 - 10y = 10.
    • Move the -30 over to the other side: -10y = 40.
    • Solve for y: y = -4.
  4. To do this, plug your findings for ‘y’, or the first variable, into one of the equations. [7] Then solve for the other variable, in this case ‘x’. Let’s try it:
    • Solve for ‘x’ in equation A by plugging in y = -4: x - 2(-4) = 10.
    • Simply the equation: x + 8 = 10.
    • Solve for x: x = 2.
  5. Plug both of the variables into each equation to make sure that they create true equations. [8] Let’s see if ours work:
    • Equation A: 2 - 2(-4) = 10 is TRUE.
    • Equation B: -3(2) -4(-4) = 10 is TRUE.
  6. Advertisement
Method 3
Method 3 of 3:

Understanding the Components of Linear Equations

PDF download Download Article
  1. Two or more linear equations that are grouped together are called a system. That means that a system of linear equations is when two or more linear equations are being solved at the same time. [13] For example:
    • 8x - 3y = -3
    • 5x - 2y = -1
    • These are two linear equations that you must solve at the same time, meaning you must use both equations to solve both equations.
  2. The answer to the linear equations problem is an ordered pair of numbers that make both of the equations true. [10]
    • In the case of our example, you are trying to find out what numbers ‘x’ and ‘y’ represent that will make both of the equations true. In the case of this example, x = -3 and y = -7. Plug them in. 8(-3) - 3(-7) = -3. This is TRUE. 5(-3) -2(-7) = -1. This is also TRUE.
  3. The numerical coefficient is simply the number that comes before a variable. [11] You will use these numerical coefficients when using the elimination method. In our example equations, the numerical coefficients are:
    • 8 and 3 for the first equation; 5 and 2 for the second equation.
  4. When you use elimination to solve a multivariable linear equation, you get rid of one of the variables you are working with (such as ‘x’) so that you can solve the other variable (‘y’). Once you find ‘y’, you can plug it into the equation and solve for ‘x’ (don’t worry, this will be covered in detail in Method 2). [12]
    • Substitution, on the other hand, is where you begin working with only one equation so that you can again solve for one variable. Once you solve one equation, you can plug in your findings to the other equation, effectively making one large equation out of your two smaller ones. Again, don’t worry—this will be covered in detail in Method 3.
  5. Solving for three variables can actually be done in the same way that equations with two variables are solved. You can use elimination and substitution, they will just take a little longer than solving for two, but are the same process.
  6. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Can I solve a linear equation with 12 variables?
    Donagan
    Top Answerer
    In order to find the values of 12 variables, you would need to be provided a system of at least 12 equations, each expressed in some of those variables.
  • Question
    How do I solve an equation with three variables?
    Donagan
    Top Answerer
    You must have three independent equations in the same three variables in order to solve for those variables.
  • Question
    What can be done to solve a multi-variable equation if the number of equations is less than the number of variables?
    Community Answer
    If you have fewer equations than variables, you can solve for the variables only in terms of the other variables rather than as actual numbers. For example, if you have one equation in two variables (x and y), you could solve for x in terms of y or y in terms of x (such as x = 2y, or y = 3x + 1).
See more answers
Ask a Question
      Advertisement

      Tips

      • Be careful of your signs, since we use a lot of basic operations, sign changes can affect every step of your computation.
      • Check your finals answers. You can do this by replacing the values obtained in the final answer to their corresponding variables in any of the original equations, if the left hand side and the right hand side matches, your final answer is correct.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      Expert Interview

      Thanks for reading our article! If you’d like to learn more about mathematics, check out our in-depth interview with Taylor Klein .

      About This Article

      Thanks to all authors for creating a page that has been read 100,606 times.

      Reader Success Stories

      • Shannon Holck

        Aug 26, 2020

        "My son needed help with his online homework during Covid. I hadn't done a multivariate equation in 32 years. I ..." more
      Share your story

      Did this article help you?

      Advertisement