第1.2节 实函数

标签:
it |
1.2 FUNCTIONS
DEFINITION
A real function of one variable is a set f of ordered pairs of real numbers such that for every real number a one of the following two things happens:
(i) There is exactly one real number b for which the ordered pair(a,b) is a member of f.
(ii) There is no real number b for which the ordered pair (a, b) is a member of f. In this case we say that f(a) is undefined.
Thus f(a)=b means that the ordered pair (a,b) is an element of f.
Here is one way to visualize a function. Imagine a black box labeled fas in Figure 1.2.1.
Inside the box there is some apparatus, which we can’t see. On both the left and right sides of the box there is a copy of the real line, called the input line and
Figure 1.2.1
out put line, respectively. Whenever we point to anumber a on the input line, either one point b will light up on the output line to tell us that f(a)=b, or else nothing will happen, in which case f(a)is undefined.
A second way to visualize a function is by drawing its graph. The graph of a real function f of one variable is the set of all points P(x, y)in the plane such that y=f(x).To draw the graph, we plot the value of xon the horizontal, or x-axis and the value of f(x)on the vertical, or y-axis. How can we tell whether a set of points in the plane is the graph of some function? By reading the definition of a function again, we have an answer.
A set of points in the plane is the graph of some function fif and only if for each vertical line one of the following happens:
(1)Exactly one point on the line belongs to the set.
(2)No point on the line belongs to the set.
Here are two examples of real functions of one variable. Each function will be described in two ways: the black box approach, where a rule is given for finding the value of the function at each real number, and the graph method, where an equation is given for the graph of the function.
EXAMPLE
1
The graph of the square function is the parabola with the equation y=x².
The graph of y=x², with several points marked in, is shown in Figure 1.2.3.
EXAMPLE 2
g(x)is defined for all nonzero
x, but is undefined at
x=0. Find the following values if they are
defined: g(0),
The graph of the reciprocal function has the equation y= 1/x. This equation can also be written in the form xy=1. The graph is shown in Figure 1.2.4.
In Examples 1 and 2 we have used the variables xand y in order to describe a function. A variable is a letter which stands for an arbitrary real number; that is, it “varies” over the real line. In the equation y=x², the value of ydepends on the value of x; for this reason we say that xis the independent variable and ythe dependent variable of the equation.
In describing a function, we do not always use xand y; sometimes other variables are more convenient, especially in problems involving several functions. The variable tis often used to denote time.
It is important to distinguish between the symbol f and the expression f(x). fby itself stands for a function. f(x)is called a term and stands for the value of the function at x. The need for this distinction is illustrated in the next example.
EXAMPLE 3
t is a variable, his a function, and h(t)is a term. The following expressions are also terms: h(__) , h(x), h(t3), h(t3)+1, h(t3+ 1), h(x) - h(t), h(t+ Δt),the values are computed by careful substitution.
The graph of h is given by the equation x = t3 + 1. In this equation, tis the independent variable and xis the dependent variable. In Figure 1.2.5, the five points
are plotted and the graph is drawn.
Figure 1.2.5
DEFINITION
EXAMPLE
EXAMPLE
EXAMPLE
EXAMPLE
The graph of f is given by the equation y= _______.
The equation can also be written in the form
The graph is just the upper half of the unit semicircle, shown in Figure 1.2.6.
Figure 1.2.6
Sometimes a function is described by explicitly giving its domain in addition to a rule.
EXAMPLE
Note
that
The graph is described by the formulas
and is drawn in Figure 1.2.7.
Some especially important functions are the constant functions, the identity function, and the absolute value function.
A real number is sometimes called a constant. This name is used to emphasize the difference between a fixed real number and a variable.
For a given real number c, the function fwith the rule
is called the constant function with value c. It has domain R and range {c}.
EXAMPLE
The graph (Figure 1.2.8) of the constant function with value 5 is given by the equation y=5.
EXAMPLE
is called the identity function.
The graph (Figure 1.2.9) of the identity function is the straight line with the equation y=x.
Figure 1.2.9
The absolute value function is defined by a rule which is divided into two cases.
DEFINITION
The absolute value of xgives the distance between xand 0. It is always positive or zero. For example,
The domain of the absolute value function is the whole real line Rwhile its range is the interval [0, ∞).
The absolute value function can also be described by the rule.
Its graph is given by the equation y= ____. The graph is the V shown in Figure 1.2.10.
Figure 1.2.10
If a and b are two points on the real line, then from the definition of |x|we see that
Thus |a-b|is the difference between the larger and the smaller of the two numbers. In other words, |a-b|is the distance between the points aand b, as illustrated in Figure 1.2.11.
Figure 1.2.11.
For example, | 2-5|=
3,
THEOREM
Let a and b be real numbers.
(i)
(ii)
(iii) if b ≠0, | a/b|=| a|/|b|.
PROOF
(i)
(ii)
(iii)
Warning
Function arise in a great variety of situations. Here are some examples.
Geometry:
Physics:
Economics:
Functions of two or more variables can be dealt with in a similar way. Here is the precise definition of a function of two variables.
DEFINITION
If f is a real function of two variables, then the value of f(x,y)depends on both the value of xand the value of ywhen f(x,y) is defined.
A real function fof two variables can be visualized as a black box with two input lines and one output line, as in Figure 1.2.12.
Figure 1.2.12
The domain of a real function f of two variables is the set of all pairs of real numbers
The most important examples of real functions of two variables are the sum, difference, product, and quotient functions:
The sum, difference, and product functions have the whole plane as domain. The domain of the quotient function is the set of all ordered pairs(x,y) such that y≠0.
Here are some examples of functions of two or more variables arising in applications.
Geometry:
Physics:
Economics:
PROBLEMS
For each of the following functions (Problems 1-8), make a table showing the value of f(x)when x= -1, ___ , 0, ___, 1. Put a * where f(x)is undefined. Example:
1
3
5
7
8
9
10
11
12
13
14
For each of the following functions (Problems 15-20), find f(x+Δx) - f(x).
15
16
17
19
21
22
23
24
25
□26