Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Piecewise Defined Functions: Understanding and Graphing, Study Guides, Projects, Research of Advanced Calculus

Piecewise defined functions, which are functions described using a combination of equations and intervals. Two examples are provided, and the concept of absolute value function is introduced. The document also includes exercises to practice finding values and graphing piecewise defined functions.

Typology: Study Guides, Projects, Research

2021/2022

Uploaded on 09/27/2022

esha
esha 🇺🇸

3

(1)

224 documents

1 / 7

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Piecewise Defined Functions
Most of the functions that we’ve looked at this semester can be expressed
as single equation. For example, f(x) = 3x25x+ 2, or g(x) = x1, or
h(x) = e3x1.
Sometimes an equation can’t be described by a single equation, and instead
we have to describe it using a combination of equations. Such functions are
called piecewise defined functions, and probably the easiest way to describe
them is to look at a couple of examples.
First example. The function g:RRis defined by
g(x) =
x21 if x0;
x1 if 0 x4;
3 if 4 x.
The function gis a piecewise defined function. It is defined using three
functions that we’re more comfortable with: x21, x1, and the constant
function 3. Each of these three functions is paired with an interval that
appears on the right side of the same line as the function: x0, and
0x4, and 4 xrespectively.
If you want to find g(x) for a specific number x, first locate which of the
three intervals that particular number xis in. Once you’ve decided on the
correct interval, use the function that interval is paired with to determine
g(x).
If you want to find g(2), first check that 2 is between 0 and 4. Therefore,
we should use the equation g(x) = x1, because x1 is the function that
appears on the same line as the inequality 0 x4. That means that
g(2) = 2 1 = 1.
To find g(5), notice that 5 is greater than 4. That means we should be
looking at the third interval used in the definition of g(x), and the function
coupled with that interval is the constant function 3. Therefore, g(5) = 3.
Let’s look at one more number. Let’s find g(0). First we have to decide
which of the three intervals used in the definition of g(x) contains the number
0. Notice that there’s some ambiguity here because 0 is contained in both the
interval x0 and in the interval 0 x4. Whenever there’s ambiguity,
choose either of the intervals that are options. Either of the functions that
1
pf3
pf4
pf5

Partial preview of the text

Download Piecewise Defined Functions: Understanding and Graphing and more Study Guides, Projects, Research Advanced Calculus in PDF only on Docsity!

Piecewise Defined Functions

Most of the functions that we’ve looked at this semester can be expressed as single equation. For example, f (x) = 3x^2 − 5 x + 2, or g(x) =

x − 1, or h(x) = e^3 x^ − 1. Sometimes an equation can’t be described by a single equation, and instead we have to describe it using a combination of equations. Such functions are called piecewise defined functions, and probably the easiest way to describe them is to look at a couple of examples.

First example. The function g : R → R is defined by

g(x) =

x^2 − 1 if x ≤ 0; x − 1 if 0 ≤ x ≤ 4; 3 if 4 ≤ x. The function g is a piecewise defined function. It is defined using three functions that we’re more comfortable with: x^2 − 1, x − 1, and the constant function 3. Each of these three functions is paired with an interval that appears on the right side of the same line as the function: x ≤ 0, and 0 ≤ x ≤ 4, and 4 ≤ x respectively. If you want to find g(x) for a specific number x, first locate which of the three intervals that particular number x is in. Once you’ve decided on the correct interval, use the function that interval is paired with to determine g(x). If you want to find g(2), first check that 2 is between 0 and 4. Therefore, we should use the equation g(x) = x − 1, because x − 1 is the function that appears on the same line as the inequality 0 ≤ x ≤ 4. That means that g(2) = 2 − 1 = 1. To find g(5), notice that 5 is greater than 4. That means we should be looking at the third interval used in the definition of g(x), and the function coupled with that interval is the constant function 3. Therefore, g(5) = 3. Let’s look at one more number. Let’s find g(0). First we have to decide which of the three intervals used in the definition of g(x) contains the number

  1. Notice that there’s some ambiguity here because 0 is contained in both the interval x ≤ 0 and in the interval 0 ≤ x ≤ 4. Whenever there’s ambiguity, choose either of the intervals that are options. Either of the functions that

these intervals are paired with will give you the same result. That is, 0^2 − 1 = −1 is the same number as 0 − 1 = −1, so g(0) = −1.

To graph g(x), graph each of the pieces of g. That is, graph g : (−∞, 0] → R where g(x) = x^2 − 1, and graph g : [0, 4] → R where g(x) = x − 1, and graph g : [4, ∞) → R where g(x) = 3. Together, these three pieces make up the graph g : R → R.

Graph of the first piece of g(x).

Graph of the first two pieces of g(x).

Graph of (all pieces of) g(x).

Absolute value

The most important piecewise defined function in calculus is the absolute value function that is defined by

|x| =

x if x ≤ 0; −x if 0 ≤ x. The domain of the absolute value function is R. The range of the absolute value function is the set of non-negative numbers. The number |x| is called the absolute value of x. For examples of how this function works, notice that | 4 | = 4, | 0 | = 0, and | − 3 | = 3. If x is positive or 0, then the absolute value of x is x itself. If x is negative, then |x| is the positive number that you’d get from “erasing” the negative sign: | − 10 | = 10 and | − 12 | = 12.

Graph of the absolute value function.

Another interpretation of the absolute value function, and the one that’s most important for calculus, is that the absolute value of a number is the same as its distance from 0. That is, the distance between 0 and 5 is | 5 | = 5, the distance between 0 and −7 is | − 7 | = 7, and the distance between 0 and 0 is | 0 | = 0.

Let’s look at the graph of say |x − 3 |. It’s the graph of |x| shifted right by

You might guess from the graph of |x − 3 |, that |x − 3 | is the function that measures the distance between x and 3, and that’s true. Similarly, |x − 6 | is the distance between x and 6, |x + 2| is the distance between x and −2, and more generally, |x − y| is the distance between x and y.

6.) Write the following numbers as integers: | 8 − 5 |, | − 10 − 5 |, and | 5 − 5 |. The function |x − 5 | measures the distance between x and which number?

7.) Write the following numbers as integers: | 1 − 2 |, | 3 − 2 |, and | 2 − 2 |. The function |x − 2 | measures the distance between x and which number?

8.) Write the following numbers as integers: |3 + 4|, | − 1 + 4|, | − 4 + 4|. The function |x + 4| measures the distance between x and which number?

9.) The function |x − y| measures the distance between x and which num- ber?