| {{ 'ml-lesson-number-slides' | message : article.intro.bblockCount }} |
| {{ 'ml-lesson-number-exercises' | message : article.intro.exerciseCount }} |
| {{ 'ml-lesson-time-estimation' | message }} |
Here are a few recommended readings before getting started with this lesson.
Mark always likes to have cans of his favorite soft drink in the refrigerator so that he can enjoy a cold drink whenever he wants.
At the beginning of the week, he had 11 cans in the fridge. Over the week, Mark wrote down each time cans were consumed or added.
A piecewise function f is shown below. For every given value of x, find the correct value of f(x). Round the result to two decimal places, if necessary.
When graphing a piecewise function, each piece must be considered separately. First, a piece is graphed for the values of its domain. Then an end — or ends — of the piece are marked with one of the following.
The first piece is f(x)=4x+6. This is a linear function written in slope-intercept form. The function can be graphed by using the y-intercept and the slope.
Now, since the function is limited to inputs less than or equal to -1, the line will be graphed until it reaches x=-1. Since the inequality x≤-1 is non-strict, the function is defined for x=-1 and the circle will be closed.
A similar process can be repeated to graph the second piece f(x)=-x+3. First, the line will be graphed.
This piece is defined for values of x greater than -1. This means that the line will be drawn starting at x=-1. Also, since the inequality is strict, the circle will be open.
Finally, the pieces will be graphed together in the same coordinate plane to complete the graph. It is important to pay attention to the limit points, since each value of x must be assigned to only one value of the function.
The second piece of the function is the horizontal line f(t)=15. Also, since the inequality is non-strict, the circle at t=6 will be filled.
Now, the x-intercept can be used to graph the third and final piece. From Part A, it is known that the x-intercept is 7.5.
Finally, the graph of the piecewise function is completed.
As a summer activity, Tearrik participates in charity events for his community. He is volunteering for a food drive event this weekend.
He went to a shopping center multiple times over the week to collect boxes of food for the food drive. On each day, he collected the following number of boxes.
f(x)=⎩⎪⎪⎪⎪⎪⎪⎪⎪⎪⎨⎪⎪⎪⎪⎪⎪⎪⎪⎪⎧0,5,8,10,13,17,if 0≤x<1if 1≤x<2if 2≤x<3if 3≤x<4if 4≤x<5if 5≤x<6
Day | Collected Boxes | Boxes in Total | x | f(x) |
---|---|---|---|---|
Sunday | - | 0 | 0≤x<1 | 0 |
Monday | 5 | 0+5=5 | 1≤x<2 | 5 |
Tuesday | 3 | 5+3=8 | 2≤x<3 | 8 |
Wednesday | 2 | 8+2=10 | 3≤x<4 | 10 |
Thursday | 3 | 10+3=13 | 4≤x<5 | 13 |
Friday | 4 | 13+4=17 | 5≤x<6 | 17 |
Since step functions are piecewise functions, to graph them, each piece must be considered separately. First, each piece is graphed in its domain as a part of a horizontal line. The end or ends are then marked with one of the following.
The first piece is defined over the interval 0≤x<2. This piece will be graphed by drawing a horizontal line at y=1 from x=0 to x=2.
It can be noted that x=0 is included in the domain of the first piece, but x=2 is not. Therefore, the left end of the segment will be marked with a closed circle and the right end with an open circle.
Then, the same process is repeated for each piece of the function.
Zain is working as a server in a restaurant for a week before their summer vacation ends.
Most of their payment comes from the tips they receive. Zain made note of how much they received in tips, starting from Monday and through their last day working on Saturday.
Day | Tips Received | Total Tips | x | f(x) |
---|---|---|---|---|
Sunday | - | 0 | 0≤x<1 | 0 |
Monday | 49.50 | 0+49.50=49.50 | 1≤x<2 | 49.50 |
Tuesday | 38.17 | 49.50+38.17=87.67 | 2≤x<3 | 87.67 |
Wednesday | 41.45 | 87.67+41.45=129.12 | 3≤x<4 | 129.12 |
Thursday | 58.33 | 129.12+58.33=187.45 | 4≤x<5 | 187.45 |
Friday | 60.55 | 187.45+60.55=248.00 | 5≤x<6 | 248.00 |
Saturday | 57.00 | 248.00+57.00=305.00 | 6≤x<7 | 305.00 |
The next piece is the horizontal segment at 49.50 with a closed endpoint at x=1 and an open endpoint at x=2.
The remaining pieces can be added to the graph by following the same process.
Considering more values can help understand how to draw the graph of the function.
x | f(x)=⌊x⌋ |
---|---|
-1 | -1 |
-0.75 | -1 |
-0.5 | -1 |
-0.25 | -1 |
0 | 0 |
0.5 | 0 |
1 | 1 |
1.25 | 1 |
1.75 | 1 |
1.99 | 1 |
2 | 2 |
From the table above, it can be seen that the function only changes its value when a new integer is reached. It can be noted that the greatest integer function is a step function. Its graph is presented as follows.
The domain of the function is the set of all real numbers, but its range is the set of integers. A filled point indicates that the point is part of the graph, while an open point indicates that it is not.Dominika is going to a movie at a local theater on her last day of vacation.
The cost to park in the theater lot is $10 for less than an hour. An additional $2.50 is charged for each hour of parking.
f(x)=2.5⌊x⌋+10
Next, since the greatest integer function is multiplied by 2.5, each value of y is multiplied by 2.5, vertically stretching the spaces between each horizontal segment.
Then, since 10 is added to the product, each segment is translated vertically 10 units up.
Finally, the scope of the coordinate plane will be adjusted so that more steps of the graph can be seen.
During his summer vacation, Ignacio went to private math lessons. After learning about the greatest integer function, Ignacio was asked by his math tutor to graph the numbers y greater than or equal to ⌊x⌋.
Help Ignacio with his answer and graph the inequality y≥⌊x⌋.Graph the greatest integer function. Then, determine the solution set by shading the appropriate region.
The first step to graph an inequality is to graph the border function. The border function of the given inequality is given by the greatest integer function. This function is a step function whose output is the greatest integer less than or equal to the input x. Note that the inequality is non-strict, so the horizontal lines are drawn as solid lines.
Now a random point can be used to test which region satisfies the inequality. Any point that does not lie on the border function can be chosen. For this example, (2,0) will be used. Since the point does not satisfy the inequality, the region on the other side of the border function is solution set of the inequality. Finally, it is important to verify if the borders of the vertical segments between each horizontal segment are solid or dashed, to avoid confusion whether the points that lie on this line satisfy the inequality or not. To verify this, as with the initial solution region, a test point will be selected and substituted into the inequality. In this case, (1,0.5) will be used. Since the point does not satisfy the inequality, the vertical segments should be dashed.Finally, the following is the complete graph of the inequality that the teacher asked for.
At the beginning of this lesson, it was asked that a function for the number of soda cans in Mark's refrigerator be written. Mark starts the week with 11 cans in the fridge and then does the following.