Borui Academy

Chapter 2

Functions and Their Properties

函数及其性质 · domain · odd/even · monotonicity · inverse · composition

Unit 2 · Functions and Their Properties 函数及其性质

By the end of this chapter you can:

  1. State the definition of a function, find its domain and range, and represent it as a mapping
  2. Test whether a function is even, odd, or neither and describe the symmetry consequence
  3. Define monotonicity formally and use it to compare function values without a calculator
  4. Find inverse functions, compose two functions, and determine whether two differently-written functions are identical

Exam weight on past CSCA papers: ~12% (5–6 of 48 MCQs).


2.1 Function Definition and Domain 函数定义与定义域

A function ff from set AA to set BB is a rule that assigns to every element xAx \in A exactly one element yBy \in B. We write y=f(x)y = f(x).

  • Domain (定义域): the set AA — all permissible inputs.
  • Codomain (上域): the set BB — declared target.
  • Range (值域): the subset of BB actually produced, {f(x):xA}B\{f(x) : x \in A\} \subseteq B.

The domain is determined by natural restrictions on the formula:

Expression Restriction Why
g(x)\sqrt{g(x)} g(x)0g(x) \ge 0 square root requires non-negative radicand
1g(x)\dfrac{1}{g(x)} g(x)0g(x) \ne 0 division by zero undefined
logag(x)\log_{a} g(x) g(x)>0g(x) > 0 logarithm requires positive argument
g(x)0g(x)^{0} g(x)0g(x) \ne 0 000^{0} is indeterminate

When multiple restrictions apply, the domain is their intersection.

🔑 Domain strategy: List every restriction separately, then intersect. For f(x)=x1x3f(x) = \dfrac{\sqrt{x-1}}{x-3} you get x10x - 1 \ge 0 AND x30x - 3 \ne 0, giving domain [1,3)(3,+)[1, 3) \cup (3, +\infty).

Worked Example 2.1.A

Find the domain and range of f(x)=4x2f(x) = \sqrt{4 - x^{2}}.

Solution.

Domain: The radicand must be non-negative.
4x20    x24    2x2.4 - x^{2} \ge 0 \implies x^{2} \le 4 \implies -2 \le x \le 2.
Domain: [2,2][-2, 2].

Range: For x[2,2]x \in [-2, 2], the radicand 4x24 - x^{2} ranges from 00 (at x=±2x = \pm 2) to 44 (at x=0x = 0). Taking the square root:
f(x)=4x2[0,2].f(x) = \sqrt{4 - x^{2}} \in [0, 2].

 Domain=[2, 2],Range=[0, 2] \boxed{\ \text{Domain} = [-2,\ 2],\quad \text{Range} = [0,\ 2]\ }

⚠️ Range ≠ codomain. The codomain of f:RRf: \mathbb{R} \to \mathbb{R} is all of R\mathbb{R}, but the range of f(x)=x2f(x) = x^{2} is only [0,+)[0, +\infty). CSCA questions often test this distinction when asking "what is the range of …?"


2.2 Even and Odd Functions 函数的奇偶性

Before testing parity, confirm the domain is symmetric about 0 (i.e. xx \in domain x\Rightarrow -x \in domain). If the domain is not symmetric, the function is neither even nor odd by definition.

Type Algebraic test Graph symmetry
Even (偶函数) f(x)=f(x)f(-x) = f(x) for all xx in domain symmetric about the yy-axis
Odd (奇函数) f(x)=f(x)f(-x) = -f(x) for all xx in domain symmetric about the origin
Neither neither condition holds

Immediate consequences:

  • If ff is odd and 00 is in the domain, then f(0)=0f(0) = 0. (Plugging x=0x = 0: f(0)=f(0)f(0) = -f(0), so f(0)=0f(0) = 0.)
  • The sum of two even functions is even; the sum of two odd functions is odd.
  • The product of two odd functions is even.

Worked Example 2.2.A

Determine whether f(x)=x3xf(x) = x^{3} - x is even, odd, or neither.

Solution.

Step 1 — Domain check. ff is a polynomial, so domain =R= \mathbb{R}. Since R\mathbb{R} is symmetric about 00, parity testing applies.

Step 2 — Compute f(x)f(-x).
f(x)=(x)3(x)=x3+x=(x3x)=f(x).f(-x) = (-x)^{3} - (-x) = -x^{3} + x = -(x^{3} - x) = -f(x).

Since f(x)=f(x)f(-x) = -f(x) for all xRx \in \mathbb{R}, the function is odd.

 f(x)=x3x is an odd function. \boxed{\ f(x) = x^{3} - x \text{ is an odd function.}\ }

⚠️ Common trap: Students test parity on f(x)=1x+xf(x) = \dfrac{1}{x} + x and get odd, then plug in a non-symmetric domain example like ff on [1,3][1, 3] and wonder why. Always state the domain first — on [1,3][1, 3] the function has no parity at all.

🔑 Quick shortcut: A function built entirely from odd powers of xx (and no constant term) is odd. Built entirely from even powers (and possibly a constant) is even. Mixed powers → neither. E.g. x4+x23x^{4} + x^{2} - 3 is even; x5+xx^{5} + x is odd; x2+xx^{2} + x is neither.


2.3 Monotonicity 函数的单调性

Formal definition: ff is increasing on interval II if for all x1,x2Ix_{1}, x_{2} \in I with x1<x2x_{1} < x_{2}, we have f(x1)<f(x2)f(x_{1}) < f(x_{2}). It is decreasing on II if x1<x2f(x1)>f(x2)x_{1} < x_{2} \Rightarrow f(x_{1}) > f(x_{2}).

A function can be increasing on one interval and decreasing on another. We always name the interval when stating monotonicity.

Key properties of monotonic functions on the same interval II:

Situation Result
ff increasing, gg increasing f+gf + g increasing
ff increasing, gg decreasing f+gf + g — cannot determine
ff increasing on II, gg increasing on f(I)f(I) gfg \circ f increasing on II
ff increasing on II f1f^{-1} increasing on f(I)f(I)

🔑 Monotonicity + inequality shortcut: If ff is increasing and f(a)<f(b)f(a) < f(b), then a<ba < b — you can "pull back" the inequality through the function. This is how CSCA questions like "solve f(x)>f(3)f(x) > f(3)" are answered without finding f1f^{-1}.

Worked Example 2.3.A

The function f(x)f(x) is defined on R\mathbb{R} and is monotonically increasing. Given that f(2m1)<f(3m)f(2m - 1) < f(3 - m), find the range of mm.

Solution.

Because ff is increasing, f(u)<f(v)u<vf(u) < f(v) \Leftrightarrow u < v. Therefore:
2m1<3m.2m - 1 < 3 - m.
3m<4    m<43.3m < 4 \implies m < \dfrac{4}{3}.

 m<43 \boxed{\ m < \dfrac{4}{3}\ }

⚠️ Trap: If the problem said "monotonically decreasing," the inequality flips: f(u)<f(v)u>vf(u) < f(v) \Leftrightarrow u > v. Check the direction of monotonicity before pulling back.


2.4 Inverse Functions 反函数

A function f:ABf: A \to B has an inverse f1:BAf^{-1}: B \to A if and only if ff is one-to-one (injective) — no two different inputs give the same output.

How to find f1f^{-1}:

  1. Write y=f(x)y = f(x).
  2. Solve for xx in terms of yy.
  3. Swap labels: replace xx with yy and yy with xx (so the inverse is written with the standard variable xx).
  4. State the domain of f1f^{-1} = range of ff.

Key fact: The graph of f1f^{-1} is the reflection of the graph of ff across the line y=xy = x.

Composition identity: f1(f(x))=xf^{-1}(f(x)) = x for xx \in domain of ff, and f(f1(x))=xf(f^{-1}(x)) = x for xx \in domain of f1f^{-1}.

Monotonicity is preserved: If ff is increasing (decreasing) on its domain, then f1f^{-1} is also increasing (decreasing) on its domain.

Worked Example 2.4.A

Find the inverse of f(x)=2x3f(x) = 2x - 3 and verify by composition.

Solution.

Step 1: Write y=2x3y = 2x - 3.

Step 2: Solve for xx:
y+3=2x    x=y+32.y + 3 = 2x \implies x = \dfrac{y + 3}{2}.

Step 3: Swap variables:
f1(x)=x+32.f^{-1}(x) = \dfrac{x + 3}{2}.

Step 4: Domain of f1f^{-1} = range of ff = R\mathbb{R}.

Verification:
f(f1(x))=2x+323=(x+3)3=x.f(f^{-1}(x)) = 2 \cdot \dfrac{x+3}{2} - 3 = (x + 3) - 3 = x. \checkmark

 f1(x)=x+32,domain R \boxed{\ f^{-1}(x) = \dfrac{x+3}{2},\quad \text{domain } \mathbb{R}\ }

⚠️ The graph reflection trap: A question may give you the graph of ff and ask you to sketch f1f^{-1}. The reflection is across y=xy = x, not across the xx-axis or yy-axis. Reflecting across the xx-axis gives f(x)-f(x); across the yy-axis gives f(x)f(-x).

🔑 Quick domain check: Always double-check that the domain of f1f^{-1} equals the range of ff (not the domain of ff). Students often copy the wrong interval.


2.5 Same Function Determination 判断同一函数

Two functions ff and gg are identical (the same function) if and only if both conditions hold:

  1. Same domain: D(f)=D(g)D(f) = D(g).
  2. Same rule: f(x)=g(x)f(x) = g(x) for all xx in that shared domain.

Even if the formulas simplify to the same expression, the functions differ if their domains differ.

f(x)f(x) g(x)g(x) Same? Reason
x21x1\dfrac{x^2 - 1}{x - 1} x+1x + 1 No ff has domain R{1}\mathbb{R} \setminus \{1\}; gg has domain R\mathbb{R}
x2\sqrt{x^{2}} x\lvert x \rvert Yes Both have domain R\mathbb{R} and equal x\lvert x \rvert everywhere
x0x^{0} 11 (constant) No x0x^{0} is undefined at x=0x = 0; the constant 1 is defined everywhere

⚠️ The cancellation trap: Writing x21x1=x+1\dfrac{x^2 - 1}{x - 1} = x + 1 is a valid algebraic step, but the resulting function x+1x + 1 is not the same function as the original — you created a new function by removing a hole. CSCA examiners exploit this distinction every year.

Worked Example 2.5.A

Are f(x)=ln(x2)f(x) = \ln(x^{2}) and g(x)=2lnxg(x) = 2\ln x the same function?

Solution.

Domain of ff: x2>0x^{2} > 0, i.e. x0x \ne 0. So D(f)=R{0}=(,0)(0,+)D(f) = \mathbb{R} \setminus \{0\} = (-\infty, 0) \cup (0, +\infty).

Domain of gg: x>0x > 0. So D(g)=(0,+)D(g) = (0, +\infty).

Since D(f)D(g)D(f) \ne D(g) (ff is defined for negative xx but gg is not), the two functions are not identical.

(Note: on the common domain (0,+)(0, +\infty), both give 2lnx2 \ln x, but the differing domains disqualify identity.)

 f and g are NOT the same function. \boxed{\ f \text{ and } g \text{ are NOT the same function.}\ }


2.6 Composite Functions 复合函数

Given two functions ff and gg, the composite function (fg)(x)=f(g(x))(f \circ g)(x) = f(g(x)) applies gg first, then ff to the result.

Domain of fgf \circ g:
D(fg)={xD(g):g(x)D(f)}.D(f \circ g) = \{x \in D(g) : g(x) \in D(f)\}.
In words: xx must be in the domain of gg, AND the output g(x)g(x) must land in the domain of ff.

⚠️ Order matters: fggff \circ g \ne g \circ f in general. The notation f(g(x))f(g(x)) means "gg acts first." Many students reverse the order — always read right to left: the function closest to xx acts first.

Monotonicity of compositions (same-sign rule):

ff on gg's range gg on its domain fgf \circ g
increasing increasing increasing
decreasing decreasing increasing
increasing decreasing decreasing
decreasing increasing decreasing

🔑 Mnemonic — "same signs give increasing": If ff and gg have the same monotone direction (both ↑ or both ↓), then fgf \circ g is increasing. If they differ (one ↑, one ↓), fgf \circ g is decreasing. Like multiplying signs: +×+=++\times+ = +, ×=+-\times- = +, etc.

Worked Example 2.6.A

Let f(x)=x1f(x) = \sqrt{x - 1} and g(x)=x22g(x) = x^{2} - 2.

(a) Find (fg)(x)(f \circ g)(x) and state its domain.
(b) Find (gf)(x)(g \circ f)(x) and state its domain.

Solution.

(a) f(g(x))=f(x22)=(x22)1=x23f(g(x)) = f(x^{2} - 2) = \sqrt{(x^{2} - 2) - 1} = \sqrt{x^{2} - 3}.

Domain: Need x230x^{2} - 3 \ge 0, i.e. x23x^{2} \ge 3, so x3x \le -\sqrt{3} or x3x \ge \sqrt{3}.
D(fg)=(, 3][3, +).D(f \circ g) = (-\infty,\ -\sqrt{3}\,] \cup [\sqrt{3},\ +\infty).

(b) g(f(x))=g(x1)=(x1)22=(x1)2=x3g(f(x)) = g(\sqrt{x-1}) = (\sqrt{x-1})^{2} - 2 = (x - 1) - 2 = x - 3.

Domain: First, ff requires x10x - 1 \ge 0, i.e. x1x \ge 1. The output x10\sqrt{x-1} \ge 0, which is always in the domain of gg. So:
D(gf)=[1, +).D(g \circ f) = [1,\ +\infty).

 f(g(x))=x23, D=(,3][3,+); g(f(x))=x3, D=[1,+) \boxed{\ f(g(x)) = \sqrt{x^{2}-3},\ D = (-\infty,-\sqrt{3}\,]\cup[\sqrt{3},+\infty);\ \quad g(f(x)) = x - 3,\ D = [1,+\infty)\ }


Try it! 自测练习

Q1. Find the domain of f(x)=x+2x1f(x) = \dfrac{\sqrt{x + 2}}{x - 1}.

Q2. Determine whether h(x)=xsinxh(x) = x \cdot \sin x is even, odd, or neither. (You may use the fact that sin(x)=sinx\sin(-x) = -\sin x.)

Q3. The function ff is decreasing on R\mathbb{R}. Given f(32m)>f(m+1)f(3 - 2m) > f(m + 1), find the range of mm.

Q4. Find the inverse of g(x)=xx2g(x) = \dfrac{x}{x - 2} (for x2x \ne 2), and state its domain.

Q5. Let f(x)=x+1f(x) = x + 1 and g(x)=x2g(x) = x^{2}. Find (fg)(3)(f \circ g)(3) and (gf)(3)(g \circ f)(3).

Answers & explanations
  1. Restrictions: x+20x + 2 \ge 0 (radicand) gives x2x \ge -2; x10x - 1 \ne 0 gives x1x \ne 1. Intersection: [2,1)(1,+)[-2, 1) \cup (1, +\infty).

  2. Domain is R\mathbb{R}, which is symmetric about 0. Compute h(x)=(x)sin(x)=(x)(sinx)=xsinx=h(x)h(-x) = (-x)\sin(-x) = (-x)(-\sin x) = x \sin x = h(x). Since h(x)=h(x)h(-x) = h(x), the function is even (symmetric about the yy-axis).

  3. ff is decreasing, so f(u)>f(v)u<vf(u) > f(v) \Leftrightarrow u < v. Pull back: 32m<m+13 - 2m < m + 1, so 2<3m2 < 3m, giving m>23m > \dfrac{2}{3}.

  4. Write y=xx2y = \dfrac{x}{x-2}. Solve: y(x2)=xxy2y=xx(y1)=2yx=2yy1y(x-2) = x \Rightarrow xy - 2y = x \Rightarrow x(y-1) = 2y \Rightarrow x = \dfrac{2y}{y-1}. Swap: g1(x)=2xx1g^{-1}(x) = \dfrac{2x}{x-1}, domain R{1}\mathbb{R} \setminus \{1\} (= range of gg, which is also all reals except 1).

  5. (fg)(3)=f(g(3))=f(9)=9+1=10(f \circ g)(3) = f(g(3)) = f(9) = 9 + 1 = 10. (gf)(3)=g(f(3))=g(4)=16(g \circ f)(3) = g(f(3)) = g(4) = 16.


📌 Chapter summary

Topic Key skill
2.1 Domain & Range List each restriction, intersect; range requires tracking outputs
2.2 Even & Odd Check domain symmetry first; test f(x)f(-x) vs ±f(x)\pm f(x); odd f(0)=0\Rightarrow f(0) = 0
2.3 Monotonicity Formal definition with x1<x2x_1 < x_2; use monotonicity to "pull back" inequalities
2.4 Inverse Functions Swap xyx \leftrightarrow y; domain of f1f^{-1} = range of ff; graph reflects over y=xy = x
2.5 Same Function Identical iff same domain AND same rule; cancelling holes creates a new function
2.6 Composite Functions f(g(x))f(g(x)): gg acts first; domain = inputs where g(x)D(f)g(x) \in D(f); monotonicity: same-sign \Rightarrow increasing

What's next → Unit 3 applies everything here to specific elementary functions: power, exponential, logarithmic, and quadratic — you'll use domain rules, parity, and monotonicity on each one.