1 Functions
1 Functions
Calculus I
2
Example 1:
• Verify the natural domains and associated ranges of some
simple functions. The domains in each case are the
values of 𝑥 for which the formula makes sense.
10
Graphs of Functions
• If 𝑓 is a function with domain 𝐷, its graph consists of the
points in the Cartesian plane whose coordinates are the
input-output pairs for 𝑓.
• In set notation. the graph is 𝑥, 𝑓 𝑥 |𝑥 ∈𝐷 .
• The graph of a function 𝑓 is a useful picture of its
behavior.
• If (𝑥, 𝑦) is a point on the graph, then 𝑦 = 𝑓(𝑥) is the height
of the graph above the point 𝑥.
• The height may be positive or negative, depending on the sign of
𝑓(𝑥).
11
12
Example 2:
• Graph the function 𝑦 = 𝑥 2 over the interval −2,2 .
• Solution:
• Make a table of 𝑥𝑦-pairs that satisfy the equation 𝑦 = 𝑥 2
• Plot the points (𝑥, 𝑦) whose coordinates appear in the
table, and draw a smooth curve through the plotted
points. Label the plot with its equation.
13
• Example:
• A circle cannot be the graph of a function since some vertical lines
intersect the circle twice.
• The circle, however, does contain the graphs of two
functions of 𝑥:
• the upper semicircle defined by the function 𝑓 𝑥 = 1 − 𝑥 2 and
the lower semicircle defined by the function𝑔 𝑥 = − 1 − 𝑥 2 .
16
Piecewise-Defined Functions
• Sometimes a function is described by using different
formulas on different parts of its domain.
• One example is the absolute value function:
Example 3:
Symmetry
• The graphs of even and odd functions have characteristic
symmetry properties.
Example 4:
23
Linear Functions
• A function of the form 𝑓(𝑥) = 𝑚𝑥 + 𝑏, for constants 𝑚 and
𝑏, is called a linear function.
• Here, 𝑚 represents the slope and 𝑏 is the intercept on the vertical
axis.
• The function 𝑓 𝑥 = 𝑥 where 𝑚 = 1 and 𝑏 = 0 is
• called the identity function.
• Constant functions result when the slope 𝑚 = 0.
Power Functions
• A function 𝑓 𝑥 = 𝑥 𝑎 , where 𝑎 is a constant, is called a
power function.
• There are several important cases to consider.
• 𝑎 is a positive integer
26
• For 𝑎 is negative
• For 𝑎 is a fraction
1 1
• The functions 𝑓 𝑥 = 𝑥 =
2 𝑥 and 𝑔 𝑥 = 𝑥 = 3 𝑥 are the square
3
Polynomials
• A function 𝑝 is a polynomial if
𝑝 𝑥 = 𝑎𝑛 𝑥 𝑛 + 𝑎𝑛−1 𝑥 𝑛−1 + ⋯ + 𝑎1 𝑥 + 𝑎0
where 𝑛 is a nonnegative integer and the numbers
𝑎0 , 𝑎1 , 𝑎2 , … , 𝑎𝑛 are real constants (called the coefficients of
the polynomial).
• All polynomials have domain (−∞, ∞).
• If the leading coefficient 𝑎𝑛 ≠ 0 and 𝑛 > 0, then 𝑛 is called
the degree of the polynomial.
• Linear functions with 𝑚 ≠ 0 are polynomials of degree 1.
• Polynomials of degree 2, usually written as 𝑝(𝑥) = 𝑎𝑥 2 + 𝑏𝑥 + 𝑐,
are called quadratic functions.
• Cubic functions are polynomials 𝑝(𝑥) = 𝑎𝑥 3 + 𝑏𝑥 2 + + 𝑑 of
degree 3.
30
31
Rational Functions
• A rational function is a quotient or ratio 𝑓 𝑥 = 𝑝(𝑥)/𝑞(𝑥),
where 𝑝 and 𝑞 are polynomials.
• The domain of a rational function is the set of all real 𝑥 for
which 𝑞 𝑥 ≠ 0.
32
Algebraic Functions
• Any function constructed from polynomials using
algebraic operations (addition, subtraction, multiplication,
division, and taking roots) lies within the class of
algebraic functions.
• All rational functions are algebraic, but also included are more
complicated functions
33
Exponential Functions
• Functions of the form 𝑓(𝑥) = 𝑎 𝑥 , where the base 𝑎 > 0 is
a positive constant and 𝑎 ≠ 1, are called exponential
functions.
• All exponential functions have domain (−∞, ∞) and range
(0, ∞), so an exponential function never assumes the
value 0.
34
Logarithmic Functions
• These are the functions 𝑓 𝑥 = log 𝑎 𝑥, where the base
𝑎 ≠ 1 is a positive constant.
• They are the inverse functions of the exponential
functions.
35
Combining Functions
• Like numbers, functions can be added, subtracted,
multiplied, and divided (except where the denominator is
zero) to produce new functions.
• If 𝑓 and 𝑔 are functions, then for every 𝑥 that belongs to
the domains of both 𝑓 and 𝑔 (that is, for 𝑥 ∈ 𝐷(𝑓) ∩ 𝐷(𝑔)),
we define functions 𝑓 + 𝑔, 𝑓 − 𝑔, and 𝑓𝑔 by the formula:
Example 5
• The functions defined by the formulas 𝑓 𝑥 =
𝑥 and
𝑔 𝑥 = 1 − 𝑥 have domains 𝐷 𝑓 = [0, ∞) and 𝐷 𝑔 =
(−∞, 1].
38
Composite Functions
Example 6:
• If 𝑓 𝑥 = 𝑥 and 𝑔 𝑥 = 𝑥 + 1, find:
a) 𝑓 ∘ 𝑔
b) 𝑔 ∘ 𝑓
c) 𝑓 ∘ 𝑓
d) 𝑔 ∘ 𝑔
42
Example 7:
• Adding 3 to 𝑥 in 𝑦 = 𝑥 2 to
get 𝑦 = 𝑥 + 3 2 shifts the
graph 3 units to the left
• Adding -2 to 𝑥 in 𝑦 = 𝑥 ,
and then adding -1 to the
result, gives 𝑦 = 𝑥 − 2 − 1
and shifts the graph 2 units
to the right and 1 unit
down.
45
Example 8:
• Vertical: Multiplying the right-hand side of 𝑦 =
𝑥 by 3 to
get 𝑦 = 3 𝑥 stretches the graph vertically by a factor of 3,
whereas multiplying by 1/3 compresses the graph by a
factor of 3.
48
Example 9:
• Given the function 𝑓 𝑥 = 𝑥 4 − 4𝑥 3 + 10, find formulas to
a) compress the graph horizontally by a factor of 2 followed by a
reflection across the 𝑦-axis.
b) compress the graph vertically by a factor of 2 followed by a
reflection across the 𝑥-axis.
50
• Solution:
a) We multiply 𝑥 by 2 to get the horizontal compression, and by −1
to give reflection across the 𝑦-axis. The formula is obtained by
substituting −2𝑥 for 𝑥 in the right-hand side of the equation for 𝑓:
𝑦 = 𝑓 −2𝑥 = −2𝑥 4 − 4 −2𝑥 3 + 10
= 16𝑥 4 + 32𝑥 3 + 10
b) The formula is
1 1 4
𝑦 = 𝑓 𝑥 = − 𝑥 + 2𝑥 3 − 5
2 2
51
Ellipses
• Although they are not the graphs of functions, circles can
be stretched horizontally or vertically in the same way as
the graphs of functions.
• The standard equation for a circle of radius 𝑟 centered at
the origin is
𝑥2 + 𝑦2 = 𝑟2
• Substituting 𝑐𝑥 for 𝑥 in the standard equation for a circle
gives
𝑐2𝑥2 + 𝑦2 = 𝑟2
52
Trigonometric Functions
• The number of radians in the central angle
A' CB' within a circle of radius 𝑟 is defined as
the number of ''radius units" contained in the
arc 𝑠 subtended by that central angle.
• If we denote this central angle by 𝜃 when
measured in radians, this means that 𝜃 = 𝑠/𝑟 or 𝑠 = 𝑟𝜃,
for 𝜃 in radians.
• If the circle is a unit circle having radius 𝑟 =1, we see that
the central angle 𝜃 measured in radians is the length of
the arc that the angle cuts from the unit circle.
• Since one complete revolution of the unit circle is 360° or
2𝜋 radians, we have 𝜋 radians =180°.
55
Trigonometric Identities
• The coordinates of any point 𝑃(𝑥, 𝑦) in
the plane can be expressed in terms of
the point's distance 𝑟 from the origin
and the angle 𝜃 that ray OP makes
with the positive 𝑥-axis.
𝑥 𝑦
• Since = cos 𝜃 and = sin 𝜃,
𝑟 𝑟
𝑥 = 𝑟 cos 𝜃 , 𝑦 = 𝑟 sin 𝜃
• When 𝑟 = 1, we apply the
Pythagorean theorem to the reference
right triangle and obtain the equation
cos 2 𝜃 + sin2 𝜃 = 1
64