# System of Two Linear Equations in Matrix Form

In this tutorial we shall convert equations of straight lines into matrix form. First we will discuss one linear equation in matrix form.

__One Linear Equation__**:**

Consider the equation of a straight line is given as:

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

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 the system of two equations in matrix form.

__A System of Two Linear Equations__

Consider the system of two equations of straight lines is given as:

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

Equation (i) becomes

It can be further written as

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