One-Line Definition
A Function $f: X \to Y$ is a mathematical machine that maps every input $x$ in Domain $X$ to exactly one output $y$ in Codomain $Y$. The set of actual outputs is the Range.
Input Restrictions & Symmetry Model
Mastering Functions requires 3 mental models:
- • Domain Exclusion: Exclude $x$ that causes zero denominators or negative square roots.
- • Symmetry: Even functions reflect across Y-axis ($f(-x)=f(x)$); Odd functions reflect across Origin ($f(-x)=-f(x)$).
- • Graph Shifts: $f(x-c)$ shifts RIGHT, $f(x)+c$ shifts UP, $|f(x)|$ flips negative Y parts UP.
Functions and Graphs form the backbone of Advanced Algebra, Optimization, and Calculus in CAT & MBA CET. Click below to explore connected Quant Vault topics:
Where Is This Used in Real Life & Business?
1 Definition of a Function & Vertical Line Test
A Function $f$ from a set $X$ (Domain) to a set $Y$ (Codomain), written as $f: X \to Y$, is a specific rule that assigns to every element $x \in X$ exactly one unique element $y \in Y$.
📈 Vertical Line Test for Graphs
A graph in the $xy$-plane represents a function if and only if **no vertical line** intersects the graph at more than one point. If any vertical line cuts the curve at 2 or more points (e.g. a circle $x^2 + y^2 = r^2$), the relation is **NOT** a function!
Classification of Functions
Distinct inputs produce distinct outputs: $f(x_1) = f(x_2) \implies x_1 = x_2$. Passes Horizontal Line Test.
Two or more different inputs map to the same output. Example: $f(x) = x^2$ (since $f(2) = f(-2) = 4$).
Every element in the Codomain has at least one pre-image in the Domain ($\text{Range} = \text{Codomain}$).
A function that is both Injective and Surjective. **Bijectivity is the MANDATORY condition for an inverse function $f^{-1}(x)$ to exist!**
2 Rules for Finding Domain & Range
🔍 3 Golden Rules for Finding Domain
- Rule 1 (Denominators): For $f(x) = \frac{g(x)}{h(x)}$, set $h(x) \ne 0$. Exclude roots of $h(x)$.
- Rule 2 (Square Roots): For $f(x) = \sqrt{g(x)}$, set $g(x) \ge 0$. (Inside of even roots must be non-negative).
- Rule 3 (Logarithms): For $f(x) = \log_b(g(x))$, set $g(x) > 0$, base $b > 0$, and $b \ne 1$.
🎯 Strategies for Finding Range
3 Even vs Odd Functions & Symmetry Rules
$$f(-x) = f(x)$$
- • Symmetry: Symmetric about the Y-axis.
- • Examples: $f(x) = x^2, \cos(x), |x|, x^4 + 5$.
- • Property: Replacing $x$ with $-x$ leaves equation unchanged.
$$f(-x) = -f(x)$$
- • Symmetry: Symmetric about the Origin $(0,0)$.
- • Examples: $f(x) = x^3, \sin(x), \frac{1}{x}, x^5 - 3x$.
- • Property: $f(0) = 0$ for any odd function defined at $x=0$.
4 Composite Functions $f(g(x))$ & Inverse Functions $f^{-1}(x)$
🔄 Composite Function: $f(g(x))$
Given functions $f$ and $g$, the composite function $(f \circ g)(x) = f(g(x))$ applies $g$ first, then applies $f$ to the result.
↩️ Inverse Function: $f^{-1}(x)$
If $f: X \to Y$ is a **Bijective** function, its inverse $f^{-1}: Y \to X$ satisfies:
5 Graph Transformation Rules Cheat Sheet
| Transformation | Formula | Geometric Effect |
|---|---|---|
| Vertical Shift Up | $y = f(x) + c$ | Shift entire graph UP by $c$ units. |
| Vertical Shift Down | $y = f(x) - c$ | Shift entire graph DOWN by $c$ units. |
| Horizontal Shift Right | $y = f(x - c)$ | Shift entire graph RIGHT by $c$ units. |
| Horizontal Shift Left | $y = f(x + c)$ | Shift entire graph LEFT by $c$ units. |
| Reflection across X-axis | $y = -f(x)$ | Flip graph vertically across X-axis. |
| Reflection across Y-axis | $y = f(-x)$ | Flip graph horizontally across Y-axis. |
| Modulus of Output | $y = |f(x)|$ | Reflect any part below X-axis upward above X-axis. |
| Modulus of Input | $y = f(|x|)$ | Delete left side ($x < 0$), mirror right side ($x > 0$) onto left. |
⚡ Interactive Functions & Domain Calculators
1. Composite Evaluator
InteractiveComputes $(f \circ g)(x)$ and $(g \circ f)(x)$ for $f(x) = ax + b$ and $g(x) = cx^2 + d$.
2. Symmetry & Domain Checker
InteractiveTests symmetry $f(-x) = \pm f(x)$ and domain bounds for polynomial $f(x) = ax^3 + bx^2 + cx + d$.
Find the domain of the real-valued function $f(x) = \frac{1}{\sqrt{x^2 - 16}}$.
If $f(x) = \frac{3x + 2}{2x - 5}$, find $f^{-1}(4)$.
A polynomial function $f(x)$ satisfies $f(x) + f(1/x) = f(x) \cdot f(1/x)$ for all $x \ne 0$. If $f(3) = 28$, find $f(4)$.