Drawing piecewise defined functions

in #steemiteducation7 years ago

One of the quirky aspects of functions is they don't have to be defined by just a single expression, nor do they have to be continuous. They can be a combination of 2 or more expressions, and those expressions don't even have to be unique.

For example, let's take a look at the function...

a1.png

At first glance, it looks like we can simplify this equation as the numerator is the difference of 2 squares. And thus...

a2.png

So it looks like out chart is going to be a simple straight line, right?...

Or is it?

What happens at x = 2? The denominator in the original equation equals 0.

What is division by 0? Division by 0 in mathematics is undefined, and as such, the function at x = 2 is also undefined. So we have a "hole" in the function at this point.

Graphically, we draw this function as follows...

a5.png
Figure 1.
Created with: www.desmos.com/calculator

And hence, the function can be written or interpreted as...

a6.png

Or y = x + 2 everywhere, except for when x = 2, where we have a point discontinuity. We have one piece (y = x + 2) to the left of the discontinuity, and we have another piece (y = x + 2) to the right of the discontinuity.


Let's have a look at graphing another piecewise defined function. For example...

a7.png

Now, when we overlay the two functions, we have the 2 functions intersecting each other...

a10.png
Figure 2.
Created with: www.desmos.com/calculator

Now, at x = -1, we are told that y = 2 + (-1) = 1 according to the prescribed conditions. Thus we have a function that is defined for the domain...

a13.png

Applying the conditions, we can plot the piecewise defined function as follows...

a12.png
Figure 3.
Created with: www.desmos.com/calculator

The function shown in Figure 3 is what we call piecewise continuous, since we can draw the entire function without metaphorically lifting the pencil or pen off the sheet. However it is not a smooth function since it has a clear edge at x = -1.


Here's a list of posts created so far on the topic of Functions:

  1. Drawing piecewise defined functions

Please give me an Upvote and Resteem if you have found this tutorial helpful.

Please ask me a maths question by commenting below and I will try to help you in future videos.

I would really appreciate any small donation which will help me to help more math students of the world.

Tip me some DogeCoin: A4f3URZSWDoJCkWhVttbR3RjGHRSuLpaP3

Tip me at PayPal: https://paypal.me/MasterWu

Coin Marketplace

STEEM 0.21
TRX 0.13
JST 0.030
BTC 66750.09
ETH 3474.88
USDT 1.00
SBD 2.80