跳到主要内容

2 · 函数

IB 数学:应用与解释 SL知识点 2

本主题的视频课程 打开视频页面
3:28

函数

这些是精选专题,并非整个大纲,且所有示例均为虚构。函数自带定义域;在 f g 中,g 先起作用;只有一对一…

英语旁白 · 英中内嵌字幕

2.1

范围与先修条件

English

This handout teaches topic 2, Functions, of Mathematics: Applications and Interpretation, the course first assessed in 2021: equations of straight lines, parallel and perpendicular lines, functions, domain, range and inverse, key features of graphs found with technology, and modelling with linear, quadratic, exponential, direct and inverse variation, cubic and sinusoidal functions, and, for HL, composite and inverse functions, transformations of graphs, models with limits such as Newton's law of cooling and logistic growth, and straightening data with logarithmic scales.

Prerequisites: substitution into formulae, solving linear equations, plotting points, and topic 1 (sequences, exponents and logarithms).

2.2

直线与线性模型

English

A law that held for fifty years

In 1965 the engineer Gordon Moore noticed that the number of components on a computer chip had been doubling every year, and he predicted that it would carry on. In 1975 he revised the rate to doubling about every two years. “Moore's law” is not a law of nature, only a model 模型: a function chosen to describe data and make predictions. It held remarkably well for decades and guided the planning of the whole chip industry, until the components became so small that physical limits began to slow it. This topic is about choosing such functions, using them, and judging how far to trust them.

Gradient and the equation of a line

The gradient 斜率 of the line through $(x_1, y_1)$ and $(x_2, y_2)$ is

$$m = \frac{y_2 - y_1}{x_2 - x_1} = \frac{\text{rise}}{\text{run}}$$

A line can be written in three forms:

Form Equation Use it when
Gradient-intercept $y = mx + c$ you know $m$ and the $y$-intercept $c$
Point-gradient $y - y_1 = m(x - x_1)$ you know $m$ and one point
General $ax + by + d = 0$ the question asks for integer coefficients

Parallel 平行 lines have equal gradients. Perpendicular 垂直 lines have gradients that multiply to $-1$: if one gradient is $m$, the other is $-\frac{1}{m}$.

Worked example. Find the line through $A(1, 3)$ and $B(4, 9)$, and the line through $P(2, 5)$ perpendicular to it.

  • $m = \frac{9 - 3}{4 - 1} = 2$, so $y - 3 = 2(x - 1)$, that is $y = 2x + 1$, or $2x - y + 1 = 0$.
  • The perpendicular gradient is $-\frac{1}{2}$, so $y - 5 = -\frac{1}{2}(x - 2)$, that is $y = -0.5x + 6$.
The line y = 2x + 1 through A(1, 3) and B(4, 9) with a gradient triangle of run 3 and rise 6, and the perpendicular line y = -0.5x + 6 through P(2, 5) with run 4 and fall 2; 2 times minus a half is minus 1
Perpendicular gradients multiply to $-1$

Linear models

A linear model 线性模型 $y = mx + c$ describes a quantity that changes at a constant rate. The gradient is the rate of change, and the intercept is the value when $x = 0$.

Plan A 30 plus 2g and plan B 50 plus 0.75g cross at g equals 16 GB, cost 62 yuan; A is cheaper below and B above
Two linear models cross at 16 GB

Worked example. A plumber charges $C = 120 + 85h$ yuan for a job lasting $h$ hours. The gradient 85 is the charge per hour, and the intercept 120 is a fixed call-out charge. A 3.5-hour job costs $120 + 85(3.5) =$ ¥417.50.

Worked example. Phone plan A costs $30 + 2g$ yuan a month for $g$ GB of data, and plan B costs $50 + 0.75g$. They cost the same when $30 + 2g = 50 + 0.75g$, so $g = 16$ GB. Plan A is cheaper below 16 GB and plan B above it. This is the same problem as finding where two lines intersect, which a GDC does directly.

词汇 训练
English 中文 拼音
model/ˈmɒdl/ 模型 mó xíng
gradient/ˈɡreɪdɪənt/ 斜率 xié lǜ
parallel/ˈpærəlel/ 平行 píng xíng
perpendicular/ˌpɜːpənˈdɪkjʊlə/ 垂直 chuí zhí
linear model/ˈlɪnɪə ˈmɒdl/ 线性模型 xiàn xìng mó xíng
2.3

函数及其图像

English

Domain, range and notation

A function 函数 gives exactly one output for each input. In $f(x) = 2x - 5$, $x$ is the input and $f(x)$ the output.

  • The domain 定义域 is the set of allowed inputs. In a model it is usually limited by the context: a time cannot be negative.
  • The range 值域 is the set of outputs that the function actually produces.

Worked example. $f(x) = 2x - 5$ with domain $0 \le x \le 6$ has range $-5 \le f(x) \le 7$.

Inverse functions

An inverse function 反函数 $f^{-1}$ undoes $f$: if $f(a) = b$, then $f^{-1}(b) = a$. The graph of $y = f^{-1}(x)$ is the reflection of $y = f(x)$ in the line $y = x$, and the domain and range swap.

The graph of y equals f of x and its inverse reflected in the line y equals x; the point a, b on f matches the point b, a on the inverse, and the domain of the inverse is the range of f
The inverse is the reflection in y = x: (a, b) becomes (b, a)

For $f(x) = 2x - 5$: $f(4) = 3$, so $f^{-1}(3) = 4$. To undo “multiply by 2, then subtract 5”, add 5 and then divide by 2: $f^{-1}(x) = \frac{x + 5}{2}$.

Key features with technology

Use the GDC to sketch a graph and find its key features. Copy the window you used, and label the features on your sketch.

The graph of 6 over x minus 1 plus 2 with asymptotes x equals 1 and y equals 2, y-intercept (0, minus 4) and x-intercept (minus 2, 0)
Key features of f(x) = 6/(x − 1) + 2
  • Intercepts: where the graph meets the axes. The $x$-intercepts are the zeros 零点 of the function.
  • Maximum and minimum points, also called turning points.
  • Asymptotes 渐近线: lines that the graph approaches as an input tends to a finite value or infinity. A graph may cross a horizontal asymptote.
  • Intersections of two graphs, which solve equations such as $f(x) = g(x)$.

Worked example. $f(x) = \dfrac{6}{x - 1} + 2$ has a vertical asymptote $x = 1$ (where the denominator is 0) and a horizontal asymptote $y = 2$. Its $y$-intercept is $f(0) = -4$, and its $x$-intercept is where $\frac{6}{x - 1} = -2$, that is $x = -2$.

Worked example. $y = x^2 - 4$ and $y = 2x$ intersect where $x^2 - 2x - 4 = 0$. The GDC gives $(3.24, 6.47)$ and $(-1.24, -2.47)$.

词汇 训练
English 中文 拼音
function/ˈfʌŋkʃn/ 函数 hán shù
domain/dəˈmeɪn/ 定义域 dìng yì yù
range/reɪndʒ/ 值域 zhí yù
inverse function/ɪnˈvɜːs ˈfʌŋkʃn/ 反函数 fǎn hán shù
zero/ˈzɪərəʊ/ 零点 líng diǎn
asymptote/ˈæsɪmptəʊt/ 渐近线 jiàn jìn xiàn
2.4

模型族系

English

Choosing the shape

Each type of function has a typical shape and a typical story. Choose a model by thinking about how the quantity changes, not only by how the points look.

Six sketches: linear (constant rate), quadratic (one turning point), exponential (constant percentage change), inverse variation (halves when x doubles), cubic (two turning points) and sinusoidal (repeats every period)
Match the shape to how the quantity changes
Model Equation Typical context
Linear $f(x) = mx + c$ fixed charge plus a rate
Quadratic $f(x) = ax^2 + bx + c$ thrown objects, area, profit
Exponential $f(x) = ka^x + c$ or $ke^{rx} + c$ growth or decay by a fixed percentage
Direct or inverse variation $f(x) = ax^n$, $n$ positive or negative $y \propto x^2$, $y \propto \frac{1}{x}$
Cubic $f(x) = ax^3 + bx^2 + cx + d$ volumes
Sinusoidal $f(x) = a\sin(bx) + d$ or $a\cos(bx) + d$ tides, daylight, rotation

Quadratic models

A quadratic model 二次模型 has one turning point, on its axis of symmetry 对称轴 $x = -\frac{b}{2a}$.

Worked example. A ball is thrown so that its height is $h = -4.9t^2 + 14t + 1.5$ metres after $t$ seconds.

  • Maximum at $t = -\frac{14}{2(-4.9)} \approx 1.43$ s, height $h \approx 11.5$ m.
  • It lands when $h = 0$: the GDC gives $t \approx 2.96$ s. The other root is negative, outside the domain.

Exponential models

A quantity that changes by a fixed percentage each step follows an exponential model 指数模型. With $a > 1$ it grows; with $0 < a < 1$ it decays.

Worked example. 200 mg of a medicine is in the blood, and 15 % is removed each hour, so $A = 200 \times 0.85^t$. After 3 hours $A \approx 122.8$ mg. It falls below 50 mg when $0.85^t < 0.25$: the GDC gives $t > 8.53$ hours.

Variation and cubic models

If $y$ is directly proportional 正比例 to $x^n$, then $y = kx^n$; if $y$ is inversely proportional 反比例 to $x^n$, then $y = \dfrac{k}{x^n}$. Find $k$ from one pair of values.

V equals x times 30 minus 2x squared for x from 0 to 15, with its maximum 2000 cubic cm at x equals 5, beside the 30 cm sheet with corner squares cut
The open-box model and its maximum

Worked example. The intensity of light $I$ is inversely proportional to the square of the distance $d$. If $I = 12$ when $d = 2$, then $12 = \frac{k}{4}$, so $k = 48$ and $I = \frac{48}{d^2}$. At $d = 4$, $I = 3$: doubling the distance divides the intensity by 4.

Worked example. Squares of side $x$ cm are cut from the corners of a 30 cm square sheet, which is folded into an open box. $V = x(30 - 2x)^2$ with domain $0 < x < 15$. The GDC's maximum is at $x = 5$, giving $V = 2000$ cm³.

Sinusoidal models

A sinusoidal model 正弦模型 $f(x) = a\sin(bx) + d$ or $a\cos(bx) + d$ repeats with period 周期 $\dfrac{360°}{b}$ (or $\frac{2\pi}{b}$ in radians). Its amplitude 振幅 is $|a|$, and its principal axis 主轴 is $y = d$. The maximum is $d + |a|$ and the minimum is $d - |a|$.

Worked example. The depth of water in a harbour is $h = 1.8\cos(30t°) + 4.2$ metres, $t$ hours after midnight. The maximum depth is 6 m and the minimum 2.4 m; the period is $\frac{360}{30} = 12$ hours, so high tide comes at midnight and noon.

词汇 训练
English 中文 拼音
quadratic model/kwɒˈdrætɪk ˈmɒdl/ 二次模型 èr cì mó xíng
axis of symmetry/ˈæksɪs ɒv ˈsɪmətri/ 对称轴 duì chèn zhóu
exponential model/ˌekspəˈnenʃl ˈmɒdl/ 指数模型 zhǐ shù mó xíng
directly proportional/daɪˈrektli prəˈpɔːʃənl/ 正比例 zhèng bǐ lì
inversely proportional/ɪnˈvɜːsli prəˈpɔːʃənl/ 反比例 fǎn bǐ lì
sinusoidal model/ˌsaɪnəˈsɔɪdl ˈmɒdl/ 正弦模型 zhèng xián mó xíng
period/ˈpɪərɪəd/ 周期 zhōu qī
amplitude/ˈæmplɪtjuːd/ 振幅 zhèn fú
principal axis/ˈprɪnsɪpl ˈæksɪs/ 主轴 zhǔ zhóu
2.5

测试与改进模型

English

Developing a model

Modelling is a cycle:

  1. Identify the variables and make assumptions 假设.
  2. Choose a function and find its parameters, from given values or by regression with technology.
  3. Test it: compare its predictions with data, and check that its values make sense.
  4. Reflect: change the assumptions or the function, and test again.

Is the model reasonable?

  • Domain. A population model $P = 3000 \times 1.04^t$ fitted to 10 years of data predicts more than 150 000 people after 100 years. Nothing in the data supports that: real populations are limited by space and resources.
  • Values. A quadratic model for the height of a ball gives negative heights after it lands; restrict the domain.
  • Fit. A good model's predictions are close to the data, with no pattern in the errors. Topic 4 measures this with residuals and $R^2$.
The model P equals 3000 times 1.04 to the t, fitted over the 10 years of data, extended as a dashed line to t equals 100, where it predicts about 151,500 people with nothing in the data to support it
Fitted on 10 years, trusted for 100: the extrapolation runs away
Data at x equals 0 to 4 rising 5 to 25.3 lie on y equals 5 times 1.5 to the x; a straight line misses the bend
Growing differences, constant ratios: exponential

Worked example. Data: $x = 0, 1, 2, 3, 4$ and $y = 5, 7.5, 11.25, 16.9, 25.3$. The differences grow (2.5, 3.75, 5.6, 8.4), so a linear model is wrong. The ratios are all about 1.5, so try $y = 5 \times 1.5^x$: it gives 5, 7.5, 11.25, 16.875 and 25.3, a very close fit.

Predicting within the data (interpolation 内插) is safer than predicting beyond it (extrapolation 外推).

Common mistakes.

  • Reading $f^{-1}(x)$ as $\dfrac{1}{f(x)}$. It is the inverse function.
  • Mixing up domain (the inputs) and range (the outputs).
  • Using a model far outside the data it was built from, such as a linear growth model for 50 years.
  • Reading the base of $y = k\,a^x$ as the rate: $a = 1.05$ means $5\%$ growth per unit, and $a = 0.92$ means an $8\%$ fall.
  • Taking $b$ in $y = a\sin(bx) + d$ as the period. The period is $\dfrac{360^\circ}{b}$, the amplitude is $|a|$ and the principal axis is $y = d$.
  • Reporting a model without checking it against the data and the context.
词汇 训练
English 中文 拼音
assumption/əˈsʌmpʃn/ 假设 jiǎ shè
interpolation/ɪnˌtɜːpəˈleɪʃn/ 内插 nèi chā
extrapolation/ekˈstræpəleɪʃn/ 外推 wài tuī
2.6

练习

English
  1. Find the equation of the line through $(-2, 7)$ and $(4, -2)$ in the forms $y = mx + c$ and $ax + by + d = 0$.
  2. Find the line through $(8, 3)$ perpendicular to $y = 4x - 1$.
  3. A plumber charges $C = 120 + 85h$ yuan. Interpret the 120 and the 85, and find the cost of a 3.5-hour job.
  4. $f(x) = 2x - 5$ for $0 \le x \le 6$. State the range, find $f^{-1}(x)$ and $f^{-1}(3)$.
  5. For $f(x) = \dfrac{6}{x - 1} + 2$, state the asymptotes and find the intercepts.
  6. Use technology to find where $y = x^2 - 4$ meets $y = 2x$.
  7. A ball's height is $h = -4.9t^2 + 14t + 1.5$ metres. Find the maximum height and when the ball lands.
  8. A medicine follows $A = 200 \times 0.85^t$ mg. Find $A$ after 3 hours, and when it first falls below 50 mg.
  9. $y$ is inversely proportional to $x^2$, and $y = 12$ when $x = 2$. Find $y$ when $x = 4$.
  10. Squares of side $x$ are cut from a 30 cm square sheet to make an open box. Write the volume, state its domain and find the largest volume.
  11. A tide follows $h = 1.8\cos(30t°) + 4.2$. Find the maximum and minimum depths and the period.
  12. Which model fits $x = 0, 1, 2, 3, 4$ and $y = 5, 7.5, 11.25, 16.9, 25.3$? Give its equation.
  13. A town's population is modelled by $P = 3000 \times 1.04^t$, fitted to data for $0 \le t \le 10$. Explain why the model should not be used for $t = 100$.
  14. Phone plan A costs $30 + 2g$ and plan B costs $50 + 0.75g$ yuan for $g$ GB. When is plan B cheaper?

Answers.

  1. $m = \frac{-2 - 7}{4 - (-2)} = -1.5$, so $y = -1.5x + 4$, or $3x + 2y - 8 = 0$.
  2. Gradient $-\frac{1}{4}$: $y - 3 = -\frac{1}{4}(x - 8)$, so $y = -0.25x + 5$.
  3. ¥120 is a fixed call-out charge and ¥85 is the charge per hour. Cost ¥417.50.
  4. Range $-5 \le f(x) \le 7$; $f^{-1}(x) = \frac{x + 5}{2}$; $f^{-1}(3) = 4$.
  5. Asymptotes $x = 1$ and $y = 2$; $y$-intercept $(0, -4)$; $x$-intercept $(-2, 0)$.
  6. $(3.24, 6.47)$ and $(-1.24, -2.47)$.
  7. Maximum 11.5 m at $t \approx 1.43$ s; it lands at $t \approx 2.96$ s.
  8. $A \approx 122.8$ mg; it falls below 50 mg after about 8.53 hours.
  9. $k = 48$, so $y = \frac{48}{16} = 3$.
  10. $V = x(30 - 2x)^2$, $0 < x < 15$; maximum $V = 2000$ cm³ at $x = 5$.
  11. Maximum 6 m, minimum 2.4 m, period 12 hours.
  12. Ratios are about 1.5, so exponential: $y = 5 \times 1.5^x$.
  13. It is fitted only to $0 \le t \le 10$; at $t = 100$ it predicts over 150 000 people, an extrapolation that ignores limits on space and resources.
  14. $30 + 2g > 50 + 0.75g$ when $g > 16$: plan B is cheaper for more than 16 GB.
2.7

考试技巧

English
  • Give a line in the form the question asks for; general form needs integer coefficients.
  • For perpendicular lines, use the negative reciprocal of the gradient.
  • Sketch GDC graphs with labelled axes, key points and asymptotes, and state the window if it matters.
  • State the domain of a model from its context.
  • Choose a model from how the quantity changes, and test it against the data.
  • Interpret parameters in context, with units: “85 is the charge in yuan per hour”.
探索

定义域、反函数与复合函数

写出定义域和值域

对比模型与已解案例,并说明其中一处变化。

探索

回归、财务模型与残差

线性模型 y=a+bx 具有截距 a 和斜率 b,并带有相应的实际单位

利用正残差解释拟合模型如何遗漏该观测点。

探索

指数函数、对数与建模

对于 y=Ae^(kt),k 为比例速率。

解释为什么半衰期取决于 0.2 而不依赖于初始量 80。

这有帮助吗?

该知识点的互动课程

逐步完成,配合即时检查练习。

更多 IB 数学:应用与解释 SL 知识点

登录或创建账户

IGCSE, A-Level & AP