这些是精选专题,并非整个大纲,且所有示例均为虚构。函数自带定义域;在 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. It is written for both SL and HL students. HL students also apply the further results in the sections marked AHL.
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
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$.
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$.
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.
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.
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.
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)$.
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.
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.
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.
Choose a function and find its parameters, from given values or by regression with technology.
Test it: compare its predictions with data, and check that its values make sense.
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$.
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 外推).
A function has an inverse only if it is one-to-one: each output comes from one input. $g(x) = x^2$ is not, but with domain $x \ge 0$ it is, and then $g^{-1}(x) = \sqrt{x}$.
Transformations of graphs
Transformation
New graph
translation up by $d$
$y = f(x) + d$
translation right by $c$
$y = f(x - c)$
vertical stretch, factor $p$
$y = pf(x)$
horizontal stretch, factor $\frac{1}{q}$
$y = f(qx)$
reflection in the $x$-axis
$y = -f(x)$
reflection in the $y$-axis
$y = f(-x)$
Building y = 2(x + 3)² − 5 step by step
Worked example.$y = 2(x + 3)^2 - 5$ comes from $y = x^2$ by a translation 3 to the left, a vertical stretch with factor 2, and a translation 5 down. The vertex moves from $(0, 0)$ to $(-3, -5)$. Apply the stretch before the vertical translation: stretching after moving down would move the vertex too.
Many quantities approach a limit instead of growing forever. Newton's law of cooling says a hot object cools at a rate proportional to the difference between its temperature and the room's, giving
A cooling cup of coffee approaches room temperature but never passes it: a model with a horizontal asymptote
Worked example. A cup of coffee at 90 °C cools in a room at 20 °C: $T = 20 + 70e^{-0.05t}$, with $t$ in minutes.
After 10 minutes: $T = 20 + 70e^{-0.5} \approx 62.5$ °C.
It reaches 40 °C when $e^{-0.05t} = \frac{2}{7}$, so $t = 20\ln 3.5 \approx 25.1$ minutes.
As $t \to \infty$, $T \to 20$: the line $T = 20$ is a horizontal asymptote.
Logistic models
A logistic model 逻辑斯谛模型 grows almost exponentially at first and then levels off at a carrying capacity 环境容量$L$:
$$f(x) = \frac{L}{1 + Ce^{-kx}}$$
Worked example.$P = \dfrac{1000}{1 + 9e^{-0.4t}}$. At $t = 0$, $P = \frac{1000}{10} = 100$. As $t \to \infty$, $P \to 1000$. It reaches half the capacity, 500, when $9e^{-0.4t} = 1$, that is $t = \frac{\ln 9}{0.4} \approx 5.49$. This is where it grows fastest.
Both curves approach a horizontal asymptote
Other models
Natural logarithm models $f(x) = a + b\ln x$ grow ever more slowly, such as the perceived loudness of a sound.
Sinusoidal models with a horizontal shift, $f(x) = a\sin\big(b(x - c)\big) + d$. For example, daylight hours in a northern city might be $D = 2.5\sin\big(0.0172(t - 80)\big) + 12.2$, with $t$ the day of the year: the longest day has $12.2 + 2.5 = 14.7$ hours.
A seismograph: earthquake magnitude is logarithmic, so taking logs turns huge ranges into straight lines
$$\log y = \log k + x\log a$$
so a graph of $\log y$ against $x$, a semi-log graph 半对数图, is a straight line with gradient $\log a$ and intercept $\log k$. Moore's law as a model, $N = 2300 \times 2^{t/2}$ with $t$ years after 1971, gives a straight line of gradient $\frac{\log 2}{2} \approx 0.151$. The model passes one billion when $2^{t/2} = \frac{10^9}{2300}$, that is $t \approx 37.5$: about 2008.
Log-log graphs
If $y = ax^n$, then
$$\log y = \log a + n\log x$$
so a graph of $\log y$ against $\log x$, a log-log graph 双对数图, is a straight line with gradient $n$ and intercept $\log a$. In 1619 Johannes Kepler found a law of this kind for the planets: the square of the orbital period is proportional to the cube of the mean distance from the Sun. In years and astronomical units, $T = a^{1.5}$.
A straight line on logarithmic axes reveals the model
Worked example. Neptune's mean distance is 30.07 AU. Kepler's law predicts $T = 30.07^{1.5} \approx 165$ years, close to the observed 164.8 years.
Worked example. Data give the line $\ln y = 0.693x + 1.1$. Then $y = e^{1.1}e^{0.693x} \approx 3.00 \times 2^x$, since $e^{0.693} \approx 2$.
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.
HL: composing in the wrong order: $(f \circ g)(x) = f(g(x))$ applies $g$ first.
HL: reading the gradient of a semi-log graph as $a$. For $y = k\,a^x$, $\ln y = \ln k + x\ln a$, so the gradient is $\ln a$.
HL: for $y = a\,x^b$ on a log-log graph, the gradient is $b$ and the intercept is $\ln a$, not $a$.
HL: forgetting that a logistic model levels off at its carrying capacity $L$.
Find the equation of the line through $(-2, 7)$ and $(4, -2)$ in the forms $y = mx + c$ and $ax + by + d = 0$.
Find the line through $(8, 3)$ perpendicular to $y = 4x - 1$.
A plumber charges $C = 120 + 85h$ yuan. Interpret the 120 and the 85, and find the cost of a 3.5-hour job.
$f(x) = 2x - 5$ for $0 \le x \le 6$. State the range, find $f^{-1}(x)$ and $f^{-1}(3)$.
For $f(x) = \dfrac{6}{x - 1} + 2$, state the asymptotes and find the intercepts.
Use technology to find where $y = x^2 - 4$ meets $y = 2x$.
A ball's height is $h = -4.9t^2 + 14t + 1.5$ metres. Find the maximum height and when the ball lands.
A medicine follows $A = 200 \times 0.85^t$ mg. Find $A$ after 3 hours, and when it first falls below 50 mg.
$y$ is inversely proportional to $x^2$, and $y = 12$ when $x = 2$. Find $y$ when $x = 4$.
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.
A tide follows $h = 1.8\cos(30t°) + 4.2$. Find the maximum and minimum depths and the period.
Which model fits $x = 0, 1, 2, 3, 4$ and $y = 5, 7.5, 11.25, 16.9, 25.3$? Give its equation.
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$.
Phone plan A costs $30 + 2g$ and plan B costs $50 + 0.75g$ yuan for $g$ GB. When is plan B cheaper?
AHL.$f(x) = 2x + 1$ and $g(x) = x^2 - 3$. Find $(f \circ g)(x)$ and $(g \circ f)(2)$.
AHL. Find $f^{-1}(x)$ for $f(x) = \dfrac{x + 4}{3}$, and verify that $f(f^{-1}(x)) = x$.
AHL. Describe the transformations that map $y = x^2$ onto $y = 2(x + 3)^2 - 5$, and state the new vertex.
AHL. Coffee cools by $T = 20 + 70e^{-0.05t}$. Find the starting temperature, the temperature after 10 minutes, when it reaches 40 °C, and its long-term temperature.
AHL.$P = \dfrac{1000}{1 + 9e^{-0.4t}}$. Find $P(0)$, the carrying capacity, and when $P = 500$.
AHL. A log-log graph of data gives the line $\log y = 0.477 + 1.5\log x$. Find the model $y = ax^n$.
AHL. A semi-log graph gives $\ln y = 0.693x + 1.1$. Write $y$ in the form $k \times a^x$.
AHL. Use $T = a^{1.5}$ to predict the orbital period of Neptune, at 30.07 AU.