Gradient of a slopePositive and negative gradients

Gradient is a measure of how steep a slope or a line is. Gradients can be calculated by dividing the vertical height by the horizontal distance.

Part ofApplications of MathsGeometry

Positive and negative gradients

The slope of a line can be 'seen' to be sloping uphill or to be sloping downhill.

The examples so far have been sloping uphill as you look at the diagrams from left to right.

When a line is sloping uphill from left to right the gradient is given a positive value.

Graphic of car struggling up a hill demonstrating a positive gradient.

When a line is sloping downhill from left to right the gradient is given a negative value.

Graphic of car struggling up a hill demonstrating a negative gradient.

Example

Diagram of a triangle showing values of vertical and horizontal sides.

\(gradient\,of\,line\,EF = \frac{{vertical\,height}}{{horizontal\,distance}}\)

\(vertical\,height = 4\,m\)

\(horizontal\,distance = 10\,m\)

\(gradient = \frac{4}{{10}} = \frac{2}{5}\)

The line is sloping downhill. Therefore the gradient has a negative value.

\(gradient\,of\,line\,EF = - \frac{2}{5}\)

Horizontal lines have a gradient that is zero, ie they are not sloping uphill or downhill.

Vertical lines have a gradient that we say is 'undefined', ie we are unable to give them a numerical value.