# 斜率

在数学中，一条直线的斜率是沿该直线行进时，其纵向变化（“上升量”）与横向变化（“水平位移”）之比<sup>[1](https://math.arizona.edu/~mgilbert/m116LectureNotes.pdf)</sup>。它衡量陡峭程度和方向：在相同水平位移下上升量越大，直线越陡；比值的符号则表明直线向右延伸时是上升还是下降。在直线方程的斜截式中，\( y = mx + c \)，系数 \( m \) 即为斜率，许多国家也称之为梯度<sup>[2](https://malawi.educationevidence.io/lib/W6KVLEGF/download/R8CVWRYB/Maths-SSS_Year_3-Term_3_DS-TeachersGuide.pdf)</sup>。

| 关键事实 | 详情 |
|---|---|
| 定义 | 斜率是沿直线行进时纵向变化（“上升量”）与横向变化（“水平位移”）之比<sup>[1](https://math.arizona.edu/~mgilbert/m116LectureNotes.pdf)</sup> |
| 两点公式 | \( m = \dfrac{y_2 - y_1}{x_2 - x_1} \)；无论选用直线上哪两个点，所得值相同<sup>[3](https://openstax.org/books/elementary-algebra/pages/4-4-understand-slope-of-a-line)</sup> |
| 水平线 | 每条水平线 \( y = b \) 的斜率均为 0，因为上升量为 0<sup>[3](https://openstax.org/books/elementary-algebra/pages/4-4-understand-slope-of-a-line)</sup> |
| 竖直线 | 每条竖直线 \( x = a \) 的斜率无定义，因为水平位移为 0，而除以 0 无定义<sup>[3](https://openstax.org/books/elementary-algebra/pages/4-4-understand-slope-of-a-line)</sup> |
| 符号 | 向右上升的直线斜率为正；向右下降的直线斜率为负<sup>[3](https://openstax.org/books/elementary-algebra/pages/4-4-understand-slope-of-a-line)</sup> |
| 微积分推广 | 函数在某一点的导数是当水平位移 \( h \to 0 \) 时“上升量除以水平位移”的极限值，即切线的斜率<sup>[4](https://grizzle.robotics.umich.edu/files/ROB_201_Textbook_Calculus16December2024.pdf)</sup> |
| 历史注记 | 卡尔·博耶（Carl Boyer）的《解析几何史》（*History of Analytic Geometry*，1956 年，第 205 页）指出，加斯帕尔·蒙日（Gaspard Monge）著作中的一段文字明确给出了直线方程现代的点斜式，这也许是首次出现<sup>[5](https://mathshistory.st-andrews.ac.uk/Miller/mathsym/geometry/)</sup> |

## 定义与公式

一条直线的斜率定义为沿该直线行进时纵向变化（“上升量”）与横向变化（“水平位移”）之比<sup>[1](https://math.arizona.edu/~mgilbert/m116LectureNotes.pdf)</sup>。对于直线上两个不同点 \( (x_1, y_1) \) 和 \( (x_2, y_2) \)，斜率为

\[ m = \frac{y_2 - y_1}{x_2 - x_1}. \]

直线的一个定义性性质是：这个比值不依赖于所选的点对。OpenStax 的《初等代数》（*Elementary Algebra*）用经过 \( (2, 3) \) 和 \( (7, 6) \) 的直线演示了这一点：从左端算起，上升量为 3，水平位移为 5，故 \( m = 3/5 \)；若从 \( (7, 6) \) 出发，则上升量为 \( -3 \)，水平位移为 \( -5 \)，而 \( (-3)/(-5) \) 仍然是 \( 3/5 \)。无论从哪里开始，直线的斜率始终相同<sup>[3](https://openstax.org/books/elementary-algebra/pages/4-4-understand-slope-of-a-line)</sup>。

斜率的符号承载方向信息。向右延伸时上升的直线斜率为正；向右延伸时下降的直线斜率为负；水平线既不上升也不下降，斜率为零；竖直线斜率无定义<sup>[3](https://openstax.org/books/elementary-algebra/pages/4-4-understand-slope-of-a-line)</sup>。

## 水平线与竖直线

两种退化情形可直接由公式推出。对于水平线 \( y = b \)，所有点具有相同的 \( y \) 坐标，因此任意两点间的上升量为 0，在典型计算中斜率为 \( 0/3 = 0 \)；所有水平线的斜率均为 0<sup>[3](https://openstax.org/books/elementary-algebra/pages/4-4-understand-slope-of-a-line)</sup>。对于竖直线 \( x = a \)，任意两点间的水平位移为 0，斜率公式将要求除以 0。除以 0 无定义，因此竖直线的斜率无定义<sup>[3](https://openstax.org/books/elementary-algebra/pages/4-4-understand-slope-of-a-line)</sup>。

## 方程与图象中的斜率

当直线方程写成斜截式 \( y = mx + c \) 时，\( x \) 的系数即为斜率 \( m \)，\( c \) 为 \( y \) 轴截距，即直线与 \( y \) 轴相交处的纵向偏移量<sup>[2](https://malawi.educationevidence.io/lib/W6KVLEGF/download/R8CVWRYB/Maths-SSS_Year_3-Term_3_DS-TeachersGuide.pdf)</sup>。

要从图象求斜率，标准做法是：在直线上找到两个坐标为整数的点，从一点到另一点作一个直角三角形，数出三角形两直角边上的上升量和水平位移，取上升量与水平位移之比<sup>[3](https://openstax.org/books/elementary-algebra/pages/4-4-understand-slope-of-a-line)</sup>。例如，经过 \( (0, -3) \) 和 \( (5, 1) \) 的直线，上升量为 4，水平位移为 5，故其斜率为 \( 4/5 \)，意味着 \( x \) 增加 5 个单位时 \( y \) 增加 4 个单位<sup>[3](https://openstax.org/books/elementary-algebra/pages/4-4-understand-slope-of-a-line)</sup>。

## 从斜率到导数

斜率通过导数推广到曲线。经过 \( (x_0, f(x_0)) \) 和 \( (x_0 + h, f(x_0 + h)) \) 的直线是一条割线，其名源自拉丁语“切割”，因为它与函数相交于两点。当水平位移 \( \Delta x = h \) 变小时，上升量 \( \Delta f = f(x_0 + h) - f(x_0) \) 也随之缩小；在极限情形下，割线变为切线，切线只与函数在一个点接触。\( f \) 在 \( x_0 \) 处的导数是当 \( h \to 0 \) 时这个“上升量除以水平位移”的极限值，其值即为该点处切线的斜率<sup>[4](https://grizzle.robotics.umich.edu/files/ROB_201_Textbook_Calculus16December2024.pdf)</sup>。直线在微积分中之所以居于核心地位，正是因为复杂的函数是用直线来近似的<sup>[1](https://math.arizona.edu/~mgilbert/m116LectureNotes.pdf)</sup>。

这一推广有其自身的局限。

## 历史背景

斜率属于坐标几何（或称解析几何）的工具体系，其核心思想是将代数方程与曲线和曲面联系起来。纽约大学数学教授、《从古代到现代的数学思想》（*Mathematical Thought from Ancient to Modern Times*）的作者莫里斯·克莱因（Morris Kline）认为，皮埃尔·德·费马（Pierre de Fermat）和勒内·笛卡尔（René Descartes）是十七世纪这一创造的主要两位奠基人<sup>[6](https://academic.oup.com/book/54990/chapter-abstract/422787197)</sup>。该学科在现代的起源通常归于弗朗索瓦·韦达（François Viète，1540–1603）、笛卡尔（1596–1650）和费马（1601–1665）的工作，他们将几何与数的领域整合在一个抽象的符号结构之下<sup>[7](https://www.taylorfrancis.com/chapters/mono/10.4324/9780203801864-17/analytic-geometry-wilbur-applebaum)</sup>。

历史记载比教科书式的叙述要有所保留。根据美国数学协会对卡尔·博耶《解析几何史》的评述，费马和笛卡尔都没有使用我们今天所说的坐标系；他们对代数的运用以“纵坐标”几何而非“坐标”几何为特征，曲线的绘制在当时也不属于新几何的一部分。笛卡尔表明任何可机械构造的曲线都能给出一个方程，而费马则从方程出发推导曲线的性质<sup>[8](https://old.maa.org/node/651291)</sup>。直线方程的明确点斜式出现得晚得多：博耶指出，蒙日的著作中有一段文字明确给出了这一形式，这也许是首次出现<sup>[5](https://mathshistory.st-andrews.ac.uk/Miller/mathsym/geometry/)</sup>。其前驱可追溯得更远；希腊数学家梅纳赫穆斯（Menaechmus，公元前 380–320 年）曾用一种非常接近使用坐标的方法证明定理，有时有人主张是他引入了坐标几何<sup>[9](https://amsi.org.au/ESA_Senior_Years/SeniorTopic1/1b/1b_4history.html)</sup>。

## 教育中的斜率

斜率是学校数学中研究最为深入的概念之一。数学教育研究者考特尼·纳格尔（Courtney Nagle）和黛博拉·穆尔-鲁索（Deborah Moore-Russo）将《学校数学原则与标准》（*Principles and Standards for School Mathematics*）和《共同核心州数学标准》（*Common Core State Standards for Mathematics*）分别对照此前已识别的十一种斜率概念化进行分析比较。两套标准都强调函数性质、现实世界情境和线性常数这三种概念化，并描述了相似的初中阶段教学顺序，而小学和高中标准在涵盖先备概念以及将斜率推广到非线性函数方面则有所不同<sup>[10](https://eric.ed.gov/?id=EJ1027058)</sup>。

针对学生的研究也记录了一些典型错误。一项对七年级学生的研究发现了一些误解：把斜率当作与笛卡尔轴交点的截距值、当作直线本身、或当作长度或高度。正确的观点是：斜率取决于 \( \Delta y \) 和 \( \Delta x \) 的大小及其比值，而不取决于点的值；斜率是以比值表示的直线或曲线陡峭程度的度量<sup>[11](https://www.ejmste.net/download/investigating-seventh-grade-students-slope-preconceptions-11417.pdf)</sup>。诸如把斜率视为“向上”或“向下”的路径、或视为斜坡的高度等直觉想法是不完整的，因为它们只强调单一维度，但研究者将它们视为教学可以依托的起点<sup>[11](https://www.ejmste.net/download/investigating-seventh-grade-students-slope-preconceptions-11417.pdf)</sup>。

## 应用

在统计学中，回归直线的斜率估计因变量如何随自变量变化，回归斜率的替代估计量已被开发出来，并在渐近相对效率方面与最小二乘估计量进行了比较<sup>[12](https://arxiv.org/abs/1411.4809)</sup>。

## References

1. [Sec. 1.1: Slopes and Equations of Lines, M. Gilbert, University of Arizona lecture notes](https://math.arizona.edu/~mgilbert/m116LectureNotes.pdf)
2. [Slope-intercept form, Malawi Secondary Mathematics Teacher's Guide, Year 3 Term 3](https://malawi.educationevidence.io/lib/W6KVLEGF/download/R8CVWRYB/Maths-SSS_Year_3-Term_3_DS-TeachersGuide.pdf)
3. [4.4 Understand Slope of a Line, *Elementary Algebra*, OpenStax](https://openstax.org/books/elementary-algebra/pages/4-4-understand-slope-of-a-line)
4. [ROB 201 Textbook, Chapter 5: The derivative, University of Michigan](https://grizzle.robotics.umich.edu/files/ROB_201_Textbook_Calculus16December2024.pdf)
5. [Earliest Uses of Symbols from Geometry, MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk/Miller/mathsym/geometry/)
6. [Morris Kline, *Mathematical Thought from Ancient to Modern Times*, Chapter 15: Coordinate Geometry, Oxford Academic](https://academic.oup.com/book/54990/chapter-abstract/422787197)
7. [Wilbur Applebaum, "Analytic Geometry", *Encyclopedia of the Scientific Revolution*, Taylor & Francis](https://www.taylorfrancis.com/chapters/mono/10.4324/9780203801864-17/analytic-geometry-wilbur-applebaum)
8. [History of Analytic Geometry (review of Boyer), Mathematical Association of America](https://old.maa.org/node/651291)
9. [History and applications, AMSI Senior Years](https://amsi.org.au/ESA_Senior_Years/SeniorTopic1/1b/1b_4history.html)
10. [Nagle, C. and Moore-Russo, D. (2014). Slope across the Curriculum, *Mathematics Educator* 23(2), 40–59, ERIC EJ1027058](https://eric.ed.gov/?id=EJ1027058)
11. [Investigating Seventh-Grade Students' Slope Preconceptions, *EURASIA Journal of Mathematics, Science and Technology Education* (2021)](https://www.ejmste.net/download/investigating-seventh-grade-students-slope-preconceptions-11417.pdf)
12. [Estimation of the regression slope by means of Gini's cograduation index, arXiv](https://arxiv.org/abs/1411.4809)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 几何学与拓扑学 › Analytic and coordinate geometry

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/slope

English original: https://www.edgepedia.org/slope
