Jump to content

Slope: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Reverted 1 edit by 209.189.130.33 (talk): Blanking. (TW)
Blanked the page
Line 1: Line 1:
{{About|the mathematical term}}
{{for|the grade (incline or gradient or pitch or slope) of any physical feature|Grade (slope)}}
[[File:Slope picture.svg|right|thumb|The slope of a line in the plane is defined as the rise over the run, ''m'' = Δ''y''/Δ''x''.]]
In [[mathematics]], the '''slope''' or '''gradient''' of a [[Line (mathematics)|line]] describes its steepness, incline, or grade. A higher slope value indicates a steeper incline. (Slope, as a practical term, is not defined for theoretically perfectly horizontal or vertical lines.)

Slope is normally described by the ratio of the "rise" divided by the "run" between two points on a line. The line may be practical - a set by a road surveyor - or in a diagram that models a road or a roof either as a description or as a plan.

For relatively short distances - where the earth's curvature may be neglected, the rise of a road between two points is the difference between the altitude of at those two points, say ''y''<sub>1</sub> and ''y''<sub>2</sub>, or in other words,

the rise is (''y''<sub>2</sub> − ''y''<sub>1</sub>) = &Delta;<i>y</i>.

In this example, the run is the difference in distance from a fixed point a measured along a level, horizontal line, or in other words,

the run is (''x''<sub>2</sub> − ''x''<sub>1</sub>) = &Delta;<i>x</i>.

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
:<math>m=\frac{y_2-y_1}{x_2-x_1}.</math>

The concept of slope applies directly to [[grade (slope)|grade]]s or [[gradient]]s in [[geography]] and [[civil engineering]]. Through [[trigonometry]], the grade ''m'' of a road is related to its angle of incline ''θ'' by
:<math>m = \tan \theta.\!</math>

As a generalization of this practical description, the mathematics of [[differential calculus]] defines the slope of a [[curve]] at a point as the slope of the [[Tangent|tangent line]] at that point. When the curve given by a series of points in a diagram or in a list of the coordinates of points, the slope may be calculated not at a point but between any two given points. When the curve is given as a continuous function, perhaps as an algebraic formula, then the differential calculus provides rules giving a formula for the slope of the cure at any point in the middle of the curve.

This generalization of the concept of slope allows very complex constructions to be planned and built that go well beyond static structures that are either horizontals or verticals, but can change in time, move in curves, and change depending on the rate of change of other factors. Thereby, the simple idea of slope becomes one of the main basis of the modern world in terms of both technology and the built environment.

== Definition ==

[[File:Slope of lines illustrated.jpg|thumb|400px|right|Slope illustrated for ''y''&nbsp;=&nbsp;(3/2)''x''&nbsp;&minus;&nbsp;1. Click on to enlarge]]

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:

:<math>m = \frac{\Delta y}{\Delta x} = \frac{\text{rise}}{\text{run}}.</math>
(The ''delta'' [[math symbol|symbol]], "[[Δ]]", is commonly used in mathematics to mean "difference" or "change".)

Given two points (''x''<sub>1</sub>,''y''<sub>1</sub>) and (''x''<sub>2</sub>,''y''<sub>2</sub>), the change in ''x'' from one to the other is {{nowrap|''x''<sub>2</sub> − ''x''<sub>1</sub>}} (''run''), while the change in ''y'' is {{nowrap|''y''<sub>2</sub> − ''y''<sub>1</sub>}} (''rise''). Substituting both quantities into the above equation generates the formula:
:<math>m = \frac{y_2 - y_1}{x_2 - x_1}.</math> The formula fails for a line parallel to the y axis (see [[Division by zero]]), where the slope can be taken as [[infinity|infinite]].

==Examples==
Suppose a line runs through two points: ''P''&nbsp;=&nbsp;(1,&nbsp;2) and ''Q''&nbsp;=&nbsp;(13,&nbsp;8). By dividing the difference in ''y''-coordinates by the difference in ''x''-coordinates, one can obtain the slope of the line:
:<math>m = \frac{\Delta y}{\Delta x} = \frac{y_2 - y_1}{x_2 - x_1} = \frac{8 - 2}{13 - 1} = \frac{6}{12} = \frac{1}{2}.</math>

As another example, consider a line which runs through the points (4,&nbsp;15) and (3,&nbsp;21). Then, the slope of the line is
:<math>m = \frac{ 21 - 15}{3 - 4} = \frac{6}{-1} = -6.</math>

== Geometry ==
The larger the absolute value of a slope, the steeper the line. A horizontal line has slope&nbsp;0, a 45° rising line has a slope of +1, and a 45° falling line has a slope of&nbsp;&minus;1. A vertical line's slope is undefined.

The angle θ a line makes with the positive ''x'' axis is closely related to the slope ''m'' via the [[tangent (trigonometric function)|tangent function]]:
:<math>m = \tan\,\theta</math>
and
:<math>\theta = \arctan\,m</math>
(see [[trigonometry]]).

Two lines are parallel if and only if their slopes are equal and they are not coincident or if they both are vertical and therefore have undefined slopes. Two lines are [[perpendicular]] if the product of their slopes is&nbsp;&minus;1 or one has a slope of 0 (a horizontal line) and the other has an undefined slope (a vertical line). Also, another way to determine a perpendicular line is to find the slope of one line and then to get its reciprocal and then reversing its positive or negative sign (e.g. a line perpendicular to a line of slope &nbsp;&minus;2 is&nbsp;+1/2).

===Slope of a road or railway===
:''Main articles: [[Grade (slope)]], [[Grade separation]]''
There are two common ways to describe how steep a [[road]] or [[Rail tracks|railroad]] is. One is by the angle in degrees, and the other is by the slope in a percentage. See also [[mountain railway]] and [[rack railway]]. The formulae for converting a slope as a percentage into an angle in degrees and vice versa are:
:<math>\text{angle} = \arctan \frac{\text{slope}}{100} ,</math>
and
:<math>\mbox{slope} = 100 \tan( \mbox{angle}),\, </math>
where ''angle'' is in degrees and the trigonometric functions operate in degrees. For example, a 100[[Percent sign|%]] or 1000[[Per mil|‰]] slope is 45°.

A third way is to give one unit of rise in say 10, 20, 50 or 100 horizontal units, e.g. 1:10. 1:20, 1:50 or 1:100 (etc.).
<gallery>
File:Nederlands verkeersbord J6.svg|Slope warning sign in the [[Netherlands]]
File:Znak_A-23.svg|Slope warning sign in [[Poland]]
File:Skloník-klesání.jpg|A 1371-meter distance of a railroad with a 20[[Per mil|‰]] slope. [[Czech Republic]]
File:Railway gradient post.jpg|Steam-age railway gradient post indicating a slope in both directions at [[Meols railway station]], [[United Kingdom]]
</gallery>

==Algebra==
If ''y'' is a [[linear function]] of ''x'', then the coefficient of ''x'' is the slope of the line created by plotting the function. Therefore, if the equation of the line is given in the form
:<math>y = mx + b \,</math>
then ''m'' is the slope. 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 the slope ''m'' of a line and a point (''x''<sub>1</sub>,''y''<sub>1</sub>) on the line are both known, then the equation of the line can be found using the [[Linear equation#Point–slope form|point-slope formula]]:
:<math>y - y_1 = m(x - x_1).\!</math>

For example, consider a line running through the points (2,8) and (3,20). This line has a slope, ''m'', of
:<math>\frac {(20 - 8)}{(3 - 2)} \; = 12. \,</math>
One can then write the line's equation, in point-slope form:
:<math>y - 8 = 12(x - 2) = 12x - 24 \,</math>
or:
:<math>y = 12x - 16. \,</math>

The slope of the line defined by the [[linear equation]]
:<math>ax + by +c = 0 \,</math>
is: <math>-\frac {a}{b} \;</math>.

==Calculus==
[[File:Graph of sliding derivative line.gif|right|frame|At each point, the [[derivative]] is the slope of a [[Line (geometry)|line]] that is [[tangent]] to the [[curve]]. The line is always tangent to the blue curve; its slope is the derivative. Note derivative is [[positive number|positive]] where green, [[negative number|negative]] where red, and [[zero (number)|zero]] where black]]
The concept of a slope is central to [[differential calculus]]. For non-linear functions, the rate of change varies along the curve. The [[derivative]] of the function at a point is the slope of the line [[tangent]] to the curve at the point, and is thus equal to the rate of change of the function at that point.

If we let Δ''x'' and Δ''y'' be the distances (along the ''x'' and ''y'' axes, respectively) between two points on a curve, then the slope given by the above definition,
:<math>m = \frac{\Delta y}{\Delta x}</math>,

is the slope of a [[secant line]] to the curve. For a line, the secant between any two points is the line itself, but this is not the case for any other type of curve.

For example, the slope of the secant intersecting ''y'' = ''x''<sup>2</sup> at (0,0) and (3,9) is 3. (The slope of the tangent at {{nowrap|1=x = {{frac|3|2}}}} is also 3—a consequence of the [[mean value theorem]].)

By moving the two points closer together so that Δ''y'' and Δ''x'' decrease, the secant line more closely approximates a tangent line to the curve, and as such the slope of the secant approaches that of the tangent. Using [[differential calculus]], we can determine the [[limit of a function|limit]], or the value that Δ''y''/Δ''x'' approaches as Δ''y'' and Δ''x'' get closer to [[zero]]; it follows that this limit is the exact slope of the tangent. If ''y'' is dependent on ''x'', then it is sufficient to take the limit where only Δ''x'' approaches zero. Therefore, the slope of the tangent is the limit of Δ''y''/Δ''x'' as Δ''x'' approaches zero, or ''dy''/''dx''. We call this limit the [[derivative (calculus)|derivative]].

:<math>\frac{dy}{dx} = \lim_{\Delta x \to 0}\frac{\Delta y}{\Delta x}</math>

==See also==
* The [[gradient]] is a generalization of the concept of slope for functions of more than one variable.
* [[Trigonometric function#Slope definitions|Slope definitions]]
* [[Euclidean distance]]
* [[Theil–Sen estimator]], a line with the [[median]] slope among a set of sample points

== External links ==
{{Wiktionary|slope}}

[[Category:Analytic geometry]]
[[Category:Elementary mathematics]]

[[am:ኩርባ]]
[[ar:انحدار]]
[[bg:Диференчно частно]]
[[ca:Pendent (matemàtiques)]]
[[cs:Směrnice přímky]]
[[da:Hældningskoefficient]]
[[de:Steigung]]
[[et:Tõus (matemaatika)]]
[[es:Pendiente (matemáticas)]]
[[fa:شیب (ریاضی)]]
[[fr:Pente (mathématiques)]]
[[ko:기울기]]
[[hi:प्रवणता]]
[[hr:Koeficijent smjera pravca]]
[[io:Pento]]
[[is:Hallatala]]
[[it:Coefficiente angolare]]
[[he:שיפוע]]
[[li:Riechtingscoëfficiënt]]
[[nl:Richtingscoëfficiënt]]
[[no:Stigningstall]]
[[sk:Smernica priamky]]
[[fi:Kulmakerroin]]
[[sv:Riktningskoefficient]]
[[ta:சாய்வு]]
[[tr:Eğim]]
[[zh:斜率]]

Revision as of 19:31, 14 May 2012