A function is a rule that assigns exactly one output to each allowed input. In high school, functions help you connect equations, tables, and graphs.
If \(f\) is a function, then \(f(x)\) means “the output when input is \(x\).” Example:
\[ f(x)=2x+3. \]
Then \(f(1)=5\), \(f(4)=11\), and \(f(-2)=-1\).
Key idea
\[ \text{One input} \rightarrow \text{one output}. \]
The domain is the set of allowed inputs. The range is the set of outputs produced from that domain.
Example 1. \(f(x)=\frac{1}{x-2}\)
Example 2. \(g(x)=\sqrt{x+1}\)
Not every relation is a function. If one input gives two outputs, it is not a function.
On a graph, use the vertical line test: if any vertical line crosses the curve more than once, it is not a function.
To sketch a graph:
Straight line with slope \(m\) and \(y\)-intercept \(c\). A larger \(|m|\) means steeper line.
Parabola. If \(a>0\), opens upward; if \(a<0\), opens downward.
V-shaped graph with vertex at the origin before transformations.
Hyperbola with asymptotes \(x=0\) and \(y=0\). Graph has two separate branches.
Start from \(y=f(x)\):
Example. From \(y=x^2\) to \(y=(x-3)^2+2\): move right 3, up 2.
In applications, intercepts often represent starting value and break-even/zero-output points.
Some rules change in different intervals. Example:
\[ f(x)= \begin{cases} x+2, & x<1\\ 3, & x\ge 1 \end{cases} \]
Graph each rule only on its stated interval, and mark endpoints correctly (open/closed points).