2.3 Functions, Domain, Range, Graph
1. Definition of a Function
A function $f$ from a set $X$ to a set $Y$ assigns to each element $x$ of $X$ a unique element $y$ of $Y$. The notation is $f: X \rightarrow Y$ or $f(x) = y$.
EXAMPLE 1 & 2 (Identifying Functions)
Mapping $1 \mapsto a$, $2 \mapsto b$, $3 \mapsto d$ is a valid function.
Mapping $1 \mapsto a$, $2 \mapsto b$, $3 \mapsto b$ is a valid function (multiple elements can map to the same image).
Mapping $1 \mapsto a$, $2 \mapsto b$ AND $2 \mapsto c$ is not a function (one input cannot have multiple outputs).
2. Domain and Range
Domain ($D_f$): The set of all valid $x$ inputs.
Range ($R_f$): The set of all resulting $y$ outputs.
A function mapping $x$ to its double is defined as $f: \mathbb{R} \rightarrow \mathbb{R}$, given by $f(x) = 2x$. If constrained to the interval $[0, 10]$, the domain is $x \in [0, 10]$ and the resultant range becomes $y \in [0, 20]$.
The Domain "Agreement"
If the domain is unspecified, it is assumed to be the largest possible subset of $\mathbb{R}$. Key restrictions include:
- Polynomials have no restrictions: $D_f = \mathbb{R}$.
- Fractions $f(x) = A / B$ restrict the denominator: $B \ne 0$.
- Square roots $f(x) = \sqrt{A}$ restrict the radicand: $A \ge 0$.
- Logarithms $f(x) = \log A$ restrict the argument: $A > 0$.
EXAMPLE 5
3. Graphical Characteristics
- Vertical Line Test: Determines if a graph represents a function. A vertical line must intersect the graph at most once.
- y-intercept: Evaluate $f(0)$.
- x-intercepts (Roots): Solve $f(x) = 0$.
- Intersection Points: Solve $f(x) = g(x)$ for two graphs.
EXAMPLE 6 & 7
Given $f(x) = (x-3)^2 - 4$ and $g(x) = x - 5$:
EXAMPLE 8
Solve $2^x = 2x + 3$.
Solution: Solving graphically or via GDC tools (SolveN) yields the roots $x \approx -1.30$ and $x \approx 3.25$. To solve $2^x < 2x + 3$, look for where the exponential curve sits below the line, yielding the interval $-1.30 < x < 3.25$.