函数Introduction
简介
函数
函数是一种关系,其中每个输入(定义域)恰好对应一个输出(值域)。
例如:f(x)=2x
输入:x=3⇒输出:f(3)=6
-
定义域(Domain):
函数可以接受的所有可能的输入(x)值
例如:f(x)=x⇒定义域:x≥0 (不能对负数开平方)
f(x)=x1⇒定义域:x=0 (不能除以零)
-
值域(Range):
函数可以产生的所有可能的输出(y)值。
例如:
f(x)=x2
值域:y≥0(平方数永远不会为负)。
f(x)=sinx
值域:−1≤y≤1.
Example 1:
Let f(x)=x−31
To find the domain, set the denominator x−3=0⇒x=3
So, the domain is x∈R, x=3
Example 2:
Let f(x)=x+2
The expression inside the square root must be non-negative:
x+2≥0⇒x≥−2
So, the domain is x≥−2
Example 3:
Let f(x)=x−1
Domain: x≥1
Let y=x−1⇒x=y2+1
Since square roots are always non-negative, we have y≥0
So, the range is y≥0
符号表示Notations
基本函数符号
函数通常写作:
f(x)=expression in x
Example:
f(x)=2ex
This means: input x, output is 2ex
Arrow Notation
Alternate way of writing a function:
f:x↦lgxfor x>0
This means: “f maps x to lgx”
Inverse Functions
The inverse of f(x) is written as f−1(x)
Reverses the effect of ( f ):
f(f−1(x))=xandf−1(f(x))=x
Only one-to-one functions have inverses
Example:
If f(x)=2x+3, then
f−1(x)=2x−3
Composite Functions
The composition fg(x) means:
fg(x)=f(g(x))
Example:
Let f(x)=x2, g(x)=x+1. Then:
fg(x)=f(g(x))=f(x+1)=(x+1)2
Repeated Function Application
The notation f2(x) means:
f2(x)=f(f(x))
Example:
If f(x)=3x, then:
f2(x)=f(f(x))=f(3x)=3(3x)=9x
Note: This notation is not used with trigonometric functions
映射Mapping
一对一函数(One-to-one functions)
-
每个输出(y)只来自一个输入(x)
-
检验:通过水平线测试(没有水平线与图像相交两次)
例如 f(x)=2x+3
straight line →one-one.
Not one-one:f(x)=x2
both 2 and -2 give 4.
多对一函数(Many-One Function)
反函数(Inverse Function)Inverse Function
反转原函数(交换 x 和 y)
条件:只有当函数是一对一(one-one)时才存在
检验:没有垂直线与图像相交两次。
例如:
1. Write y=f(x).
2. Swap x and y.
3. Solve for y.
Example →f(x)=3x+5
Step 1: Write y = f(x)
y=3x+5
Step 2: Swap x and y
x=3y+5
Step 3: Solve for y
y=3x−5
Final Result:
f−1(x)=3x−5
Relation between function and its inverse is always a reflection in the line y=x
Example:
Let f(x)=x−2
Domain of f(x):
Since the expression under the square root must be ≥0,
x−2≥0⇒x≥2
So the domain is:
x≥2
Range of f(x):
Square roots give only non-negative values,
y≥0
Find the inverse:
Step 1: Replace f(x) with y
y=x−2
Step 2: Swap x and y
x=y−2
Step 3: Solve for y:
x2=y−2⇒y=x2+2
So the inverse function is:
f−1(x)=x2+2
Therefore,
Domain of f−1(x):x≥0
Range of f−1(x):y≥2
特殊函数Special Functions
复合函数:
将一个函数应用于另一个函数的结果,例如:
例如 f(x)=x2,g(x)=x+1→f(g(x))=(x+1)2.
在复合函数中,顺序很重要!
例如 f(g(x))=g(f(x)).
复合函数的有效性:
例如,对于函数 fg(x)
输入 x 必须满足两个条件
-
x 必须在 g 的定义域内(即 g(x) 有定义)
-
输出 g(x) 必须在 f 的定义域内。
绝对值函数:
使所有输出为非负数
例如。
f(x)=x−2→∥f(x)∥ reflects negative parts above the x-axis.
∥sinx∥→Always between 0 and 1.
Example 1:
Let f(x)=x and g(x)=x−2
The composite function is:
f(g(x))=x−2
To find the domain of f(g(x)):
-
Find the domain of g(x), which is all real numbers:
x∈R.
-
Find the domain of f(x)=x, which requires the input to be non-negative:
x≥0
-
Since the input to f is g(x)=x−2, we require:
x−2≥0⇒x≥2
Therefore, the domain of the composite function f(g(x)) is:
x≥2
图像的变换Transformation of Graphs
f(−x): 关于 y 轴的反射
−f(x): 关于 x 轴的反射
f(x)+a: 沿 y 轴平移 a 个单位
f(x+a): 沿 x 轴平移 –a 个单位
定义域限制Domain Restrictions
-
除法:分母不能为零。
定义域限制:令分母 >0。
-
偶次根式(如 x):在实数范围内,不能对负数取平方根。
定义域限制:令被开方数 ≥0。
-
对数:不能对零或负数取对数。
定义域限制:令真数 >0
笔记内容基于 ZNotes(znotes.org)0606 Theory,中文译文采用 ZNotes 官方中文翻译,例题保留英文原文。已对照 CIE 0606 大纲(2025–2027)逐主题核验。