Functions as correspondences between sets; notation y = f(x)
函数的概念(集合与对应)与记号 y = f(x)
How is a function defined with sets?
Every element of the domain corresponds to exactly one value in the codomain under the rule.
Sign in to read the whole lesson, with 1 interactive aid, 1 more worked example, 13 exercises
Sign in / Sign upMastery goals
- Can state the definition of a function as a correspondence f from a non-empty set of real numbers A to a set B that gives each number in A exactly one number in B, write it as y = f(x), x ∈ A, and decide whether a given correspondence (including an arrow diagram between two sets) is a function
- Can name the three parts of a function (domain, rule of correspondence, range) and explain that the range is a subset of B
- Can decide whether two functions are the same function by checking that the domains are equal and the rules agree for every x
Chapter opener
Everywhere in life, one quantity changes and another follows: a rocket rises and its height grows with time; a water tower drains and the level drops with time; a bus route keeps being extended and its mileage grows year after year. Behind these changes are correspondences between variables, and mathematics describes them with functions.
In high-school mathematics the function is a main thread running through everything: equations, inequalities, sequences, trigonometry and calculus all lean on it. Building on middle school, this chapter does four things: it states functions more precisely with sets and correspondences; it compares the different ways of representing a function; it learns to describe properties of functions (monotonicity, greatest and least values, parity) in symbols; and, through power functions, it feels out the general route for studying a family of functions and then uses functions on real problems.
In middle school we learned that a function is a mathematical model of the correspondence between variables. For example, the perimeter of a square and its side satisfy ; each definite gives only one , so is a function of . Is it the same function as the proportional function ? And is the same function as ? To answer such questions we have to state the idea of a function more precisely.
First, four problems.
Problem 1 An electric train accelerates to and then keeps that speed for another . In this period the distance (km) it travels and the time (h) are related by
Someone says: “By this relation, after the train has gone .” Is that right? No: the conditions only cover the first , and the range of was forgotten. More precisely: ranges over the set and over . For each time in , relation ① gives exactly one distance in .
Problem 2 A home-service company requires each worker to work at least and at most days a week, at yuan a day, paid once a week. The wage (yuan) and the number of days are related by
ranges over and over . For each in , relation ② gives exactly one wage in . The relations in Problems 1 and 2 are both “multiply by a constant”. Do you think they are the same function? Why?
Problem 3 The graph below is the temperature curve of a place over one day. How do we find the temperature at any time of that day from the graph? Is a function of ?
From the curve: ranges over and the temperature lies in some set . For each time in , the correspondence given by the curve gives exactly one temperature in , so is a function of . Can you read the temperature at noon from the graph?
Problem 4 The table below shows the number of registered users (in ten thousands) of a website, year by year.
| Year | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 |
|---|---|---|---|---|---|---|
| Users (ten thousands) | 1.2 | 2.0 | 3.1 | 3.1 | 4.5 | 6.0 |
By the correspondence in the table, is a function of ? ranges over and over a subset of . For each year in the table gives exactly one number of users, so is a function of . (The years 2020 and 2021 have the same number of users; that does not matter, because each year corresponds to only one number.)
What they have in common:
- Each involves two non-empty sets of numbers, called and ;
- Each has a correspondence;
- Although the correspondence is written differently (formula, graph, table), it has this feature: for any number in , the correspondence gives exactly one number in .
Besides formulas, graphs and tables there are other ways to express a correspondence, so we bring in the symbol to stand for the correspondence in general.
Definition In general, let and be non-empty sets of real numbers. If for every number in , by some definite correspondence , there is exactly one number in corresponding to it, then is called a function from the set to the set , written
Here is called the independent variable, the range of is called the domain of the function; the value corresponding to is called the function value, and the set of function values is called the range of the function.
Clearly the range is a subset of . In Problems 1 and 2 the ranges are and ; in Problem 4 the range is , a subset of .
The linear function () has domain and range . The quadratic function () has domain and range () or (). What are the domain, correspondence and range of the inverse proportional function ()? Describe it using the definition of a function.
The arrow diagram below helps you test “is it a function?”: click a number on the left and then a number on the right to draw an arrow.
Example 1
Construct a situation in which the relation between the variables can be described by the formula .
Solution: Regard as a quadratic function; its domain is and its range is . If the range of is restricted, say , we can build this situation:
A rectangular vegetable plot is fenced with of fence; one side is and the area is , so .
Here ranges over and over . The correspondence sends each side to the unique area .
Construct other situations whose variables can be described by .
A function has three components: the domain, the correspondence and the range. Since the range is decided by the domain and the correspondence, two functions with the same domain and exactly the same correspondence (equal values for equal inputs) are the same function.
If only the correspondence is the same but the domains differ, they are not the same function. For example, the correspondences in Problems 1 and 2 are both “multiply by a constant” but the domains differ, so they are not the same function; their domains are proper subsets of , so they are not the same as the function on all of either.
On the other hand, using different letters for the variable does not matter: () and () have the same correspondence and domain, so they are the same function.
Related points
All points in this topicCite this page: Functions as correspondences between sets; notation y = f(x) · KnowledgeTree (知识树), https://www.knowledgetree.world/en/kp/KP004414