Concept of a Function | 函数的概念

📚 Concept of a Function | 函数的概念

Functions are at the very core of mathematical reasoning and modelling. They allow us to express how one quantity depends on another, to analyse patterns, and to make precise predictions. Understanding the concept of a function is a foundation for many topics in IB Mathematics, from algebra and calculus to real-world applications like population growth and financial analysis.

函数是数学推理与建模的核心。它们使我们能够表达一个量如何依赖于另一个量、分析模式并进行精确预测。理解函数的概念是IB数学中许多主题的基础,从代数和微积分到人口增长和金融分析等现实应用。

1. What is a Function? | 什么是函数?

Informally, a function is a rule that assigns to each input exactly one output. Think of a vending machine: you press a button (input), and you get a specific snack (output). In mathematics, the input and output are usually numbers, but they can be other objects as well. The key idea is consistency – the same input always produces the same output.

通俗地说,函数是一条为每个输入恰好分配一个输出的规则。想象一台自动售货机:你按下一个按钮(输入),就会得到特定的零食(输出)。在数学中,输入和输出通常是数字,但也可以是其他对象。关键的要点是一致性——相同的输入总是产生相同的输出。

A function can be thought of as a ‘black box’ that transforms an input value x into an output value y. The relationship is often written as y = f(x). This notation will be explored later, but for now, remember: to be a function, each x must have only one y associated with it.

函数可以看作一个“黑箱”,将输入值 x 转换为输出值 y。这种关系通常写作 y = f(x)。这个符号稍后会详细探讨,但现在请记住:要成为一个函数,每个 x 只能有一个与之关联的 y。


2. Formal Definition | 正式定义

A function f from a set A to a set B is a rule that assigns to each element x in A exactly one element f(x) in B. Set A is called the domain (the set of all possible inputs), and set B is called the codomain (the set that contains all possible outputs). The actual outputs form the range, which is a subset of the codomain.

从集合A到集合B的函数 f 是一条规则,为A中的每个元素 x 分配B中恰好一个元素 f(x)。集合A称为定义域(所有可能输入的集合),集合B称为陪域(包含所有可能输出的集合)。实际的输出值构成值域,它是陪域的一个子集。

We write f : A → B to signify that f takes inputs from A and produces outputs in B. For example, f : ℝ → ℝ given by f(x) = x² means the function takes real numbers and maps them to real numbers via squaring. The domain and codomain are both ℝ, but the range is only the non‑negative real numbers, [0, ∞).

我们写作 f : A → B 来表示 f 接受来自A的输入并在B中产生输出。例如,f : ℝ → ℝ 由 f(x) = x² 给出,意味着该函数取实数并通过平方将其映射到实数。定义域和陪域都是 ℝ,但值域仅为非负实数 [0, ∞)。


3. Domain, Codomain and Range | 定义域、陪域与值域

The domain of a function is the set of all input values for which the function is defined. When a function is given by a formula without context, the domain is often taken as the largest set of real numbers for which the formula makes sense. For instance, f(x) = 1/(x – 3) requires x – 3 ≠ 0, so the domain is all real numbers except 3, written as ℝ \\ {3}.

定义域是使函数有意义的所有输入值的集合。当一个函数由公式给出而没有上下文时,定义域通常取能使公式有意义的全体实数中最大的集合。例如,f(x) = 1/(x – 3) 需要 x – 3 ≠ 0,因此定义域为除 3 外的所有实数,写作 ℝ \\ {3}。

The codomain is stated when we define the function, but it is often ℝ if not specified. The range (or image) is the set of all actual outputs obtained by plugging in all elements of the domain. Finding the range can be more challenging, but it is essential for understanding a function’s behaviour.

陪域在定义函数时说明,但若未指定则通常为 ℝ。值域(或像集)是将定义域中所有元素代入后得到的全部实际输出的集合。寻找值域可能更具挑战性,但对于理解函数的行为至关重要。

Example: for f(x) = √(x – 2), the domain is x ≥ 2 because the square root of a negative number is not real in standard real analysis. The range is y ≥ 0 since the square root output is never negative.

例子:对于 f(x) = √(x – 2),定义域为 x ≥ 2,因为负数的平方根在标准实数分析中不是实数。值域为 y ≥ 0,因为平方根的输出永远不会为负数。


4. Function Notation | 函数符号

The notation f(x) is read as ‘f of x’ and represents the output of the function f when the input is x. It does NOT mean f multiplied by x. This symbolic representation is extremely powerful because it allows us to describe transformations succinctly, evaluate the function at specific points, and compose functions.

符号 f(x) 读作“f of x”,表示输入为 x 时函数 f 的输出。这并不表示 f 乘以 x。这种符号表示极其强大,因为它使我们能够简洁地描述变换、在特定点求值以及进行函数复合。

To evaluate f(2) for f(x) = 3x² – 5, we substitute 2 for x: f(2) = 3·(2)² – 5 = 3·4 – 5 = 12 – 5 = 7. Similarly, f(a + h) would be 3(a + h)² – 5, which can be expanded as needed.

要对 f(x) = 3x² – 5 求 f(2),我们将 2 代入 x:f(2) = 3·(2)² – 5 = 3·4 – 5 = 12 – 5 = 7。类似地,f(a + h) 将是 3(a + h)² – 5,可根据需要展开。

Function notation also allows us to describe relationships like g(x) = 2f(x) + 1, indicating a vertical stretch and shift of the original function f. More on transformations will appear later in the course.

函数符号还允许我们描述诸如 g(x) = 2f(x) + 1 的关系,表明对原函数 f 进行了垂直拉伸和平移。有关变换的更多内容将在课程后续出现。


5. Mapping Diagrams | 映射图

A function can be visualised using a mapping diagram, which shows the domain and codomain as sets with arrows connecting each input to its unique output. This is especially useful for small, finite sets.

函数可以使用映射图来可视化,该图将定义域和陪域显示为集合,并用箭头将每个输入连接到其唯一输出。这对于小型有限集合特别有用。

Consider the function f defined on the domain {1, 2, 3, 4} by f(x) = 2x + 1. A mapping diagram could be drawn as two ovals. The mapping table below illustrates the same idea:

考虑定义域为 {1, 2, 3, 4} 的函数 f(x) = 2x + 1。映射图可以画成两个椭圆。下面的映射表说明了相同的概念:

Input x (Domain) Output f(x) (Range)
1 3
2 5
3 7
4 9

Notice that each input is linked to exactly one output. Had an input been linked to two different outputs, the relationship would not qualify as a function.

请注意每个输入都恰好链接到一个输出。如果某个输入链接到两个不同的输出,则该关系就不符合函数的定义。


6. The Vertical Line Test | 垂直线检验

For a graph in the Cartesian plane to represent a function, any vertical line must intersect the graph at most once. This is known as the vertical line test. If a vertical line crosses the graph more than once, then for a given x‑value there would be multiple y‑values, violating the definition of a function.

要使笛卡尔平面中的图形表示一个函数,任意垂直线与图形最多只能相交一次。这被称为垂直线检验。如果一条垂直线与图形相交超过一次,那么对于给定的 x 值就会存在多个 y 值,这违反了函数的定义。

For example, the graph of y = x² passes the test because any vertical line x = c yields exactly one point (c, c²). However, the graph of x = y², which is a sideways parabola, fails because a vertical line like x = 4 hits the curve at (4, 2) and (4, –2). Therefore, x = y² does not define y as a function of x.

例如,y = x² 的图形通过了检验,因为任意垂直线 x = c 只产生一个点 (c, c²)。然而,x = y² 的图形(一个侧向抛物线)不通过检验,因为像 x = 4 这样的垂直线会与曲线相交于 (4, 2) 和 (4, –2) 两个点。因此,x = y² 不将 y 定义为 x 的函数。

The vertical line test is a quick, visual way to check functionality of a given graph, often used in multiple‑choice questions.

垂直线检验是一种快速、直观地判断给定图形是否为函数的方法,常用于选择题中。


7. Types of Functions | 函数的类型

While the concept of a function is general, certain types appear repeatedly in IB Mathematics. Familiarity with their basic shapes helps in graph sketching and equation solving.

  • Linear functions: f(x) = mx + c produce straight lines with slope m and y‑intercept c.
  • Quadratic functions: f(x) = ax² + bx + c (a ≠ 0) create parabolas. The sign of a determines whether the parabola opens upwards or downwards.
  • Reciprocal functions: f(x) = 1/x, x ≠ 0, have a hyperbola shape with asymptotes along the axes.
  • Square root functions: f(x) = √x (x ≥ 0) give half‑parabolas rotated 90°.

虽然函数的概念是通用的,但某些类型在IB数学中反复出现。熟悉它们的基本形状有助于绘制草图和求解方程。

  • 线性函数: f(x) = mx + c 产生斜率为 m、y 轴截距为 c 的直线。
  • 二次函数: f(x) = ax² + bx + c (a ≠ 0) 生成抛物线。a 的符号决定了抛物线是向上还是向下开口。
  • 倒数函数: f(x) = 1/x, x ≠ 0,其图像为双曲线,具有沿坐标轴的渐近线。
  • 平方根函数: f(x) = √x (x ≥ 0) 给出旋转了 90° 的半抛物线。

Other important types include cubic, exponential, logarithmic, and trigonometric functions, which will be studied in greater depth later in the syllabus.

其他重要类型包括三次函数、指数函数、对数函数和三角函数,这些将在教学大纲的后续部分更深入地学习。


8. One‑to‑One and Many‑to‑One Functions | 一一对应与多对一函数

Functions can be classified by how inputs are paired with outputs. A function is one‑to‑one (injective) if different inputs always produce different outputs. Algebraically, if f(a) = f(b) implies a = b. Graphically, a one‑to‑one function passes the horizontal line test: any horizontal line meets the graph at most once.

函数可以根据输入与输出的配对方式进行分类。如果一个函数的不同输入总是产生不同的输出,那么该函数是一一对应(单射)的。代数上,如果 f(a) = f(b) 蕴含 a = b。在图形上,一一对应函数通过水平线检验:任意水平线与图形最多相交一次。

A many‑to‑one function allows different inputs to map to the same output. A classic example is f(x) = x², where f(2) = 4 and f(–2) = 4. Such functions are still valid functions, but they are not invertible unless we restrict the domain.

多对一函数允许不同的输入映射到相同的输出。一个经典的例子是 f(x) = x²,其中 f(2) = 4 且 f(–2) = 4。这样的函数仍然是有效的函数,但它们不可逆,除非我们限制定义域。

Understanding the difference is crucial for inverse functions, which require a one‑to‑one correspondence from domain to range.

理解这一区别对于反函数至关重要,反函数需要从定义域到值域的一一对应。


9. Restricting the Domain | 限制定义域

Sometimes we intentionally limit the domain of a function to make it one‑to‑one, so that an inverse function can exist. For f(x) = x² with the natural domain ℝ, the function is many‑to‑one, thus non‑invertible. However, if we restrict the domain to x ≥ 0, it becomes one‑to‑one and we can define the inverse g(x) = √x.

有时我们有意限制函数的定义域使其成为一一对应,从而使得反函数可以存在。对于自然定义域为 ℝ 的 f(x) = x²,该函数是多对一的,因此不可逆。然而,如果我们将定义域限制为 x ≥ 0,它就变成一一对应,我们可以定义反函数 g(x) = √x。

Restricting the domain is a powerful technique not only for inverses but also for studying specific branches of a function. It is common when working with trigonometric functions, e.g., restricting sine to [–π/2, π/2] to obtain the arcsine function.

限制定义域不仅对于反函数是一项强大的技术,也用于研究函数的特定分支。这在处理三角函数时很常见,例如,将正弦限制到 [–π/2, π/2] 以获得反正弦函数。


10. Finding Domain and Range from Graphs | 从图像求定义域与值域

A graph provides a visual window into the domain and range. The domain is the set of all x‑values covered by the graph, read from left to right. The range is the set of all y‑values covered, read from bottom to top. Breaks in the graph or open circles indicate excluded values.

图形为定义域和值域提供了一个视觉窗口。定义域是图形所覆盖的全部 x 值的集合,从左到右读取。值域是所覆盖的全部 y 值的集合,从下到上读取。图形中的间断或空心圆点表示排除的值。

For example, the graph of f(x) = 1/(x – 2) has a vertical asymptote at x = 2 and a horizontal asymptote at y = 0. The domain is x ∈ ℝ, x ≠ 2. The range is y ∈ ℝ, y ≠ 0. When the graph is not provided, algebraic reasoning with the equation is needed.

例如,f(x) = 1/(x – 2) 的图像在 x = 2 处有一条垂直渐近线,在 y = 0 处有一条水平渐近线。定义域为 x ∈ ℝ, x ≠ 2。值域为 y ∈ ℝ, y ≠ 0。当未提供图形时,需要通过方程进行代数推理。

Practice: sketch the graph of f(x) = √(4 – x²). The expression inside the square root must be ≥ 0, so 4 – x² ≥ 0 ⇒ –2 ≤ x ≤ 2. Thus domain: [–2, 2]. The y‑values range from 0 to 2, giving range: [0, 2]. This forms a semicircle of radius 2.

练习:绘制 f(x) = √(4 – x²) 的图形。平方根内的表达式必须 ≥ 0,因此 4 – x² ≥ 0 ⇒ –2 ≤ x ≤ 2。因此定义域:[–2, 2]。y 值范围从 0 到 2,得出值域:[0, 2]。这形成一个半径为 2 的半圆。


11. Key Points and Common Pitfalls | 要点与常见误区

Do not confuse f(x) with f × x. f(x) is a single symbol representing the output. Also remember: a function can be many‑to‑one, but not one‑to‑many. If a single input gives two outputs, it is not a function.

不要将 f(x) 与 f × x 混淆。f(x) 是表示输出的单一符号。还要记住:函数可以是多对一,但不能是一对多。如果一个输入产生两个输出,那么它就不是函数。

Beware of hidden domain restrictions: denominators cannot be zero, square roots of negative numbers are not real in basic analysis, and logarithms require positive arguments. Always state the domain when defining a function fully.

注意隐藏的定义域限制:分母不能为零,负数的平方根在基础分析中不是实数,对数需要正参数。在完整定义一个函数时务必说明定义域。

When sketching, use the vertical line test to confirm you have a function; use the horizontal line test to check for one‑to‑one property. These tests are quick and extremely useful in exam settings.

在绘图时,使用垂直线检验确认你得到的是一个函数;使用水平线检验检查是否为一一对应。这些检验快速而且在考试环境中极其有用。


12. Summary | 总结

The concept of a function is foundational: a rule assigning exactly one output to each input. You must be able to identify domain and range, interpret f(x) notation, apply the vertical line test, and distinguish between one‑to‑one and many‑to‑one functions. Mastering these ideas will provide a solid base for calculus, transformations, and mathematical modelling.

函数的概念是基础性的:一条为每个输入分配恰好一个输出的规则。你必须能够识别定义域和值域、解释 f(x) 符号、应用垂直线检验,并区分一一对应和多对一函数。掌握这些观念将为微积分、变换和数学建模打下坚实的基础。

Continue to practise with different expressions, sketching graphs, and testing for functionality. With consistent effort, the concept of a function will become second nature.

继续练习不同的表达式、绘制图形并检验函数性质。通过持续的努力,函数的概念将成为你的第二天性。

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

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

Comments

屏轩国际教育cambridge primary/secondary checkpoint, cat4, ukiset,ukcat,igcse,alevel,PAT,STEP,MAT, ibdp,ap,ssat,sat,sat2课程辅导,国外大学本科硕士研究生博士课程论文辅导

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from aleveler.com

Subscribe now to keep reading and get access to the full archive.

Continue reading