Functions: definitions, representations, domains & types
Definition of a Function
- Formal statement
- “A function is a rule that assigns to every element of a set (domain) exactly one element of a set (codomain).”
- Machine/Rule metaphor
- Pick an input → apply the rule → obtain the unique output .
- Immediate consequences
- No element of is left without an image.
- No element of can map to two (or more) distinct outputs.
- It is permissible for two (or more) different inputs to share the same output (e.g.
for ).
Representations of Functions
- Four common ways were discussed. Each representation must honor the two fundamental rules above.
1. Arrow (Mapping) Diagrams
- Visual pairing of elements in two discrete sets.
- Checks:
- Every element in domain has an outgoing arrow.
- No domain element has two outgoing arrows.
- Multiple arrows may converge on the same codomain element.
- Unused codomain elements are acceptable.
2. Tables / Charts
- Two-column list (input | output) — e.g. “Name → Student ID”.
- Good for finite datasets.
- Limitations
- Impractical for infinite domains (e.g. all real numbers).
- Still must ensure uniqueness of output per input.
3. Graphs in the -plane
- Graph = set of ordered pairs .
- Vertical tracing: for a specific , move vertically to the curve to read .
- Deciding if a curve is a function → Vertical Line Test (VLT)
- “Every vertical line intersects the graph at most one point.”
- Failure (≥2 intersections) ⇒ some value would have ≥2 outputs ⇒ not a function.
- Graphs are more general than tables/diagrams because they can implicitly encode infinitely many points.
4. Formulas (Algebraic Rules)
- Most compact & universal description.
- Any expression of the form qualifies.
- Examples
- .
- Non-example
- (not solved for a unique in terms of ).
Domain, Codomain & Example of Domain Determination
- Terminology
- Domain (set ): all inputs for which the formula “makes sense”.
- Codomain (set ): the target set we declare; may include unrealised values.
- Worked example
- Constraints
- Square–root argument non-negative: .
- Denominator non-zero: .
- Combine ⇒
- Solution intervals:
- Interpretation: any outside keeps the root positive and the denominator non-zero.
Piecewise-Defined Functions
- Definition: rule changes on sub-intervals of domain.
- Example 1
f(x)=\begin{cases}
x^2 & x\ge0,\
1 & x<0.
\end{cases}
- Graph: right-side parabola for ; constant strip to the left, with an open circle at .
- Example 2 (Absolute Value)
|x|=\begin{cases}
x & x\ge0,\
-x & x<0.
\end{cases}
Catalogue of Function Types & Typical Domains
- Bullet list of categories the lecture touched on:
Linear (degree 1 polynomial)
- General form .
- Slope-intercept form, = slope, = -intercept.
- Point-slope form .
- Domain:
Polynomials
- , degree .
- Domain: all real numbers.
Power Functions
- .
- Still a polynomial when is a positive integer; otherwise treated separately.
- If is even → symmetric, domain
- If is odd → same domain.
Algebraic Functions
- Built from finitely many +, −, ×, ÷, and roots.
Rational Functions
- with polynomials .
- Domain: (all reals minus the roots of ).
- Example: → domain
Root Functions (-th roots)
- .
- even → domain (e.g. square root)
- odd → domain (e.g. cube root)
Trigonometric Functions
- Must recall shapes: & oscillate between , has vertical asymptotes at .
Symmetry of Functions
- Definitions
- Even: for all .
• Graph symmetric about the -axis.
• Example: . - Odd: for all .
• Graph has rotational symmetry of about the origin.
• Example: , also .
- Even: for all .
Vertical Line Test (Graph ↔ Function)
- Procedure: Sweep a vertical line across the graph.
- Criterion: If any vertical line intersects the drawing more than once, the graph fails to represent a function (violates uniqueness of output).
- Illustrative non-function: sideways parabola ; every vertical line through the “stem” cuts twice.
Additional Concepts Mentioned for Future Lectures
- Mean Value Theorem (to be covered later).
- Periodic functions.
- Increasing / decreasing behaviour.
- Function transformations & combinations (composition, shifts, stretches, etc.).
Practical / Ethical / Real-World Connections
- Height-of-a-person example: mapping “student” → “height”. Demonstrates
• uniqueness (one height per person),
• possibility of shared outputs (two people same height),
• unused codomain values (nobody 7′1″ in the class). - Student-ID example: injective (one-to-one) function variant where different inputs must also have different outputs (no two students share ID).
Numerical & Algebraic Reminders
- Slope formula: (order matters — be consistent).
- Absolute value identity: .
- Domain algorithm for rational + root mixtures:
- Inside-root expression (or if denominator).
- Denominator .
- Combine inequalities.
- Interval notation rules:
- Parentheses → endpoint excluded.
- Brackets → endpoint included.
- Union symbol to combine disjoint pieces.