Definition
A function f from set A to set B is a rule that assigns to each element x in A exactly one element y in B.
f:A→B
y=f(x)
- Domain: Set of all possible input values (x)
- Range: Set of all possible output values (y)
- Codomain: The set B (may include values not in range)
Types of Functions
Constant Function
f(x)=c(where c is a constant)
- Domain: All real numbers R
- Range: {c}
- Graph: Horizontal line
Linear Function
f(x)=mx+b
- Domain: R
- Range: R
- Graph: Straight line with slope m, y-intercept b
Quadratic Function
f(x)=ax2+bx+c(a=0)
- Domain: R
- Range: [k,∞) if a>0, or (−∞,k] if a<0
- Vertex: (−2ab,f(−2ab))
- Graph: Parabola
Polynomial Function
f(x)=anxn+an−1xn−1+⋯+a1x+a0
- Domain: R
- Degree n determines end behavior
- At most n real zeros
- At most n−1 turning points
Rational Function
f(x)=Q(x)P(x)where P and Q are polynomials
- Domain: All x where Q(x)=0
- Vertical asymptotes where Q(x)=0
- Horizontal/oblique asymptotes determined by degrees
Exponential Function
f(x)=ax(a>0,a=1)
- Domain: R
- Range: (0,∞)
- y-intercept: (0,1)
- Horizontal asymptote: y=0
- If a>1: increasing (growth)
- If 0<a<1: decreasing (decay)
Logarithmic Function
f(x)=loga(x)(a>0,a=1)
- Domain: (0,∞)
- Range: R
- x-intercept: (1,0)
- Vertical asymptote: x=0
- Inverse of exponential function
Function Operations
Arithmetic Operations
(f+g)(x)=f(x)+g(x)
(f−g)(x)=f(x)−g(x)
(f⋅g)(x)=f(x)⋅g(x)
(gf)(x)=g(x)f(x),g(x)=0
Composition
(f∘g)(x)=f(g(x))
(g∘f)(x)=g(f(x))
Note: Composition is not commutative: f∘g=g∘f (in general)
Inverse Functions
A function f has an inverse f−1 if and only if f is one-to-one (passes horizontal line test).
f(f−1(x))=x
f−1(f(x))=x
Finding the Inverse
- Replace f(x) with y
- Swap x and y
- Solve for y
- Replace y with f−1(x)
Function Properties
| Property | Definition |
|---|
| Even | f(−x)=f(x) |
| Odd | f(−x)=−f(x) |
| One-to-one | f(a)=f(b) implies a=b |
| Onto | Every element in codomain is mapped |
| Increasing | x1<x2 implies f(x1)<f(x2) |
| Decreasing | x1<x2 implies f(x1)>f(x2) |