Chapter 1: Funtions and Graphs 1 / 42
Chapter 1: Funtions and Graphs
Course Name: Mathematics for Engineering
Chapter 1: Funtions and Graphs 1 / 42
Content
1. Review of Functions
2. Basic Classes of Functions
Chapter 1: Funtions and Graphs 2 / 42
Content
1. Review of Functions
2. Basic Classes of Functions
Chapter 1: Funtions and Graphs 3 / 42
Function
A function f is a rule that assigns to each element x in a set D exactly
one element, called f (x), in a set E .
The set D is called the domain of the function f .
The range of f is of all possible values of f (x) as x varies
throughout the domain.
Chapter 1: Funtions and Graphs 4 / 42
Function
Example 1
f : D −→ E
x 7→ y = f (x) = x 2
We refer to x as the independent variable and y as the dependent
variable, because it depends on x.
The domain is the set of all real numbers.
The range is the set of nonnegative real numbers.
Chapter 1: Funtions and Graphs 5 / 42
Function
Example 1
f : D −→ E
x 7→ y = f (x) = x 2
We refer to x as the independent variable and y as the dependent
variable, because it depends on x.
The domain is the set of all real numbers.
The range is the set of nonnegative real numbers.
Example 2
√
For the function f (x) = 3x 2 + 2x − 1, evaluate: f (−2), f ( 2)?
Chapter 1: Funtions and Graphs 5 / 42
Function
Example 3
For each of the following functions, determine the domain and range
1) f (x) = (x − 4)2 + 5
√
2) f (x) = 3x + 2 − 2
3
3) f (x) = x−2
Chapter 1: Funtions and Graphs 6 / 42
Graph
The graph of f is the set of all points (x, y ) in the coordinate plane
such that y = f (x) and x is in the domain of f .
The graph of f also allows us to picture:
The domain of f on the x−axis.
Its range on the y −axis.
Chapter 1: Funtions and Graphs 7 / 42
Graph
Example 4
The graph of a function f is shown.
Find the values of f (1) and f (5). What is the domain and range of f ?
Chapter 1: Funtions and Graphs 8 / 42
Graph
Example 4
The graph of a function f is shown.
Find the values of f (1) and f (5). What is the domain and range of f ?
f (1) = 3; f (5) = −0.7; D = [0, 7]; Range(f ) = [−2, 4]
Chapter 1: Funtions and Graphs 8 / 42
Representing Functions
There are four possible ways to represent a function:
Algebraically (by an explicit formula)
Visually (by a graph)
Numerically (by a table of values)
Verbally (by a description in words)
Chapter 1: Funtions and Graphs 9 / 42
Representing Functions
The human population of the world P depends on the time t.
Chapter 1: Funtions and Graphs 10 / 42
Representing Functions
When you turn on a hot-water faucet, the temperature T of the water
depends on how long the water has been running.
Draw a rough graph of T as a function of the time t that has elapsed
since the faucet was turned on.
Chapter 1: Funtions and Graphs 11 / 42
Increasing and decreasing functions
Definition
A function f is called increasing on an interval I if for all x1 , x2 ∈ I :
f (x1 ) ≤ f (x2 ) when x1 < x2
We say f is strictly increasing on the interval I if for all x1 , x2 ∈ I :
f (x1 ) < f (x2 ) when x1 < x2
For example, the function f (x) = 3x is increasing on the interval
(−∞, ∞).
Chapter 1: Funtions and Graphs 12 / 42
Increasing and decreasing functions
Definition
A function f is called decreasing on the interval I if for all x1 , x2 ∈ I :
f (x1 ) ≥ f (x2 ) when x1 < x2
We say f is strictly decreasing on the interval I if for all x1 , x2 ∈ I :
f (x1 ) > f (x2 ) when x1 < x2
For example, the function f (x) = −x 3 is decreasing on the interval
(−∞, ∞).
Chapter 1: Funtions and Graphs 13 / 42
Even Function
Definition
If a function f satisfies:
f (−x) = f (x), for all x in D
then f is called an even function.
The geometric significance of an even function is that its graph is sym-
metric with respect to the y −axis. For example: y = x 2
Chapter 1: Funtions and Graphs 14 / 42
Odd Function
Definition
If a function f satisfies:
f (−x) = −f (x), for all x in D
then f is called an odd function.
The graph of an odd function is symmetric about the origin. For example:
y = x3
Chapter 1: Funtions and Graphs 15 / 42
Combining Functions
Two functions f and g can be combined to form new functions:
(f + g )(x) = f (x) + g (x)
(f − g )(x) = f (x) − g (x)
(f .g )(x) = f (x)g (x)
f (x)
( gf )(x) = g (x) , g (x) ̸= 0
(fo g )(x) = f (g (x))
Chapter 1: Funtions and Graphs 16 / 42
Quiz Questions
1) Let h(x) = f (g (x)).
If g (x) = x − 1 and h(x) = 3x + 2 then f (x) is:
a. 3x + 3 b. 3x + 4 c. 3x + 1 d. None of them
If h(x) = 3x + 2 and f (x) = x − 1 then g (x) is:
a. 3x + 3 b. 3x + 4 c.3x + 1 d. None of them
Chapter 1: Funtions and Graphs 17 / 42
Quiz Questions
2) If f and g are functions, then fo g = go f
a. True b. False
3)
(fo g )(2) is
a. 5 b. 1 c. 2 d. None of the others
Chapter 1: Funtions and Graphs 18 / 42
Question 1
Chapter 1: Funtions and Graphs 19 / 42
Question 2
Chapter 1: Funtions and Graphs 20 / 42
Question 3
Chapter 1: Funtions and Graphs 21 / 42
Question 4
Chapter 1: Funtions and Graphs 22 / 42
Question 5
Chapter 1: Funtions and Graphs 23 / 42
Question 6
Chapter 1: Funtions and Graphs 24 / 42
Question 7
Chapter 1: Funtions and Graphs 25 / 42
Content
1. Review of Functions
2. Basic Classes of Functions
Chapter 1: Funtions and Graphs 26 / 42
Linear Functions
When we say that y is a linear function of x, we mean that the graph
of the function is a line.
So, we can use the slope-intercept form of the equation of a line
to write a formula for the function as
y = f (x) = mx + b,
where m is the slope of the line and b is the y −intercept.
Chapter 1: Funtions and Graphs 27 / 42
Basic Classes of Functions
Power Functions
A function of the form f (x) = x a , where a is constant, is called a power
function.
Chapter 1: Funtions and Graphs 28 / 42
Basic Classes of Functions
Power Functions
A function of the form f (x) = x a , where a is constant, is called a power
function.
Polynomials
A function P is called a polynomial if
P(x) = an x n + an−1 x n−1 + . . . + a2 x 2 + a1 x + a0
where n is a nonnegative integer and the numbers a0 , a1 , a2 , . . . , an are
constants called the coefficients of the polynomial.
Chapter 1: Funtions and Graphs 28 / 42
Rational Functions
A rational function f is a ratio of two polynomials
P(x)
f (x) =
Q(x)
where P and Q are polynomials.
The domain consists of all values of x such that Q(x) ̸= 0.
Chapter 1: Funtions and Graphs 29 / 42
Trigonometric Functions
f (x) = sinx
g (x) = cosx
sin(x + k2π) = sinx; cos(x + k2π) = cosx, k ∈ Z
D = (−∞, ∞); R = [−1; 1]
sinx π 3π
tan x = , x ̸= ± , ± , ...
cosx 2 2
tan(x + kπ) = tanx, k ∈ Z
R = (−∞, ∞)
Chapter 1: Funtions and Graphs 30 / 42
Exponential Functions
The exponential functions are the functions of the form y = f (x) =
ax , where a is a positive constant. D = (−∞, ∞); R = (0, ∞).
Chapter 1: Funtions and Graphs 31 / 42
Logarithmic Functions
The logarithmic functions f (x) = loga x, where a is a positive constant,
are the inverse functions of the exponential functions.
Chapter 1: Funtions and Graphs 32 / 42
Piecewise-Defined Functions
Example:
Chapter 1: Funtions and Graphs 33 / 42
Tranformations of Function
Suppose c > 0
To obtain the graph of y = f (x) + c, shift the graph of y = f (x)
a distance c units upward.
To obtain the graph of y = f (x) − c, shift the graph of y = f (x)
a distance c units downward.
To obtain the graph of y = f (x − c), shift the graph of y = f (x)
a distance c units to the right.
To obtain the graph of y = f (x + c), shift the graph of y = f (x)
a distance c units to the left.
Chapter 1: Funtions and Graphs 34 / 42
Tranformations of Function
Chapter 1: Funtions and Graphs 35 / 42
Tranformations of Function
Suppose c > 1
To obtain the graph of y = cf (x), stretch the graph of y = f (x)
vertically by a factor of c.
To obtain the graph of y = (1/c)f (x), compress the graph of
y = f (x) vertically by a factor of c.
To obtain the graph of y = f (cx), compress the graph of
y = f (x) horizontally by a factor of c.
To obtain the graph of y = f (x/c), stretch the graph of y = f (x)
horizontally by a factor of c.
To obtain the graph of y = −f (x), reflect the graph of y = f (x)
about the x−axis.
To obtain the graph of y = f (−x), reflect the graph of y = f (x)
about the y −axis.
Chapter 1: Funtions and Graphs 36 / 42
Tranformations of Function
Chapter 1: Funtions and Graphs 37 / 42
Question 1
Chapter 1: Funtions and Graphs 38 / 42
Question 2
Chapter 1: Funtions and Graphs 39 / 42
Question 3
Chapter 1: Funtions and Graphs 40 / 42
Question 4
Chapter 1: Funtions and Graphs 41 / 42
Question 5
Chapter 1: Funtions and Graphs 42 / 42