<<Up     Contents

Slope

In mathematics, the slope of a straight line (within a Cartesian coordinate system) is a measure for the "steepness" of said line. This pages focuses on such slopes. With an understanding of algebra and geometry, one can calculate the slope of a straight line; with calculus, one can calculate the slope of a curved line.

In topography, the slope of a hill, mountain, road or anything else inclined, can be expressed as a percentage or an angle. In vehicular engineering, various land-based designs (cars, SUVs, trucks, trains, etc.) are rated for their ability[?] to "climb" the slope of terrain[?]. For a train that is typically much less than for cars.

Table of contents

Definition of a Slope

It is defined as the change in y divided by the corresponding change in x (if the horizontal axis is the x-axis and the vertical axis is the y-axis), often written as
m = Δy / Δx
and memorized as "rise over run". This concept is fundamental to algebra, analytic geometry, trigonometry, and calculus.

Note that it doesn't matter which two points on the line you pick, or in which order you use them: the same line will always have the same slope. Curves have "accelerating" slopes and one can use calculus to determine such slopes.

Example 1 Suppose a line runs through two points: P(13,8) and Q(1,2). By dividing the difference in y-coordinates by the difference in x-coordinates, one can obtain the slope of the line:

           Δy    y1 - y2     8 - 2    6     1
       m = —— = ———————— = ——————— = ——— = ——
           Δx    x1 - x2    13 - 1    12    2

The slope is 1/2 = 0.5.

Example 2 If a line runs through the points (4, 15) and (3, 21) then m = (21 - 15) / (3 - 4) = 6 / -1 = -6.

Geometry

The larger the slope, the steeper the line. A horizontal line has slope 0, a 45° rising line has a slope of +1, and a 45° falling line has a slope of -1. The slope of a vertical line is not defined (it does not make sense to define it as +∞, because it might just as well be defined as -∞).

The angle θ a line makes with the positive x axis is closely related to the slope m via the tangent function:

m = tan θ
and
θ = arctan m
(see trigonometry).

Two lines are parallel if and only if their slopes are equal; they are perpendicular (i.e. they form a right angle) if and only if the product of their slopes is -1.

Algebra

If the equation of the line is given in the form

y = mx + b
then the slope m can be read off as the coefficient of the x variable. This form of a line's equation is called the slope-intercept form, because b can be interpreted as the y-intercept of the line, the y-coordinate where the line intersects the y-axis.

If you know the slope m of a line and a point (x0, y0) on the line, then you can find the equation of the line using the point-slope formula:

y - y0 = m (x - x0)
m = Δy / Δx

For example, consider a line running through the 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

Why Algebra Can't Calculate the Slope of a Curve

In algebra, the slope of a straight line can be calculated with m = Δy / Δx; where one is calculating the slope from the values of the function at different points. However, with a curved line (such as that described by y = x²) the slope changes between each and every point described by said curve and one is thus only able to calculate an average slope, via the above method. For example, the average slope of y = x², from x = 0 to x = 3, is m = 9 / 3 = 3 (which happens to be the actual slope at, and only at, x = 1.5). Should one attempt to use the above formula for a single point, such as (x = 3, y = 9); one then gets m = 0 / 0 ; as the Δ for both y and x equals zero (see also: division by zero).

Calculus

The concept of a slope is central to differential calculus; which deals with curved functions. Unlike straight functions, the slope of curved functions varies at different points. This slope is often referred to as a derivative. To find the slope of a curved function, at a given point, one must find a line which is tangent to said function, at said point. The slope of said tangential line is equal to the slope of said function at said point.

wikipedia.org dumped 2003-03-17 with terodump