Part 1 : Linear equation of two variables and Matrices

Avnish
Linear Algebra
Published in
4 min readOct 19, 2018

We will start by looking at a simple linear equation and their representation on graph.

x = 0 is a simple linear equation of one variable (x), on a graph it is plotted as a dot.

Red dot on 0.00 represents the point x=0

Whereas, 2x+3y=6 is a linear equation of two variables (x and y) which can be plotted as a line on graph.

Blue line represents the equation 2x+3y=6

On a graph with two axis (x and y), x=0 will be represented as a line.

Red line is representation of x=0 in two dimensional graph

All the linear combinations of x and y are representation of line, and if we plot all at once they will fill up the complete Cartesian plane.

x-2y = 6 →(1)

x-y = 4 →(2)

x+y = 0 →(3)

These three equations can be called a system of linear equations. There might be a common value of x and y such that it satisfies all three equations and that value of x and y can be found thought plotting all of these on a graph. The point where these lines intersect would be called solution of linear equation.

For the system of linear equation we assumed, there is one solution i.e.

(x,y)=(2,-2)

because all three lines intersect at (2,-2).

Solving a system of linear equations

There are many methods for solving a system of linear equation, one of them is elimination method.

As the name suggest in elimination method, we eliminate one of the variables by subtracting one equation from another (or first multiplying one of the equation with some number and then subtracting from other equation).

From our example above :

Step 1 : We eliminate “y” from (1) by adding (2) to (1)

(x+y) + (x-y) = 0+4

2x = 4

x = 2 → (4)

Step 2 : We take the value of “x” from (4) and substitute it in (1)

2+y = 0

y = -2 → (5)

From (4) and (5) we can say that x+y = 0 and x-y = 4 have a solution (2,-2). But what about (3)? Does it have same solution?

Step 3 : Substitute the value of (2,-2) in equation (3)

2-(2×(-2)) = 6

2-(-4) = 6

6 = 6

So, (2,-2) satisfies the equation. Hence, it is a solution of aforementioned system of linear equations.

Matrices

A matrix is an arrangement of elements in rows and columns. An element can be anything (constant, number, variable, etc).

A matrix of order 3x3

Usually matrix are enclosed in “[ ]”.

Order of a matrix is = Number of rows × Number of columns.

A linear equation can also be represented in the form of matrices like the system of linear equations in (1),(2) and (3) can be represented as:

Coefficient matrix of (1), (2) and (3)

This is the coefficient side of all the equations represented as matrix. Column 1 is coefficients of “x” and column 2 is coefficients of “y”. Every row represents an equation.

Constants matrix of (1), (2) and (3)

This is the constant side of system of equations represented as a matrix of order 3 × 1. Both matrices can be written together as an augmented matrix, separated by “|” or dotted line.

Augmented matrix of (1),(2) and (3)

Augmented matrix might be useful in future while applying Gauss Elimination algorithm.

Read Part 2 : Operations on Matrices

You can view the complete series here
I’m now publishing at avni.sh

Connect with me on LinkedIn.

--

--