Functions — Short Notes
Connect inputs to outputs through domain, range, function types, composition and inverses.
1. 1. Function and mapping
- A function f: A → B assigns exactly one output in B to each input in A.
- A is the domain, B the codomain, and the range is the set of outputs actually attained; range is a subset of codomain.
- A repeated output is allowed, but one input cannot be assigned two different outputs.
- A graph represents a function of x when every vertical line meets it at most once.
2. 2. Domain and range
- Find the domain by excluding inputs that make a denominator zero or make an even root of a real number negative.
- For a real logarithm, its argument must be positive. Apply all restrictions before simplifying.
- Find the range by considering possible outputs, graph behavior or solving y = f(x) for admissible x.
- A formula alone may not determine a function fully; its stated domain matters.
3. 3. Function types
- Injective (one-to-one): distinct inputs produce distinct outputs; equivalently, f(a) = f(b) implies a = b.
- Surjective (onto): every element of the codomain is reached. Check the codomain, not only the formula.
- Bijective means both injective and surjective; only a bijection has an inverse function on the whole stated codomain.
- Even functions satisfy f(−x) = f(x); odd functions satisfy f(−x) = −f(x), on a domain symmetric about zero.
4. 4. Composition
- The composition (f ∘ g)(x) means f(g(x)): apply g first, then f.
- For composition to be defined, g(x) must lie in the domain of f; record the resulting domain restriction.
- Composition is generally not commutative: f ∘ g may differ from g ∘ f.
- The identity function I(x) = x leaves a function unchanged under composition.
5. 5. Inverse and transformations
- An inverse reverses input and output. A function has an inverse function on its full range when it is one-to-one.
- To find an inverse, write y = f(x), interchange x and y, solve for y, then state the inverse domain and range.
- Translations f(x)+k and f(x−h) shift a graph vertically and horizontally; reflection in the x-axis is −f(x).
- A horizontal-line test checks whether a graph is one-to-one on the stated domain.
6. 6. Evaluation and checks
- Evaluate f(a) by substituting a into every occurrence of x and respecting the domain.
- For a proposed inverse, verify f⁻¹(f(x)) = x and f(f⁻¹(y)) = y on their valid domains.
- For composition, keep parentheses to preserve the order of operations.
- A graph, table and rule are three descriptions of the same mapping only when their domains and outputs agree.
Quick revision table
| Rule | Condition | Consequence |
|---|---|---|
| Function | Each domain input has one output | Outputs may repeat |
| Injective | f(a) = f(b) ⇒ a = b | Inverse is single-valued on range |
| Surjective | Range = codomain | Every codomain value is attained |
| Bijective | Injective and surjective | Inverse maps codomain back to domain |