✓ Official Syllabus VerifiedStandards & Rigor ↗
2

Functions

SAAT Tahsili — Mathematics Ch.2 Functions

Functions and graphs constitute a major portion of the SAAT Tahsili mathematics examination. Key tested competencies include finding domains and ranges, analyzing algebraic symmetries (even/odd functions), performing parent function geometric transformations, computing compositions and inverse functions, and determining vertical and horizontal asymptotes of rational functions.

Definition 2.1 — Function Taxonomy, Domains, Parity, and Parent Transformations
Fundamental properties and operational principles of functions:
  • Domain Restrictions (قيود المجال): For real-valued functions:
    1. Rational denominators cannot be zero: in fraction P(x) over Q(x), Q(x) != 0.
    2. Even-index radicands must be non-negative: in \(\sqrt{g(x)}\), \(g(x) \ge 0\).
    3. Logarithmic arguments must be strictly positive: in \(\log_b(u(x))\), \(u(x) > 0\).
  • Function Parity & Symmetries (الدوال الزوجية والفردية):
    1. Even Function (دالة زوجية): \(f(-x) = f(x)\) for all \(x\) in domain. Graph is symmetric across the \(y\)-axis.
    2. Odd Function (دالة فردية): \(f(-x) = -f(x)\) for all \(x\) in domain. Graph has rotational symmetry of \(180^\circ\) about the origin \((0, 0)\).
  • Geometric Transformations (التحويلات الهندسية): For \(y = a \cdot f(b(x - h)) + k\):
    1. Horizontal translation: \(h > 0\) shifts right, \(h < 0\) shifts left.
    2. Vertical translation: \(k > 0\) shifts up, \(k < 0\) shifts down.
    3. Vertical stretch/compression: \(|a| > 1\) stretches, \(0 < |a| < 1\) compresses. If \(a < 0\), reflection across the \(x\)-axis.
    4. Horizontal reflection: \(f(-x)\) reflects across the \(y\)-axis.
  • One-to-One and Inverses (الدالة المتباينة والدالة العكسية): A function has an inverse \(f^{-1}\) if and only if it passes the Horizontal Line Test. The graphs of \(f\) and \(f^{-1}\) are reflections of each other across the identity line \(y = x\), and \(f(f^{-1}(x)) = f^{-1}(f(x)) = x\).
Rational function \(f(x) = (2x - 1) / (x - 2)\) showing vertical asymptote \(x = 2\) (zero of denominator) and horizontal asymptote \(y = 2\) (ratio of leading coefficients).
Transformation
\( y = a f(x - h) + k \)
Even Function
\( f(-x) = f(x) \quad (y\text{-axis}) \)
Odd Function
\( f(-x) = -f(x) \quad (\text{origin}) \)
Inverse Identity
\( (f \circ f^{-1})(x) = x \)
Theorem 2.1 — Rational Function Asymptotes & Composite Function Domains
Analytical rules for asymptotes and compositions:
  • Vertical Asymptotes (خطوط التقارب الرأسية): For a reduced rational function \(R(x) = \frac{P(x)}{Q(x)}\) where \(P(x)\) and \(Q(x)\) share no common factor, a vertical asymptote occurs at every real zero of the denominator: \(Q(x) = 0\). If \((x - c)\) is a shared factor of multiplicity \(m\) in both numerator and denominator, a removable discontinuity (hole) occurs at \(x = c\).
  • Horizontal Asymptotes (خطوط التقارب الأفقية): Let \(R(x) = \frac{a_n x^n + \dots}{b_m x^m + \dots}\):
    1. If \(n < m\): The horizontal asymptote is \(y = 0\) (the \(x\)-axis).
    2. If \(n = m\): The horizontal asymptote is the ratio of leading coefficients: \(y = \frac{a_n}{b_m}\).
    3. If \(n > m\): No horizontal asymptote exists (if \(n = m + 1\), an oblique/slant asymptote exists).
  • Domain of Composition (مجال الدالة المركبة): The domain of \((f \circ g)(x) = f(g(x))\) is the set of all \(x\) such that:
    \[ \operatorname{dom}(f \circ g) = \{ x \in \operatorname{dom}(g) \mid g(x) \in \operatorname{dom}(f) \} \]
Figure 1: Parent reciprocal function \(f(x) = 1 / x\) showing horizontal and vertical asymptotes

Shift the V-shaped graph \( y=|x-h|+k \) below. Its corner — the vertex — sits exactly at \( (h,k) \).

⊙ Explorer · Graph transformations
interactive
vertex \((h, k)\)—

The faint grey graph is the parent \( y=|x| \); the indigo one is the shifted version.

▲ Tahsili Exam Traps — Common Pitfalls in Functions & Graphs
  • Horizontal Shift Sign Inversion: The transformation \(f(x - 3)\) shifts the graph 3 units to the right, NOT to the left. The sign inside the argument is subtracted from \(x\).
  • Parity Test Requires ALL Terms: In \(f(x) = x^3 + 2x^2\), evaluating \(f(-x) = (-x)^3 + 2(-x)^2 = -x^3 + 2x^2\). Since this equals neither \(f(x)\) nor \(-f(x)\), the function is neither even nor odd (ليست زوجية وليست فردية).
  • Horizontal Asymptote vs Vertical Asymptote: Vertical asymptotes come from zeros of the denominator (values of \(x\)), whereas horizontal asymptotes describe end-behavior as \(x \to \pm\infty\) (values of \(y\)). Never mix up the variable names.
  • Composition Non-Commutativity: In general, \((f \circ g)(x) \neq (g \circ f)(x)\). Always insert the entire expression for the right-hand function into the left-hand function.
◆ Why It Works — First-Principles Derivation (Functions)

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 — Domain and Range of Radical Functions
Problem. Find the domain and range of the function \(f(x) = \sqrt{2x - 6} + 5\).
▸ Show step-by-step solution

  1. Determine domain:
    The radicand of a square root must be non-negative:
    \[ 2x - 6 \ge 0 \implies 2x \ge 6 \implies x \ge 3 \]
    Domain in interval notation: \[ \mathbf{[3, \infty)} \]
  2. Determine range:
    Since the principal square root satisfies \(\sqrt{2x - 6} \ge 0\) for all \(x \ge 3\), the minimum value occurs at \(x = 3\):
    \[ f(3) = \sqrt{0} + 5 = 5 \]
    As \(x \to \infty\), \(f(x) \to \infty\).
    Range in interval notation: \[ \mathbf{[5, \infty)} \]
Worked Example 2.B — Parity Testing: Even, Odd, or Neither
Problem. Determine algebraically whether the function \(f(x) = \dfrac{x^3}{x^2 + 4}\) is even, odd, or neither.
▸ Show step-by-step solution

  1. Evaluate \(f(-x)\):
    Substitute \(-x\) in place of \(x\):
    \[ f(-x) = \frac{(-x)^3}{(-x)^2 + 4} = \frac{-x^3}{x^2 + 4} \]
  2. Compare with \(f(x)\) and \(-f(x)\):
    Notice that:
    \[ f(-x) = -\left(\frac{x^3}{x^2 + 4}\right) = -f(x) \]
  3. Conclusion:
    Since \(f(-x) = -f(x)\) for all real \(x\), the function is odd (دالة فردية), and its graph is symmetric about the origin.
Worked Example 2.C — Composite Functions & Inverse Evaluation
Problem. Let \(f(x) = 2x + 1\) and \(g(x) = x^2 - 3\).
(a) Find the formula for \((f \circ g)(x)\).
(b) Evaluate \((g \circ f)(2)\).
▸ Show step-by-step solution

  1. (a) Find \((f \circ g)(x)\):
    Substitute \(g(x)\) into \(f\):
    \[ (f \circ g)(x) = f(g(x)) = f(x^2 - 3) = 2(x^2 - 3) + 1 = 2x^2 - 6 + 1 = \mathbf{2x^2 - 5} \]
  2. (b) Evaluate \((g \circ f)(2)\):
    First evaluate the inner function at \(x = 2\):
    \[ f(2) = 2(2) + 1 = 5 \]
    Now evaluate \(g\) at 5:
    \[ g(5) = 5^2 - 3 = 25 - 3 = \mathbf{22} \]
Worked Example 2.D — Tajmeeat Shortcut: Rational Asymptotes, Point Discontinuity & Direct/Inverse Variation
Problem. 1. Point Discontinuity vs. Vertical Asymptote: For \( f(x) = \frac{x^2 - 9}{x - 3} = \frac{(x-3)(x+3)}{x-3} \), the factor \( (x-3) \) cancels, creating a point discontinuity (hole / نقطة انفصال) at \( x = 3 \) with \( y = 3 + 3 = \mathbf{6} \), i.e. \( (3, 6) \).
▸ Show step-by-step solution

2. Variation Laws (قوانين التغير):

  • Direct (طردي): \( \frac{y_1}{x_1} = \frac{y_2}{x_2} \).
  • Inverse (عكسي): \( x_1 y_1 = x_2 y_2 \).
  • Combined (مركب): If \( y \) varies directly with \( x \) and inversely with \( z \), then \( \frac{y_1 z_1}{x_1} = \frac{y_2 z_2}{x_2} \).

Error Diagnosis — Common Student Traps vs. Exam-Board Method (Functions)
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+3} = x - 3\) without checking \(x - 3 \ge 0\)Squaring both sides loses the sign of \(x - 3\), 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

Fast Exam Check (Qiyas Scholastic Achievement Admission Test (SAAT / التحصيلي)): 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\).

Find the inverse function \(f^{-1}(x)\) for \(f(x) = \dfrac{2x - 5}{3}\).
💡 Hint 1 of 3
Set \(y = f(x)\) and swap variables: \(y = \frac{2x - 5}{3} \implies x = \frac{2y - 5}{3}\).
💡 Hint 2 of 3
Solve for \(y\): \(3x = 2y - 5 \implies 2y = 3x + 5 \implies y = \frac{3x + 5}{2}\).
💡 Hint 3 of 3
Therefore: \(\mathbf{f^{-1}(x) = \frac{3x + 5}{2}}\).

Step 1: Set \(y = f(x)\) and swap variables: \[ y = \frac{2x - 5}{3} \implies x = \frac{2y - 5}{3}. \]

Step 2: Solve for \(y\): \[ 3x = 2y - 5 \implies 2y = 3x + 5 \implies y = \frac{3x + 5}{2}. \]

Therefore: \[ \mathbf{f^{-1}(x) = \frac{3x + 5}{2}}. \]

Determine the horizontal and vertical asymptotes of the rational function \(g(x) = \dfrac{4x - 1}{2x + 6}\).
💡 Hint 1 of 3
Vertical asymptote: Set the denominator to zero: \(2x + 6 = 0 \implies 2x = -6 \implies \mathbf{x = -3}\).
💡 Hint 2 of 3
Horizontal asymptote: Since the degree of numerator (1) equals the degree of denominator (1), take the ratio of leading coefficients: \(y\). Rewrite and substitute: \(y = \frac{4}{2}\).
💡 Hint 3 of 3
Evaluate \(\frac{4}{2}\) to obtain the final answer.

Step 1: Vertical asymptote: Set the denominator to zero: \[ 2x + 6 = 0 \implies 2x = -6 \implies \mathbf{x = -3}. \]

Step 2: Horizontal asymptote: Since the degree of numerator (1) equals the degree of denominator (1), take the ratio of leading coefficients: \[ y = \frac{4}{2} = \mathbf{2}. \]

If \(f(x) = x^2 + 1\) and \(g(x) = \sqrt{x}\), determine the formula for \((f \circ g)(x)\) and state its domain.
💡 Hint 1 of 3
Compute composite formula: \((f \circ g)(x) = f(g(x)) = f(\sqrt{x}) = (\sqrt{x})^2 + 1 = x + 1\).
💡 Hint 2 of 3
Determine domain: Although \(x + 1\) is defined for all real numbers, the inner function \(g(x) = \sqrt{x}\) requires \(x \ge 0\).
💡 Hint 3 of 3
Therefore, the domain of the composite function is: \([0, \infty)\).

Step 1: Compute composite formula: \[ (f \circ g)(x) = f(g(x)) = f(\sqrt{x}) = (\sqrt{x})^2 + 1 = x + 1. \]

Step 2: Determine domain: Although \(x + 1\) is defined for all real numbers, the inner function \(g(x) = \sqrt{x}\) requires \(x \ge 0\). Therefore, the domain of the composite function is: \[ \mathbf{[0, \infty)}. \]

Find the domain of the function \(h(x) = \dfrac{1}{\sqrt{x - 4}}\).
💡 Hint 1 of 3
Identify domain restrictions: Two conditions apply: the expression under the square root must be non-negative (\(x - 4 \ge 0\)), and the denominator cannot be zero (\(\sqrt{x - 4} eq 0\)).
💡 Hint 2 of 3
Combine restrictions: Combining both conditions requires the radicand to be strictly positive: \(x - 4 > 0 \implies x > 4\).
💡 Hint 3 of 3
In interval notation: \((4, \infty)\).

Step 1: Identify domain restrictions: Two conditions apply: the expression under the square root must be non-negative (\(x - 4 \ge 0\)), and the denominator cannot be zero (\(\sqrt{x - 4} eq 0\)).

Step 2: Combine restrictions: Combining both conditions requires the radicand to be strictly positive: \[ x - 4 > 0 \implies x > 4. \]

In interval notation: \[ \mathbf{(4, \infty)}. \]

If \(f(x) = 3x - 2\) is a one-to-one linear function, find a formula for its inverse function \(f^{-1}(x)\) and evaluate \(f^{-1}(13)\).
💡 Hint 1 of 3
Write \(y = 3x - 2\), swap \(x\) and \(y\), and solve the resulting equation for \(y\).
💡 Hint 2 of 3
From \(x = 3y - 2\), add \(2\) and divide by \(3\) to express \(f^{-1}(x)\).
💡 Hint 3 of 3
Substitute \(x = 13\) into \(f^{-1}(x)\) and check that \(f(f^{-1}(13)) = 13\).
Swapping variables in \(y = 3x - 2\) gives \(x = 3y - 2 \implies y = \frac{x + 2}{3}\), so \(f^{-1}(x) = \frac{x + 2}{3}\). Evaluating at \(13\) gives \(f^{-1}(13) = \frac{13 + 2}{3} = 5\).
● 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 · Rational Hyperbola, Asymptotes & Parent Functions Lab
interactive
Active Equationf(x) = 1/x
Domain(−∞, 0) ∪ (0, ∞)
Range(−∞, 0) ∪ (0, ∞)
Vertex / AsymptotesVA: x = 0 · HA: y = 0
Interceptsy-int: none · x-int: none

Starts on the rational reciprocal family \(f(x) = \dfrac{a}{x - h} + k\) with vertical asymptote \(x = h\) and horizontal asymptote \(y = k\). Drag \((h, k)\) to move the asymptote crosshairs live.

Complete Book Rule Compendium — Authentic Laws & Exam Shortcuts (TAHSILI)
Core Rule / LawMathematical Statement & MethodExample / Exam Watchout
Relations and FunctionsA relation is a set of ordered pairs \(\left(x,y\right)\). Its domain is the set of all \(x\)-values (inputs) and its range is the set of all \(y\)-values (outputs).Trap: a repeated \(y\)-value is allowed, e.g. \({\left(1,5\right),\left(2,5\right)}\) is a function. A repeated \(x\)-value with two.
Linear Functions and SlopeA linear function has the form \(f\left(x\right)=mx+b\); its graph is a straight line. The standard form of a line is \(Ax+By=C\), where \(A\), \(B\) and \(C\) are integers and \(A \ge 0\).Trap: keep the same order in the numerator and denominator of the slope formula; a vertical line has an undefined slope, not a slope of \(0\).
Writing Linear EquationsSlope-intercept form: \(y=mx+b\) (slope \(m\), \(y\)-intercept \(b\)). — Point-slope form: \(y-{y}_{1}=m\left(x-{x}_{1}\right)\) for the line with slope \(m\) through \(\left({x}_{1},{y}_{1}\right)\).Trap: the perpendicular slope changes both the sign and the fraction: the perpendicular slope of \(\frac{3}{4}\) is \(-\frac{4}{3}\), not \(-\frac{3}{4}\).
Scatter Plots and Lines of FitA scatter plot shows paired data as points. Its pattern shows the correlation: — Positive: \(y\) tends to increase as \(x\) increases. Negative: \(y\) tends to decrease. None: no clear pattern.Predicting inside the data range is interpolation; predicting outside it is extrapolation (less reliable).
Special FunctionsGreatest integer (step) function \(f\left(x\right)=\lfloor x\rfloor\) (also written \([[x]]\)): the greatest integer that is less than or equal to \(x\). For example \(\lfloor 3.7\rfloor =3\) and \(\lfloor -2.4\rfloor =-3\).Greatest integer (step) function \(f\left(x\right)=\lfloor x\rfloor\) (also written \([[x]]\)): the greatest integer that is less than or.
Parent Functions and TransformationsThe simplest function of each family is its parent function: \(y=x\), \(y={x}^{2}\), \(y={x}^{3}\), \(y=\sqrt{x}\), \(y=\left|x\right|\), \(y=\frac{1}{x}\), \(y=\lfloor x\rfloor\) and the constant function \(y=c\).Trap: \(f\left(x-h\right)\) moves the graph to the right, and \(f\left(x+h\right)\) moves it to the left.
📝 Chapter Quiz