We can solve examples of the slope of a line using the slope formula. This formula is derived by dividing the change in *y* by change in *x*. The slope defines the inclination of the line. A positive slope indicates that the line grows from left to right, whereas a negative slope indicates that the line decreases from left to right.

Here, we will review the slope formula and use it to solve some practice problems.

## Review of the formula for the slope of a line

The formula for the slope of a line is obtained by dividing the change in *y* of two points that are located on the line by the change in *x* of the points. Therefore, if we have two points and that are located on the same line, the slope formula is:

Formula for the slope |

## Slope of a line – Examples with answers

The following examples are solved using the formula for the slope of a line. Try to solve the problems yourself before looking at the solution.

**EXAMPLE 1**

What is the slope of a line that has the points (2, 1) and (4, 5)?

##### Solution

We have the following coordinates:

We use the slope formula with the given coordinates:

The slope of the line is 2.

**EXAMPLE 2**

We have the points (3, 2) and (6, 3) that are part of a line. What is the slope?

##### Solution

We have the following values:

Using the slope formula with these values, we have:

The slope of the line is .

Start now: Explore our additional Mathematics resources

**EXAMPLE 3**

Determine the slope of a line containing the points (-1, 3) and (6, -4).

##### Solution

We write the values as follows:

Using these values in the formula, we have:

The slope of the line is .

**EXAMPLE 4**

If a line has the points (-2, 1) and (6, -3), what is its slope?

##### Solution

We have the coordinates:

We apply the slope formula with the given coordinates:

The slope of the line is .

## Slope of a line – Practice problems

The following problems can be solved by applying what you have learned about the slope of a line. In case you need help with this, you can look at the solved examples above.

## See also

Interested in learning more about distance, midpoint, and slope on the plane? Take a look at these pages:

### Learn mathematics with our additional resources in different topics

**LEARN MORE**