← 返回资讯屏轩教育 · 行业资讯

The Gradient of a Function | 函数的梯度

2026-08-03 06:25 · 本文部分内容由AI辅助创作

📚 The Gradient of a Function | 函数的梯度

The gradient of a function is a fundamental concept in mathematics that describes how a quantity changes. For a straight line, the gradient is simply the slope, but for a curve the gradient varies from point to point. In IGCSE Edexcel Mathematics, you learn to calculate gradients using algebraic methods, differentiation, and numerical estimation. Mastering this topic will enable you to find tangents, normals, and instantaneous rates of change, all of which are key skills for the exam.

函数的梯度是数学中的一个基本概念,描述了一个量的变化情况。对于直线,梯度就是斜率;但对于曲线,梯度会随位置变化。在IGCSE Edexcel数学课程中,你将学习用代数方法、微分和数值估计来计算梯度。掌握这一专题后,你将能求出切线、法线和瞬时变化率,这些都是考试中的关键技能。


1. What is Gradient? | 什么是梯度?

A gradient is a measure of steepness. Imagine walking up a hill: a gentle slope has a small gradient, while a cliff has a very large gradient. In coordinate geometry, the gradient of a line segment tells us how much y increases or decreases when x increases by 1 unit. It can be positive, negative, zero, or undefined.

梯度是倾斜程度的度量。想象爬山:缓坡的梯度小,而悬崖的梯度非常大。在坐标几何中,线段的梯度告诉我们当x增加1个单位时,y增加或减少多少。梯度可以是正数、负数、零或无定义。

On a graph, a line rising from left to right has a positive gradient; a line falling from left to right has a negative gradient. A horizontal line has gradient 0, and a vertical line has an undefined (infinite) gradient because you cannot divide by zero.

在图上,从左到右上升的直线具有正梯度;从左到右下降的直线具有负梯度。水平线的梯度为0,垂直线的梯度无定义(无穷大),因为不能除以零。


2. Gradient of a Straight Line | 直线的梯度

For any two points (x₁, y₁) and (x₂, y₂) on a straight line, the gradient m is given by the formula:

对于直线上的任意两点 (x₁, y₁) 和 (x₂, y₂),梯度 m 由以下公式给出:

m = (y₂ − y₁) / (x₂ − x₁)

This is often remembered as 'rise over run'. The difference in y-coordinates (vertical change) is divided by the difference in x-coordinates (horizontal change).

这常被记作“高度差除以水平距离”。y坐标之差(垂直变化)除以x坐标之差(水平变化)。

− 2)/(5 − 1) = 8/4 = 2. This means for every 1 unit increase in x, y increases by 2 units.

例如,经过点 (1, 2) 和 (5, 10) 的直线,梯度 m = (10 − 2)/(5 − 1) = 8/4 = 2。这意味着x每增加1个单位,y增加2个单位。

Always label your points clearly. The order of subtraction must be the same for both coordinates; otherwise you get the wrong sign.

务必清晰地标记你的点。两个坐标相减的顺序必须一致,否则会得到错误的符号。


3. Gradient of a Curve | 曲线的梯度

Unlike a straight line, a curve does not have a constant gradient. The steepness changes as you move along it. To describe the gradient at a specific point, we use the concept of a tangent. The gradient of the curve at a point equals the gradient of the tangent line that just touches the curve at that point.

与直线不同,曲线没有恒定的梯度。沿着曲线移动时,倾斜度会变化。为了描述曲线上某一点的梯度,我们引入切线的概念。曲线上一点的梯度等于刚好在该点接触曲线的切线的梯度。

rate of change. In calculus, we find this gradient using differentiation. The derivative f '(x) or dy/dx gives a formula for the gradient at any point x on the curve y = f(x).

这称为瞬时变化率。在微积分中,我们通过微分来求这个梯度。导数 f '(x) 或 dy/dx 给出了曲线 y = f(x) 上任意点 x 处的梯度公式。

radient near the left side is negative, flat at the origin, and positive on the right side. This makes sense because the parabola first falls then rises.

例如,在曲线 y = x² 上,左侧附近的梯度为负,在原点处平缓,右侧为正。这很容易理解,因为抛物线先下降后上升。


4. Introduction to Differentiation | 微分入门

Differentiation is the process of finding the gradient function (derivative) of a given function. For IGCSE Edexcel, you need to know the standard rule for differentiating powers of x:

微分是求给定函数的梯度函数(导数)的过程。在IGCSE Edexcel考试中,你需要掌握对x的幂函数进行求导的标准法则:

If y = xⁿ, then dy/dx = nxⁿ⁻¹

= 3x²; if y = x⁻², dy/dx = −2x⁻³. You can also differentiate constant multiples and sums.

该法则适用于任何实数 n。常见例子:若 y = x³,则 dy/dx = 3x²;若 y = x⁻²,则 dy/dx = −2x⁻³。你还可以对常数倍与和进行微分。

Terminology: dy/dx is read 'dee y by dee x'. It represents the rate of change of y with respect to x. The notation f '(x) is also used, especially when working with functions written as f(x).

术语:dy/dx 读作“dee y by dee x”,表示y关于x的变化率。符号 f '(x) 也常用,尤其是在处理写为 f(x) 的函数时。


5. Basic Rules of Differentiation | 基本求导法则

When you have a polynomial function, you can differentiate term by term. The most important rules are:

当你遇到多项式函数时,可以逐项求导。最重要的法则如下:

Let us apply these to y = 4x³ − 5x² + 2x − 7. The derivative is:

我们把这些法则应用到 y = 4x³ − 5x² + 2x − 7。导数为:

dy/dx = 12x² − 10x + 2

Notice that the constant −7 disappears because the gradient does not depend on it. Always rewrite roots and fractions as powers before differentiating: √x = x¹/², 1/x² = x⁻².

请注意常数 −7 消失了,因为梯度与它无关。求导前一定要把根式和分式改写为幂的形式:√x = x¹/²,1/x² = x⁻²。


6. Finding the Gradient at a Specific Point | 求特定点的梯度

Once you have the derivative dy/dx, you can find the gradient at any given x-coordinate by substituting the x-value into the derivative.

一旦得到导数 dy/dx,你就可以代入给定的x坐标值,求得该点处的梯度。

fferentiate: dy/dx = 6x² − 2x. Then substitute x = 1: gradient = 6(1)² − 2(1) = 6 − 2 = 4.

例如,求曲线 y = 2x³ − x² + 5 在 x = 1 处的梯度。首先求导:dy/dx = 6x² − 2x。然后代入 x = 1:梯度 = 6(1)² − 2(1) = 6 − 2 = 4。

= 1 into the original equation: y = 2 − 1 + 5 = 6, so the point is (1, 6) with gradient 4.

这意味着曲线在该点上升得相当陡。你也可以将 x = 1 代入原方程求出对应的 y 坐标:y = 2 − 1 + 5 = 6,所以点 (1, 6) 处的梯度为 4。

Always check that your answer makes sense by visualising the curve. If the graph is going uphill at that x, the gradient should be positive; if downhill, negative.

永远要通过想象曲线来检查你的答案是否合理。如果图像在该x处是上坡,梯度应为正;如果是下坡,梯度应为负。


广告 / Sponsored

7. Equation of the Tangent | 切线方程

the tangent, you need the point of contact (x₁, y₁) and the gradient m = dy/dx at that x.

切线是一条在一点处接触曲线而不穿过它的直线。它的梯度等于该点处的导数。要求切线方程,你需要切点 (x₁, y₁) 以及该x处的梯度 m = dy/dx。

The equation is then written in the form:

然后方程写为:

y − y₁ = m(x − x₁)

x² + 3 at x = 1, y = 4, derivative = 2x so m = 2. Tangent: y − 4 = 2(x − 1) → y = 2x + 2.

代入后,化简为所要求的形式,通常为 y = mx + c 或 ax + by + c = 0。示例:对于 y = x² + 3 在 x = 1 处,y = 4,导数 = 2x 故 m = 2。切线:y − 4 = 2(x − 1) → y = 2x + 2。


8. Equation of the Normal | 法线方程

The normal to a curve at a point is the line perpendicular to the tangent at that point. If the tangent has gradient m, the normal has gradient −1/m, provided m ≠ 0.

曲线在一点处的法线是垂直于该点切线的直线。若切线梯度为 m,法线梯度为 −1/m,前提是 m ≠ 0。

ular gradient to write the normal equation: y − y₁ = (−1/m)(x − x₁). Simplify as required.

使用同一个点 (x₁, y₁) 和垂直梯度来写法线方程:y − y₁ = (−1/m)(x − x₁)。按要求化简。

s −1/2. So for the previous example, normal at (1,4): y − 4 = −½ (x − 1) → y = −½ x + 4.5.

例如,若切线梯度为 2,法线梯度为 −½。对于前例,(1,4) 处的法线:y − 4 = −½ (x − 1) → y = −½ x + 4.5。

x₁). If the tangent is vertical, the normal is horizontal. These special cases are rarely tested in IGCSE but are good to know.

注意:如果切线水平 (m = 0),法线就是垂直的 (x = x₁)。如果切线垂直,法线水平。这些特殊情况在IGCSE中很少考到,但了解一下有好处。


9. Estimating Gradient Using Chords | 用弦估计梯度

Sometimes you cannot differentiate a function, or you are given a graph with no equation. In such cases, you can estimate the gradient at a point by drawing a chord (a line joining two nearby points on the curve) and finding its slope. As the two points get closer, the chord's gradient approximates the tangent's gradient.

有时你无法对函数求导,或者给你一个没有方程的图像。这时,你可以通过画一条弦(连接曲线上两个邻近点的直线)并求其斜率来估计某点的梯度。当两点越来越接近时,弦的梯度就近似于切线梯度。

For example, to estimate the gradient of y = √x at x = 4, take points (4, 2) and (4.1, √4 0248). Gradient ≈ (2.0248 − 2)/(4.1 − 4) = 0.0248/0.1 = 0.248. The true derivative is 1/(2√x) = 0.25, so the estimate is quite good.

例如,估计 y = √x 在 x = 4 处的梯度,可以取点 (4, 2) 和 (4.1, √4.1≈2.0248)。梯度约等于 (2.0248 − 2)/(4.1 − 4) = 0.0248/0.1 = 0.248。真实导数为 1/(2√x) = 0.25,因此估计值很不错。

This method is often explored in IGCSE coursework or understanding the limit concept. Practice reading gradients from graphs and using symmetric chords for better accuracy.

这种方法常在IGCSE课程作业或理解极限概念时探讨。练习从图像上读取梯度,并利用对称弦来提高精度。


10. Real-world Applications as Rates of Change | 实际应用:变化率

Gradient represents a rate of change. In physics, if you plot distance against time, the gradient of the curve gives the speed at that instant. If you plot speed against time, the gradient gives the acceleration.

梯度代表变化率。在物理中,如果画出距离关于时间的图,曲线的梯度表示该时刻的速率。如果画出速率关于时间的图,梯度表示加速度。

s/dt² = 2 m/s², which is constant. These are direct applications of the gradient function.

示例:一辆汽车的距离 s(米)由 s = t² + 2t 给出。速度 v 为 ds/dt = 2t + 2。在 t = 3 秒时,v = 8 m/s。加速度为 d²s/dt² = 2 m/s²,是常数。这些都是梯度函数的直接应用。

In economics, the gradient of a cost function gives marginal cost. In any field, understanding how one quantity changes with another is crucial, and that is exactly what a gradient tells us.

在经济学中,成本函数的梯度表示边际成本。在任何领域,理解一个量如何随另一个量变化都至关重要,而这正是梯度所告诉我们的。


11. Common Mistakes and Exam Tips | 常见错误与考试技巧

When differentiating, students often forget to reduce the power by 1 or mishandle negative indices. Always double-check your derivative before substituting.

求导时,学生经常忘记将指数减1或错误处理负指数。代入求值前一定要再次检查你的导数。

Another error is confusing the gradient of a curve with the gradient of a chord. Remember: the derivative gives the instantaneous gradient, while (y₂ − y₁)/(x₂ − x₁) gives the average gradient between two points.

另一个错误是混淆曲线的梯度与弦的梯度。记住:导数给出瞬时梯度,而 (y₂ − y₁)/(x₂ − x₁) 给出两点之间的平均梯度。

For tangent/normal problems, always write the point-gradient form clearly. Don't forget to simplify. Also, if asked for the equation 'in the form ax + by + c = 0', rearrange fully and ensure a, b, c are integers with a positive 'a' if possible.

对于切线/法线问题,务必清楚写出点斜式。不要忘记化简。另外,如果要求“写成 ax + by + c = 0 的形式”,要完全整理,确保 a, b, c 是整数,且 a 尽可能为正。


12. Summary and Further Practice | 总结与进一步练习

The gradient of a function tells you how steeply the graph is rising or falling. For straight lines, use the simple rise-over-run formula. For curves, differentiation provides the gradient function. Once you have the gradient, you can construct tangents and normals. Always remember the connection between gradient and rate of change.

函数的梯度告诉你图像上升或下降的陡峭程度。对于直线,使用简单的“高度差除以水平距离”公式。对于曲线,微分给出了梯度函数。一旦得到了梯度,你就可以构造切线和法线。始终记住梯度与变化率之间的联系。

To master this topic, work through past Edexcel IGCSE questions on finding derivatives, equations of tangents, and estimating gradients. The more you practice, the more confident you will become in applying these concepts in unfamiliar situations.

要掌握这一专题,请练习过去的Edexcel IGCSE考试题,包括求导数、切线方程以及估计梯度。练习越多,你就越能自信地在陌生情境中应用这些概念。

Published by TutorHao | Mathematics Revision Series | aleveler.com

广告 / Sponsored
原版培生爱德思考试教材IGCSE计算机科学(含电子书) Pearson Edexcel International G…
计算机 备考教辅 · 正版现货 · 与本文内容相关
查看详情 / View on Taobao参考价 ¥398.0

更多咨询请联系16621398022(同微信)

备考资讯每日更新,关注不错过
考纲变化 · 科目分析 · 学习方法
扫码关注公众号 tutorhao
在微信里长按二维码识别关注
或截图后用「扫一扫 → 相册」选择本图
公众号:tutorhao