##### Like what you saw?

##### Create FREE Account and:

- Watch all FREE content in 21 subjects(388 videos for 23 hours)
- FREE advice on how to get better grades at school from an expert
- Attend and watch FREE live webinar on useful topics

# Domain Restrictions and Functions Defined Piecewise - Problem 2

###### Norm Prokup

###### Norm Prokup

**Cornell University**

PhD. in Mathematics

Norm was 4th at the 2004 USA Weightlifting Nationals! He still trains and competes occasionally, despite his busy schedule.

Let's graph another piecewise defined function. Here we have g(x) equals -3 for x between -4, and 0. 4x minus 3 for x between 0, and 2. 10 over x for x between 2, and 5.

Let's first get ourselves acquainted with the function by computing some values. G(-4). -4 falls into this interval right at the end point. So I'm going to use this definition for g(-4). It's -3.

G(0) falls into the center definition, because x equals 0 here. So it's 4 times 0 minus 3, also -3. G(2) well, 2 is the left end point of this interval, so g(2) is going to be 10 over 2 which is 5. G(5), 5 is the other end point of this interval. We'll get 10 over 5 which is 2.

Let's graph this function, starting with the -3 part which is for x between -4, and 0. Now notice that we're not going to include this right end point, x equals 0 just from -4 up to, but not including 0. So -3 is going to be about here. We'll start at -4, and we'll go to the right. So this is my point -4, -3. Then we have an open circle here.

The second part is this 4x minus 3 part. Well this has a y intercept of -3, and a slope of 4. We're going to go for two units, and stop just short of 2. So this piece actually starts here. So it fills in the hole, it's got a slope of 4, so it goes up 4 over 1. Up 4 over 1. So it stops at the point 2, 5. This point here. Actually that should be open 2, 5. I'll just draw the line connecting those two points. It looks like this.

Finally, the third piece. We've already discovered that g(2) is going to equal 5. So the third piece actually starts where the second piece left off. It's a 10 over x graph. This is like a vertically stretched version of the y equals 1 over x graph. So we're going to get this kind of hyperbola shape between x equal 2, and x equals 5. So a little piece of it. So it starts up here at 2, 5 , and it ends at 2, 3, 4, 5 , 2, because that's the point we plotted. It will look something like this. That's our graph. We just put 5, 2 here. That's our graph in the piecewise function.

Now, an interesting question to ask is what's the domain and range? So I'm going answer this over here. Now the domain you can tell when you're looking at a piecewise function what the domain is immediately, because it's the combined set of numbers that goes from -4 to 5. The interval from -45. That's your domain.

What's the range? Let's take a look at the graph. The range is the set of y values that we get out of this graph. It goes as low as -3, and as high as 5, and it includes 5. So the range is going to be from -3 to 5. That's our domain and range, and that's our function y equals g(x).

Please enter your name.

Are you sure you want to delete this comment?

###### Norm Prokup

PhD. in Mathematics, University of Rhode Island

B.S. in Mechanical Engineering, Cornell University

He uses really creative examples for explaining tough concepts and illustrates them perfectly on the whiteboard. It's impossible to get lost during his lessons.

Thiswas EXCELLENT! I am a math teacher and have been looking for an easy/logical way to explain the lateral area of a cone to my students and this was incredibly helpful, thank you very much!”

I just learned more In 3 minutes of polygons here than I do in 3 weeks in my math class”

Hahaha, his examples are the same problems of my math HW!”

###### Get Peer Support on User Forum

Peer helping is a great way to learn. Join your peers to ask & answer questions and share ideas.

##### Sample Problems (3)

Need help with a problem?

Watch expert teachers solve similar problems.

## Comments (1)

Please Sign in or Sign up to add your comment.

## ·

Delete

## Austin · 4 months, 3 weeks ago

you guys should do a video on the different (Piecewise) functions and what their graphs all look like