a welder earns $20 an hour for the first 40 hours she works in a week and $30 for every hour over 40 hours. Determine a piece wise function f(x) that can be used to determine the welder's earnings when she works for x hours in a week
@DangerousJesse @aum @zepdrix @kohai
A female welder? 0_o
XD Anyway let's seeeee... ummm..
Whooaa 0-o
If \(\Large\rm x\) is the number of hours she worked, Then she earns \(\Large\rm 20x\) during the first 40 hours. I guess another way we could think of this is, \(\Large\rm 20x,\qquad x\le40\) right? She's making 20 dollars per x, as long as x is less than or equal to 40 hours.
That would be our first "piece".
ok..
Hmm the second piece is a little harder. Let's, for a sec, assume she worked `exactly` 40 hours. How much money did she make?
\[30x, x >40\] is this the second one?
$800
This is what we have to be careful about with the second piece: 30x looks like she's earning 30 dollars an hour for ALL of the hours she's worked. But she's only supposed to earn 30 dollars for the hours ABOVE 40.
So when she works more than 40 hours, she earns that 800 dollars (from the $20 rate), and then 30 dollars per hour for the additional hours on top of that.
They made this problem as difficult as possible lol. It's gonna be a tricky one :)
springboard.... -_-
So your next thought might be "oh well then it's clearly 800+30x, right?"
But...
We still have the problem that we're paying her 30 dollars for ALL OF THE HOURS.
How can we fix that? c:
do we have to make it into its own parts?
Nahh, let's not try anything fancy like that. Let's think of some numbers really quick. If she works 41 hours, she earns the 800 from her previous rate `plus` 30 dollars for the next hour.
If she works 42 hours, she earns 800 plus 60 dollars, 30 for each of the 2 hours above 40.
So when she works 42 hours, she gets paid the 30 dollar rate for this many hours: \(\Large\rm 42-40\) Or we could generalize it and say that she's getting paid the 30 dollar rate when she works \(\Large\rm x-40\) hours.
What'dya think? too confusing? :c
ummm.. how would we put that into 1 equation?
x-40 doesnt make much sense to me
Well hold on, we're still trying to figure out the second piece. Then we'll just smoosh the pieces together once we have them.
alright c:
This is what we're thinking our second piece should look like:\[\Large\rm 800+30(\color{orangered}{x})\] But the orange x is the problem. It says ~ she's getting paid $30/hr for EVERY hour that she works~. So to fix that, we only want her to be paid $30/hr for every hour ABOVE 40. So we're subtracting 40 from our x value.\[\Large\rm 800+30(\color{royalblue}{x-40})\]Now she's only getting paid $30/hr for the hours above 40. Example: if we plug in x=3, 43-40 = 3 So she gets paid $30/hr for 3 of those 43 hours.
And then we specify that we're only using this piece when x is greater than 40 hours, \[\Large\rm 800+30(x-40),\qquad x\gt40\]
that makes sense! :)
So to create our piece-wise function, we just group the pieces together with the fancy curly bracket!
\[\Large\rm f(x)=\cases{20x, &x≤40\\ \rm 800+30(x-40), &x>40}\]Something like that, yah? :o
Aw did it come out as a bunch of "question mark boxes" on your screen also? D: Man I hate when that happens..
ya, but i know it meant less than or equal to
k cool c: Phew, finally done. Hopefully it made a bit of sense. I told ya this one was gonna be tough! D:
it did! thanks for helping :D
Join our real-time social learning platform and learn together with your friends!