Slope of a line

Stand a ramp, a roof, or a hillside road in front of a mathematician and the first question is always the same: how steep is it, and which way does it tilt? The slope of a line answers both questions with a single signed number. It is defined from the angle θ\theta the line makes with the positive x-axis, and its sign alone tells you whether the line climbs, falls, sits flat, or stands straight up. This is the opening idea of the CBSE Class 11 chapter "Straight Lines" (Unit III, Coordinate Geometry), and everything that follows in the chapter — writing the slope from two points, testing when two lines are parallel or perpendicular, and the various equation-of-a-line forms — is built directly on top of this one definition. Get comfortable with m=tan⁡θm = \tan\theta and its four sign cases now, because the rest of coordinate geometry leans on it constantly.

The core insight

The slope of a line is m=tan⁡θm = \tan\theta, where θ\theta is the angle the line makes with the positive x-axis measured counter-clockwise, so mm is zero for a horizontal line, positive for a line rising left to right, negative for a line falling left to right, and undefined for a vertical line.

The core idea

A straight line, extended in both directions, makes some angle θ\theta with the positive direction of the x-axis, always measured going counter-clockwise from that axis. By convention θ\theta is taken in the range 0∘≤θ≤180∘0^\circ \le \theta \le 180^\circ, since going further would just repeat the same line. The slope of the line is defined as the tangent of this angle:

m=tan⁡θ,0∘≤θ≤180∘, θ≠90∘.m = \tan\theta, \qquad 0^\circ \le \theta \le 180^\circ,\ \theta \neq 90^\circ.

where: mm is the slope (a pure number, no units), and θ\theta is the inclination of the line with the positive x-axis. The single formula splits cleanly into four cases that are worth memorising as a set, because most exam questions are really just testing whether you can read θ\theta off a picture and place it in the right case.

  • θ=0∘\theta = 0^\circ: the line is horizontal, and m=tan⁡0∘=0m = \tan 0^\circ = 0.
  • 0∘<θ<90∘0^\circ < \theta < 90^\circ: the line rises from left to right, and m>0m > 0.
  • 90∘<θ<180∘90^\circ < \theta < 180^\circ: the line falls from left to right, and m<0m < 0.
  • θ=90∘\theta = 90^\circ: the line is vertical; tan⁡90∘\tan 90^\circ is not defined, so a vertical line has no slope at all — not zero, not infinite, simply undefined.

Slope belongs to the line itself, not to any particular pair of points chosen on it — two different points on the same line always give the same mm (this equivalence is proved once coordinates are introduced, in the companion topic on computing slope from two points). The picture below fixes the four cases in your mind before you meet a single numeric example.

Figure
Four lines through a common point showing zero positive negative and undefined slope as the angle theta increases from zero to one hundred eighty degrees
Slope m = tan(theta) for four values of the inclination theta = 0, m = 0 theta acute, m greater than 0 theta obtuse, m less than 0 theta = 90, m undefined

Why it works

The everyday meaning of "steepness" is rise over run: how much a path climbs vertically for every unit it moves horizontally. If you draw a right triangle with the line as its hypotenuse, the vertical rise sits opposite the angle θ\theta at the base, and the horizontal run sits adjacent to it, so trigonometry gives rise over run exactly as tan⁡θ\tan\theta — which is why m=tan⁡θm = \tan\theta matches the intuitive rise-over-run picture used for ramps and roofs, and why mathematicians simply promoted that everyday ratio into a formal definition tied to the angle θ\theta measured from the positive x-axis so that the sign of mm automatically records the direction of tilt as well as its steepness. As θ\theta grows from 0∘0^\circ towards 90∘90^\circ, tan⁡θ\tan\theta grows without bound, so lines get steeper and steeper the closer they swing towards vertical; the moment θ\theta actually reaches 90∘90^\circ there is no finite rise-over-run left to state, which is exactly why the vertical line's slope is undefined rather than some very large number. Past 90∘90^\circ, the rise turns negative relative to the run, flipping tan⁡θ\tan\theta negative and matching a line that now falls as xx increases — the sign of mm is therefore not a bookkeeping trick but a direct geometric consequence of which way the triangle's rise points. This also explains why the definition insists 0∘≤θ≤180∘0^\circ \le \theta \le 180^\circ rather than allowing any angle at all: a straight line, unlike a ray, extends equally in two opposite directions, and the angle measured going one way along it is simply 180∘180^\circ minus the angle measured going the other way. Restricting θ\theta to a single half-turn picks out one number per line instead of two candidates that would otherwise disagree. One more relation worth keeping alongside the definition, ready for the next companion topic (parallelism and perpendicularity): the acute angle θ\theta between two lines of slopes m1m_1 and m2m_2 satisfies

tan⁡θ=∣m2−m11+m1m2∣.\tan\theta = \left|\dfrac{m_2 - m_1}{1 + m_1 m_2}\right|.

where: m1,m2m_1, m_2 are the slopes of the two lines and θ\theta is the acute angle between them.

Worked example

Problem. A line makes an angle of 135∘135^\circ with the positive direction of the x-axis. Find its slope and describe whether the line rises or falls as xx increases. Then, separately, a ramp rises 11 metre in height for every 55 metres of horizontal run — state its slope and the sign of its inclination angle.

Step 1. For the 135∘135^\circ line, apply the definition directly: m=tan⁡135∘m = \tan 135^\circ. Write 135∘=180∘−45∘135^\circ = 180^\circ - 45^\circ and use tan⁡(180∘−α)=−tan⁡α\tan(180^\circ - \alpha) = -\tan\alpha, so tan⁡135∘=−tan⁡45∘=−1\tan 135^\circ = -\tan 45^\circ = -1.

Step 2. Interpret the sign: since m=−1<0m = -1 < 0 and 90∘<135∘<180∘90^\circ < 135^\circ < 180^\circ, this matches the third case above exactly, so the line falls as xx increases.

Step 3. For the ramp, the rise-over-run description is itself the slope: m=riserun=15=0.2m = \dfrac{\text{rise}}{\text{run}} = \dfrac{1}{5} = 0.2. Because the ramp climbs going forward, its inclination θ\theta satisfies 0∘<θ<90∘0^\circ < \theta < 90^\circ, consistent with m=0.2>0m = 0.2 > 0.

Step 4. To pin down θ\theta itself for the ramp we would write θ=tan⁡−1(0.2)\theta = \tan^{-1}(0.2), but inverse trigonometric functions are outside the Class 11 syllabus — it is enough here to state that θ\theta is some acute angle satisfying tan⁡θ=0.2\tan\theta = 0.2, without evaluating it numerically.

Answer: for the 135∘135^\circ line, m=−1m = -1, falling left to right; for the ramp, m=0.2m = 0.2, an acute rising angle with tan⁡θ=0.2\tan\theta = 0.2.

Common traps

  • Treating a vertical line as having "zero slope" — it is the horizontal line that has m=0m = 0; a vertical line has no defined slope at all.
  • Measuring θ\theta from the wrong axis or in the wrong direction — it must always be from the positive x-axis, counter-clockwise, and kept within 0∘0^\circ to 180∘180^\circ.
  • Assuming steepness increases smoothly and monotonically across the whole 0∘0^\circ to 180∘180^\circ sweep — in fact ∣tan⁡θ∣|\tan\theta| grows as θ→90∘\theta \to 90^\circ from either side and then shrinks again past it, so equal jumps in θ\theta do not mean equal jumps in steepness.
  • Reading a negative slope as meaning the line is somehow "smaller" — it only records that the line falls as xx increases, not anything about its length or magnitude.

Ask the tutor: if you are still unsure why a vertical line "has no slope" instead of an infinite one, or want to practice reading θ\theta off a diagram, ask your AI tutor to walk through a few more slope examples with you.

Why is the slope of a vertical line undefined instead of being called infinite

Slope is defined as tan⁡θ\tan\theta, and tan⁡90∘\tan 90^\circ genuinely has no finite value — there is no number you can name as the answer. Calling it "infinite" would suggest it is some enormous but real number, which breaks algebra done with slopes (like the angle-between-lines formula). So mathematicians simply exclude θ=90∘\theta = 90^\circ from the definition and say the slope does not exist for a vertical line.

Do I need to know inverse trigonometric functions to find the angle from a slope

Not in Class 11 coordinate geometry. If a slope like m=0.2m = 0.2 does not correspond to a standard angle such as 30∘30^\circ, 45∘45^\circ, or 60∘60^\circ, you are only expected to describe θ\theta as "the acute (or obtuse) angle satisfying tan⁡θ=0.2\tan\theta = 0.2," not compute its numerical value. Inverse trig functions are introduced in a later chapter.

Why does the formula restrict theta to between 0 degrees and 180 degrees

A line extends infinitely in both directions, so the angle it makes with the positive x-axis and the angle it makes going the opposite way describe the exact same line. Restricting θ\theta to 0∘≤θ≤180∘0^\circ \le \theta \le 180^\circ picks one consistent value per line instead of two, so the slope stays a single well-defined number.

Before this

Where this leads