Skip to content

Mathematics · Ch 4 — Straight Lines

Slope of a Line

4.2

Slope of a Line

Inclination of a Line

When a line is drawn in a coordinate plane, it makes two angles with the x‑axis — one acute and one obtuse, which are supplementary (they add up to 180∘180^\circ). The smaller of these, measured from the positive direction of the x‑axis in the anti‑clockwise sense, is called the inclination of the line. We denote it by θ\theta.

By definition, 0∘≤θ≤180∘0^\circ \le \theta \le 180^\circ.

A line parallel to the x‑axis (or coinciding with it) has inclination 0∘0^\circ. A vertical line — parallel to or coinciding with the y‑axis — has inclination 90∘90^\circ.

Note

Inclination is always measured anti‑clockwise from the positive x‑axis. Clockwise measurement gives the supplementary angle, which is not the inclination.

Slope (or Gradient) of a Line

Definition. If θ\theta is the inclination of a line ll, then tan⁡θ\tan \theta is called the slope (or gradient) of the line ll. The slope is denoted by mm.

m=tan⁡θ,θ≠90∘m = \tan \theta, \quad \theta \neq 90^\circ

When θ=90∘\theta = 90^\circ, tan⁡θ\tan \theta is not defined. Therefore, the slope of a vertical line is not defined.

From this definition, two immediate consequences follow:

  • The slope of the x‑axis is tan⁡0∘=0\tan 0^\circ = 0.
  • The slope of the y‑axis is not defined (since its inclination is 90∘90^\circ).
Watch out

A common mistake is to say the slope of a vertical line is "infinite" or "undefined" in a casual sense. In coordinate geometry, it is strictly not defined — you cannot assign any real number to it. Never write m=∞m = \infty.

Geometric Meaning of Slope

The slope m=tan⁡θm = \tan \theta tells us how steep the line is and in which direction it tilts.

  • If 0∘<θ<90∘0^\circ < \theta < 90^\circ, then m>0m > 0 — the line rises as we move to the right.
  • If 90∘<θ<180∘90^\circ < \theta < 180^\circ, then m<0m < 0 — the line falls as we move to the right. …
Definition 1Slope of a Line

The inclination of a line is the angle θ\theta that the line makes with the positive direction of the xx-axis, measured anticlockwise. By convention, 0∘≤θ≤180∘0^\circ \le \theta \le 180^\circ.

Definition. If θ\theta is the inclination of a line ll, then tan⁡θ\tan \theta is called the slope (or gradient) of the line ll. The slope is denoted by mm.

Thus,

m=tan⁡θ,θ≠90∘.m = \tan \theta, \quad \theta \neq 90^\circ.

Two special cases are included in the definition:

  • The slope of the xx-axis (or any line parallel to it) is 00, because its inclination is 0∘0^\circ and tan⁡0∘=0\tan 0^\circ = 0.
  • The slope of the yy-axis (or any vertical line) is not defined, because its inclination is 90∘90^\circ and tan⁡90∘\tan 90^\circ is undefined.
Note

A line makes two supplementary angles with the xx-axis. The definition picks the one measured anticlockwise from the positive xx-axis. …

Figure 9.2Inclination θ of a line l
Fig. 9.2 — Inclination θ of a line l

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

Fig. 9.2 is a simple but essential diagram: it shows a single straight line ll drawn through the origin OO of a standard xyxy-coordinate plane. The line rises from the lower-left quadrant to the upper-right quadrant — it is not horizontal and not vertical. The xx-axis and yy-axis are drawn as full lines crossing at OO, with arrows at their positive ends.

The key visual element is the inclination angle θ\theta. An arc starts at the positive xx-axis (the ray pointing right from OO) and sweeps anticlockwise until it meets the line ll. This arc is labelled θ\theta. Because the line ll also makes an angle with the negative xx-axis (the ray pointing left from OO), a second arc is shown on the left side, labelled 180∘−θ180^\circ - \theta. This second arc sweeps anticlockwise from the negative xx-axis up to the same line ll. The figure thus makes it clear that a line and the xx-axis always form two supplementary angles: θ\theta and 180∘−θ180^\circ - \theta.

Note

The figure deliberately shows both angles to reinforce that the inclination is defined as the smaller (or the one measured from the positive direction) — never the larger one. The line itself is the same; only the starting ray changes.

What the diagram teaches is that every non-vertical line has a unique inclination θ\theta between 0∘0^\circ and 180∘180^\circ, measured anticlockwise from the positive xx-axis. A horizontal line has θ=0∘\theta = 0^\circ; a vertical line has θ=90∘\theta = 90^\circ. The slope mm is then defined as the tangent of this angle:

m=tan⁡θ,θ≠90∘m = \tan \theta, \quad \theta \neq 90^\circ

Here mm is the slope (or gradient) of the line, and θ\theta is its inclination. The condition θ≠90∘\theta \neq 90^\circ is critical: tan⁡90∘\tan 90^\circ is undefined, so the slope of a vertical line does not exist. For θ=0∘\theta = 0^\circ, tan⁡0∘=0\tan 0^\circ = 0, so the slope of the xx-axis (or any horizontal line) is zero.

Watch out

A common mistake is to think the slope is tan⁡(180∘−θ)\tan(180^\circ - \theta) instead of tan⁡θ\tan \theta. The figure's two arcs show that θ\theta and 180∘−θ180^\circ - \theta are supplementary, and tan⁡(180∘−θ)=−tan⁡θ\tan(180^\circ - \theta) = -\tan \theta. The slope uses the anticlockwise angle from the positive xx-axis — that is θ\theta, not its supplement. …