# Writing a linear equation

An algebraic equation in which each element (or term) is either a constant or the product of the first power of a single variable and a constant is called a **linear equation**. These equations can have one or more variables.

Depending on the number of variables (we will mark that number with the letter *n*), a *linear equation* is the algebraic representation of a straight line in a coordinate system with *n* dimensions. If we are talking about the usual two-dimensional Cartesian coordinate system, a __linear equation__ will consist of two variables (usually *x* and *y*), *the slop**e* and *the intercept*. The slope tells how much the value of one variable changes if the other one changes by a single unit. If you are calculating the value of *y, t*he intercept shows at which point the line crosses the *y-axis*.

## How to write a linear equation

There are several different forms of linear equations that can be converted from one to another using the basic laws of elementary algebra. We will explain the ones that are most often used in practical mathematics.

### The general form

Depending on the number of variables (if we represent the variables with x_{1}, x_{2}, x_{3}…, x_{n} and the constants with a_{1}, a_{2}, a_{3}… a_{n} and b), the general form of a linear equation looks like this:

a_{1}*x_{1} + a_{2}*x_{2} + …. + a_{n}* x_{n} + b = 0

The most commonly used general form of a linear equation (in two-dimensional coordinate systems) is:

a*x + b*y +c = 0

### The standard form

This is a very commonly used form of a linear equation as it appears frequently in mathematical textbooks. It generally looks like this:

a*x + b*y = C

The value of both *a* and *b* cannot be equal to zero –at least one of them has to be positive. It can be converted to the general form, but not always to other forms of equations if the value of *a* or *b* is equal to zero.

### The slope-intercept form

This is also a very commonly used form of linear equations. It is called the slope-intercept form because both slope and the intercept of a line can be simply read from equations expressed in this form. It looks like this:

y = mx + b

Here the letter *m* in front of the variable *x* represents the slope of the line and *b* is the value of the intercept on the y-axis. The important thing to remember is that equations of vertical lines cannot be expressed in this form, as their slope is undefined.

These are the basic forms of linear equations. Now, to write down a linear equation in one of these forms, keep a few things in mind. First, it helps if you have a visual representation of the linear equation you are trying to write down. So, if you are given two or more points through which your line passes, draw a graph first. Secondly, try finding the intercepts and the slope. They are generally easy to find and it is easy to convert a slope-intercept equation into most other forms.

It might seem a bit complicated now, but with some practice it will become all too easy. To practice the skill of writing a linear equation, please use the math worksheets below.

## Writing a linear equation exams for teachers

## Writing a linear equation worksheets for students

Worksheet Name | File Size | Downloads | Upload date |

Writing a linear equation – Slope | 2 MB | 4283 | October 14, 2012 |

Writing a linear equation – Fundamental | 550.8 kB | 3826 | October 14, 2012 |

Writing a linear equation – Standard | 544.7 kB | 3211 | October 14, 2012 |