MODULE 1 Basic Calculus EDITED
MODULE 1 Basic Calculus EDITED
I. Learning Objectives:
At the end of the module, the students are expected to:
define a piecewise function
evaluate a piecewise function; and
graph a piecewise function.
II. Discussion:
Piecewise Functions →If we want a function to behave differently depending on the x- values,
we need a piecewise function.
A piecewise function is a function in which more than one formula is used to define the
output over different pieces of the domain. We notate it like this:
𝑓𝑜𝑟𝑚𝑢𝑙𝑎 1 𝑖𝑓 𝑥 𝑖𝑠 𝑖𝑛 𝑑𝑜𝑚𝑎𝑖𝑛 1
𝑓(𝑥) = {𝑓𝑜𝑟𝑚𝑢𝑙𝑎 2 𝑖𝑓 𝑥 𝑖𝑠 𝑖𝑛 𝑑𝑜𝑚𝑎𝑖𝑛 2}
𝑓𝑜𝑟𝑚𝑢𝑙𝑎 3 𝑖𝑓 𝑥 𝑖𝑠 𝑖𝑛 𝑑𝑜𝑚𝑎𝑖𝑛 3
A piecewise function is just a function that uses more than one equation to describe its
behavior. When we graph piecewise functions, we are really graphing different pieces of
different lines.
which looks
like:
Example 1: Let’s do this for x = –6 and x = 4 (without using the graph). Here is the function
again:
Solution:
We first want to look at the conditions at the right first, to see where our x is. When x=– 6,
we know that it’s less than –2, so we plug in our x to 2 x+ 8 only. So f (x) or y is (2)(–6) + 8,
or – 4 . We don’t even care about the x 2. You can also see that we did this correctly by
using the graph above. Now try x=4. We look at the right first, and see that our x is
greater than –2, so we plug it in the x 2. (We can just ignore the 2x + 8 this time.) So f (x)
or y is 4 2 which is 16.
Page 2 of 5
The easiest way to think of them is if you drew more than one function on a graph, and
you just erased parts of the functions where they aren’t supposed to be (along the x’s);
they are defined differently for different intervals of x. So y is defined differently for
different values of x; we use the x to look up what interval it’s in, so we can find out what
the y is supposed to be.
Example 1: Construct a table of values with at least 3 values of x, then solve for y. Connect
the points.
So what this means is for every x less than or equal to –2, we need to graph the line 2x + 8, as if
it were the only function on the graph. For every x value greater than –2, we need to graph x 2,
as if it were the only function on the graph. Then we have to “get rid of” the parts that we don’t
need.
Remember that we still use the origin as the reference point for both graphs! See how
the vertical line x = –2 acts as a “boundary” line between the two graphs? Note that the point (–
2, 4) has a closed circle on it. Technically, it should only belong to the 2x + 8 function, since
that function has the less than or equal sign, but since the point is also on the x 2 graph, we
can just use a closed circle as if it appears on both functions.
Piecewise functions may be continuous (as seen in the example above), or they may be
discontinuous (having breaks, jumps, or holes as seen in the examples below).
Example 2a, 2b, 2c: Construct a table of values with at least 3 values of x, then solve for y.
Connect the points.
Page 3 of 5
Graphing piecewise functions https://www.youtube.com/watch?v=Uzw9tsGq2Pw
References:
Balmaceda, J. M. et al. (2016). Teaching guide for senior high school: Basic calculus.
Quezon City: CHED
A. Evaluate the following piecewise functions. Show your complete solution. (20 pts)
1. 2.
3. 4.
5. 6.
{
¿ 2 , x ≥5
7. f (x)= ¿−2 x ,−2≤ x <5
2
¿ 2−x , x <−2
evaluate:
Page 4 of 5
{
3 x +4 , x ←2
8. f ( x )= x −5 ,−2≤ x ≤ 2
2
5 , x >2
evaluate:
f (−1.5 )=¿ ¿
f ( 6.5 )=¿ ¿
Page 5 of 5