Skip to content
Gioi Toan
Start learning
A parabola on coordinate axes with a smiling ball rolling along it

What is Slope?

Short answer

The slope of the straight line y = ax + b (a not equal to 0) is the coefficient a in the equation of that line.

Type
Definition
First learned
Grade 8
Also called
hệ số góc của đường thẳng
In English
slope, gradient

Formulas

a=tan⁡αa = \tan\alpha

Explanation

The slope of the straight line y=ax+by = ax + b (with a≠0a \ne 0) is the number aa. The slope tells the steepness and direction of the line relative to the x-axis.

If a>0a > 0, the line goes up from left to right; if a<0a < 0, the line goes down. Two parallel lines have the same slope, and two perpendicular lines have a product of their slopes equal to −1-1.

The slope also appears when considering the angle of inclination of the line with the OxOx.

Examples

Example 1

Find the slope of the straight line y=−2x+3y = -2x + 3.

See the solution to example 1

The line has the form y=ax+by = ax + b with a=−2a = -2. So the slope is −2-2.

Example 2

Given the straight line y=3x+1y = 3x + 1. What angle does this line make with the OxOx?

See the solution to example 2

The slope is a=3a = 3. We have tan⁡α=3\tan\alpha = 3, so α≈71,57∘\alpha \approx 71,57^\circ.

Common mix-ups

  • The slope is aa, not bb in y=ax+by = ax + b.
  • Two parallel lines have the same slope, but two lines with the same slope may be coincident lines if bb are equal.

Learn it in these lessons