Piecewise functions help?
A local store owner pays her employees time-and-a-half for overtime. That means for every hour an employee works more than 40 hours per week, the store will pay 1.5 times the regular hourly wage of $8.50. Part I: Write a piecewise function that defines the hourly wage for employees. Be sure to include pieces for employees who work 40 hours a week or less, and for employees who work more than 40 hours.
\[f(x) = \left\{ \left(\begin{matrix}8.5x, 0<x<40 \\ 12.75x, x>40\end{matrix}\right) \right\}\] Here is my answer (ignore the parenthesis. The signs in the top line should be "greater than OR EQUAL TO". Did I do it correctly?
\[\large f(x)=\cases{8.5x,\qquad 0\le x\le40\\ 12.75x,\qquad x>40}\]Yes, good :)
Yes, exactly. Now, the second part of the question is what I'm a little unsure about. Part II: Graph a piecewise function that illustrates an employee's hourly pay, W, as a function of the number of hours, h, that employee works.
Would the graph be a horizontal line at y = 8.5 from 0-40 along the x-axis, jumping to 12.75 after it reaches 40? Or... would I graph y = 8.5x as a line and then increase the slope when it hits 40?
Yes, the latter. Diagonal line y=8.5x, then steeper line later on.
Perfect, thanks. Now Part III: Determine how much an employee will be paid if he or she were to work 55 hours in a week. Would the equation be: 8.5(40) + 12.75(15) ?
Yes. Which now I realize we screwed up the first part. My bad my bad.
Do you see how it's constructed right now? It looks like you're getting paid 12.75 for EVERY hour, including the first 40.
:O oh no
Hmm. The instructions are a bit unclear... do they only pay 12.75 for hours worked in addition to the 40?
Yes. If you work 50 hours, you don't get 50(12.75), you get the base pay 40(8.50) and 10 hours at the bonus rate 10(12.75)
Can you think of a way we could write this an an equation? :d
Expression*
8.5(40) + 12.75(x) maybe? would that go inside the squigglies {} ?
Ooo very close! But again, if we work 50 hours, plugging in x=50 causes a problem, ya?
Aha! 8.5(40) + 12.75(40 - x) eh?
Aha, even closer!\[\large f(x)=\cases{8.5x,\qquad\qquad\qquad\qquad\qquad\quad 0\le x\le40\\ 8.5(40)+12.75(x-40),\qquad x>40}\]
Awesome sauce! Thanks for catching that. Like a ninja. Alright, for part III I would just plug 55 in for x, correct?
Yes, which should simplify to what you had before, 8.5(40) + 12.75(15)
Which would give me $531.25 as an answer? and that's what she earned in a week, right?
Probably... They forgot to mention that she shadows as a drug dealer in the evenings. I think they forgot to include those hours. She's just trying to keep food on the table for her babies Bobby and Davey. It's a rough life out there. She'll make it though. Especially since John left her. It's all she can do to keep the bad thoughts from coming back... stay busy Suzy. You're gonna be ok.
Hmmmmm. Can we back up a sec to part II? The graph part? It would start at the point (0, 0) then the slope would be 8.5... the graph they gave me to plot it on doesn't fit... take a look
Hahaha you're wacked.
And delirious.
But hey, at least you're helpful! ;)
She funna git dat skrilla @agent0smith ya meeaaan?
I see arrows on the sides of the graph. Is it stretchable?
Look at the axis... the y-axis goes up to 15 and the x-axis goes up to 60. What the heck.
No lol, it's a worksheet I printed out.
The x-axis is a-okay. They didn't give us anything to worry about past 55 hours.
Then I guess you'll have to relabel the graph :) Scribble out the 10 and write something else like uhhh
This isn't for the 55 hour example, it just says: Part II: Graph a piecewise function that illustrates an employee's hourly pay, W, as a function of the number of hours, h, that employee works.
For real? :O
I wonder sometimes about this course...
lol
8.5(40)=340 maybe that's a good value for the 10. And then break that into 5 pieces. So each little tick mark will be 68s.
Okay, done. I don't get how SOMEONE wouldn't have caught something as obvious as that though... -___-
:( http://www.wolframalpha.com/input/?i=f(x)+%3D+%7B8.5x,+0%3Cx%3C40;+12.75(x-40)+%2B+340,+x%3E40%7D
I don't know how to put a piecewise into wolfram :\ sec checking...
Ah, it's okay. I think I have it from here.. thanks for all the excellent help x)
Thanks zepppy ! :)
Dis gurl cray cray
I know you're not talking about me agent *raises eyebrows*
Ya simmer down Angel
Ayo CYT @Abbles, put dem eyebrows back where they belong. I'm referring to the drug dealin' gurl in the question. Her babies finna end up motherless some day.
Hahahahaha xD. omg I'm laughing so hard.
I wasn't sure CYT was okay to spell out here. The other day i got a warning for using the a** word for the human posterior.
Haha, probably not. I got banned the other day for supposedly posting a test question (not true, but whatever). Out of curiosity, what math question prompted the use of a**? lol
I don't remember, I just know it was an entirely appropriate use of the word.
Join our real-time social learning platform and learn together with your friends!