Functions: Mapping, Domain/Codomain, and Independent Variable
Functions and Their Mapping
Core Idea: A function takes an input and gives exactly one output according to a rule.
Key Parts (Notation):
Domain (D): The set of all possible inputs.
Codomain (R): The set of all possible outputs.
Notation:
For every input in D, the output is in R.
The "One Output" Rule (Formal):
For every input in the Domain D, there is one and only one output in the Codomain R, such that .
Or: .
This means: Each input must map to exactly one output.
Mapping Rules:
An input can't have two different outputs.
Different inputs CAN have the same output. (e.g., even if ). Example: ; both 2 and -2 give 4.
Not all possible outputs in the Codomain R have to be used by an input.
Ways to Define a Function:
Algebraic (Formula): Using an equation like .
Numeric (Table/Rule): A list of inputs and their outputs (like a pricing rule based on weight).
Variables:
x: The independent variable (the input you choose from the domain).
f(x) (or y): The dependent variable (the output, which depends on x).
Graphing: Plot points for all in the domain D. This shows how outputs change with inputs.
Real-World Example: Grades and Registrar
Domain: Students.
Codomain: Possible Grades (A, B, C).
Rule: Each student gets exactly one grade.
Observations:
Every student gets one grade (no student gets two, no student gets none).
Different students can get the same grade (e.g., multiple students get an A).
Key Takeaways:
Deterministic: Functions are predictable; the same input always gives the same unique output.
Flexible: Can be defined by formulas, tables, or descriptive rules.
Domain Matters: A function only works for inputs inside its defined domain D.
Summary of Notation/Formulas to Remember:
Function mapping:
Uniqueness:
Many-to-one is okay:
Example:
Graphing: Plot points.
Practice Problems
Identify Domain/Codomain/Function Status: For each given relationship, state if it is a function. If it is, identify a suitable domain and codomain.
a. A rule that assigns to each person in a classroom their current age.
b. A rule that assigns to each age the names of all people in the classroom who have that age.
c. The formula . (Consider all real numbers.)
d. The set of ordered pairs .Formal Notation: Write the formal notation for a function that maps integers () to integers () such that .
Function Properties: Consider the function defined by .
a. Can two different inputs map to the same output? Provide an example.
b. Can a single input map to two different outputs? Explain why or why not, referencing the definition of a function.Real-World Application: A vending machine dispenses one specific snack item when a corresponding button is pressed. If the set of buttons is the domain and the set of snack items is the codomain, is this