Lesson 2 — Functions: definition, domain, image
Function as a mathematical object: a unique correspondence rule between two sets. Domain, codomain, image. Cartesian graph. Injective, surjective, bijective functions.
Used in: 1st year of high school (age 15) · Japanese Math I chapter 2 · German Klasse 10
Rigorous notation, full derivation, hypotheses
Rigorous definition
"A function is a relation in which each input value produces exactly one output value." — OpenStax College Algebra 2e, §3.1
Each element of the domain points to exactly one element of the codomain. Note that can map to the same — a function may send different inputs to the same output.
Classification
Worked examples
Five examples with increasing difficulty — from the most direct (numerical evaluation and domain reading) to real modeling (composition in a production pipeline). Each example cites its source: the original problem always comes from an open-licensed book.
Exercise list
50 exercises · 12 with worked solution (25%)
- Ex. 2.1ApplicationAnswer key
Determine the maximum domain of .
- Ex. 2.2Application
Determine the maximum domain of .
- Ex. 2.3Application
Determine the maximum domain of .
- Ex. 2.4ApplicationAnswer key
Determine the maximum domain of .
- Ex. 2.5Application
Let . Compute , , .
- Ex. 2.6Application
Is the function injective? Justify.
- Ex. 2.7Application
Is the function defined on injective?
- Ex. 2.8ApplicationAnswer key
What is the image of defined on ?
- Ex. 2.9Application
For the piecewise function compute and .
- Ex. 2.10Application
Determine the domain and image of .
- Ex. 2.11Application
Let and . Compute .
- Ex. 2.12Application
With the same as above, compute .
- Ex. 2.13Application
Determine the inverse of .
- Ex. 2.14ApplicationAnswer key
Why does defined on have no inverse? What about on ?
- Ex. 2.15Application
Is the function defined by bijective?
- Ex. 2.16Application
Is the function defined by surjective? And injective?
- Ex. 2.17Application
Let and . Compute and and show they are different.
- Ex. 2.18Understanding
Determine given that and .
- Ex. 2.19UnderstandingAnswer key
Let be functions such that and . Determine .
- Ex. 2.20Proof
Prove: the composition of two bijective functions is bijective.
- Ex. 2.21Application
Determine the maximum domain of .
- Ex. 2.22Application
Determine the maximum domain of .
- Ex. 2.23Application
Determine the domain of .
- Ex. 2.24ApplicationAnswer key
Determine the domain of .
- Ex. 2.25Application
Determine the domain of .
- Ex. 2.26Understanding
Use the horizontal line test to decide whether is injective on .
- Ex. 2.27ApplicationAnswer key
Is the function defined by injective? Surjective? Bijective?
- Ex. 2.28Application
Let and . Compute , , , .
- Ex. 2.29Understanding
Determine given that and . (Hint: let .)
- Ex. 2.30ApplicationAnswer key
Sketch starting from the graph of . What transformation occurred?
- Ex. 2.31Application
Sketch using transformations of .
- Ex. 2.32Understanding
Decide whether each function below is even, odd, or neither: (a) ; (b) ; (c) .
- Ex. 2.33Understanding
Consider the characteristic function if , otherwise. For , determine the domain and image.
- Ex. 2.34Understanding
Verify that has period . Is there a smaller period?
- Ex. 2.35Application
Compute the Euclidean distance between and .
- Ex. 2.36ApplicationAnswer key
To shift the graph of two units downward, which transformation applies?
- Ex. 2.37Application
To shift three units to the right, write ?
- Ex. 2.38Understanding
Determine the domain, image, and classify .
- Ex. 2.39Understanding
Differentiate the vertical stretch from the horizontal stretch .
- Ex. 2.40ApplicationAnswer key
Determine the domain and image of .
- Ex. 2.41Modeling
A taxi charges R$ 5.50 fixed plus R$ 3.10 per km. (a) Write the cost function . (b) How much does a 12 km trip cost? (c) For what distance is the cost R$ 80?
- Ex. 2.42Modeling
An empty pool is filled at 200 L/min. Model in liters as a function of time in minutes. Total capacity 8000 L. Determine the physical domain and image.
- Ex. 2.43ModelingAnswer key
Compute the BMI of a person weighing 70 kg and 1.75 m tall. In which WHO range do they fall?
- Ex. 2.44Modeling
A factory produces units per day with cost reais. (a) Fixed cost? (b) Average cost at ? (c) Marginal cost of the 51st unit?
- Ex. 2.45Modeling
A bacterium doubles every 30 min. Model if .
- Ex. 2.46Modeling
The recommended maximum heart rate is . Compute it for ages 30, 50, 70.
- Ex. 2.47ModelingAnswer key
The function models the resale value of a car years after purchase. (a) ? (b) ? (c) For what does the value fall below R$ 10,000?
- Ex. 2.48Modeling
Model mathematically: "the sum of two numbers is 30 and the product is maximum". (Preview of quadratics — Lesson 4.)
- Ex. 2.49Modeling
In a factory, each worker assembles 12 products/day. Beyond 50 workers, each additional worker assembles only 8 products. Model as a piecewise function.
- Ex. 2.50Challenge
A rectangular pool has a fixed perimeter of 30 m. Model the area as a function of the length . Determine the physical domain and the maximum area.
Sources
Only books that directly informed the text and exercises. Full catalog at /livros.
- OpenStax College Algebra 2e — Jay Abramson et al. · 2022 · EN · CC-BY 4.0 · §3.1–3.7. Primary source for Blocks A, B, D.
- Stitz–Zeager Precalculus — Carl Stitz, Jeff Zeager · 2013, v3 · EN · CC-BY-NC-SA · §1.4–1.6, §2.3, §5.1–5.2.
- Yoshiwara — Modeling, Functions, and Graphs — Katherine Yoshiwara · 2020 · EN · free · ch. 1–2, 4, 6. Source for Block E (modeling).
- Active Calculus — Matt Boelkins · 2024, ed. 2.0 · EN · CC-BY-NC-SA · §1.1.