Science · Mathematics
Functions
Definitions, methods and quick revision
Introduction
A function assigns exactly one output to every allowed input. Domain, codomain and range specify where the rule begins and what outputs it actually produces.
A function assigns exactly one output to every allowed input. Domain, codomain and range specify where the rule begins and what outputs it actually produces.
1. Function, Domain and Range
- Function rule. A function f from A to B maps each x ∈ A to one unique value f(x) ∈ B.
- Domain. The domain is the set of allowed inputs; formulas may exclude inputs that make an expression undefined.
- Codomain and range. The codomain is the declared output set; the range is the subset of values actually attained.
2. One-to-One and Onto Functions
- Injective. A function is injective if distinct inputs always give distinct outputs.
- Surjective. A function is surjective onto B if every element of B is the output of at least one input.
- Bijective. A function that is both injective and surjective has an inverse function from its range/codomain back to the domain.
3. Composition and Inverses
- Composition. (f ∘ g)(x) = f(g(x)); the output set of g must fit the input domain of f.
- Inverse. An inverse reverses a bijection’s input-output mapping; algebraically, solve y = f(x) for x and interchange variables.
- Order matters. In general, f ∘ g is not equal to g ∘ f.
4. Graphs and Transformations
- Linear and quadratic functions. A linear function graphs as a straight line; a quadratic function graphs as a parabola.
- Transformations. Replacing x with x−h shifts a graph horizontally; adding k outside the function shifts it vertically.
- Vertical-line test. A graph represents y as a function of x when every vertical line intersects it at most once.
Quick Revision
| Concept | Key point |
|---|---|
| Domain | Allowed inputs |
| Codomain | Declared output set |
| Range | Outputs actually attained |
| Bijective | Injective and surjective |
Conclusion
A function is determined by its rule together with its domain and codomain. Check these sets before evaluating, composing or finding an inverse.
A function is determined by its rule together with its domain and codomain. Check these sets before evaluating, composing or finding an inverse.