الدوال
مُقدَّم| English | المعنى |
|---|---|
| function/ˈfʌŋkʃn/ | الدالة |
| domain/dəˈmeɪn/ | مجال التعريف |
| range/reɪndʒ/ | مدى الدالة |
| inverse function/ɪnˈvɜːs ˈfʌŋkʃn/ | الدالة العكسية |
| composite function/ˈkɒmpəzɪt ˈfʌŋkʃn/ | الدالة المركبة |
A machine with an input and an output
- A vending machine: you put in a code (input), it gives you a snack (output). A function 函数 works the same way — each input produces exactly one output.
- $f(x) = 3x - 5$ is a function: put in $x = 2$, get out $f(2) = 1$.
Evaluating functions
- $f(x) = 3x - 5$: $\;f(2) = 3(2) - 5 = 1$; $\;f(0) = -5$; $\;f(-1) = -8$.
- The domain 定义域 is the set of allowed inputs. The range 值域 is the set of possible outputs.
$f(x) = \sqrt{x}$ has domain $x \geq 0$ (can't square-root a negative) and range $f(x) \geq 0$.
الدوال
y = f(x)
A function turns each مدخلات into exactly one نقرة فأرة تُبدأ عملاً هي مثال على — watch its shape.
For f(x) = 3x − 5, what is f(2)?
الصعوبة 2/5 · 140 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
f(2) = 3(2) − 5 = 6 − 5 = 1.
For f(x) = x² + 1, what is f(3)?
الصعوبة 2/5 · 140 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
f(3) = 3² + 1 = 9 + 1 = 10.
Inverse functions 反函数
- The inverse $f^{-1}$ undoes $f$: if $f$ turns $2$ into $1$, then $f^{-1}$ turns $1$ back into $2$.
- Method: write $y = f(x)$, swap $x$ and $y$, then make $y$ the subject.
- $f(x) = 3x - 5$: $y = 3x - 5$, swap: $x = 3y - 5$, solve: $y = \dfrac{x+5}{3}$.
- So $f^{-1}(x) = \dfrac{x+5}{3}$. Check: $f^{-1}(1) = \dfrac{6}{3} = 2$ ✓.
$f^{-1}$ is NOT $f$ to the power $-1$. The notation $f^{-1}(x)$ means "the inverse of $f$", not "$\dfrac{1}{f(x)}$". These are completely different.
The inverse of f(x) = 3x − 5 is f⁻¹(x) = (x + 5)/3. What is f⁻¹(1)?
الصعوبة 2/5 · 140 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
f⁻¹(1) = (1 + 5)/3 = 6/3 = 2.
To find the inverse of f(x), write y = f(x), swap x and y, then make ______ the subject.
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
After swapping, solve for y — that gives you f⁻¹(x).
Composite functions 复合函数
- $gf(x)$ means "do $f$ first, then apply $g$ to the result".
- $f(x) = 2x$, $g(x) = x + 3$: $gf(x) = g(2x) = 2x + 3$.
- $fg(x) = f(x+3) = 2(x+3) = 2x + 6$. Order matters!
If f(x) = 2x and g(x) = x + 3, what is gf(x) at x = 5? (gf means do f first)
الصعوبة 2/5 · 140 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
gf(5) = g(f(5)) = g(10) = 10 + 3 = 13.
For f(x) = 2x and g(x) = x + 3, gf(x) and fg(x) give the same result.
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
gf(x) = 2x + 3, but fg(x) = 2(x+3) = 2x + 6. The order matters.
Worked example: an exam-style function question
$f(x) = 2x + 1$ and $g(x) = x^2$.
- (a) $fg(3) = f(g(3)) = f(9) = 2(9) + 1 = 19$. Work from the right: $g$ first.
- (b) $gf(x) = g(2x + 1) = (2x + 1)^2$.
- (c) $f^{-1}(x)$: $y = 2x + 1$, swap to $x = 2y + 1$, so $f^{-1}(x) = \dfrac{x - 1}{2}$.
- (d) Solve $f(x) = g(x)$: $x^2 = 2x + 1$, so $x^2 - 2x - 1 = 0$ and $x = 1 \pm \sqrt{2}$.
f(x) = 2x + 1 and g(x) = x². Find gf(2).
الصعوبة 2/5 · 140 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
f first: f(2) = 5. Then g(5) = 25.
f(x) = 2x + 1. Find f⁻¹(11).
الصعوبة 2/5 · 140 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
f⁻¹(x) = (x − 1)/2, so f⁻¹(11) = 10/2 = 5. Check: f(5) = 11.
You've got it
- $f(x) = 3x - 5 \Rightarrow f(2) = 1$; domain = inputs, range = outputs
- inverse $f^{-1}$ undoes $f$: swap $x$ and $y$, then solve for $y$
- composite $gf(x)$ = do $f$ first, then $g$; order matters ($gf \neq fg$)
Write from the data given
- f of x equals 4x minus 1.
- Find f of 3.
For f of x equals 4x minus 1, what is f of 3?
12 minus 1 is 11.
What is f of 3?
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
4 times 3 minus 1 is 11. Other options — 1 (the lesson value f of 2); 3 (the input).