New
✓ Official Syllabus VerifiedStandards & Rigor ↗
2

Functions: Composite, Inverse & Logarithmic

🇬🇧 Functions ~20%  ·  Composite & inverse functions  ·  Logarithmic functions & change of base  ·  Function transformations & dilations  ·  Domain, range & rational asymptotes

Functions, their inverses, and transcendental transformations account for approximately 20% of the EST II Math Level 1 exam. Mastery requires evaluating and restricting composite functions, constructing algebraic inverses, analyzing natural and base-b logarithms, applying rational function asymptote theorems, and mapping geometric transformations across parent functions.

Definition 2.1 — Function Composition, Invertibility, and Logarithmic Relations
Core structural definitions of functions and inverse mappings:
  • Function Composition: The composition (f \circ g)(x) = f(g(x)) applies \(g\) first, then applies \(f\) to the output. The domain of \(f \circ g\) is:
    \[ \text{Dom}(f \circ g) = \{ x \in \text{Dom}(g) \mid g(x) \in \text{Dom}(f) \} \]
  • Inverse Functions & Invertibility Criterion: A function \(f\) possesses an inverse \(f^{-1}\) if and only if it is one-to-one (injective), passing the Horizontal Line Test:
    \[ f(a) = f(b) \implies a = b \]
    The fundamental cancellation identity states:
    \[ (f \circ f^{-1})(x) = x \quad \text{and} \quad (f^{-1} \circ f)(x) = x \]
    The graph of \(y = f^{-1}(x)\) is the reflection of \(y = f(x)\) across the line \(y = x\).
  • Logarithmic Foundation: The logarithmic function with base \(b > 0, b \neq 1\) is the exact inverse of the exponential function \(y = b^x\):
    \[ y = \log_b(x) \iff b^y = x \quad (x > 0) \]
    The natural logarithm uses base \(e\): \(\ln(x) = \log_e(x)\).
● Deep Conceptual Intuition — Functions: Composite, Inverse & Logarithmic

Domain Restrictions, Invertibility & Asymptotic Behavior: An algebraic or transcendental function \(f: D \to R\) possesses an inverse \(f^{-1}: R \to D\) if and only if \(f\) is strictly one-to-one (bijective) on \(D\), guaranteeing that \(\text{dom}(f^{-1}) = \text{ran}(f)\) and \(\text{ran}(f^{-1}) = \text{dom}(f)\). For logarithmic and radical equations, every algebraic step that squares both sides or combines logs (\(\log_b u + \log_b v = \log_b(uv)\)) can enlarge the solution set, requiring a final domain check against the original equation.

Parabola \(f(x) = (x - 3)^{2} - 5\) with vertex at \((3, -5)\) and symmetry reference line \(y = x\).
Composition
\( (f\circ g)(x)=f(g(x)) \)
Inverse Identity
\( f(f^{-1}(x))=x \)
Log Product Law
\( \log_b(xy)=\log_b x+\log_b y \)
Change of Base
\( \log_b a=\dfrac{\ln a}{\ln b} \)
⊙ Explorer · A function and its inverse
interactive
\(f(x_{0}) = 2^x\)₀\(2.000\)
\(f^{-1}(f(x_{0}))\)\(1.000\)
Theorem 2.1 — Logarithmic Laws, Change of Base, and Rational Function Asymptotes
Analytical laws governing functional calculations and asymptotic structures:
  • Operational Laws of Logarithms (for \(x, y > 0\)):
    1. Product: \(\log_b(xy) = \log_b x + \log_b y\)
    2. Quotient: \(\log_b\left(\frac{x}{y}\right) = \log_b x - \log_b y\)
    3. Power: \(\log_b(x^p) = p \log_b x\)
    4. Change of Base Formula: For any valid base \(c\):
    \[ \log_b a = \frac{\log_c a}{\log_c b} = \frac{\ln a}{\ln b} = \frac{\log_{10} a}{\log_{10} b} \]
  • Rational Function Asymptotes: For \(f(x) = \frac{a_n x^n + \dots + a_0}{b_m x^m + \dots + b_0}\):
    1. Vertical Asymptote: Occurs at real zeros of the denominator that are not roots of the numerator.
    2. Horizontal Asymptote:
    • If \(n < m\): Horizontal asymptote at \(y = 0\).
    • If \(n = m\): Horizontal asymptote at \(y = \frac{a_n}{b_m}\) (ratio of leading coefficients).
    • If \(n > m\): No horizontal asymptote (if \(n = m + 1\), an oblique slant asymptote \(y = mx + b\) is found via polynomial division).
Rational function \(f(x) = \frac{3x+2}{x-1}\). The vertical asymptote is at \(x = 1\) (where denominator is zero) and the horizontal asymptote is at \(y = 3\) (ratio of leading coefficients).
▲ EST II Math Traps & Pitfalls — Composite, Inverse & Logarithmic Functions
  • Domain of Composite Functions: For \((f \circ g)(x) = f(g(x))\), \(x\) must reside in the domain of \(g\) AND \(g(x)\) must fall within the domain of \(f\). Never simplify algebraically before checking initial domain constraints.
  • Inverse Functions and One-to-One: \(f^{-1}(x)\) exists only if \(f\) passes the Horizontal Line Test. When swapping \(x\) and \(y\), remember that the range of \(f\) becomes the domain of \(f^{-1}\). For restricted domains like \(f(x) = x^2, x \ge 0\), the inverse is \(f^{-1}(x) = \sqrt{x}, x \ge 0\).
  • Logarithm Laws vs. False Analogies: \(\log(a + b) \neq \log a + \log b\). Only multiplication inside yields addition outside: \(\log(ab) = \log a + \log b\). Similarly, \(\frac{\log a}{\log b} \neq \log(a - b)\) — it is the change-of-base formula \(\log_b a\).
  • Function Transformations Order: For \(y = a f(b(x - c)) + d\), horizontal stretch/compression by \(1/|b|\) and shift by \(c\) occur inside, while vertical stretch by \(a\) and vertical shift by \(d\) occur outside. \(f(x - c)\) shifts right by \(c\); \(f(x + c)\) shifts left.
◆ Why It Works — First-Principles Derivation (Functions: Composite, Inverse & Logarithmic)

Why Completing the Square & Log-Linearization Work: Any quadratic \(f(x) = ax^2 + bx + c\) (\(a \ne 0\)) can be rewritten by factoring \(a\) from the first two terms and adding/subtracting \((b/2a)^2\):

\[ ax^2 + bx + c = a\!\left(x + \frac{b}{2a}\right)^2 + \left(c - \frac{b^2}{4a}\right) \]

Because \(\left(x + \frac{b}{2a}\right)^2 \ge 0\) for all \(x \in \mathbb{R}\), the extreme value \(k = c - \frac{b^2}{4a}\) is attained uniquely at the axis of symmetry \(x = -\frac{b}{2a}\), restricting the range to \([k, \infty)\) (if \(a > 0\)) and making \(f\) invertible on \(x \ge -\frac{b}{2a}\). Similarly, applying \(\ln\) to power laws \(y = ax^n\) yields \(\ln y = n\ln x + \ln a\), transforming a nonlinear curve into a straight line of gradient \(n\).

Worked Example 2.A — Algebraic Inversion of Rational Functions
Problem. Let \(f(x) = \dfrac{3x - 4}{2x + 5}\) for \(x \neq -\frac{5}{2}\).
(a) Find the inverse function \(f^{-1}(x)\).
(b) Determine the domain and range of \(f^{-1}(x)\).
▸ Show step-by-step solution

  1. (a) Construct \(f^{-1}(x)\):
    Set \(y = \frac{3x - 4}{2x + 5}\) and swap variables \(x\) and \(y\):
    \[ x = \frac{3y - 4}{2y + 5} \]
    Cross-multiply:
    \[ x(2y + 5) = 3y - 4 \implies 2xy + 5x = 3y - 4 \]
    Isolate terms with \(y\):
    \[ 2xy - 3y = -5x - 4 \implies y(2x - 3) = -(5x + 4) \implies y = \frac{-(5x + 4)}{2x - 3} = \frac{5x + 4}{3 - 2x} \]
    Thus, \(\mathbf{f^{-1}(x) = \dfrac{5x + 4}{3 - 2x} = -\dfrac{5x + 4}{2x - 3}}\).
  2. (b) Domain and Range:
    The denominator of \(f^{-1}\) cannot vanish: \(3 - 2x \neq 0 \implies x \neq \frac{3}{2}\).
    Domain of \(f^{-1}\): \(\mathbf{\left(-\infty, \frac{3}{2}\right) \cup \left(\frac{3}{2}, \infty\right)}\).
    The range of \(f^{-1}\) is the domain of \(f\): \(\mathbf{\left(-\infty, -\frac{5}{2}\right) \cup \left(-\frac{5}{2}, \infty\right)}\).
Worked Example 2.B — Solving Logarithmic Equations with Base Differences
Problem. Solve the equation \(\log_2(x) + \log_4(x) = 6\) for \(x\).
▸ Show step-by-step solution

  1. Apply Change of Base to \(\log_4(x)\):
    Express \(\log_4(x)\) in base 2:
    \[ \log_4(x) = \frac{\log_2(x)}{\log_2(4)} = \frac{\log_2(x)}{2} = \frac{1}{2} \log_2(x) \]
  2. Substitute into the equation:
    \[ \log_2(x) + \frac{1}{2} \log_2(x) = 6 \implies \frac{3}{2} \log_2(x) = 6 \]
  3. Multiply by \(\frac{2}{3}\):
    \[ \log_2(x) = 6 \times \frac{2}{3} = 4 \]
  4. Convert to exponential form:
    \[ x = 2^4 = \mathbf{16} \]
  5. Check validity: \(x = 16 > 0\) satisfies all initial arguments: \(\log_2(16) + \log_4(16) = 4 + 2 = 6\) ✓.
The solution is \(\mathbf{x = 16}\).
Worked Example 2.C — Composite Function Domain Restriction
Problem. Let \(f(x) = \dfrac{1}{x - 3}\) and \(g(x) = \sqrt{x + 2}\). Determine the exact domain of the composite function \((f \circ g)(x)\).
▸ Show step-by-step solution

  1. Step 1: Domain of the inner function \(g(x)\):
    The radicand must be non-negative: \[ x + 2 \ge 0 \implies x \ge -2 \]
  2. Step 2: Restrict outputs of \(g(x)\) from the domain of \(f\):
    The function \(f(u) = \frac{1}{u - 3}\) is defined for \(u \neq 3\).
    Therefore, \(g(x) \neq 3\):
    \[ \sqrt{x + 2} \neq 3 \implies x + 2 \neq 9 \implies x \neq 7 \]
  3. Step 3: Intersect the conditions:
    Combining \(x \ge -2\) and \(x \neq 7\) gives in interval notation:
    \[ \mathbf{[-2, 7) \cup (7, \infty)} \]
Worked Example \(D\) — Functions: Composite, Inverse & Logarithmic (Easy Application)
Problem. Given the function \( f(x) = 2x + 3 \). What is the value of \( f^{-1}(7) \)?
▸ Show step-by-step solution

Let \( y = f(x) \). Then \( y = 2x + 3 \). To find the inverse function \( f^{-1}(y) \), we swap \( x \) and \( y \) and solve for \( y \). So, \( x = 2y + 3 \). Subtract 3 from both sides: \( x - 3 = 2y \). Divide by 2: \( y = \frac{x - 3}{2} \). Thus, \( f^{-1}(x) = \frac{x - 3}{2} \). We need to find \( f^{-1}(7) \). Substitute \( x = 7 \) into the inverse function: \( f^{-1}(7) = \frac{7 - 3}{2} = \frac{4}{2} = 2 \).

Error Diagnosis — Common Student Traps vs. Exam-Board Method (Functions: Composite, Inverse & Logarithmic)
Common Student TrapWhy It Fails MathematicallyCorrect Exam-Board Method
Expanding \(\ln(x + y)\) as \(\ln x + \ln y\)Confuses the product law \(\ln(xy) = \ln x + \ln y\) with a non-existent sum rule.Only factor products, quotients, and powers inside logarithms: \(\ln(xy) = \ln x + \ln y\).
Keeping both roots of \(\sqrt{2x+4} = x - 3\) without checking \(x - 3 \ge 0\)Squaring both sides loses the sign of \(x - {r}\), introducing roots where \(\sqrt{\cdot} = -\text{number}\).Enforce the range condition \(x \ge 3\) before or after squaring.
Restricting domain of \(f(x) = (x-3)^2 + 1\) to \(x \ge 0\) for invertibilityThe vertex is at \(x = 3\), so \(f(2) = f(4) = 2\) fails the horizontal line test on \(x \ge 0\).Restrict the domain at the vertex axis of symmetry: \(x \ge 3\) (or \(x \le 3\)).
▲ Exam Pacing & Verification Strategy — Functions: Composite, Inverse & Logarithmic

Fast Exam Check (Egyptian Scholastic Test (EST II — Math Level 1)): To verify an inverse function \(f^{-1}(x)\) in 5 seconds, pick a simple input \(x_0\), compute \(y_0 = f(x_0)\), and check that \(f^{-1}(y_0) = x_0\). Also verify that the graph of \(y = f^{-1}(x)\) reflects \(y = f(x)\) across \(y = x\).

Given \(f(x) = e^x\) and \(g(x) = \ln(x + 1)\), find the domain of \((g \circ f)(x)\) and evaluate \((g \circ f)(0)\).
💡 Hint 1 of 3
Formulate composite function: \((g \circ f)(x) = g(f(x)) = \ln(e^x + 1)\).
💡 Hint 2 of 3
Since \(e^x > 0\) for all real numbers \(x\), \(e^x + 1 > 1 > 0\) holds universally. The domain is all real numbers: \(\mathbf{(-\infty, \infty)}\).
💡 Hint 3 of 3
Evaluate at \(x = 0\): \((g \circ f)(0) = \ln(e^0 + 1) = \ln(1 + 1) = \ln(2)\).

Step 1: Formulate composite function: \[ (g \circ f)(x) = g(f(x)) = \ln(e^x + 1). \]

Step 2: Analyze domain requirements: The argument of the natural log must be strictly positive: \[ e^x + 1 > 0. \] Since \(e^x > 0\) for all real numbers \(x\), \(e^x + 1 > 1 > 0\) holds universally. The domain is all real numbers: \(\mathbf{(-\infty, \infty)}\).

Step 3: Evaluate at \(x = 0\): \[ (g \circ f)(0) = \ln(e^0 + 1) = \ln(1 + 1) = \mathbf{\ln(2)} \approx 0.693. \]

Let \(f(x) = \dfrac{2x + 1}{x - 3}\) for \(x \neq 3\). (a) Determine the inverse function \(f^{-1}(x)\). (b) State the domain and range of \(f^{-1}(x)\).
💡 Hint 1 of 3
(a) Find the inverse function: Set \(y = \dfrac{2x + 1}{x - 3}\). Swap \(x\) and \(y\): \(x = \dfrac{2y + 1}{y - 3} \implies x(y - 3) = 2y + 1 \implies xy - 3x = 2y + 1\).
💡 Hint 2 of 3
Group \(y\) terms: \(xy - 2y = 3x + 1 \implies y(x - 2) = 3x + 1 \implies \mathbf{f^{-1}(x) = \dfrac{3x + 1}{x - 2}}\).
💡 Hint 3 of 3
(b) Domain and Range: The denominator of \(f^{-1}(x)\) cannot be zero, so the domain is \((-\infty, 2) \cup (2, \infty)\) (all \(x eq 2\)). The range of \(f^{-1}\) equals the domain of \(f\), which is \((-\infty, 3) \cup (3, \infty)\) (all \(y eq 3\)).

(a) Find the inverse function: Set \(y = \dfrac{2x + 1}{x - 3}\). Swap \(x\) and \(y\): \[ x = \dfrac{2y + 1}{y - 3} \implies x(y - 3) = 2y + 1 \implies xy - 3x = 2y + 1. \] Group \(y\) terms: \[ xy - 2y = 3x + 1 \implies y(x - 2) = 3x + 1 \implies \mathbf{f^{-1}(x) = \dfrac{3x + 1}{x - 2}}. \]

(b) Domain and Range: The denominator of \(f^{-1}(x)\) cannot be zero, so the domain is \(\mathbf{(-\infty, 2) \cup (2, \infty)}\) (all \(x eq 2\)). The range of \(f^{-1}\) equals the domain of \(f\), which is \(\mathbf{(-\infty, 3) \cup (3, \infty)}\) (all \(y eq 3\)).

Solve the exponential equation \(3^{2x - 1} = 5^{x + 2}\) for \(x\) in terms of natural logarithms.
💡 Hint 1 of 3
Take the natural logarithm of both sides: \(\ln(3^{2x - 1}) = \ln(5^{x + 2}) \implies (2x - 1)\ln(3) = (x + 2)\ln(5)\).
💡 Hint 2 of 3
Expand and group all terms containing \(x\): \(2x\ln(3) - \ln(3) = x\ln(5) + 2\ln(5) \implies x[2\ln(3) - \ln(5)] = 2\ln(5) + \ln(3)\).
💡 Hint 3 of 3
Solve for \(x\): \(x = \mathbf{\frac{2\ln(5) + \ln(3)}{2\ln(3) - \ln(5)}} = \mathbf{\frac{\ln(75)}{\ln(9/5)}}\).

Step 1: Take the natural logarithm of both sides: \[ \ln(3^{2x - 1}) = \ln(5^{x + 2}) \implies (2x - 1)\ln(3) = (x + 2)\ln(5). \]

Step 2: Expand and group all terms containing \(x\): \[ 2x\ln(3) - \ln(3) = x\ln(5) + 2\ln(5) \implies x[2\ln(3) - \ln(5)] = 2\ln(5) + \ln(3). \]

Step 3: Solve for \(x\): \[ x = \mathbf{\frac{2\ln(5) + \ln(3)}{2\ln(3) - \ln(5)}} = \mathbf{\frac{\ln(75)}{\ln(9/5)}} \approx 7.37. \]

The function \(f(x) = \dfrac{4x - 7}{2x + 8}\) has horizontal asymptote \(y = H\) and vertical asymptote \(x = V\). Determine the value of \(H + V\).
💡 Hint 1 of 3
Find horizontal asymptote \(y = H\): Since degrees of numerator and denominator are both 1, the horizontal asymptote is the ratio of leading coefficients: \(H = \frac{4}{2}\).
💡 Hint 2 of 3
Find vertical asymptote \(x = V\): Set denominator to zero: \(2x + 8 = 0 \implies 2x = -8 \implies V\).
💡 Hint 3 of 3
Compute sum: \(H + V = 2 + (-4)\).

Step 1: Find horizontal asymptote \(y = H\): Since degrees of numerator and denominator are both 1, the horizontal asymptote is the ratio of leading coefficients: \[ H = \frac{4}{2} = 2. \]

Step 2: Find vertical asymptote \(x = V\): Set denominator to zero: \[ 2x + 8 = 0 \implies 2x = -8 \implies V = -4. \]

Step 3: Compute sum: \[ H + V = 2 + (-4) = \mathbf{-2}. \]

Given the function \( f(x) = 2x + 3 \). What is the value of \( f^{-1}(7) \)?
💡 Hint 1 of 3
Let \( y = f(x) \). Then \( y = 2x + 3 \). To find the inverse function \( f^{-1}(y) \), we swap \( x \) and \( y \) and solve for \( y \).
💡 Hint 2 of 3
So, \( x = 2y + 3 \). Subtract 3 from both sides: \( x - 3 = 2y \). Divide by 2: \( y = \frac{x - 3}{2} \). Thus, \( f^{-1}(x) = \frac{x - 3}{2} \).
💡 Hint 3 of 3
We need to find \(f^{-1}(7)\). Substitute \(x = 7\) into the inverse function: \(f^{-1}(7) = \frac{7 - 3}{2}\).
Let \( y = f(x) \). Then \( y = 2x + 3 \). To find the inverse function \( f^{-1}(y) \), we swap \( x \) and \( y \) and solve for \( y \). So, \( x = 2y + 3 \). Subtract 3 from both sides: \( x - 3 = 2y \). Divide by 2: \( y = \frac{x - 3}{2} \). Thus, \( f^{-1}(x) = \frac{x - 3}{2} \). We need to find \( f^{-1}(7) \). Substitute \( x = 7 \) into the inverse function: \( f^{-1}(7) = \frac{7 - 3}{2} = \frac{4}{2} = 2 \).
● Master Atlas of the 9 Main Parent Functions & Universal Transformation Law

Every algebraic and elementary transcendental model is built by transforming one of the nine core parent functions via \(g(x) = a\,f(x - h) + k\), where \(|a|\) scales vertically (reflecting across the \(x\)-axis if \(a < 0\)), \(h\) shifts horizontally, and \(k\) shifts vertically:

FamilyTransformed Form \(g(x)\)DomainRange (\(a > 0\))Key Geometric Feature
Constant\(f(x) = c\)\((-\infty, \infty)\)\(\{c\}\)Horizontal line, slope \(0\)
Linear\(a(x - h) + k\)\((-\infty, \infty)\)\((-\infty, \infty)\)Constant slope \(m = a\), pivot \((h, k)\)
Quadratic\(a(x - h)^2 + k\)\((-\infty, \infty)\)\([k, \infty)\)Parabola vertex \((h, k)\), axis \(x = h\)
Cubic\(a(x - h)^3 + k\)\((-\infty, \infty)\)\((-\infty, \infty)\)Inflection center \((h, k)\), S-curve
Absolute Value\(a|x - h| + k\)\((-\infty, \infty)\)\([k, \infty)\)V-corner vertex \((h, k)\), slopes \(\pm a\)
Radical\(a\sqrt{x - h} + k\)\([h, \infty)\)\([k, \infty)\)Endpoint \((h, k)\), half-parabola
Rational\(\dfrac{a}{x - h} + k\)\(x \neq h\)\(y \neq k\)Vertical asymptote \(x = h\), horizontal \(y = k\)
Exponential\(a \cdot 2^{x - h} + k\)\((-\infty, \infty)\)\((k, \infty)\)Horizontal asymptote \(y = k\), anchor \((h, a+k)\)
Logarithmic\(a\ln(x - h) + k\)\((h, \infty)\)\((-\infty, \infty)\)Vertical asymptote \(x = h\), anchor \((h+1, k)\)
⊙ Explorer · Logarithmic Domain, Vertical Asymptote & Parent Functions Lab
interactive
Active Equationf(x) = ln(x)
Domain(0, ∞)
Range(−∞, ∞)
Vertex / AsymptotesVA: x = 0 · Anchor (1, 0)
Interceptsy-int: none · x-int: (1, 0)

Starts on the logarithmic family \(f(x) = a\ln(x - h) + k\) with domain \((h, \infty)\), vertical asymptote \(x = h\), and anchor \((h + 1, k)\). Drag \((h, k)\) to inspect domain shifts.

📝 Chapter Quiz