# 功的路径相关性

力学中的功是力所传递的能量，计算方式是力与位移沿轨迹的点积的积分。对大多数力而言，这个积分取决于轨迹本身，而不只是物体从哪里开始、到哪里结束；这时就说功是路径相关的。只有对一类受限的力——保守力——两点之间的功才与路径无关、只有一个值，正是这一点使势能成为可能。

| 关键事实 | 细节 |
|---|---|
| 沿曲线的功的定义 | W = ∫ F·dr，即力沿轨迹的线积分 <sup>[1](https://phys.libretexts.org/Bookshelves/Classical_Mechanics/Classical_Mechanics_(Dourmashkin)/13%3A_Energy_Kinetic_Energy_and_Work/13.09%3A_Work_done_by_a_Non-Constant_Force_Along_an_Arbitrary_Path)</sup> |
| 路径相关性 | 一般而言，该积分取决于初末位置之间的具体路径 <sup>[1](https://phys.libretexts.org/Bookshelves/Classical_Mechanics/Classical_Mechanics_(Dourmashkin)/13%3A_Energy_Kinetic_Energy_and_Work/13.09%3A_Work_done_by_a_Non-Constant_Force_Along_an_Arbitrary_Path)</sup> |
| 保守条件 | 两点之间沿任意路径的功都相同，等价于沿任意闭合路径的功为零，等价于无旋 <sup>[2](https://phys.libretexts.org/Courses/University_of_California_Davis/UCD%3A_Classical_Mechanics/3%3A_Work_and_Energy/3.3%3A_Conservative_and_Non-Conservative_Forces)</sup><sup> • </sup><sup>[3](https://open.maricopa.edu/mccphy121jg5/chapter/conservative-and-non-conservative-forces/)</sup> |
| 数值示例 | 沿不同路线推沙发，使其产生相同的净位移，克服摩擦所做的功分别为 −2.4 kJ 与 4.3 kJ <sup>[4](https://byui-physics.github.io/OpenStaxPhysicsInteractive/textbook_files/d50f6e32-0fda-46ef-a362-9bd36ca7c97d-at-aa8a43e-colon-062e941d-8793-4fe6-8857-ea4285163796.html)</sup> |
| 对能量的推论 | 路径相关的力不存在势能函数；非保守力做的功等于机械能的变化 <sup>[5](https://pleclair.ua.edu/ph301/Notes/L8_Ch4_1-4.pdf)</sup><sup> • </sup><sup>[6](https://openstax.org/books/college-physics-2e/pages/7-5-nonconservative-forces)</sup> |
| 日常的路径相关力 | 动摩擦、空气阻力、磁力以及随时间变化的电场都是非保守的 <sup>[5](https://pleclair.ua.edu/ph301/Notes/L8_Ch4_1-4.pdf)</sup> |
| 热力学中的对应 | 热和功是路径函数；内能 U 是状态函数 <sup>[7](https://chem.libretexts.org/Bookshelves/Physical_and_Theoretical_Chemistry_Textbook_Maps/Supplemental_Modules_(Physical_and_Theoretical_Chemistry)/Thermodynamics/Path_Functions)</sup> |

## 功作为线积分

当力恒定时，功就是力乘以位移。当力在大小或方向上沿途变化时，就把位移切成小段，每一段上的功用平均力与该段的点积近似，再把这个和不断细化。这个黎曼和的极限就是力的线积分，W = ∫ F·dr，其中 dr 是沿曲线的无穷小矢量线元 <sup>[1](https://phys.libretexts.org/Bookshelves/Classical_Mechanics/Classical_Mechanics_(Dourmashkin)/13%3A_Energy_Kinetic_Energy_and_Work/13.09%3A_Work_done_by_a_Non-Constant_Force_Along_an_Arbitrary_Path)</sup>。被积的是轨迹每一点上力沿运动方向的分量。

这个积分属于曲线，而不属于任何特定的标记方式：它的值不依赖于所选的参数化，且反向行进会改变符号 <sup>[8](https://math.libretexts.org/Bookshelves/Calculus/The_Calculus_of_Functions_of_Several_Variables_(Sloughter)/04%3A_Functions_from_R%27_to_R/4.03%3A_Line_Integrals)</sup>。但它确实属于路线。正如麻省理工学院 18.02 课程的讲义在给出同一对端点之间的两个算例之后所说：“一般而言，线积分依赖于路径” <sup>[9](https://www.mit.edu/~hlb/1802/pdf/MIT18_02SC_notes_27.pdf)</sup>，杜尔马什金的力学教材也专门就功的积分作出了同样的表述 <sup>[1](https://phys.libretexts.org/Bookshelves/Classical_Mechanics/Classical_Mechanics_(Dourmashkin)/13%3A_Energy_Kinetic_Energy_and_Work/13.09%3A_Work_done_by_a_Non-Constant_Force_Along_an_Arbitrary_Path)</sup>。

只要力在空间上不恒定，或者路径是弯曲的，线积分形式就是实用的途径 <sup>[1](https://phys.libretexts.org/Bookshelves/Classical_Mechanics/Classical_Mechanics_(Dourmashkin)/13%3A_Energy_Kinetic_Energy_and_Work/13.09%3A_Work_done_by_a_Non-Constant_Force_Along_an_Arbitrary_Path)</sup>。对于依赖速度或时间的力（如阻力），它就不只是一种形式上的写法：此时位置积分无法直接计算，于是改用时间参数化 W = ∫ F·v dt；而如果路径本身未知，那么在轨迹确定之前，这个积分根本无法计算 <sup>[10](https://unisium.io/guides/work-integral-definition)</sup>。沿任意弯曲路径对摩擦功的显式计算证实，结果强烈依赖于路径的方程，且计算过程并不简单 <sup>[11](https://ttmp.qut.ac.ir/article_718344.html)</sup>。

## 当功与路径无关：保守力与标量势

如果两点之间沿每一条路径所做的功都相同，这个力就是保守力；功依赖于路径的力则是非保守力 <sup>[2](https://phys.libretexts.org/Courses/University_of_California_Davis/UCD%3A_Classical_Mechanics/3%3A_Work_and_Energy/3.3%3A_Conservative_and_Non-Conservative_Forces)</sup>。标准的等价刻画有三种：

- **路径无关。** 连接两点的任意路径上功都相同 <sup>[3](https://open.maricopa.edu/mccphy121jg5/chapter/conservative-and-non-conservative-forces/)</sup>。
- **闭合回路上的功为零。** 保守力沿任意闭合路径所做的功等于零，因为 W(a→b) = −W(b→a) <sup>[2](https://phys.libretexts.org/Courses/University_of_California_Davis/UCD%3A_Classical_Mechanics/3%3A_Work_and_Energy/3.3%3A_Conservative_and_Non-Conservative_Forces)</sup><sup> • </sup><sup>[5](https://pleclair.ua.edu/ph301/Notes/L8_Ch4_1-4.pdf)</sup>。
- **无旋场。** 在二维中条件是 \(\partial F_y/\partial x - \partial F_x/\partial y = 0\)；写成矢量形式即 \(\nabla \times \mathbf{F} = 0\)，这比计算积分简单得多 <sup>[2](https://phys.libretexts.org/Courses/University_of_California_Davis/UCD%3A_Classical_Mechanics/3%3A_Work_and_Energy/3.3%3A_Conservative_and_Non-Conservative_Forces)</sup><sup> • </sup><sup>[5](https://pleclair.ua.edu/ph301/Notes/L8_Ch4_1-4.pdf)</sup>。

路径无关还有一种微分形式的表述：无穷小功 F·dr 是一个恰当微分（即某个真实函数的微分），可用对分量的偏微分条件来检验 <sup>[3](https://open.maricopa.edu/mccphy121jg5/chapter/conservative-and-non-conservative-forces/)</sup>。

**势函数。** 路径无关等价于存在一个标量势。若对某个标量函数 f 有 F = ∇f，则两点之间的每一条线积分都可以仅由 f 算出，无需对路径参数化 <sup>[12](https://math.libretexts.org/Bookshelves/Calculus/Supplemental_Modules_(Calculus)/Vector_Calculus/4%3A_Integration_in_Vector_Fields/4.5%3A_Path_Independence%2C_Conservative_Fields%2C_and_Potential_Functions)</sup><sup> • </sup><sup>[13](https://math.gmu.edu/~dwalnut/teach/Math313/Fall10/Sec.10.2.pdf)</sup>。在力学中，势习惯上带一个负号定义，F = −∇V，其中 V(r) 由从参考点出发的负线积分给出 <sup>[14](https://interactivetextbooks.tudelft.nl/classical-mechanics-and-special-relativity/content/Ch5_PotentialEnergy.html)</sup>。

有一个拓扑上的注意事项很重要。旋度检验只有在连通、单连通且分量连续可微的区域上才与保守性完全等价 <sup>[12](https://math.libretexts.org/Bookshelves/Calculus/Supplemental_Modules_(Calculus)/Vector_Calculus/4%3A_Integration_in_Vector_Fields/4.5%3A_Path_Independence%2C_Conservative_Fields%2C_and_Potential_Functions)</sup>。如果区域有洞，一个场可以处处满足 curl F = 0，却仍沿闭合路径有非零环量，因此该形式未必是恰当微分 <sup>[13](https://math.gmu.edu/~dwalnut/teach/Math313/Fall10/Sec.10.2.pdf)</sup>。

关于检验，最后还有一点微妙之处：比较两个路径积分，只有在积分值不同时才能证明一个力是非保守的。如果两者结果相同，并不能证明该力是保守的，因为对非保守力而言，两条路径也可能碰巧给出相同的功 <sup>[2](https://phys.libretexts.org/Courses/University_of_California_Davis/UCD%3A_Classical_Mechanics/3%3A_Work_and_Energy/3.3%3A_Conservative_and_Non-Conservative_Forces)</sup>。

## 用数字说话

**冰球受到的摩擦。** 动摩擦大小恒为 \(f_{\mathrm{k}}\)，且总与运动方向相反，因此其功为 \(W(A \to B) = -f_{\mathrm{k}} \times\)（路径长度）。两点之间的半圆路径长度是两点间直线长度的 \(\pi/2\) 倍，所以摩擦在半圆路线上所做的功的绝对值恰好也是直线路线上的 \(\pi/2\) 倍（功更负） <sup>[2](https://phys.libretexts.org/Courses/University_of_California_Davis/UCD%3A_Classical_Mechanics/3%3A_Work_and_Energy/3.3%3A_Conservative_and_Non-Conservative_Forces)</sup>。

**在地板上推沙发。** 摩擦系数为 0.6、载荷为 1 kN 时，把沙发先推 3 m 再推 1 m，得 W = −(0.6)(1 kN)(3 m + 1 m) = −2.4 kJ。若走一条在同样两端点之间多加一段 10 m 斜边的路线，则功的大小为 W = (0.6)(1 kN)(3 m + 1 m + 10 m) = 4.3 kJ <sup>[4](https://byui-physics.github.io/OpenStaxPhysicsInteractive/textbook_files/d50f6e32-0fda-46ef-a362-9bd36ca7c97d-at-aa8a43e-colon-062e941d-8793-4fe6-8857-ea4285163796.html)</sup>。同样的位移，功却约为 1.8 倍，纯粹是因为路径更长。

## 路径相关性、势能与动能定理

势能是通过功来定义的：V(r) = −∫ F·dr，从参考点算起 <sup>[14](https://interactivetextbooks.tudelft.nl/classical-mechanics-and-special-relativity/content/Ch5_PotentialEnergy.html)</sup>。这个定义只有在积分具有唯一值时才说得通，而路径相关性恰恰取消了这一点。如果 W 依赖于路径，积分就没有良好定义，U 也就没有良好定义；不存在有意义的势能函数 <sup>[5](https://pleclair.ua.edu/ph301/Notes/L8_Ch4_1-4.pdf)</sup>。这就是为什么克服摩擦所做的功（它依赖于路径长度）不能储存为势能 <sup>[6](https://openstax.org/books/college-physics-2e/pages/7-5-nonconservative-forces)</sup>。

动能定理依然成立，只是要做一番记账式的拆分。总功等于动能的变化，把它写成保守贡献与非保守贡献之和，得到 \(KE_{i} + PE_{i} + W_{\mathrm{nc}} = KE_{f} + PE_{f}\)：非保守力所做的功等于机械能的变化 <sup>[6](https://openstax.org/books/college-physics-2e/pages/7-5-nonconservative-forces)</sup>。等价地，\(\Delta U + \Delta K = W\)，当没有外力做功时化为 \(\Delta U + \Delta K = 0\) <sup>[15](https://iopscience.iop.org/article/10.1088/1742-6596/1287/1/012024/pdf)</sup>。对于长度为 \(L\) 的路径上的摩擦，\(W_{\mathrm{nc}} = -F_{\mathrm{friction}} \cdot L\) <sup>[5](https://pleclair.ua.edu/ph301/Notes/L8_Ch4_1-4.pdf)</sup>。

闭合回路的情形让耗散变得可见。把沙发沿闭合路径推一圈，总位移为零，但克服摩擦所做的总功不为零 <sup>[4](https://byui-physics.github.io/OpenStaxPhysicsInteractive/textbook_files/d50f6e32-0fda-46ef-a362-9bd36ca7c97d-at-aa8a43e-colon-062e941d-8793-4fe6-8857-ea4285163796.html)</sup>。摩擦产生的热能会耗散掉，无法完全转化回功 <sup>[6](https://openstax.org/books/college-physics-2e/pages/7-5-nonconservative-forces)</sup>。一种教学观点对此作了重新表述：动能定理是牛顿第二定律的路径积分，它只预言平动动能的变化；对一个滑动的物块来说，真正的问题在于它是一个多粒子系统，其内能通过非弹性碰撞而升高，而不在于“非保守力”这个标签 <sup>[16](https://matterandinteractions.org/wp-content/uploads/2019/06/AJPEnergy.pdf)</sup>。

在实验上，路径相关的能量损失用反弹测量来量化：恢复系数由弹跳球逐次反弹的高度求得，它衡量每次碰撞中因形变、声音和热而损失的机械能 <sup>[17](https://iopscience.iop.org/article/10.1088/1361-6552/ae7889)</sup>。

## 微妙情形与极限情形

保守力只依赖于位置，F = F(r)，不依赖于速度或时间。引力与静电满足这一点，而空气阻力、摩擦、磁力以及随时间变化的电场则不满足 <sup>[5](https://pleclair.ua.edu/ph301/Notes/L8_Ch4_1-4.pdf)</sup>。依赖速度的阻力以及其他依赖时间或速度的力，需要时间参数化 W = ∫ F·v dt；而对于非保守力，必须先确定路径，积分才谈得上计算 <sup>[10](https://unisium.io/guides/work-integral-definition)</sup>。

磁力说明了分类可以多么反直觉：它被列在非保守力之中 <sup>[5](https://pleclair.ua.edu/ph301/Notes/L8_Ch4_1-4.pdf)</sup>，而鉴于它的其他性质，应当如何把它纳入保守/非保守的框架，此处所引用的文献并未给出定论。

## References

1. [13.9: Work done by a Non-Constant Force Along an Arbitrary Path (Dourmashkin, Physics LibreTexts)](https://phys.libretexts.org/Bookshelves/Classical_Mechanics/Classical_Mechanics_(Dourmashkin)/13%3A_Energy_Kinetic_Energy_and_Work/13.09%3A_Work_done_by_a_Non-Constant_Force_Along_an_Arbitrary_Path)
2. [3.3: Conservative and Non-Conservative Forces (UC Davis, Physics LibreTexts)](https://phys.libretexts.org/Courses/University_of_California_Davis/UCD%3A_Classical_Mechanics/3%3A_Work_and_Energy/3.3%3A_Conservative_and_Non-Conservative_Forces)
3. [8.2: Conservative and Non-Conservative Forces – University Physics Volume 1 (Maricopa/OpenStax)](https://open.maricopa.edu/mccphy121jg5/chapter/conservative-and-non-conservative-forces/)
4. [7.1 Work (OpenStax University Physics, interactive)](https://byui-physics.github.io/OpenStaxPhysicsInteractive/textbook_files/d50f6e32-0fda-46ef-a362-9bd36ca7c97d-at-aa8a43e-colon-062e941d-8793-4fe6-8857-ea4285163796.html)
5. [Lecture 8: Ch. 4.1-4 (PH301, University of Alabama)](https://pleclair.ua.edu/ph301/Notes/L8_Ch4_1-4.pdf)
6. [7.5 Nonconservative Forces - College Physics 2e (OpenStax)](https://openstax.org/books/college-physics-2e/pages/7-5-nonconservative-forces)
7. [Path Functions (Chemistry LibreTexts)](https://chem.libretexts.org/Bookshelves/Physical_and_Theoretical_Chemistry_Textbook_Maps/Supplemental_Modules_(Physical_and_Theoretical_Chemistry)/Thermodynamics/Path_Functions)
8. [4.3: Line Integrals (Sloughter, Mathematics LibreTexts)](https://math.libretexts.org/Bookshelves/Calculus/The_Calculus_of_Functions_of_Several_Variables_(Sloughter)/04%3A_Functions_from_R%27_to_R/4.03%3A_Line_Integrals)
9. [18.02SC Notes: Work and Line Integrals (MIT)](https://www.mit.edu/~hlb/1802/pdf/MIT18_02SC_notes_27.pdf)
10. [Work - Integral Definition: Computing Work Along Arbitrary Paths (Unisium)](https://unisium.io/guides/work-integral-definition)
11. [A mathematical procedure for work of the friction force on the arbitrary path](https://ttmp.qut.ac.ir/article_718344.html)
12. [4.5: Path Independence, Conservative Fields, and Potential Functions (Mathematics LibreTexts)](https://math.libretexts.org/Bookshelves/Calculus/Supplemental_Modules_(Calculus)/Vector_Calculus/4%3A_Integration_in_Vector_Fields/4.5%3A_Path_Independence%2C_Conservative_Fields%2C_and_Potential_Functions)
13. [Sec. 10.2 notes (George Mason University, Math 313)](https://math.gmu.edu/~dwalnut/teach/Math313/Fall10/Sec.10.2.pdf)
14. [5. Potential Energy — Classical Mechanics & Special Relativity for Starters (TU Delft)](https://interactivetextbooks.tudelft.nl/classical-mechanics-and-special-relativity/content/Ch5_PotentialEnergy.html)
15. [Addressing undergraduate students' difficulty in learning the Generalized Work-Energy Principle (J. Phys. Conf. Ser.)](https://iopscience.iop.org/article/10.1088/1742-6596/1287/1/012024/pdf)
16. [A unified, contemporary approach to teaching energy in introductory physics (AJP)](https://matterandinteractions.org/wp-content/uploads/2019/06/AJPEnergy.pdf)
17. [Distinguishing energy conservation from mechanical energy conservation using a bouncing ball (IOP Physics Education)](https://iopscience.iop.org/article/10.1088/1361-6552/ae7889)

---
*Initially written Sep 17, 2026 · Edited: Oct 11, 2026; Oct 15, 2026*

Topic: 物质世界与数学 › 物理学 › 经典物理学 › Mechanics › Momentum, energy, and work › Work (mechanics) › Path dependence of work

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/path-dependence-of-work

English original: https://www.edgepedia.org/path-dependence-of-work
