Functions: Function
Functions: Function
Functions: Function
Since values are assigned to x and the value of y is dependent upon the choice of x , x
is referred to as the independent variable and y the dependent variable. The domain
of a function is the totality of all possible values of the independent variable, and the
range of the function is the totality of all possible values of the dependent variable.
If the ordered pairs of numbers (x, y ) for a specific function are plotted as cartesian
coordinates of a point on a plane, the totality of those points is referred to as the graph
of the function. Since for each value of x in the domain of the function there
corresponds a unique value of y . No vertical line line can intersect the graph of the
function in more than one point (The Vertical Line Test).
Examples:
y = 5 x
y= x
3 if x 1
y = 1 if 1 < x 2
4 if 2 < x
5
4
domain : ( , 5] domain : (, )
range : [0, + ) or [0, ) range : [0, ) 1
-1 2
-3
3x 2 if x < 1
y= 2 domain : ( , )
x if 1 x
range : {3,1, 4}
1
domain : ( , )
range : ( , ) 1
x 9 ( x + 3)( x 3)
2 x 2 if x 2
y= = y=
x 3 ( x 3) x + 3 if x 3 7 if x = 2
y=
2 if x = 3
6
7
6
3 4
2
3
domain:(,3) (3, ) 2
If f is the function having as its domain the values of x and as its range the values of y,
we use the symbol f(x) (read f of x) to denote the particular value of y that
corresponds to the value of x. Other symbols can g(x) , h(x) , d(x) etc. When defining a
function, the domain of the independent variable must be given, either stated or implied.
Examples:
f ( x) = 3x 2 x + 2 - implies x may be any real number.
- stated that domain consists of all real numbers
f ( x) = 3x 2 x + 2, 1 x < 3
greater than or equal to -1 and less than 3.
5 - implies that x cannot equal 3 or -3, hence the
g( x) = 2
x 9 domain is all real numbers except -3 and 3.
- implies that x exists in the closed interval from
h( x) = 16 x 2
-4 to 4, hence the domain is [-4, 4].
Periodic Functions.
Any function is called periodic if it repeats itself on intervals of any fixed length. For
example the sine curve. Periodicity may be defined symbolically:
A function f is periodic with period P if the equation f (x+p) = f(x) holds
for all x in the domain of f.
The definition says that the graph of f repeats itself on intervals of length P. For any
function f , the graph of y = f (x + P) is the result of shifting the graph of y = f (x) a
distance of P units. In simple words, the graph of the function does not change when it is
shifted P units.
A Composite Function:
Let f and g be functions. The function given by (f o g)(x) = f (g(x))is called
the composite of f with g. The domain of f o g is the set of all x in the domain such that
g(x) is in the domain of f.
An elementary function is one built from certain legal basic elements (powers of a
variable, a trig function, a log function, etc.) using certain legal operations ( addition,
subtraction, etc.). For example: ln(sin(2x))
f (x) =
1 + 3x
Function families. These include algebraic and transcendental functions.
1. Algebraic Functions are defined using only the ordinary algebraic operations:
addition, subtraction, division, multiplication, raising to powers and taking roots.
a) Polynomials.
f ( x) = an x + an1 x
n
+ ... + a2 x + a1 x + a0 , an 0
n1 2
where the positive integer n is the degree of the polynomial function and the
numbers ai are coefficients, with an the leading coefficient and a0 the constant term.
Polynomials are the simplest algebraic function; their rules require
3
only multiplication and addition. The polynomial expression 2x + 5x corresponds
naturally to the function p(x) = 2x + 5x . Any function defined by a polynomial
3
The domain for the sin and cos curves allows for every real number x to be a legal
input; that is (- , ). For the other trig functions the domain is also defined for all
real numbers except those at which a denominator is zero. The range for the sin and
cos curves is always between [-1, 1]; while the range for the remaining trig function
is defined as (- , ). The sin and tan curves with their respective reciprocals are
odd functions (i.e. sin (-x) = - sin (x)), while the cos and sec curves are even
(i.e. cos (-x) = cos (x)). The tan, cot, sec, and csc functions all have vertical
asymptotes. Of special note is the geometric interpretation of tan, the unit circle and
slope.
tan x = sin x = slope of the line from the origin to P(x)
cosx
b) An exponential function is defined by the expression of the form f (x) = bn where b
is a fixed positive number, called the base. Each of the expressions
z
x t 1 x
2 , 4 , , and e
2
defines an exponential function. Each of the following
larger the value of b, the faster b x increases. Every graph of the form f (x) = bn
passes through the point (0, 1). Exponential functions are monotone; that is they are
everywhere increasing or everywhere decreasing
.
c) A logarithm function is defined by an expression of the form f (x) = log b x
Each of the expressions
log 2 x, log 4 x, loge x
defines a log function with some base b . The log function with base e is called
the natural log function and is denoted by ln(x) or ln x. The log function accepts
positive inputs and outputs take all real values. Thus the domain for a log function is
(0, ) and the range is (- , ). Each graphs shape depends on the value of b.
These graphs rise more and more slowly as x increases. The graph of every log
function passes through the point (1, 0). Log functions are monotone. If b > 1, the
graph always rises and if 0 < b < 1, the graph always falls.
Logarithm and exponential function with base b are inverses of each other.
Specifically, each log graph is the reflection of the corresponding exponential graph
across the line y = x
Special Functions
f ( x) = 3n if n 1 < x n f ( x) = [[ x]]
0 if t < 0
y = 3 if 0 < x 1 2 x < 1 [[x]] = 2 U(t) =
y = 6 if 1 < x 2 1 x < 0 [[x]] = 1 1 if t 0
y = 9 if 2 < x 3 0 x < 1 [[ x]] = 0
y = 12 if 3 < x 4 1 x <2 [[ x]] = 1
2 x <3 [[ x]] = 2
12
1
9 2
6 1
-2 -1
3 0 1 2 3
0 1 2 3 4 5 -1
-2