Skip to content

Functions and Equations -- Diagnostic Tests

Functions are like machines, you put in an input, and they reliably produce an output according to a specific rule: Understanding function behavior, domain, range, transformations, and inverses, is the language of mathematical modeling

Why it matters: Functions describe relationships in physics, economics, biology, and virtually every quantitative field

The key insight: Understanding function behavior, domain, range, transformations, and inverses, is the language of mathematical modeling

Tests edge cases, boundary conditions, and common misconceptions for functions and equations.

UT-1: Domain of Composite Functions with Restrictions

Section titled “UT-1: Domain of Composite Functions with Restrictions”

Question:

Given f(x)=x−3f(x) = \sqrt{x - 3} and g(x)=1x−1g(x) = \dfrac{1}{x - 1}:

(a) Find the domain of f∘gf \circ g.

(b) Find the domain of g∘fg \circ f.

(c) A student claims that dom(f∘g)=dom(g)\mathrm{dom}(f \circ g) = \mathrm{dom}(g). Explain why this is incorrect.

[Difficulty: hard. Tests the subtle but critical rule that the domain of f∘gf \circ g excludes values where g(x)g(x) falls outside the domain of ff.]

Solution:

(a) (f∘g)(x)=f(g(x))=1x−1−3=1−3(x−1)x−1=4−3xx−1(f \circ g)(x) = f(g(x)) = \sqrt{\frac{1}{x-1} - 3} = \sqrt{\frac{1 - 3(x-1)}{x-1}} = \sqrt{\frac{4 - 3x}{x-1}}.

Domain restrictions:

  1. From gg: x≠1x \neq 1 (denominator of gg).
  2. From ff: the argument of the square root must be non-negative: 4−3xx−1≥0\dfrac{4 - 3x}{x - 1} \geq 0.

Solve 4−3xx−1≥0\dfrac{4 - 3x}{x - 1} \geq 0:

Critical values: x=43x = \frac{4}{3} (numerator zero) and x=1x = 1 (denominator zero).

Sign chart:

  • x<1x \lt 1: numerator 4−3x>04 - 3x \gt 0 Denominator x−1<0x - 1 \lt 0. Ratio <0\lt 0. Not valid.
  • 1<x≤431 \lt x \leq \frac{4}{3}: numerator ≥0\geq 0 Denominator >0\gt 0. Ratio ≥0\geq 0. Valid.
  • x>43x \gt \frac{4}{3}: numerator <0\lt 0 Denominator >0\gt 0. Ratio <0\lt 0. Not valid.

Domain of f∘gf \circ g: (1,43]\left(1, \frac{4}{3}\right].

(b) (g∘f)(x)=g(f(x))=1x−3−1(g \circ f)(x) = g(f(x)) = \dfrac{1}{\sqrt{x-3} - 1}.

Domain restrictions:

  1. From ff: x−3≥0x - 3 \geq 0 So x≥3x \geq 3.
  2. From gg: x−3≠1\sqrt{x-3} \neq 1 So x−3≠1x - 3 \neq 1 Giving x≠4x \neq 4.

Domain of g∘fg \circ f: [3,4)∪(4,∞)[3, 4) \cup (4, \infty).

(c) The student is incorrect. dom(f∘g)\mathrm{dom}(f \circ g) is not dom(g)\mathrm{dom}(g). It is the subset of dom(g)\mathrm{dom}(g) for which g(x)g(x) falls within dom(f)\mathrm{dom}(f). Here dom(g)=R∖{1}\mathrm{dom}(g) = \mathbb{R} \setminus \{1\} But dom(f∘g)=(1,43]\mathrm{dom}(f \circ g) = \left(1, \frac{4}{3}\right] Which is a proper subset.


Question:

Let f(x)=2x+3x−1f(x) = \dfrac{2x + 3}{x - 1} for x≠1x \neq 1.

(a) Find f−1(x)f^{-1}(x) and state its domain.

(b) A student writes f−1(x)=x−12x+3f^{-1}(x) = \dfrac{x - 1}{2x + 3}. Identify the error.

(c) Verify that f(f−1(x))=xf(f^{-1}(x)) = x for all xx in the domain of f−1f^{-1}.

[Difficulty: hard. Tests the common misconception that f−1f^{-1} means reciprocal.]

Solution:

(a) Let y=2x+3x−1y = \dfrac{2x + 3}{x - 1}.

y(x−1)=2x+3  ⟹  xy−y=2x+3  ⟹  xy−2x=y+3  ⟹  x(y−2)=y+3y(x - 1) = 2x + 3 \implies xy - y = 2x + 3 \implies xy - 2x = y + 3 \implies x(y - 2) = y + 3 f−1(x)=x+3x−2,x≠2f^{-1}(x) = \frac{x + 3}{x - 2}, \quad x \neq 2

The domain of f−1f^{-1} equals the range of ff. Since f(x)=2x+3x−1=2+5x−1f(x) = \dfrac{2x + 3}{x - 1} = 2 + \dfrac{5}{x - 1} As x→±∞x \to \pm\infty, f(x)→2f(x) \to 2 But f(x)≠2f(x) \neq 2. The horizontal asymptote at y=2y = 2 is never reached. Domain: R∖{2}\mathbb{R} \setminus \{2\}.

(b) The student computed 1f(x)=x−12x+3\dfrac{1}{f(x)} = \dfrac{x - 1}{2x + 3} Confusing the inverse function f−1f^{-1} with the reciprocal 1f\dfrac{1}{f}. The notation f−1f^{-1} means the function that “undoes” ff Not 1/f1/f.

(c) For x≠2x \neq 2:

f(f−1(x))=f ⁣(x+3x−2)=2⋅x+3x−2+3x+3x−2−1=2x+6+3x−6x−2x+3−(x−2)x−2=5x5=xf(f^{-1}(x)) = f\!\left(\frac{x + 3}{x - 2}\right) = \frac{2 \cdot \frac{x+3}{x-2} + 3}{\frac{x+3}{x-2} - 1} = \frac{\frac{2x + 6 + 3x - 6}{x - 2}}{\frac{x + 3 - (x - 2)}{x - 2}} = \frac{5x}{5} = x

Verified.


Question:

The graph of y=f(x)y = f(x) passes through the point (2,5)(2, 5). After the transformation y=−2f(x−1)+3y = -2f(x - 1) + 3 The graph passes through the point (a,b)(a, b).

Find the values of aa and bb.

A student reasons: “We translate left by 1, so a=1a = 1. Then stretch vertically by 2 and translate up by 3, so b=2×5+3=13b = 2 \times 5 + 3 = 13.”

(a) Identify the error in the student”s reasoning.

(b) Find the correct values of aa and bb.

[Difficulty: hard. Tests the counterintuitive nature of horizontal transformations.]

Solution:

(a) The student’s error is in the horizontal transformation. The transformation f(x−1)f(x - 1) shifts the graph to the right by 1 (not left). The student said “translate left by 1” and set a=2−1=1a = 2 - 1 = 1 But the correct calculation would give a=2+1=3a = 2 + 1 = 3.

(b) For y=−2f(x−1)+3y = -2f(x - 1) + 3:

  • The transformation f(x−1)f(x - 1) shifts right by 1, so the input changes: x=2x = 2 requires x−1=2x - 1 = 2 I.e., x=3x = 3. So a=3a = 3.
  • At the original point, f(2)=5f(2) = 5. The vertical stretch by −2-2 (reflection in xx-axis then stretch by 2) gives −2×5=−10-2 \times 5 = -10. Then translate up by 3: b=−10+3=−7b = -10 + 3 = -7.

The point (2,5)(2, 5) maps to (3,−7)(3, -7).


Tests synthesis of functions and equations with other topics.

IT-1: Iteration and Fixed Points (with Sequences)

Section titled “IT-1: Iteration and Fixed Points (with Sequences)”

Question:

The function ff is defined by f(x)=2x+3x+2f(x) = \dfrac{2x + 3}{x + 2}.

(a) Find the fixed points of ff (values where f(x)=xf(x) = x).

(b) Show that f(f(x))=xf(f(x)) = x for all x≠−2x \neq -2 And hence state f−1(x)f^{-1}(x).

[Difficulty: hard. Combines function iteration with inverse function identification.]

Solution:

(a) Solve f(x)=xf(x) = x:

2x+3x+2=x  ⟹  2x+3=x2+2x  ⟹  x2=3  ⟹  x=3 or x=−3\frac{2x + 3}{x + 2} = x \implies 2x + 3 = x^2 + 2x \implies x^2 = 3 \implies x = \sqrt{3} \text{ or } x = -\sqrt{3}

The fixed points are x=3x = \sqrt{3} and x=−3x = -\sqrt{3}.

(b)

f(f(x))=f ⁣(2x+3x+2)=2⋅2x+3x+2+32x+3x+2+2f(f(x)) = f\!\left(\frac{2x + 3}{x + 2}\right) = \frac{2 \cdot \frac{2x+3}{x+2} + 3}{\frac{2x+3}{x+2} + 2} =4x+6+3x+6x+22x+3+2x+4x+2=7x+124x+7= \frac{\frac{4x + 6 + 3x + 6}{x + 2}}{\frac{2x + 3 + 2x + 4}{x + 2}} = \frac{7x + 12}{4x + 7}

This should equal xx:

7x+124x+7=x  ⟹  7x+12=4x2+7x  ⟹  4x2=12  ⟹  x2=3\frac{7x + 12}{4x + 7} = x \implies 7x + 12 = 4x^2 + 7x \implies 4x^2 = 12 \implies x^2 = 3

This is not identically equal to xx Confirming that ff is not self-inverse.

Since ff is a Mobius transformation with ad−bc=2⋅2−1⋅3=1≠0ad - bc = 2 \cdot 2 - 1 \cdot 3 = 1 \neq 0 It is invertible. The inverse is:

f−1(x)=2x−3−x+2=2x−32−x,x≠2f^{-1}(x) = \frac{2x - 3}{-x + 2} = \frac{2x - 3}{2 - x}, \quad x \neq 2

We can verify: f(f−1(x))=2⋅2x−32−x+32x−32−x+2=2(2x−3)+3(2−x)2−x(2x−3)+2(2−x)2−x=4x−6+6−3x2x−3+4−2x=x1=xf(f^{-1}(x)) = \frac{2 \cdot \frac{2x-3}{2-x} + 3}{\frac{2x-3}{2-x} + 2} = \frac{\frac{2(2x-3) + 3(2-x)}{2-x}}{\frac{(2x-3) + 2(2-x)}{2-x}} = \frac{4x-6+6-3x}{2x-3+4-2x} = \frac{x}{1} = x.

So f−1(x)=2x−32−xf^{-1}(x) = \dfrac{2x - 3}{2 - x} with domain x≠2x \neq 2.

Confusing one-to-one with many-to-one functions: A function can only have an inverse if it’s one-to-one (passes horizontal line test). Many-to-one functions don’t have inverses unless you restrict the domain.

Forgetting to state domain restrictions: When finding inverses, always check for domain restrictions. Dividing by zero or taking square roots of negatives creates undefined values.

Mixing up f(x) with f⁻¹(x): f⁻¹(x) is the inverse function, not 1/f(x). The -1 is notation for inverse, not an exponent.