✦ScienexySCIENCE KNOWLEDGE LIBRARY
Science reference · SCI-MAT-003-075

Slope of a Straight Line

The slope of a straight line measures its steepness and direction by comparing vertical change with horizontal change.

m = (y₂ − y₁)/(x₂ − x₁)

Explanation

The slope of a straight line describes how much the vertical coordinate changes for a given change in the horizontal coordinate. It is calculated as the change in y divided by the corresponding change in x between two distinct points on a nonvertical line. A positive slope indicates that the line rises from left to right, while a negative slope indicates that it falls. A horizontal line has a slope of zero because its vertical change is zero. A vertical line has an undefined slope because its horizontal change is zero, making division by zero necessary. Slope is a constant property of a straight line and is closely related to its angle of inclination.

Variables

SymbolMeaningUnit

m

Slope of the straight line

Vertical units per horizontal unit

x₁

Horizontal coordinate of the first point

Horizontal units

y₁

Vertical coordinate of the first point

Vertical units

x₂

Horizontal coordinate of the second point

Horizontal units

y₂

Vertical coordinate of the second point

Vertical units

Example or application

Problem

Find the slope of the line passing through (1, 2) and (3, 6).

Solution

m = (6 − 2)/(3 − 1) = 4/2 = 2.

Result

The slope is 2.

Text

Slope measures the steepness and direction of a straight line. If a line passes through two points, the difference between their y-coordinates is called the rise, and the difference between their x-coordinates is called the run. Dividing the rise by the run gives the slope. For example, a line passing through (1, 2) and (3, 6) has a vertical change of 4 and a horizontal change of 2, so its slope is 2. This means that y increases by 2 units for every 1-unit increase in x.

Key Points

  • Slope measures the steepness and direction of a line.

  • It is calculated using the ratio of vertical change to horizontal change.

  • A positive slope rises from left to right.

  • A negative slope falls from left to right.

  • A horizontal line has zero slope.

  • A vertical line has undefined slope.

Applications

  • Calculating the rate of change in scientific data.

  • Determining speed from a distance-time graph.

  • Analysing financial trends.

  • Measuring the steepness of roads and ramps.

  • Comparing relationships between two variables.

Learning Outcomes

  • Define the slope of a straight line.

  • Calculate slope using two ordered pairs.

  • Interpret positive and negative slopes.

  • Identify horizontal and vertical line slopes.

  • Explain slope as a rate of change.

Practice Questions

  • Find the slope through (2, 3) and (4, 7).

  • What does a negative slope indicate?

  • What is the slope of a horizontal line?

  • Why is the slope of a vertical line undefined?

  • Explain the meaning of rise and run.

Related Concepts

  • Straight-line graphs

  • Rate of change

  • Slope-intercept form

  • Point-slope form

  • Coordinate geometry

Common Mistakes

  • Subtracting coordinates in inconsistent orders.

  • Dividing horizontal change by vertical change.

  • Treating a vertical line as having zero slope.

  • Ignoring the negative sign of a slope.

  • Using identical points, which do not determine a unique line.

Sources and verification

Sources are shown as provided in the project data. Not every source has yet been independently verified. Please report errors or missing citations.

Suggest a correction or source · More in Algebra