<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sarg.dev/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=2605%3A59C8%3A11AC%3A9210%3AC04F%3AB5A9%3AF886%3AB460</id>
	<title>Vero - Wikipedia - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sarg.dev/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=2605%3A59C8%3A11AC%3A9210%3AC04F%3AB5A9%3AF886%3AB460"/>
	<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php/Special:Contributions/2605:59C8:11AC:9210:C04F:B5A9:F886:B460"/>
	<updated>2026-08-14T15:31:06Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.sarg.dev/index.php?title=Slope&amp;diff=19182</id>
		<title>Slope</title>
		<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Slope&amp;diff=19182"/>
		<updated>2025-04-18T05:13:55Z</updated>

		<summary type="html">&lt;p&gt;2605:59C8:11AC:9210:C04F:B5A9:F886:B460: /* Examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{short description|Mathematical term}}&lt;br /&gt;
{{About|the mathematical term|slope of a physical feature|Grade (slope)|other uses|Slope (disambiguation)}}&lt;br /&gt;
[[File:Wiki slope in 2d.svg|right|thumb|Slope: &amp;lt;math&amp;gt;m = \frac{\Delta y}{\Delta x} = \tan(\theta)&amp;lt;/math&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
In [[mathematics]], the &#039;&#039;&#039;slope&#039;&#039;&#039; or &#039;&#039;&#039;gradient&#039;&#039;&#039; of a [[Line (mathematics)|line]] is a number that describes the [[direction (geometry)|direction]] of the line on a [[plane (geometry)|plane]].&amp;lt;ref&amp;gt;{{cite web|url=http://web.cortland.edu/matresearch/OxfordDictionaryMathematics.pdf |title=Oxford Concise Dictionary of Mathematics, Gradient |first1=C. |last1=Clapham |first2=J. |last2=Nicholson |publisher=Addison-Wesley |year=2009 |page=348 |access-date=1 September 2013 |url-status=dead |archive-url=https://web.archive.org/web/20131029203826/http://web.cortland.edu/matresearch/OxfordDictionaryMathematics.pdf |archive-date=29 October 2013 }}&amp;lt;/ref&amp;gt; Often denoted by the letter &#039;&#039;m&#039;&#039;, slope is calculated as the [[ratio]] of the vertical change to the horizontal change (&amp;quot;rise over run&amp;quot;) between two distinct points on the line, giving the same number for any choice of points. &lt;br /&gt;
&lt;br /&gt;
The line may be physical – as set by a [[Surveying|road surveyor]], pictorial as in a [[diagram]] of a road or roof, or [[Pure mathematics|abstract]].&lt;br /&gt;
An application of the mathematical concept is found in the [[grade (slope)|grade]] or [[gradient]] in [[geography]] and [[civil engineering]]. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;steepness&#039;&#039;, 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: &lt;br /&gt;
*An &amp;quot;increasing&amp;quot; or &amp;quot;ascending&amp;quot; line goes {{em|up}} from left to right and has positive slope: &amp;lt;math&amp;gt;m&amp;gt;0&amp;lt;/math&amp;gt;.&lt;br /&gt;
*A &amp;quot;decreasing&amp;quot; or &amp;quot;descending&amp;quot; line goes {{em|down}} from left to right and has negative slope: &amp;lt;math&amp;gt;m&amp;lt;0&amp;lt;/math&amp;gt;.&lt;br /&gt;
Special directions are:&lt;br /&gt;
*A &amp;quot;(square) [[diagonal]]&amp;quot; line has unit slope: &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;&lt;br /&gt;
*A &amp;quot;horizontal&amp;quot; line (the graph of a [[constant function]]) has zero slope: &#039;&#039;&#039;&amp;lt;math&amp;gt;m=0&amp;lt;/math&amp;gt;&#039;&#039;&#039;. &lt;br /&gt;
*A &amp;quot;vertical&amp;quot; line has undefined or infinite slope (see below).&lt;br /&gt;
&lt;br /&gt;
If two points of a road have altitudes &#039;&#039;y&#039;&#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; and &#039;&#039;y&#039;&#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, the rise is the difference (&#039;&#039;y&#039;&#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; − &#039;&#039;y&#039;&#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;) = Δ&#039;&#039;y&#039;&#039;. Neglecting the [[Figure of the Earth|Earth&#039;s curvature]], if the two points have horizontal distance &#039;&#039;x&#039;&#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; and &#039;&#039;x&#039;&#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; from a fixed point, the run is (&#039;&#039;x&#039;&#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; − &#039;&#039;x&#039;&#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;) = Δ&#039;&#039;x&#039;&#039;. The slope between the two points is the &#039;&#039;&#039;difference ratio&#039;&#039;&#039;:&lt;br /&gt;
:&amp;lt;math&amp;gt;m=\frac{\Delta y}{\Delta x} = \frac{y_2-y_1}{x_2-x_1}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Through [[trigonometry]], the slope &#039;&#039;m&#039;&#039; of a line is related to its [[angle]] of inclination &#039;&#039;θ&#039;&#039; by the [[tangent function]]&lt;br /&gt;
:&amp;lt;math&amp;gt;m = \tan (\theta).&amp;lt;/math&amp;gt;&lt;br /&gt;
Thus, a 45° rising line has slope &#039;&#039;m =&#039;&#039; +1, and a 45° falling line has slope &#039;&#039;m =&#039;&#039; −1.&lt;br /&gt;
&lt;br /&gt;
Generalizing this, [[differential calculus]] defines the slope of a [[plane curve]] at a point as the slope of its [[Tangent|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 [[Derivative|formulas for the slope]] at each point. Slope is thus one of the central ideas of calculus and its applications to design.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
There seems to be no clear answer as to why the letter &#039;&#039;m&#039;&#039; is used for slope, but it first appears in English in [[Matthew O&#039;Brien (mathematician)|O&#039;Brien]] (1844)&amp;lt;ref&amp;gt;{{citation |last=O&#039;Brien |first=M. |title=A Treatise on Plane Co-Ordinate Geometry or the Application of the Method of Co-Ordinates in the Solution of Problems in Plane Geometry |year=1844 |place=Cambridge, England |publisher=Deightons}}&amp;lt;/ref&amp;gt; who introduced the equation of a line as {{nobreak|1=&amp;quot;&#039;&#039;y&#039;&#039; = &#039;&#039;mx&#039;&#039; + &#039;&#039;b&#039;&#039;&amp;quot;}}, and it can also be found in [[Isaac Todhunter|Todhunter]] (1888)&amp;lt;ref&amp;gt;{{citation |last=Todhunter |first=I. |title=Treatise on Plane Co-Ordinate Geometry as Applied to the Straight Line and Conic Sections |year=1888 |place=London |publisher=Macmillan}}&amp;lt;/ref&amp;gt; who wrote &amp;quot;&#039;&#039;y&#039;&#039; = &#039;&#039;mx&#039;&#039; + &#039;&#039;c&#039;&#039;&amp;quot;.&amp;lt;ref&amp;gt;{{cite web |last=Weisstein |first=Eric W. |title=Slope |url=http://mathworld.wolfram.com/Slope.html |url-status=live |archive-url=https://web.archive.org/web/20161206182915/http://mathworld.wolfram.com/Slope.html |archive-date=6 December 2016 |access-date=30 October 2016 |publisher=MathWorld--A Wolfram Web Resource}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Definition ==&lt;br /&gt;
&lt;br /&gt;
[[File:Slope of lines illustrated.jpg|thumb|400px|right|Slope illustrated for {{nowrap|1=&#039;&#039;y&#039;&#039; = (3/2)&#039;&#039;x&#039;&#039; − 1}}. Click on to enlarge]]&lt;br /&gt;
[[File:Gradient of a line in coordinates from -12x+2 to +12x+2.gif|400px|thumbnail|right|Slope of a line in coordinates system, from {{nowrap|1=&#039;&#039;f&#039;&#039;(&#039;&#039;x&#039;&#039;) = −12&#039;&#039;x&#039;&#039; + 2}} to {{nowrap|1=&#039;&#039;f&#039;&#039;(&#039;&#039;x&#039;&#039;) = 12&#039;&#039;x&#039;&#039; + 2}}]]&lt;br /&gt;
The slope of a line in the plane containing the &#039;&#039;x&#039;&#039; and &#039;&#039;y&#039;&#039; axes is generally represented by the letter &#039;&#039;m&#039;&#039;,&amp;lt;ref&amp;gt;An early example of this convention can be found in {{cite book |last=Salmon |first=George |author-link=George Salmon |year=1850 |url=https://archive.org/details/treatiseonconics00salm_1/page/14/ |pages=14–15 |title=A Treatise on Conic Sections |location=Dublin |publisher=Hodges and Smith |edition=2nd }}&amp;lt;/ref&amp;gt; and is defined as the change in the &#039;&#039;y&#039;&#039; coordinate divided by the corresponding change in the &#039;&#039;x&#039;&#039; coordinate, between two distinct points on the line. This is described by the following equation:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;m = \frac{\Delta y}{\Delta x} = \frac{\text{vertical} \, \text{change} }{\text{horizontal} \, \text{change} }= \frac{\text{rise}}{\text{run}}.&amp;lt;/math&amp;gt;&lt;br /&gt;
(The Greek letter &#039;&#039;[[delta (letter)|delta]]&#039;&#039;, Δ, is commonly used in mathematics to mean &amp;quot;difference&amp;quot; or &amp;quot;change&amp;quot;.)&lt;br /&gt;
&lt;br /&gt;
Given two points &amp;lt;math&amp;gt;(x_1,y_1)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;(x_2,y_2)&amp;lt;/math&amp;gt;, the change in &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; from one to the other is &amp;lt;math&amp;gt;x_2-x_1&amp;lt;/math&amp;gt; (&#039;&#039;run&#039;&#039;), while the change in &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;y_2-y_1&amp;lt;/math&amp;gt; (&#039;&#039;rise&#039;&#039;). Substituting both quantities into the above equation generates the formula:&lt;br /&gt;
:&amp;lt;math&amp;gt;m = \frac{y_2 - y_1}{x_2 - x_1}.&amp;lt;/math&amp;gt;&lt;br /&gt;
The formula fails for a vertical line, parallel to the &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt; axis (see [[Division by zero]]), where the slope can be taken as [[infinity|infinite]], so the slope of a vertical line is considered undefined.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
Suppose a line runs through two points: &#039;&#039;P&#039;&#039;&amp;amp;nbsp;=&amp;amp;nbsp;(1,&amp;amp;nbsp;2) and &#039;&#039;Q&#039;&#039;&amp;amp;nbsp;=&amp;amp;nbsp;(13,&amp;amp;nbsp;8). By dividing the difference in &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;-coordinates by the difference in &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;-coordinates, one can obtain the slope of the line:&lt;br /&gt;
:&amp;lt;math&amp;gt;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}.&amp;lt;/math&amp;gt;&lt;br /&gt;
:Since the slope is positive, the direction of the line is increasing. Since |&#039;&#039;m&#039;&#039;| &amp;lt; 1, the incline is not very steep (incline &amp;lt;&amp;amp;thinsp;45°).&lt;br /&gt;
&lt;br /&gt;
As another example, consider a line which runs through the points (4,&amp;amp;nbsp;15) and (3,&amp;amp;nbsp;21). Then, the slope of the line is &lt;br /&gt;
:&amp;lt;math&amp;gt;m = \frac{ 21 - 15}{3 - 4} = \frac{6}{-1} = -6.&amp;lt;/math&amp;gt;&lt;br /&gt;
:Since the slope is negative, the direction of the line is decreasing. Since |&#039;&#039;m&#039;&#039;| &amp;gt; 1, this decline is fairly steep (decline &amp;gt;&amp;amp;thinsp;45°).&lt;br /&gt;
&lt;br /&gt;
==Algebra and geometry==&lt;br /&gt;
[[File:Slopes of Parallel and Perpendicular Lines.svg|thumb|Slopes of parallel and perpendicular lines]]&lt;br /&gt;
{{bulleted list&lt;br /&gt;
| If &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt; is a [[linear function]] of &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;, then the coefficient of &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; is the slope of the line created by plotting the function. Therefore, if the equation of the line is given in the form&lt;br /&gt;
: &amp;lt;math&amp;gt;y = mx + b&amp;lt;/math&amp;gt;&lt;br /&gt;
then &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; is the slope. This form of a line&#039;s equation is called the &#039;&#039;slope-intercept form&#039;&#039;, because &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; can be interpreted as the [[y-intercept]] of the line, that is, the &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;-coordinate where the line intersects the &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;-axis.&lt;br /&gt;
| If the slope &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; of a line and a point &amp;lt;math&amp;gt;(x_1, y_1)&amp;lt;/math&amp;gt; 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]]:&lt;br /&gt;
: &amp;lt;math&amp;gt;y - y_1 = m(x - x_1).&amp;lt;/math&amp;gt;&lt;br /&gt;
| The slope of the line defined by the [[linear equation]]&lt;br /&gt;
: &amp;lt;math&amp;gt;ax + by + c = 0 &amp;lt;/math&amp;gt;  &lt;br /&gt;
is&lt;br /&gt;
: &amp;lt;math&amp;gt;-\frac{a}{b}&amp;lt;/math&amp;gt;.&lt;br /&gt;
| Two lines are [[parallel (geometry)|parallel]] if and only if they are not the same line (coincident) and either their slopes are equal or they both are vertical and therefore both have undefined slopes. &lt;br /&gt;
| Two lines are [[perpendicular]] if the product of their slopes is&amp;amp;nbsp;−1 or one has a slope of 0 (a horizontal line) and the other has an undefined slope (a vertical line).&lt;br /&gt;
| The angle θ between −90° and 90° that a line makes with the &#039;&#039;x&#039;&#039;-axis is related to the slope &#039;&#039;m&#039;&#039; as follows:&lt;br /&gt;
: &amp;lt;math&amp;gt;m = \tan(\theta)&amp;lt;/math&amp;gt;  &lt;br /&gt;
and &lt;br /&gt;
: &amp;lt;math&amp;gt;\theta = \arctan (m)&amp;lt;/math&amp;gt; &amp;amp;nbsp; (this is the inverse function of tangent; see [[inverse trigonometric functions]]).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
For example, consider a line running through points (2,8) and (3,20). This line has a slope, {{math|&#039;&#039;m&#039;&#039;}}, of &lt;br /&gt;
: &amp;lt;math&amp;gt;\frac {(20 - 8)}{(3 - 2)} = 12. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
One can then write the line&#039;s equation, in point-slope form:&lt;br /&gt;
: &amp;lt;math&amp;gt;y - 8 = 12(x - 2) = 12x - 24. &amp;lt;/math&amp;gt;&lt;br /&gt;
or: &lt;br /&gt;
: &amp;lt;math&amp;gt;y = 12x - 16. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The angle θ between −90° and 90° that this line makes with the {{math|&#039;&#039;x&#039;&#039;}}-axis is &lt;br /&gt;
:&amp;lt;math&amp;gt;\theta = \arctan(12) \approx 85.2^{\circ} .&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Consider the two lines: {{math|1=&#039;&#039;y&#039;&#039; = −3&#039;&#039;x&#039;&#039; + 1}} and {{math|1=&#039;&#039;y&#039;&#039; = −3&#039;&#039;x&#039;&#039; − 2}}. Both lines have slope {{math|1=&#039;&#039;m&#039;&#039; = −3}}. They are not the same line. So they are parallel lines.&lt;br /&gt;
&lt;br /&gt;
Consider the two lines  {{math|1=&#039;&#039;y&#039;&#039; = −3&#039;&#039;x&#039;&#039; + 1}} and {{math|1=&#039;&#039;y&#039;&#039; = {{sfrac|&#039;&#039;x&#039;&#039;|3}} − 2}}. The slope of the first line is {{math|1=&#039;&#039;m&#039;&#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; = −3}}. The slope of the second line is {{math|1=&#039;&#039;m&#039;&#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; = {{sfrac|1|3}}}}. The product of these two slopes is −1. So these two lines are perpendicular.&lt;br /&gt;
&lt;br /&gt;
== Statistics ==&lt;br /&gt;
In [[statistics]], the gradient of the [[Least squares regression|least-squares regression]] [[best-fitting line]] for a given [[sample (statistics)|sample]] of data may be written as:&lt;br /&gt;
:&amp;lt;math&amp;gt;m = \frac{rs_y}{s_x}&amp;lt;/math&amp;gt;,&lt;br /&gt;
This quantity &#039;&#039;m&#039;&#039; is called as the &#039;&#039;[[regression slope]]&#039;&#039; for the line &amp;lt;math&amp;gt;y=mx+c&amp;lt;/math&amp;gt;. The quantity &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is [[Pearson correlation coefficient|Pearson&#039;s correlation coefficient]], &amp;lt;math&amp;gt;s_y&amp;lt;/math&amp;gt; is the [[standard deviation]] of the y-values and &amp;lt;math&amp;gt;s_x&amp;lt;/math&amp;gt; is the [[standard deviation]] of the x-values. This may also be written as a ratio of [[covariance]]s:&amp;lt;ref&amp;gt;{{Cite book|title=Further Mathematics Units 3&amp;amp;4 VCE (Revised)|publisher=Cambridge Senior Mathematics|year=2016|isbn=9781316616222|via=Physical Copy}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;m = \frac{\operatorname{cov}(Y,X)}{\operatorname{cov}(X,X)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Calculus==&lt;br /&gt;
[[File:Tangent function animation.gif|right|frame|At each point, the [[derivative]] is the slope of a [[Line (geometry)|line]] that is [[tangent]] to the [[curve]] at that point. Note: the derivative at point A is [[positive number|positive]] where green and dash–dot, [[negative number|negative]] where red and dashed, and [[zero (number)|zero]] where black and solid.]]&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
If we let Δ&#039;&#039;x&#039;&#039; and Δ&#039;&#039;y&#039;&#039; be the distances (along the &#039;&#039;x&#039;&#039; and &#039;&#039;y&#039;&#039; axes, respectively) between two points on a curve, then the slope given by the above definition,&lt;br /&gt;
:&amp;lt;math&amp;gt;m = \frac{\Delta y}{\Delta x}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
For example, the slope of the secant intersecting &#039;&#039;y&#039;&#039; = &#039;&#039;x&#039;&#039;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; at (0,0) and (3,9) is 3. (The slope of the tangent at {{nowrap|1=&#039;&#039;x&#039;&#039; = {{frac|3|2}}}} is also 3&amp;amp;nbsp;−&amp;amp;nbsp;&#039;&#039;a&#039;&#039; consequence of the [[mean value theorem]].)&lt;br /&gt;
&lt;br /&gt;
By moving the two points closer together so that Δ&#039;&#039;y&#039;&#039; and Δ&#039;&#039;x&#039;&#039; 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 Δ&#039;&#039;y&#039;&#039;/Δ&#039;&#039;x&#039;&#039; approaches as Δ&#039;&#039;y&#039;&#039; and Δ&#039;&#039;x&#039;&#039; get closer to [[zero]]; it follows that this limit is the exact slope of the tangent. If &#039;&#039;y&#039;&#039; is dependent on &#039;&#039;x&#039;&#039;, then it is sufficient to take the limit where only Δ&#039;&#039;x&#039;&#039; approaches zero. Therefore, the slope of the tangent is the limit of Δ&#039;&#039;y&#039;&#039;/Δ&#039;&#039;x&#039;&#039; as Δ&#039;&#039;x&#039;&#039; approaches zero, or d&#039;&#039;y&#039;&#039;/d&#039;&#039;x&#039;&#039;. We call this limit the [[derivative (calculus)|derivative]].&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{\mathrm dy}{\mathrm dx} = \lim_{\Delta x \to 0}\frac{\Delta y}{\Delta x}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The value of the derivative at a specific point on the function provides us with the slope of the tangent at that precise location. For example, let &#039;&#039;y&#039;&#039; = &#039;&#039;x&#039;&#039;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;. A point on this function is (−2,4). The derivative of this function is {{nowrap|1={{frac|d&#039;&#039;y&#039;&#039;|d&#039;&#039;x&#039;&#039;}} = 2&#039;&#039;x&#039;&#039;}}. So the slope of the line tangent to &#039;&#039;y&#039;&#039; at (−2,4) is {{nowrap|1=2 ⋅ (−2) = −4}}. The equation of this tangent line is: {{nowrap|1=&#039;&#039;y&#039;&#039; − 4 = (−4)(&#039;&#039;x&#039;&#039; − (−2))}} or {{nowrap|1=&#039;&#039;y&#039;&#039; = −4&#039;&#039;x&#039;&#039; − 4}}.&lt;br /&gt;
&lt;br /&gt;
==Difference of slopes==&lt;br /&gt;
[[File:Missing_square_puzzle.svg|thumb|right|200px|The illusion of a paradox of area is dispelled by comparing slopes where blue and red triangles meet.]]&lt;br /&gt;
An extension of the idea of angle follows from the difference of slopes. Consider the [[shear mapping]] &lt;br /&gt;
:&amp;lt;math&amp;gt;(u,v) = (x,y) \begin{pmatrix}1 &amp;amp; v \\ 0 &amp;amp; 1 \end{pmatrix}.&amp;lt;/math&amp;gt;&lt;br /&gt;
Then &amp;lt;math&amp;gt;(1,0)&amp;lt;/math&amp;gt; is mapped to &amp;lt;math&amp;gt;(1,v)&amp;lt;/math&amp;gt;. The slope of &amp;lt;math&amp;gt;(1,0)&amp;lt;/math&amp;gt; is zero and the slope of &amp;lt;math&amp;gt;(1,v)&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. The shear mapping added a slope of &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. For two points on &amp;lt;math&amp;gt;\{(1,y):y\in\R\}&amp;lt;/math&amp;gt; with slopes &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, the image&lt;br /&gt;
:&amp;lt;math&amp;gt;(1,y)\begin{pmatrix}1 &amp;amp; v \\ 0 &amp;amp; 1\end{pmatrix} = (1, y + v)&amp;lt;/math&amp;gt;&lt;br /&gt;
has slope increased by &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;, but the difference &amp;lt;math&amp;gt;n-m&amp;lt;/math&amp;gt; of slopes is the same before and after the shear. This invariance of slope differences makes slope an angular [[invariant measure]], on a par with circular angle (invariant under rotation) and hyperbolic angle, with invariance group of [[squeeze mapping]]s.&amp;lt;ref&amp;gt;{{Cite journal|last1=Bolt|first1=Michael|last2=Ferdinands|first2=Timothy|last3=Kavlie|first3=Landon|date=2009|title=The most general planar transformations that map parabolas into parabolas|url=https://projecteuclid.org/euclid.involve/1513799118|journal=Involve: A Journal of Mathematics|language=EN|volume=2|issue=1|pages=79–88|doi=10.2140/involve.2009.2.79|issn=1944-4176|doi-access=free|access-date=2021-05-22|archive-date=2020-06-12|archive-url=https://web.archive.org/web/20200612185227/https://projecteuclid.org/euclid.involve/1513799118|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Wikibooks-inline|Abstract Algebra/Shear and Slope}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Slope (pitch) of a roof ==&lt;br /&gt;
{{main|Roof pitch}}&lt;br /&gt;
The slope of a roof, traditionally and commonly called the [[roof pitch]], in carpentry and architecture in the US is commonly described in terms of integer fractions of one foot (geometric tangent, rise over run), a legacy of British imperial measure. Other units are in use in other locales, with similar conventions. For details, see [[roof pitch]].&lt;br /&gt;
&lt;br /&gt;
== Slope of a road or railway ==&lt;br /&gt;
{{main|Grade (slope)|Grade separation}}&lt;br /&gt;
There are two common ways to describe the steepness of a [[road]] or [[rail tracks|railroad]]. One is by the angle between 0° and 90° (in degrees), and the other is by the slope in a percentage. See also [[steep grade railway]] and [[rack railway]].&lt;br /&gt;
&lt;br /&gt;
The formulae for converting a slope given as a percentage into an angle in degrees and vice versa are: &lt;br /&gt;
: &amp;lt;math&amp;gt;\text{angle} = \arctan \left( \frac{\text{slope}}{100\%} \right)&amp;lt;/math&amp;gt; (this is the inverse function of tangent; see [[trigonometry]])&lt;br /&gt;
and&lt;br /&gt;
: &amp;lt;math&amp;gt;\mbox{slope} = 100\% \times \tan( \mbox{angle}),&amp;lt;/math&amp;gt;&lt;br /&gt;
where &#039;&#039;angle&#039;&#039; is in degrees and the trigonometric functions operate in degrees. For example, a slope of 100[[percent sign|%]] or 1000[[per mil|‰]] is an angle of 45°.&lt;br /&gt;
&lt;br /&gt;
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 (or &amp;quot;1 &#039;&#039;in&#039;&#039; 10&amp;quot;, &amp;quot;1 &#039;&#039;in&#039;&#039; 20&amp;quot;, etc.) 1:10 is steeper than 1:20. For example, steepness of 20% means 1:5 or an incline with angle 11.3°.&lt;br /&gt;
&lt;br /&gt;
Roads and railways have both longitudinal slopes and cross slopes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Nederlands verkeersbord J6.svg|Slope warning sign in the [[Netherlands]]&lt;br /&gt;
File:PL road sign A-23.svg|Slope warning sign in [[Poland]]&lt;br /&gt;
File: Skloník-klesání.jpg|A 1371-meter distance of a railroad with a 20[[Per mil|‰]] slope. [[Czech Republic]]&lt;br /&gt;
File: Railway gradient post.jpg|Steam-age railway gradient post indicating a slope in both directions at [[Meols railway station]], United Kingdom&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Other uses==&lt;br /&gt;
The concept of a slope or gradient is also used as a basis for developing other applications in mathematics:&lt;br /&gt;
* [[Gradient descent]], a first-order iterative optimization algorithm for finding the minimum of a function&lt;br /&gt;
* [[Gradient theorem]], theorem that a line integral through a gradient field can be evaluated by evaluating the original scalar field at the endpoints of the curve&lt;br /&gt;
* [[Gradient method]], an algorithm to solve problems with search directions defined by the gradient of the function at the current point&lt;br /&gt;
* [[Conjugate gradient method]], an algorithm for the numerical solution of particular systems of linear equations&lt;br /&gt;
* [[Nonlinear conjugate gradient method]], generalizes the conjugate gradient method to nonlinear optimization&lt;br /&gt;
* [[Stochastic gradient descent]], iterative method for optimizing a differentiable objective function&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{div col|colwidth=23em}}&lt;br /&gt;
* [[Euclidean distance]]&lt;br /&gt;
* [[Grade (slope)|Grade]]&lt;br /&gt;
* [[Inclined plane]]&lt;br /&gt;
* [[Linear function (calculus)|Linear function]]&lt;br /&gt;
* [[Line of greatest slope]]&lt;br /&gt;
* [[Mediant]]&lt;br /&gt;
* [[Trigonometric functions|Slope definitions]]&lt;br /&gt;
* [[Theil–Sen estimator]], a line with the [[median]] slope among a set of sample points&lt;br /&gt;
{{div col end}}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
{{Wiktionary}}&lt;br /&gt;
*{{cite web | url=http://www.mathopenref.com/coordslope.html| title =Slope of a Line (Coordinate Geometry)| publisher =Math Open Reference |year=2009 |access-date=30 October 2016 }} interactive&lt;br /&gt;
&lt;br /&gt;
{{Calculus topics}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Elementary mathematics]]&lt;br /&gt;
[[Category: Analytic geometry]]&lt;br /&gt;
[[Category:Ratios]]&lt;/div&gt;</summary>
		<author><name>2605:59C8:11AC:9210:C04F:B5A9:F886:B460</name></author>
	</entry>
</feed>