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

Modulus Functions | 模函数

2026-08-02 22:47 · 本文部分内容由AI辅助创作

📚 Modulus Functions | 模函数

The modulus function, often called the absolute value function, is a fundamental concept in mathematics that measures the distance of a number from zero on the real number line. It is denoted by |x| and always returns a non-negative value, regardless of the sign of the input. This function appears extensively in algebra, coordinate geometry, inequalities, and calculus, and a solid understanding of its properties and associated solving techniques is essential for success in the IB Mathematics curriculum.

模函数,通常也称为绝对值函数,是数学中的一个基本概念,它衡量实数轴上某一点到零的距离。记作 |x|,无论输入是正是负,输出始终是非负值。该函数在代数、坐标几何、不等式及微积分中广泛出现,透彻理解它的性质以及相关的求解技巧,对于在 IB 数学课程中取得好成绩至关重要。

1. Definition and Notation | 定义与记法

For any real number x, the modulus of x is defined piecewise as follows:

对于任意实数 x,模的定义采用分段形式如下:

|x| = x if x ≥ 0
|x| = −x if x < 0

In words, if x is non-negative, the modulus simply returns x itself; if x is negative, it returns the opposite sign, effectively multiplying by −1 to produce a positive number. An alternative geometric interpretation is that |x| represents the distance from the point x to the origin.

通俗地说,若 x 非负,模直接返回 x;若 x 为负,则返回其相反数,相当于乘以 −1 得到一个正数。另一种几何解释是,|x| 表示点 x 到原点的距离。

Key algebraic properties of the modulus function include:

模函数的关键代数性质有:


2. Graph of y = |x| | y = |x| 的图像

The basic modulus function y = |x| y = −x. The vertex is at the origin (0,0), where the slope changes abruptly from −1 to 1.

基本模函数 y = |x| 的图像呈 V 形。当 x ≥ 0 时,图像与直线 y = x 重合;当 x < 0 时,与直线 y = −x 重合。顶点位于原点 (0,0),该点处斜率从 −1 突变到 1。

Key features of the graph y = |x|:

图像 y = |x| 的主要特征:

The sharp corner at the vertex is not differentiable, which is a crucial point when studying modulus functions in calculus.

顶点处的尖角不可导,这是在微积分中研究模函数时需要特别留意的一点。


3. Transformations: y = |f(x)| and y = f(|x|) | 变换:y = |f(x)| 和 y = f(|x|)

Two common transformations involving the modulus sign are y = |f(x)| and y = f(|x|). They behave quite differently and often cause confusion.

涉及模符号的两种常见变换是 y = |f(x)| 和 y = f(|x|)。它们表现截然不同,容易混淆。

For y = |f(x)| ns above the x-axis remain unchanged. This transformation keeps all y-values non-negative.

对于 y = |f(x)|,原函数 y = f(x) 图像中所有位于 x 轴下方的部分都会关于 x 轴向上翻折,变为正;x 轴上方的部分保持不变。这一变换令所有 y 值非负。

For y = f(|x| even, i.e. symmetric about the y-axis. The input is first made positive before applying f.

对于 y = f(|x|),x ≥ 0 的图像被保留,x < 0 的部分则通过将右侧 (x ≥ 0) 图像关于 y 轴对称翻折得到。所得图像为偶函数,即关于 y 轴对称。在施加 f 之前,输入值先被取正。

Example: If f(x) = x − 2, then y = |x − 2| has its V-shaped vertex at (2,0). Meanwhile, y = |x| − 2 keeps the V shape vertex at (0,−2), and then y = ||x| − 2| would reflect the part below the x-axis upwards.

示例:若 f(x) = x − 2,则 y = |x − 2| 的 V 形顶点在 (2,0)。而 y = |x| − 2 保持 V 形但顶点在 (0,−2),继而 y = ||x| − 2| 会将 x 轴下方的部分向上翻折。


4. Solving Modulus Equations | 解模方程

Solving equations involving a single modulus like |ax + b| that the expression inside can equal either c or −c. Thus, we split into two linear equations:

求解含单个模的方程如 |ax + b| = c,其中 c ≥ 0,其原理为内部表达式可以等于 c 或 −c。于是,我们拆成两个线性方程:

ax + b = c or ax + b = −c

Each solution must be checked in the original equation, especially if derived after squaring, though for linear cases checks rarely reveal extraneous solutions. If c < 0, the equation has no real solution because an absolute value cannot be negative.

每一个解都需要代入原方程验证,特别是在平方后求解的情况下,但对于线性情形,很少出现增根。若 c < 0,方程无实数解,因为绝对值不可能为负。

Example: Solve |2x − 1| = 5.

示例:解 |2x − 1| = 5。

Both x = 3 and x = −2 satisfy the original equation.

x = 3 和 x = −2 都满足原方程。


5. Solving Modulus Inequalities | 解模不等式

Inequalities of the form |ax + b| < c and |ax + b| > c (with c > 0) are handled by turning them into compound inequalities without modulus.

形如 |ax + b| < c 和 |ax + b| > c(其中 c > 0)的不等式,可通过转化为不含模的复合不等式来求解。

Case 1: |ax + b| < cEquivalent to −c < ax + b < c.
情形一:|ax + b| < c等价于 −c < ax + b < c。
Case 2: |ax + b| > cEquivalent to ax + b < −c or ax + b > c.
情形二:|ax + b| > c等价于 ax + b < −c 或 ax + b > c。

When c = 0, the inequalities |ax + b| < 0 have no solution (since absolute value is non-negative), while |ax + b| > 0 holds for all x except the root where ax + b = 0.

当 c = 0 时,不等式 |ax + b| < 0 无解(因绝对值非负),而 |ax + b| > 0 对所有 x 成立,除了使 ax + b = 0 的根。

Example: Solve |3x + 2| ≤ 7. This yields −7 ≤ 3x + 2 ≤ 7 → −9 ≤ 3x ≤ 5 → −3 ≤ x ≤ 5/3.

示例:解 |3x + 2| ≤ 7。这得出 −7 ≤ 3x + 2 ≤ 7 → −9 ≤ 3x ≤ 5 → −3 ≤ x ≤ 5/3。

rict inequalities, the same logical steps apply with careful attention to ≤ and ≥ symbols.

对于严格或非严格不等式,同样的逻辑步骤适用,但需要留意 ≤ 和 ≥ 符号。


6. Equations with Two Modulus Expressions | 含有两个绝对值表达式的方程

Equations like |ax + b| = |cx + d| lence without introducing extraneous roots from the modulus itself: (ax + b)² = (cx + d)².

形如 |ax + b| = |cx + d| 的方程,可通过两边平方来求解,因为两边均非负,平方不会因为模本身引入增根:(ax + b)² = (cx + d)²。

Alternatively, we can use the principle that |u| = |v| quations: ax + b = cx + d and ax + b = −(cx + d). Both approaches lead to the same result.

此外,也可利用原理:|u| = |v| 当且仅当 u = v 或 u = −v。这给出两个线性方程:ax + b = cx + d 及 ax + b = −(cx + d)。两种方法会得到相同的结果。

Example: |2x − 1| = |x + 3| 4x + 1 = x² + 6x + 9 → 3x² − 10x − 8 = 0 → (3x + 2)(x − 4) = 0, giving x = −2/3 or x = 4.

示例:|2x − 1| = |x + 3|。平方:2x − 1)² = (x + 3)² → 4x² − 4x + 1 = x² + 6x + 9 → 3x² − 10x − 8 = 0 → (3x + 2)(x − 4) = 0,得 x = −2/3 或 x = 4。

Always check solutions for more complex cases where squaring might introduce extraneous solutions due to domain restrictions, but with pure modulus equations this method is safe.

对于更复杂的情形,平方可能因定义域限制产生增根,应始终验证解,但对纯模方程,此方法安全。


广告 / Sponsored

7. Squaring Method for Inequalities | 不等式平方法

For inequalities involving two modulus expressions, e.g. |ax + b| > |cx + d|, we can square both sides because both sides are non-negative, and the inequality direction is preserved. Thus, we obtain (ax + b)² > (cx + d)², which simplifies to a quadratic inequality that can be solved via factorisation or sign analysis.

对于含有两个模表达的不等式,如 |ax + b| > |cx + d|,可两边平方,因为两边均非负,且不等号方向保持不变。从而得到 (ax + b)² > (cx + d)²,它可简化为一个二次不等式,通过因式分解或符号分析求解。

Care must be taken when applying the squaring method to single-modulus inequalities. For instance, |x| < 2 is equivalent to x² < 4, which is true, but it is usually simpler to use the compound inequality approach. The squaring technique is most useful when comparing two absolute values.

将平方法用于单模不等式时必须小心。例如 |x| < 2 等价于 x² < 4,虽成立,但通常使用复合不等式方法更简单。平方技巧在比较两个绝对值时最为有用。

Example: Solve |x − 2| > |2x + 1| 8x − 3 → 3x² + 8x − 3 < 0. Factorising: (3x − 1)(x + 3) < 0. The solution is −3 < x < 1/3.

示例:解 |x − 2| > |2x + 1|。平方得 (x − 2)² > (2x + 1)² → x² − 4x + 4 > 4x² + 4x + 1 → 0 > 3x² + 8x − 3 → 3x² + 8x − 3 < 0。因式分解:(3x − 1)(x + 3) < 0。解为 −3 < x < 1/3。


8. Sketching Modulus Graphs | 绘制模函数图像

Sketching graphs of functions involving modulus signs is best done systematically. A recommended approach is:

绘制含模函数图像最好系统地进行。推荐步骤如下:

lus signs are nested, work from the innermost function outward. For example, to sketch y = ||x| − 2|, first draw y = |x|, then shift it down by 2 to get y = |x| − 2, and finally reflect the part below the x-axis upwards.

当有嵌套模符号时,应从最内层函数向外处理。例如,要绘制 y = ||x| − 2|,先画出 y = |x|,然后下移 2 个单位得 y = |x| − 2,最后将 x 轴下方部分向上翻折。


9. Applications of Modulus | 模函数的应用

The modulus function models many real-world situations involving absolute deviation or distance. In error analysis, the inequality |measured value − true value| < tolerance describes acceptable measurement errors. In geometry, the distance between two points on a number line is given by |a − b|.

模函数可用来模拟许多涉及绝对偏差或距离的现实场景。在误差分析中,不等式 |测量值 − 真实值| < 容差描述可接受的测量误差。在几何中,数轴上两点间的距离由 |a − b| 给出。

lity at corners often requires checking left-hand and right-hand derivatives. The function |x| is differentiable everywhere except at x = 0, where a cusp occurs.

在微积分中,模函数出现在分段定义的函数里,它们在尖点处的可导性通常需要通过左右导数检验。函数 |x| 除 x = 0 处出现尖点外处处可导。

Modulus is also essential in defining the concept of neighbourhoods and limits in mathematical analysis, e.g. |x − a| < δ.

在数学分析中,模对于定义邻域和极限等概念至关重要,比如 |x − a| < δ。


10. Common Mistakes and Tips | 常见错误与提示

Students frequently make the following errors when handling modulus problems:

学生在处理模函数问题时,常犯以下错误:

Tip: When solving modulus inequalities, it is often helpful to visualize the problem with a rough graph to confirm the algebraic solution.

提示:解模不等式时,画一个粗略的草图来验证代数解往往很有帮助。


11. Worked Practice Example | 完整练习示例

Let's solve the equation |2x − 5| = |x + 1| and represent the solutions on a number line.

我们求解方程 |2x − 5| = |x + 1| 并在数轴上表示解。

Method: x + 24 = 0. Divide by 3: no, factorising gives (3x − 4)(x − 6) = 0. Thus x = 4/3 or x = 6.

方法:两边平方:(2x − 5)² = (x + 1)² → 4x² − 20x + 25 = x² + 2x + 1 → 3x² − 22x + 24 = 0。因式分解得 (3x − 4)(x − 6) = 0。因此 x = 4/3 或 x = 6。

Check: For x = 4/3, LHS = |8/3 − 5| = |−7/3| = 7/3; RHS = |4/3 + 1| = 7/3. For x = 6, LHS = |12 − 5| = 7; RHS = |6 + 1| = 7. Both are valid.

检验:x = 4/3 时,左边 = |8/3 − 5| = |−7/3| = 7/3;右边 = |4/3 + 1| = 7/3。x = 6 时,左边 = |12 − 5| = 7;右边 = |6 + 1| = 7。两者均成立。

Sketching the inequality |x − 3| < 2|x| 3 > 0 → (x + 3)(x − 1) > 0, solution: x < −3 or x > 1. Always test intervals: x = −4 gives |−7| < 2|−4| → 7 < 8 true. So final solution: (−∞, −3) ∪ (1, ∞).

绘制不等式 |x − 3| < 2|x| 亦可平方求解: 6x + 9 < 4x² → 0 < 3x² + 6x − 9 → 3x² + 6x − 9 > 0 → x² + 2x − 3 > 0 → (x + 3)(x − 1) > 0,解为 x < −3 或 x > 1。务必测试区间:x = −4 时 |−7| < 2|−4| → 7 < 8 成立。最终解:(−∞, −3) ∪ (1, ∞)。


12. Summary | 总结

The modulus function, defined as |x| cornerstone of algebraic manipulation. Its graph is V-shaped, and transformations like y = |f(x)| and y = f(|x| s or squaring, always respecting the non-negative nature of absolute values. With practice, these techniques become intuitive, allowing you to tackle a wide range of IB Mathematics problems confidently.

模函数定义为 |x| 等于到零的距离,是代数运算的基石。它的图像呈 V 形,变换如 y = |f(x)| 和 y = f(|x|) 分别通过对输出或输入进行翻折。求解含模的方程与不等式依赖于分情况讨论或两边平方,并始终尊重绝对值的非负性。通过练习,这些技巧会变得直观,使你能够自信地应对各类 IB 数学问题。

Published by TutorHao | IB Mathematics Revision Series | aleveler.com

广告 / Sponsored
IBDP国际文凭计算机科学学生用书 高级及标准水平 Computer Science for the IB Diplo…
计算机 备考教辅 · 正版现货 · 与本文内容相关
查看详情 / View on Taobao参考价 ¥524.0

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

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