Functions are the universal language of mathematics — learn to speak it fluently.
What Is a Function?
A function is a rule that assigns to each input exactly one output. We write f(x) for the output of function f at input x. The key property: every input has exactly one output (the vertical line test).
Range: [0, ∞) since √ always gives non-negative results
Types of Functions
Linear: f(x) = mx + b
Graph is a straight line. Slope m = rise/run = rate of change. The concept of slope becomes the derivative in calculus.
Quadratic: f(x) = ax² + bx + c
Graph is a parabola. Vertex at (−b/2a, f(−b/2a)). Opens up if a > 0, down if a < 0. Zeros found by solving quadratic equations. Parabolas are a type of conic section.
Polynomial: f(x) = aₙxⁿ + ⋯ + a₁x + a₀
Smooth, continuous curves. Degree n means at most n real zeros and n − 1 turning points. See Polynomials & Factoring for detailed analysis.
Rational: f(x) = P(x)/Q(x)
May have vertical asymptotes (where Q = 0), horizontal asymptotes (end behavior), and holes (where P and Q share a factor).
Piecewise Functions
Defined by different rules on different intervals. Understanding piecewise functions prepares you for limits and continuity in calculus.
Transformations
Given a function f(x), you can shift, stretch, compress, and reflect its graph systematically:
Vertical shift: f(x) + k (up k units) or f(x) − k (down) Horizontal shift: f(x − h) (right h units) or f(x + h) (left) Vertical stretch/compress: a·f(x) (stretch if |a| > 1, compress if |a| < 1) Reflection: −f(x) (over x-axis) or f(−x) (over y-axis)
The inverse f⁻¹ "undoes" f: if f(a) = b, then f⁻¹(b) = a. To find f⁻¹, swap x and y, then solve for y.
f(f⁻¹(x)) = f⁻¹(f(x)) = x
Example: Find f⁻¹ for f(x) = (2x − 3)/5
y = (2x − 3)/5 → swap: x = (2y − 3)/5 → 5x = 2y − 3 → y = (5x + 3)/2
f⁻¹(x) = (5x + 3)/2
A function has an inverse only if it's one-to-one (passes the horizontal line test). The inverse trig functions require restricting the domain to achieve this.
Exponential & Logarithmic Functions
Exponential Functions: f(x) = aˣ
These model explosive growth (a > 1) or decay (0 < a < 1). The most important base is e ≈ 2.71828 (Euler's number).
f(x) = eˣ → f'(x) = eˣ (the only function equal to its own derivative!)
Logarithmic Functions: f(x) = log_a(x)
The logarithm is the inverse of the exponential: log_a(x) = y means aʸ = x.
Functions are the central object of study in all of higher mathematics. Calculus studies how functions change. Linear algebra studies functions between vector spaces. Differential equations describe functions through their derivatives.