In this tutorial we shall represent equations of straight lines into matrix form; first we will discuss one linear equation in matrix form.

__One Linear Equation__**:**

Consider the equation of straight line is given as

Equation (i) is a linear equation in two variables and can be written as in matrix form as follows:

Now equation (i) becomes

It can be further written as

Where is the coefficient matrix, is variable matrix and is the constant matrix.

Now we shall discuss system of two equations in matrix form

__A System of Two Linear Equations__**:**

Consider the system of two equations of straight lines are given as

Equation (i) and (ii) are linear equations in two variables and can be written as in matrix form as follows:

Now equation (i) becomes

It can be further written as

Where is the coefficient matrix, is variable matrix and is the constant matrix.