Transcript
Hi. Okay. Hope you had a great spring break. Let's get going with our last unit, unit three. We're going to do a couple sections in chapter 4 and then we're going to finish it off by the entirety of chapter 6. So, let's get started with section 4.1. We're going to talk about linear functions and linear models. And we've been studying linear things. Yes, that's the line. We've we've done a few things with graphing and stuff with that. We certainly found the equation of plenty of lines. So let's look at the definition. A linear function is of the form f ofx is equal to mx plus b. Remember that y is equal to f ofx.
It's just a notation difference. But that means the output and the input, right? f ofx and y are outputs and x is the input. The m is the slope of the line. And that is how we get from one point to the next point on the line. And the b is the ycoordinate of the y intercept. Okay? So it will be 0 comma b. Now we've been talking about domain and stuff like that. The domain of a linear function is all real numbers. Now let's remember how we can check the domain when we're taking a look at it. We look from the left, right? When we look at the domain, we're talking about the x values. Remember, domain are x values.
We're going to look at the x values and we're going to go from left to right. So, we see an arrow head here on the left and an arrow head here on the right. That tells us that it's going from negative infinity to positive infinity. The range, remember, the range is the y values. In fact, that's the only thing we ever use y values for. is the range. And if we look starting from the bottom, we see an arrow head that tells us it's going to negative infinity. And the last thing we see following that line is an arrow head that tells us it's going to positive infinity. Even if it looks a little flat, if there's any skew to it at all, it's going to have the domain and the range here.
Now, there's an exception to those rules. If we take a look here at our horizontal line right here, this is our horizontal line. The domain of the horizontal line is negative infinity to positive infinity. But the range for the horizontal line is whatever that value is. We'll call that value B, right? So the range would just be the set of B. just just that that would be all that it would be right because no matter what x is f of x is equal to that same value which is b. All right. Now if we look at uh the the vertical line here this is vertical. The vertical line the domain is and we'll call this a.
The domain is just that value a because no matter what the y is, it is going to map here to this same a. Okay, so that means that the range when we look from the bottom to the top, the arrow head at the bottom tells us that's negative infinity and the arrow head at the top tells us it's positive infinity. Just some things to note. Um, also, you know, when we're going from one point to the next on a graph, let me just, um, draw a little one right here real real quick. Okay. All right. Let's say we've got these points along the line here, right? And to get from one point to the next, that's what the slope does.
The slope tells us the rise over the run, right? And the y the rise is the change in y and the run is the change in x. Okay, this is going to come back here in a couple of minutes. I'm just reminding you of a few things. Okay, so again, horizontal and vertical lines are special cases of the linear models. And horizontal lines, the equation for a horizontal line is always y equals whatever the y value is. So if we're given the point a comma b then the horizontal line is going to be y is equal to b and the slope is going to be zero and the vertical line going through that point is going to be x is equal to a and the slope is undefined.
Okay, let me talk about that real quick also with a couple more pictures. Let's do the horizontal line first. And we'll pretend like this is perfectly horizontal. I know that it isn't, but let's pretend. Now, remember that the slope is equal to the rise over the run. And if I want to go from one point to the next, here we're rising. m is I'm rising zero and I'm running over one. So, the slope is zero. Let's look at that vertical line real quick. Here's my vertical line. Give us a couple of points on our vertical line. All right. Now, if I want to do the slope on my vertical line and I want to go from one point to the next, I'm going to rise up one unit, but I'm going to run zero units.
And remember, you cannot divide by zero. And that's why the slope here is undefined. All right. I feel like we've talked about this before, but I'm going to talk about it again just in case I haven't. So, what we're going to do is look at graphing linear functions two different ways. And you always have the brute force method. Remember, you can always make a little T-chart and pick some values and fill out the T-chart and then plot the points. You can always do that. But when we have a linear function and that means that there's no power on the variable x, right? That's a linear function. There's no power on x.
It's x to the single power. We can graph it multiple ways, but we're going to talk about two. One is the slope and y intercept. If we know what the y intercept is and we know what the slope is, then if we know the slope and y intercept, then we we can plot the y intercept and use the slope, which is the rise over run to get to the next point. Okay, so that's one of the methods and then the other method is using two points, right? Which would require us to do some computation. Well, let's do both methods here. So let's look at this first one. Now I want to remind you that our equation is f ofx is equal to mx + b where m is equal to the slope not sloper sorry about that to the slope which is the rise over the run.
Okay. So, rise is up or down. And the run is always right. It's just the best way to do it. Okay. And then the B, remember the B is the y intercept. And that gives us the point 0 comma b. Okay. So when we're going to graph using the slope and y intercept, first you want to you want to identify those two things. So the first thing we know is our slope is -2. And we need to make that a fraction because we've got the rise over the run. And we can make any whole number a fraction by putting it over one. Okay? And then we also need to know what our start point is. That's what I like to call that y intercept, the start point.
And our start point here is going to be 0 and three. So, let me uh put some little hash marks on here. Okay. And we're going to first plot your start point. That's going to be your y intercept, right? And so our start point here is 03. And next, you're going to move the slope rise over run. Okay. Now here we're going to rise a -2 and we're going to run right one. So from my from my start point I'm going to rise a -2. So I'm going to go down -2 and I'm going to move over one to the right. That is my rise over my run. I like to do this twice because it's I got a better shot at drawing a straight line.
So from that new point I can also rise a -2 and run one. Now because this is handdrawn and all that none of this is going to look great but there we go. And there's our graph. Okay. So let's figure out over here. you take a minute and tell me what the slope or tell yourself what the slope and the start point is while I write up some little hash marks on my graph here. Okay. So, our start point is 0, -1. And our slope here is 2/3. So, we're going to rise two and we're going to run to the right three. So, and our start point is 01. So, I'll be at 0 and1. And I'm going to rise up two and run three.
Now, typically I would just go from there again, but let me show you. We could rise a -2 and run a -3, right? Or we could go -2 over -3, which would be down and left. Right now, it is up and right, but down and left. Negative and a negative still gives us a positive. So, I'm going to do that here. I'm going to rise a -2 and I'm going to run a -3. You see that all gives us that same line. And there we go. Yay. Okay, let's keep on going. Now, graphing using two points. Now, this isn't exactly making a T-chart, but this is a little bit tedious, but sometimes it's quick to do. Okay. Now we always if it is in slope intercept form we always know what one point is right off the bat right we get our start point we know what our y intercept is and the y intercept here is 01 and we have the slope 1 13 but here we're graphing using two points okay that's what I want you to do is to use two points here so let's choose a point now we could choose choose x is equal to 1.
But if we choose x is equal to one, then we're going to have to do some ugly fraction crap. And I don't want to do any ugly fraction crap. So what is the next number that we can actually choose x to be that would get rid of that fraction? Yeah, three. So I'm going to choose x is equal to three. And when I plug that in, h of 3, that's equal to/3 * 3 + 1. So that is 1 + 1 = 2. So we get the point 32. Now, now we just have to plot our two points, right? I believe I told you guys early when we started talking about lines that Uklid said back in like forever ago that it only takes two points to make a line.
So here we are our two points. Let's make our line. We have 01 and we have three 2. Okay. Awesome. So, I'll let you figure out the y intercept and figure out uh the other point. So, let you choose a value. You guys think about it. Of course, I'm probably not going to choose the same thing that you're going to choose. You could be a complete smarty pants and choose x is equal to 0 and then uh y is equal to zero and get both the intercepts but anyway. So what is the y intercept? 0 and -2. Awesome. Now let's choose a point. It doesn't really matter. I'm going to choose1. And when I do J of -1, that's going to give me -4 * -1 - 2, which is 4 - 2, which is 2.
And those are going to be my two points there. Got 0, -2, and the point1 and two. That guy. Okay, awesome. Let's keep on going. Now, if an equation is linear, then the slope is consistent, right? That's the way that's how come we can go starting at one point and rise this many and run that many and place a point and do it again and we can keep on doing that. So that shows us that the slope is consistent along a linear function along a line. To get from one point to the next point on that line is the exact same steps, the same number up and the same number over. Okay, that also connects to the average rate of change.
And I know we've talked about the average rate of change before, but I'm going to again reintroduce the average rate of change to you. Remember that the average rate of change is the the change in the y value over the change in the x value which happens to be the slope of the line. Okay, but we want to say the same kind of thing here. For something to be linear to have for it to be linear, the slope is the same over the entire domain. And the average rate of change is equal to the slope of the line. These are both true statements. Okay. Now, I'm going to have you look at this data a little bit differently, okay?
because we're sure we just graphed a couple of lines, but also um we're looking at something called linear modeling in this section. So, what I want to show you is what I teach my elementary math teacher in their class. I teach them something called second uh sums, right? And it's something that you can use when you're looking at patterns. And here I want you to determine whether or not the data points that I give you here are actually linear. Now you could plot these and see if they make a line. That's one way you could check to see if they were linear. But another way you could check to see if they are linear is you could check for the average rate of change between each one of these points.
Of course, that would be one calculation. two calculations to prove it. Okay. Um, another thing you could do is look at what I just mentioned, which is the second sums. And so, what I teach my teachers to notice, and this is what they teach kids to notice, is to look at the differences between these guys. So, to get from -2 to1, I added one. And to get from negative one to zero I added one. And in fact to get anywhere here I added one. That means that delta x that's the change in x is consistent. So we know right now that delta x is equal to one. Right? Let's look at the delta y. 13 to 10 we subtracted three.
10 to 7 we subtracted three again. 7 to 4 we sub subtracted three again. Four to one subtracted three again. So the change in y is -3. These are consistent. Therefore linear because the slope is -3, right? Or we could say the or we could say the average rate of change equals -3 for all. Okay, something like that. So let's look at this one. A strain of E. coli is placed in a petri dish at 30° Celsius and is allowed to grow. The data collected is in the following table. The population is measured in grams and the time in hours. Determine if this data is linear. Okay, so we could go through with this average rate of change.
You can totally see though here that this is + one. So we know delta x is equal to 1. Let's see what delta y is. Well to go to from.9 009 to2 that is 0.03 right? Go to 0 12 to 16. That's 0.04 right there. No need to look any further. No need to look any further. That's not constant. We can write up say not linear because we say deltay not constant. Right? Okay. So, let's have you do this one. Give you a couple minutes. I need to drink my water. Okay. So the next example says the data in the following table represents the maximum number of heartbeats that a healthy individual of different ages should have during a 15-second interval of time while exercising.
Determine if this data is linear. So let's look here. Looking at the delta x here, it's an add 10 each time and that looks consistent. So delta x is 10. Let's see what a delta y would be. 50 that is - 2.5, right? That would be minus another 2.5. That would be minus another 2.5. Yes, we can determine that delta y is equal to -2.5. So therefore linear because the average rate of change is consistent. And I don't think you're going to have to say why in your homework. And I honestly I haven't assigned the homework yet. Um and I will do that. But um it's nice for you to know why. And while we're paused here, let me give you today's silly phrase.
And it's the same one as last time. So don't think you're crazy. I got off on my phrases and I had to do double duty in grading the last sections phrases. So I I actually this is a repeat from the three point I think it's five or six whatever the last section was. I can't remember at the moment but this is it. The wind owes me answers. The wind owes me answers. Okay, let's see where we are now. All right, let's hit up this theorem here. A linear function f ofx is equal to mx plus b is increasing over the domain of the slope if the slope m is a positive value and it is decreasing if m is a negative value.
Now this is very very visual okay and you always have to do it in the same order that you read left to right okay if we look let's look at this first first line here looking from left to right are we going uphill or are we going downhill if we're going uphill the slope is positive and if we're going downhill the slope is negative negative. So this line here m is positive. And this second one as we look from left to right it's going downhill. So m is negative. Okay. So it really is all about the slope. So, let's determine in this next example which one of these are increasing or decreasing or constant.
And how will we know if they're constant? Well, they're increasing if m is positive. They're decreasing if m is negative. and it's a constant. Remember we did this in the last section when m equals 0. But remember a constant function is a horizontal line and m equals 0 on a horizontal line. Okay, so we just have to look here and quickly just go through here. Determine if the m is positive or negative. Remember that f ofx is equal to mx + b. So we're just looking at the coefficient of the x. This one's positive. So it is increasing. The next one is negative. It is decreasing. Now this one I wanted to here.
Let me erase that sloppiness. Now, this one I wanted to take a minute. That's why I wrote it like this because sometimes students have a hard time with this. So, let's break this out and let's look at this. Now, I just wrote it asx over 7, but notice that I have the negative out in front of everything here. Sometimes that confuses people when there's a variable. Remember that this can be rewritten as -x over 7. It could be also be written as x over -7 and it is also written as a negative on the outside of x over 7. Now how many x's do we have? We have one. So this could be -17th x. All the different ways I could write this.
Okay. So either way it's negative. Therefore it is decreasing. m= -3. There is no variable. When there is no variable, m is equal to zero. So that's constant. Okay. The next one, n of x is equal to 5 - 7x. Don't get keyed on to the first thing. Remember that the slope goes along with the x. Sometimes they're going to give it to you mixed up a little bit. So here it is decreasing because m is equal to -7. And then finally check this guy out. Okay. Now I'm only saying increasing or decreasing but I put this particular problem here also because I want you to see that this is also equal to this three belongs to both pieces of that numerator.
So this is also equal to 2 -2x over 3 + 1/3 which could also be written as -23 x + 1/3. But either way that guy is also decreasing because the slope is negative. Okay. All right. So, let's hit this up. So, we're given two functions f ofx and g ofx. And we're asked to do some things here. So, the first thing says solve f ofx= 0. And when people see this, sometimes they're confused. And what this means is solve f ofx= 0 means set your equation equal to zero and solve for x. Okay, so let's take a look here. We're going to take our equation. So, solve f ofx equals 0. So, I'm going to say 3x + 5 = 0.
We're going to solve that. 3x = -5 x= -5/3. Done. Okay. Part B says solve f ofx less than zero. Now remember, when it's equal to, you're going to get a unique answer. When it is an inequality, you're going to get a an interval as the answer here. So when we do this, we're going to say 3x + 5 is less than 0. Same steps here. 3x is less than -5. X is less than -53. And we're going to write that as an interval. If it's less than -53, it's pointing to the left. Right? So infinity is less than - 5/3 and - 5/3 is the biggest value it can be parentheses. Y'all doing all right? Okay. So here straightforward f ofx is equal to g ofx.
That means set equations equal to each other and solve for x. So that's going to be a unique solution again. So here we have 3x + 5 is = -2x + 15. Remember numbers on the left are our variables on the left, numbers on the right. So this looks like we'll have 5x is = 10 x is = 2. And then finally we're going to take f ofx greater than or equal to g of x. So 3 x + 5 greater than or equal to -2 x + 15. Moving this over is going to make this 5x greater than or equal to. Moving the five over there makes this 10. So x is greater than or equal to 2. That means the smallest value x can be is two. Biggest value it can be is infinity.
Okay, awesome. Little bit going back to unit one there, but there we go. Now, let's look at this particular graph here. Now, using this graph, we want to solve where is f ofx equal to g ofx. Okay. And we see that this this equation right here is f ofx. This one right here is g of x. And where f ofx is equal to g ofx is where the graphs cross. Right? Now when we asked to solve f ofx= g ofx up here we solved it algebraically and it was only the x answer and that's all we need here. So solving f ofx= g ofx that only happens when x is= to -2 because that's what this point is right. That's what this point is.
That's the x value and the y value. So x= -2. Now to solve f ofx is greater than g ofx. This is visual. This is visual, right? So this is our g of x. Just color it. And we want to know when is f ofx above g ofx. And we if we look here, f ofx is below. So this area right here from here on This is f ofx is less than g of x right because f ofx is not yellow and it is lower each value here is smaller than g of x. So where is f ofx greater than g of x? That is going to be a sorry brain not wanting to work a interval right. So where does f ofx is bigger than g ofx? Well it's all the way up here. These are all greater right?
So f ofx is greater than g ofx from x is -2 to infinity. It's visual, right? That's this piece right here. -2 to infinity. Because this is always going to keep on going. A line goes in that one trajectory, right? Rise, run, rise, run, rise, run forever and ever and ever. That's kind of visual. Anyway, okay. Um, I'm going to take a small break because this is going on for a bit and I need some more water. Okay. So, let's look at this linear modeling. Linear linear models occur when the average rate of change is consistent. And we know that the average rate of change is aka the slope. It has to be the same.
Um so that average rate of change provides the slope of the equation that can be used to model the relationship between two variables. Let's look at our example here. If a recycling company pays 52 cents per pound for aluminum cans, let P of X be the price paid and X be the pounds of aluminum. Okay, so first thing says find the average rate of change which is the slope between the two variables. Well, it's we've got price paid. So P of X equals the money and X equals the pounds, right? And so if it's 52 cents per pound, then the slope is going to be 52 cents per one pound. It was 52 cents per 2 lb.
It would we would write 52 cents over two. Here it says 52 cents per pound for aluminum. Now the second part says find the linear model that gives the price paid per pound. So P of X is equal to 0.52 * X. When it says give the model, it has to be of the form f ofx = mx + b and that b can be zero and in this case b was zero. The B would be something like um it costs $5 to get into the recycling center or something like that. That would be something that would be and I can't recall if I gave you one like that but um I think the next example I can kind of uh bring bring you around to it. Okay, our next example says the cost C in dollars to tow a car by the function.
So here I'm giving you the function C of X the cost to tow a car is 2.5x plus 85. So what that 85 is is that 85 is like the flat fee. It costs $85 for the tow truck driver to drive out to where you are and then it's $2.5 per mile that they tow the car. Okay, that's what this basically says here. So, it says where x is the number of miles. So, c of x is the total cost. And it doesn't hurt to write this down, honestly. It kind of helps you kind of keep the eye on the prize. So C of X is the money and X is the number of miles. Going back to some of the things that we talked about in very first chapter, very first unit.
This X is the independent variable and the C of X is the dependent variable. And to put it in even other words, we've got this is our input, the x is our input, and the c of x is our output. Sometimes it helps just think about it like that, especially when we start leaning towards word problems. Okay. All right. So, let's do this. I got my calculator here. I didn't mark any of this ahead of time. We know that that can sometimes be dangerous with me but let's just hope for the best here. So the part first part says what is the cost of a 40 mile toe? So the first part is asking us what C of 40 would be.
So that would be 2.5 * 40 + 85. And let me just let the calculator do that. It's kind of late so I don't want to. So that would be 185. So 185 to tow 40 miles. Okay. The next question asks if it costs $245, how many miles was it towed? So here it's asking for what is x when c of x = 245. That's the question there. So we'll go 2.5x + 85 is = 245. And let's just solve that. So, we'll move the 85 over. We've got 2.5x is equal to not trusting my brain60. And so, we get x is equal to 160 / 2.5 is 64. So 64 miles cost $245. Okay. Now the next one says you only have $150 uh I mean $150. How many miles can it be towed?
That's going to be the same as the last. I think they were probably the question was probably getting us to say that we could go less than or equal to 150 is what the plan is there. 150 minus 85 is 65. and 65 / 2.5 is 26. So, x is less than or equal to 26. So, you could tow it at most 26 miles. Okay. And I said, what's the domain of C of X? I would argue the domain of C of X is 0 to infinity or whatever your wallet will handle, right? Okay. And how about the range? What would the range be? Well, the minimum it is going to be is going to be 85 bucks to infinity. Okay. All right. Let's talk about supply and demand.
Okay. So a quantity supplied is is given as capital S of P is the amount of product that a company is willing to make available for sale at a set price. Oo a little extra T there at a set price P. So here notice that the input here input is price. Okay, the input when we're dealing with supply and demand is the price. Okay, so quantity demanded D of P is the amount of product that consumers are willing to purchase given the price P. Then there's something called the equilibrium price when the quantity supplied is equal to the quantity demanded. Um and then there is the equilibrium quantity and that is the actual point value of the uh price and quantity.
And that is also when the break even point happens where the price and quantity are at a a a at an even spot. And that happens when the revenue function uh is equal to the cost function. And then um so we're going to be dealing with uh all sorts of different kinds of functions, but the main ones that we want to the main idea that I wanted to point out here and I totally like totally slid by this, but we need to understand that revenue is the amount made from selling a product, right? And the cost is the cost of producing the product. And then profit is always going to be the revenue minus the cost and that's this whole point here.
Okay. All right. Let's do an example. So given the revenue and given these two revenue and cost functions here, the first asks us to find the profit function. P of X is always equal to R of X - C ofX. Always, no time will it ever be the other way around. It is always the revenue minus the cost. It's how much you're making minus how much it cost you to make that. Okay. So here P of X is equal to 8XUS and watch this cost function 4.5X + 17500. Be careful cuz we're subtracting this whole function here. You need to use parentheses the whole 9 yards here. Let's see. 8 - 4.5 = 3.5x -7500. Okay. So, you don't start making any money until this 17500.
So, that's basically like your overhead. That 17500 is like things like rent and and utilities and overhead like um salaries and uh insurance and just all sorts of things that have to be considered. Now it says find the break even point. Now the break even point happens when rx equals C of X. That's when that happens. So we'll have 8 X is equal to 4.5X + 17500. So this gives us 3.5x = 17500. So x is = to7500 / 3.5 gives us 5,000. So break even occurs at the sale of 5,000 units. Find R of X greater than C of X to determine the number of units to sell for a profit. So, we've got our 8 x greater than 4.5 x + 17500.
So, that's the exact same thing we had before. 3.5x greater than 17500. X is greater than 5,000. So must sell at least 5,000 units to make profit. Y'all, I know this is going long, but there was a lot of detail here. We're almost done. This is the last little little bit here, I think. Yes, this is the last little bit here. Okay, so there's something called straight line depreciation. First, you got to understand what depreciation is. And depreciation is a way that businesses take their assets, things that they own of value. Like um I had a business and I was shocked. I had to depreciate all sorts of things for tax value for tax purposes, right?
Like my office chairs and um the computers that I bought my employees and my computers and and just all these kinds of things. And what you do is you take the cost of that item and you determine how long that item's going to be useful for, right? Like a laptop, you know, might be useful for five years, might be useful for 10 years depending on what kind of business you're in. Or maybe software or a vehicle or a golf cart and who knows what it is, right? Any sort of thing that you spent money on for your business, you get to write off its depreciation. And depreciation is the value lost over time and use and stuff like that.
Okay? And so the depreciation is the cost of that thing divided by the number of and in this case we're talking years years of use out of this thing. So let's look at this example here. A company bought a fleet of new cars for $31,500 a car. The company chooses to straight line depreciate the assets over the next seven years. Okay? And this is this is a specific kind of depreciation. Usually depreciation doesn't go straight line. You got a little bit more involved there, but we're just talking straight line depreciation. So first we need to find the depreciation. And the straight line depreciation is the cost per car over the number of years.
So here our depreciation is going to be 31500 / 7. That gives us 4500. And because it's depreciation, this means that we lose $4500 per year in value of the car. That's what that means. Okay. Now, it says, write the linear function V that expresses the value of the car as a function of its age in years. Okay. So we're going to call this V of we'll use X. So the value is -4500 * X plus Yes. Plus the original value of the car. We got to know what the original value of the car is. 4500 less than what from the original value of the car. Then it asks us what's the value after 3 years. Well, yeah. V of 3.
That makes sense. 4500 * 3 + 31500. Let's see what that is. um 39500US 3500 = 3 that gives us 18,000. So V of 3 = 18,000 value after 3 years. Okay. Then it says interpret the slope. Here the interpretation of the slope is uh lose $4500 per year. Then it finally says when will the value be 9,000? So at this point we're going to set our value equation -400x + 31 500 = 9,000 and we'll do the math. So this gives us -4500x is equal to when I subtract that over we get -22500. So x is equal to five five. After five years, the car's worth is 9,000. Okay. And I think that gets us to the end. We did it.
Yay. All right. Have a good day.