# Solving systems of equations in two variables

A system of a linear equation comprises two or more equations and one seeks a common solution to the equations. In a system of linear equations, each equation corresponds with a straight line corresponds and one seeks out the point where the two lines intersect.

Example

Solve the following system of linear equations:

{y=2x+4
y=3x+2

Since we are seeking out the point of intersection, we may graph the equations:

We see here that the lines intersect each other at the point x = 2, y = 8. This is our solution and we may refer to it as a graphic solution to the task.

But how does one reach a solution if the lines never intersect? One cannot, the system of equations have no solution.

One may also arrive at the correct answer with the help of the elimination method (also called the addition method or the linear combination method) or the substitution method.

When using the substitution method we use the fact that if two expressions y and x are of equal value x=y, then x may replace y or vice versa in another expression without changing the value of the expression.

Example

Solve the systems of equations using the substitution method

{y=2x+4
y=3x+2

We substitute the y in the top equation with the expression for the second equation:

2x+4=3x+2
x=2

To determine the y-value, we may proceed by inserting our x-value in any of the equations. We select the first equation:

y=2x+4

We plug in x=2 and get

y=22+4=8

We have thus arrived at precisely the same answer as in the graphic solution.

The elimination method requires us to add or subtract the equations in order to eliminate either x or y, often one may not proceed with the addition directly without first multiplying either the first or second equation by some value.

Example

2x2y=8
x+y=1

We now wish to add the two equations but it will not result in either x or ybeing eliminated. Therefore we must multiply the second equation by 2 on both sides and get:

2x2y=8
2x+2y=2

Now we attempt to add our system of equations. We commence with the x-terms on the left, and the y-terms thereafter and finally with the numbers on the right side:

(2x+2x)+(2y+2y)=8+2

The y-terms have now been eliminated and we now have an equation with only one variable:

4x=10
x=10/4=2.5

Thereafter, in order to determine the y-value we insert x=2.5 in one of the equations. We select the first:

22.52y=8
y= 1.5

## Linear Equations: Solutions Using Matrices with Three Variables

Solving a system of equations by using matrices is merely an organized manner of using the elimination method.

The goal is to arrive at a matrix of the following form.To do this, you use row multiplications, row additions, or row switching, as shown in the following.Put the equation in matrix form.Eliminate the x‐coefficient below row 1.

Eliminate the y‐coefficient below row 5.

Reinserting the variables, this system is now

Equation (9) now can be solved for z. That result is substituted into equation (8), which is then solved for y. The values for z and y then are substituted into equation (7), which then is solved for x.

The check is left to you. The solution is x = 2, y = 1, z = 3.

##### Example 2

Solve the following system of equations, using matrices.

Put the equations in matrix form.

Eliminate the x‐coefficient below row 1.

Eliminate the y‐coefficient below row 5.

Reinserting the variables, the system is now:

Equation (9) can be solved for z.

Substitute  into equation (8) and solve for y.

Substitute  into equation (7) and solve for x.

The check of the solution is left to you. The solution is .

Correct! Wrong!

Correct! Wrong!

Correct! Wrong!

Correct! Wrong!

Correct! Wrong!

equation solver
Fabulous work
Great work!
Try to work more
{"extraction_info": {"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.8765186071395874, "perplexity": 414.31932701498744}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2020-16/segments/1585370524043.56/warc/CC-MAIN-20200404134723-20200404164723-00313.warc.gz"}