How to Solve for Both X & Y

To solve for x, you must perform the same operations on both sides of the equation.
••• BananaStock/BananaStock/Getty Images

Solving for two variables (normally denoted as "x" and "y") requires two sets of equations. Assuming you have two equations, the best way for solving for both variables is to use the substitution method, which involves solving for one variable as far as possible, then plugging it back in to the other equation. Knowing how to solve a system of equations with two variables is important for several areas, including trying to find the coordinate for points on a graph.

    Write out the two equations that have the two variables you want to solve. For this example, we will find the value for "x" and "y" in the two equations "3x + y = 2" and "x + 5y = 20"

    Solve for one of the variables in on one of the equations. For this example, let's solve for "y" in the first equation. Subtract 3x from each side to get "y = 2 - 3x"

    Plug in the y value found from the first equation in to the second equation in order to find the x value. In the previous example, this means the second equation becomes "x + 5(2- 3x) = 20"

    Solve for x. The example equation becomes "x + 10 - 15x = 20," which is then "-14 x + 10 = 20." Subtract 10 from each side, divide by 14 and you have end up with x = -10/14, which simplifies to x = -5/7.

    Plug in the x value in to the first equation to find out the y value. y = 2 - 3(-5/7) becomes 2 + 15/7, which is 29/7.

    Check your work by plugging in the x and y values in to both of the equations.

Related Articles

How to Solve a System of Equations
How do I Define Two Step Equations for Algebra 2?
How to Solve Linear Systems Algebraically
How to Graph and Find the Solution on a Calculator
How to Create Linear Equations
How to Solve a Parabola
How to Find Equations of Tangent Lines
How to Find the Slope in a Circle
To Calculate Arcsine, What Buttons Do You Press on...
How to Find the Y-Intercept of a Circle
Algebra 1 Substitution Method
How to Use Elimination to Solve the Linear Equation
How to Solve Inequalities
How to Find Y Value for the Slope of a Line
How to Find Quadratic Equations From a Table
How to Add Parentheses to Make a Statement True
How to Find the X Intercept of a Function
How to Get the Value of a Letter in Algebra 1
How to Find Dimensions in Geometric Shapes
How to Solve Linear Equations With 2 Variables