*** Welcome to piglix ***

Slope (mathematics)


In mathematics, the slope or gradient of a line is a number that describes both the direction and the steepness of the line. Slope is often denoted by the letter m; there is no clear answer to the question why the letter m is used for slope, but it might be from the "m for multiple" in the equation of a straight line "y = mx + b" or "y = mx + c".

Slope is calculated by finding the ratio of the "vertical change" to the "horizontal change" between (any) two distinct points on a line. Sometimes the ratio is expressed as a quotient ("rise over run"), giving the same number for every two distinct points on the same line. A line that is decreasing has a negative "rise". The line may be practical - as set by a road surveyor, or in a diagram that models a road or a roof either as a description or as a plan.

The steepness, incline, or grade of a line is measured by the absolute value of the slope. A slope with a greater absolute value indicates a steeper line. The direction of a line is either increasing, decreasing, horizontal or vertical.

The rise of a road between two points is the difference between the altitude of the road at those two points, say y1 and y2, or in other words, the rise is (y2y1) = Δy. For relatively short distances - where the earth's curvature may be neglected, the run is the difference in distance from a fixed point measured along a level, horizontal line, or in other words, the run is (x2x1) = Δx. Here the slope of the road between the two points is simply described as the ratio of the altitude change to the horizontal distance between any two points on the line.

In mathematical language, the slope m of the line is

The concept of slope applies directly to grades or gradients in geography and civil engineering. Through trigonometry, the slope m of a line is related to its angle of incline θ by the tangent function

Thus, a 45° rising line has a slope of +1 and a 45° falling line has a slope of −1.


...
Wikipedia

...