Linear equations, also known as first-order degree equations, where the highest power of the variable is one. When an equation has one variable, it is known as linear equations in one variable. If the linear equations contain two variables, then it is known as linear equations in two variables, and so on. In this article, we are going to discuss the linear equations in two variables, and also going to learn about the graphing of linear equations in two variables with examples.

## Linear Equations in Two Variables

Equations of degree one and having two variables are known as linear equations in two variables. It is of the form,Â **ax +by +cÂ = 0**, whereÂ a, bÂ and cÂ are real numbers, and both aÂ and bÂ not equal to zero.

Equations of the formÂ ax+byÂ = 0; whereÂ aÂ andÂ bÂ are real numbers, and a,bÂ â‰ 0, is also linear equations in two variable.

**Solution of a Linear Equation in TwoÂ Variables**

The solution of a linear equation in two variables is a pair of numbers, one for xÂ and one for yÂ which satisfies the equation. There are infinitely many solutions for a linear equation in two variables.

For example, Â x+2yÂ =6Â is a linear equation and some of its solution are (0,3),(6,0),(2,2) because, they satisfyÂ Â x+2y=6.

## Graphing of Linear Equation in Two Variables

Since the solution of linear equation in two variable is a pair of numbers (x,y), we can represent the solutions in a coordinate plane.

Consider the equation,

2x+yÂ = 6Â Â —(1)

Some solutions of the above equation are, (0,6), (3,0), (1,4), (2,2) because, they satisfy (1).

We can represent the solution of (1)Â using a table as shown below.

\( x\) | 0 | 3 | 1 | 2 | â€¦ |

Â \(y\) | 6 | 0 | 4 | 2 | â€¦ |

We can plot the above points (0,6), (3,0), (1,4), (2,2)Â in a coordinate plane (Refer figure).

We can take any two points and join those to make a line. Let the line be PQ. It is observed that all the four points are lying on the same line PQ.

Consider any other point on the line PQ, for example, take point (4,-2) Â which lies on PQ.

Letâ€™s check whether this point satisfies the equation or not.

Substituting (4,-2) Â in (1)Â gives,

LHS=(2Ã—4)-2Â = 6= RHS

Therefore (4,-2)Â is a solution of (1).

Similarly, if we take any point on the line PQ, it will satisfy (1).

It can be observed that,

- All the points say, (p,q) on the line PQ gives a solution of 2x+yÂ = 6.
- All the solution of 2x+yÂ = 6, lie on the line PQ.
- Points which are not the solution of 2x+yÂ = 6Â will not lie on the line PQ.

### Graphing of Linear Equations keypoints

It can be concluded that, for a linear equation in two variables,

- Every point on the line will be a solution to the equation.
- Every solution of the equation will be a point on the line.

Therefore, every linear equation in two variables can be represented geometrically as a straight line in a coordinate plane. Points on the line are the solution of the equation. This why equations with degree one are called as linear equations. This representation of a linear equation is known as graphing of linear equations in two variables.

To know more about linear equations in two variables and take tests on the topic, log onto www.byjus.com and keep learning. To watch interesting videos on the topic, download BYJU’S – The Learning App from Google Play Store.