ArticleslgStudy

mathematics

Slope

Slope is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Slope rather than just read about it. In short: In mathematics, the slope or gradient of a line is a number that describes the direction of the line on a plane. It is commonly denoted by the letter m, and is defined as the ratio of the vertical change (rise) to the horizontal change (run) between any two distinct points on the line.

Slope — main illustration
Slope — illustration

Key takeaways

  • Slope belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Slope to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Slope from memory before moving on to harder problems.

Reference excerpt

In mathematics, the slope or gradient of a line is a number that describes the direction of the line on a plane. It is commonly denoted by the letter m, and is defined as the ratio of the vertical change (rise) to the horizontal change (run) between any two distinct points on the line. It is not a direct distance or a direct angle, but a measure of their ratio. The line may be physical, as set by a road surveyor, pictorial as in a diagram of a road or roof, or abstract in pure mathematics. An application of the mathematical concept is found in the grade or gradient in geography and civil engineering. The steepness, incline, or grade of a line is the absolute value of its slope: greater absolute value indicates a steeper line. The line trend is defined as follows:

An "increasing" or "ascending" line goes up from left to right and has positive slope: m>0. A "decreasing" or "descending" line goes down from left to right and has negative slope: m<0. Special directions are:

A "(square) diagonal" line has unit slope: m=1 A "horizontal" line (the graph of a constant function) has zero slope: m=0. A "vertical" line has undefined or infinite slope (see below). If two points of a road have altitudes y1 and y2, the rise is the difference (y2 − y1) = Δy. Neglecting the Earth's curvature, if the two points have horizontal distance x1 and x2 from a fixed point, the run is (x2 − x1) = Δx. The slope between the two points is the difference ratio: m=ΔyΔx=y2−y1x2−x1. Through trigonometry, the slope m of a line is related to its angle of inclination θ by the tangent function m=tan⁡(θ). Thus, a 45° rising line has slope m = +1, and a 45° falling line has slope m = −1. Generalizing this, differential calculus defines the slope of a plane curve at a point as the slope of its tangent line at that point. When the curve is approximated by a series of points, the slope of the curve may be approximated by the slope of the secant line between two nearby points. When the curve is given as the graph of an algebraic expression, calculus gives formulas for the slope at each point. Slope is thus one of the central ideas of calculus and its applications to design.

Notation There seems to be no clear answer as to why the letter m is used for slope, but it first appears in English in O'Brien (1844) who introduced the equation of a line as "y = mx + b", and it can also be found in Todhunter (1888) who wrote "y = mx + c".

Definition

The slope of a line in the plane containing the x and y axes is generally represented by the letter m, and is defined as the change in the y coordinate divided by the corresponding change in the x coordinate, between two distinct points on the line. This is described by the following equation: m=ΔyΔx=verticalchangehorizontalchange=riserun. (The Greek letter delta, Δ, is commonly used in mathematics to mean "difference" or "change".) Given two points (x1,y1) and (x2,y2), the change in x from one to the other is x2−x1 (run), while the change in y is y2−y1 (rise). Substituting both quantities into the above equation generates the formula: m=y2−y1x2−x1. The formula fails for a vertical line, parallel to the y axis (see Division by zero), where the slope can be taken as infinite, so the slope of a vertical line is considered undefined.

Examples Suppose a line runs through two points: P = (1, 2) and Q = (13, 8). By dividing the difference in y-coordinates by the difference in x-coordinates, one can obtain the slope of the line: m=ΔyΔx=y2−y1x2−x1=(8−2)(13−1)=612=12. Since the slope is positive, the direction of the line is increasing. Since |m| < 1, the incline is not very steep (incline < 45°). As another example, consider a line which runs through the points (4, 15) and (3, 21). Then, the slope of the line is m=21−153−4=6−1=−6. Since the slope is negative, the direction of the line is decreasing. Since |m| > 1, this decline is fairly steep (decline > 45°).

Algebra and geometry

Examples For example, consider a line running through points (2,8) and (3,20). This line has a slope, m, of (20−8)(3−2)=12. One can then write the line's equation, in point-slope form: y−8=12(x−2)=12x−24. or: y=12x−16. The angle θ between −90° and 90° that this line makes with the x-axis is θ=arctan⁡(12)≈85.2∘. Consider the two lines: y = −3x + 1 and y = −3x − 2. Both lines have slope m = −3. They are not the same line. So they are parallel lines. Consider the two lines y = −3x + 1 and y = ⁠x/3⁠ − 2. The slope of the first line is m1 = −3. The slope of the second line is m2 = ⁠1/3⁠. The product of these two slopes is −1. So these two lines are perpendicular.

Statistics In statistics, the gradient of the least-squares regression best-fitting line for a given sample of data may be written as: m=rsysx, This quantity m is called as the regression slope for the line y=mx+c. The quantity r is Pearson's correlation coefficient, sy is the standard deviation of the y-values and sx is the standard deviation of the x-values. This may also be written as a ratio of covariances: m=cov⁡(Y,X)cov⁡(X,X)

Calculus

… excerpt ends here. Continue reading the full article.

Illustrations

Slope: Slope: .mw-parser-output .texhtml{font-family:"Nimbus Roman No9 L","Times New Roman",Times,serif;font-size:118%;line-height:1;font-variant-numeric:lining-nums tabular-nums;font-kerning:none}.mw-parser-output .texhtml .texhtml{font-size:100%}.mw-parser-output .texhtml-big{font-size:165%}.mw-parser-output .mvar{font-style:italic}@media(min-width:420px){.mw-parser-output .texhtml{white-space:nowrap}}m = .mw-parser-output .sfrac{white-space:nowrap}.mw-parser-output .sfrac.tion,.mw-parser-output .sfrac .tion{display:inline-block;vertical-align:-0.5em;font-size:85%;text-align:center;margin-left:.1em;margin-right:.1em}.mw-parser-output .sfrac .num{display:block;border-bottom:1px solid}.mw-parser-output .sfrac .den{display:block;line-height:1.5em}.mw-parser-output .sr-only{border:0;clip:rect(0,0,0,0);clip-path:polygon(0px 0px,0px 0px,0px 0px);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}⁠Δy/Δx⁠ = tan(θ)
Slope: .mw-parser-output .texhtml{font-family:"Nimbus Roman No9 L","Times New Roman",Times,serif;font-size:118%;line-height:1;font-variant-numeric:lining-nums tabular-nums;font-kerning:none}.mw-parser-output .texhtml .texhtml{font-size:100%}.mw-parser-output .texhtml-big{font-size:165%}.mw-parser-output .mvar{font-style:italic}@media(min-width:420px){.mw-parser-output .texhtml{white-space:nowrap}}m = .mw-parser-output .sfrac{white-space:nowrap}.mw-parser-output .sfrac.tion,.mw-parser-output .sfrac .tion{display:inline-block;vertical-align:-0.5em;font-size:85%;text-align:center;margin-left:.1em;margin-right:.1em}.mw-parser-output .sfrac .num{display:block;border-bottom:1px solid}.mw-parser-output .sfrac .den{display:block;line-height:1.5em}.mw-parser-output .sr-only{border:0;clip:rect(0,0,0,0);clip-path:polygon(0px 0px,0px 0px,0px 0px);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}⁠Δy/Δx⁠ = tan(θ)
Slope: Slope illustrated for y = (3/2)x − 1. Click on to enlarge
Slope illustrated for y = (3/2)x − 1. Click on to enlarge
Slope: Slope of a line in coordinates system, from f(x) = −12x + 2 to f(x) = 12x + 2
Slope of a line in coordinates system, from f(x) = −12x + 2 to f(x) = 12x + 2
Slope: Slopes of parallel and perpendicular lines
Slopes of parallel and perpendicular lines
Slope: At each point, the derivative is the slope of a line that is tangent to the curve at that point. Note: the derivative at point A is positive where green and dash–dot, negative where red and dashed, and zero where black and solid.
At each point, the derivative is the slope of a line that is tangent to the curve at that point. Note: the derivative at point A is positive where green and dash–dot, negative where red and dashed, and zero where black and solid.

Worked examples

Example 1 — a first encounter with Slope

Start with the simplest possible case. Write down what Slope claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Slope before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Slope ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Slope

In research
Slope appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Slope in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Slope is common in secondary-school and first-year university syllabi. It links to neighbouring topics Analytic geometry, Elementary mathematics, Ratios, so understanding it makes those chapters shorter.
In everyday life
Look for Slope outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Slope” →

How to study Slope in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Slope means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Slope out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Slope in simple terms?

In mathematics, the slope or gradient of a line is a number that describes the direction of the line on a plane. It is commonly denoted by the letter m, and is defined as the ratio of the vertical change (rise) to the horizontal change (run) between any two distinct points on the line.

Why does Slope matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Slope?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Slope.

Tags

  • Analytic geometry
  • Elementary mathematics
  • Ratios

Keep exploring