Graphing Derivatives
Transcript
you've got a graph you're trying to graph the derivative what do you do well you're trying to measure slopes you can use a straight edge here to measure slopes but probably more importantly before actually trying to estimate slopes is to identify where the derivative is zero and where it's positive and where it's negative the derivative is zero where the tangent line is horizontal remember tangent lines are lines that approximate the Curve near any point on a smooth graph like this that doesn't have any Corners in it you can draw a tangent line for example take that point right there imagine zooming in closer and closer to that point what does the curve look like it looks more and more like a straight line you got to use your imagination there what straight line does it look like well approximately
this line here we could pretend that's the tangent line at that point it's got a positive slope the value of the derivative at that value of x which looks like it's about negative 2.9 or so is the slope of that green line that I just drew approximate where is the tangent line horizontal right about there and right about there at about x equals 2 over here and about x equals negative 1.03 or negative 1.4 right there
if you zoom in closer and closer to this point the Curve will look more and more like a horizontal line the tangent line is horizontal it's got a slope of zero if you zoom in closer and closer to this point the same kind of thing is going to happen the tangent line is horizontal slope of zero that means the value of the derivative function is zero the graph of the derivative at those values of x say about negative 1.4 and positive 2 is 0.
so for sure points close to there and there should be on the graph of your derivative when X is less than negative 1.4 the slope of this red graph is positive so the output of the derivative should be positive the derivative graph should be up here when X is between negative 1.4 and positive 2 the slope of the red curve is negative so the derivative graph should be negative in value down here and then when X is bigger than 2 the slope of the red curve is positive the outputs of the derivative should be positive so at the very least you should have negative positive values over here negative in here and positive over there
it does look like it's a cubic function and in fact it is I didn't make this graph as a cubic the derivative of a cubic is a quadratic whose graph is a parabola you could roughly sketch the derivative as a parabola looking about like that if you want more Precision yes just go ahead excuse me and estimate these slopes take this line extended so that X increases by one unit approximately from negative 2.9 right there to negative 1.9 right there so the change in X along this right triangle here that I'm drawing is one that's one unit of distance right there what's the change in y well second chord into this point to Second coordinate at this point in the tangent line
second coordinate there looks like it's about 0.7 second coordinate here looks like it's about three three minus 0.7 is 2.3 the rise of this green line is about 2.3 2.3 over 1 rise over run is 2.3 the slope is about 2.3 the value of the derivative when X is negative 2.9 is close to 2.3 right around [Music] here or so would be a point on the derivative and we could do more measuring of slopes to try to get more Precision if you do so and connect the dots in a smooth way to make it look like a parabola it looks about like this where is it where is the slope of the red graph most negative
if you're going to eyeball it it looks to me like it's right about there in fact that's that's where the graph the red graph changes from concave down looking like part of a frown to concave up looking like a smile right around there approximately is where the red graph has the most negative slope what is that slope we could draw a tangent line try to estimate change in y over change in x looks like it's negative I don't know 0.7 or so negative 0.8 If X increases by one this tangent line decreases by about from about 1.7 to about one negative point seven so the value of the derivative should be close to negative 0.7 somewhere right around there which seems reasonable
and then make your graph continue to be look like a parabola it looks about like this so that would be a pretty good graph of the derivative worth pull credits some of you got close but you made weird squiggles over here for example and got then you got maybe five out of six instead of six out of six some of you had the signs wrong in various spots and maybe got two out of six or three out of six okay this is something to get better at for sure that's the kind of problem will show up on the final exam what function was this I did happen to have a particular function here is this function
kind of a weird looking function one tenth times X plus 3 times x minus two quantity squared plus 0.5 happen to be the function that gives you this graph what is an expanded formula for that that function there it is that's the function whose derivative we were trying to draw there let's get a little practice with the power rule and linearity to actually take the derivative of this thing by hand as well here so we've got the function f of x
I'm going to write it in our usual way where the highest degree is first one tenth X cubed minus 1 10 x squared minus four fifths X plus 1.7 is 17 10. remember what the power rule says the power rule says if you want to take the derivative okay that's called D DX notation this just means take the derivative of x to the N power I haven't shown you this notation yet by itself D DX means take the derivative with respect to X of whatever that thing is the power rule says the answer is n times x to the N minus 1.
linearity says hey if you've got a bunch of functions that are being added and subtracted with some constants you keep the constants like the one-tenths and the four-fifths there take the derivative of each of the other functions and form a new linear com same linear combination except again you take the derivatives of each piece meaning take the derivative of x cubed take the derivative of x squared take the derivative of x and take the derivative of one if you want to think of there as being a times 1 there which is X to the zero power so the derivative here is going to be keep the one tenth there one-tenth times use the power rule now with X cubed n is 3 so you get times three x to the 3 minus 1 power 3x squared
with the next term make it a minus one tenth keep that there the derivative of x squared use the power rule again with n equal to 2 is going to be 2 times x to the two minus 1 power 2 minus x to the first of course being a first Power you don't actually need to write it minus four-fifths this is an x to the first Power there n is one bring down the one subtract one from the exponent write x to the zero but that's a one as well and then yeah I mean if you want to think of one as being a power as x to the zero you can n is zero here you'd get zero times x to the negative one which is zero the derivative of a constant is zero you don't need to do those extra thought processes you can just say hey Seventeen tenths one point seven is a constant its derivative is zero when you add zero it nothing changes so you don't even need to write plus zero but I did
so this becomes three tenths x squared minus one fifth x minus four-fifths that is the derivative and we can check that with Mathematica yep going reverse there look down there three tenths x squared minus X over five is the same as minus one fifth x minus four-fifths that is the derivative and we could graph that and I did graph that in Mathematica here there's the graph the original graph is now in blue there's the derivative in red looks pretty close to what I drew by hand when we get to chapters three and four we're going to want to use derivatives to help us sketch more complicated kinds of functions and also apply to real life problems
how do you do that you can use this derivative this quadratic function that is the derivative of the cubic function to figure out for example where the cubic function has a slope of zero set the derivative equal to zero and solve for x let's do that and let's even do it completely by hand because it's a quadratic I can use the quadratic formula set this equal to zero and solve for x of course there's fractions in there you might want to get rid of the fractions to make it feel simpler and that's certainly okay to do excuse me this is the derivative but because I'm setting it equal to zero to solve the resulting equation I can go ahead and multiply everything for example by 10 to get rid of the fractions
so I multiply everything by 10 there are the 10 cancels I get 3x squared multiply this by 10 I get minus 2x right because 10 times one-fifth is 2. multiply 4 5 by 10 I'm going to get eight so it's a minus 8. that's not the derivative but it equals zero at the same place where the derivative equals zero so when I'm trying to figure out where the derivative is 0 I can solve this equation instead which is a little simpler to think about you could try factoring it and it showed me if 2 is that exact root of this it should be factorable let me just go ahead and see if I can Factor it let's see if it choose an exact root um you'd have to have a 3X and an X in there uh let's see here
maybe a minus Two and A Plus One will that work or maybe a well okay I think this is maybe not gonna work minus two yeah this looks like it's not gonna work okay let's use the quadratic formula maybe I'm wrong but let's play it safe with the quadratic formula negative B B is negative two so negative B is positive two plus or minus square root of B squared negative 2 squared is 4 minus 4 times 3 times C is negative eight all over 2 times a is two times three Right double check that in your mind negative B plus or minus B squared minus four a c over 2A
2 over 2 times 3 is the same as one-third the twos cancel plus or minus 1 6 what is the square root well 4 negative four times three times negative 8 is the same as positive what uh 96 add four to that get positive 100 square root of 100 is 10 10 6 is four thirds excuse me Five Thirds one-third plus or minus five thirds actually two is an answer two and negative four thirds looks like the roots so so this could have been factored as three X plus four and x minus two yes okay
you can double check that foil this out 3x times x is 3x squared outside times outside is negative 6X inside times inside is positive 4X negative 6X plus 4X is negative 2X and then last times last is minus eight that's zero when X is 2 this is zero when X is negative four thirds those are the two values of x where the derivative is zero two and negative four-thirds this is not negative 1.4 there it's actually negative 1.3 repeating is actually what that is but I wouldn't expect you to be able to tell that just looking at the picture that's where the derivative is zero that's where the tangent line of the red graph has a slope of zero
if you graph this derivative this quadratic you will get a graph that looks like this green graph it is positive over here negative and here and positive over here we could also find the so-called second derivative with this the second derivative is the derivative of the derivative I've mentioned this before f double Prime of x by definition is f prime prime take the derivative of the derivative so we got to take the derivative of this thing not that thing listen the derivative of
3 10 x squared minus one-fifth x minus four-fifths take the derivative I'll go ahead and use a prime in here of three tenths x squared and minus one fifth x minus four-fifths I'll put a prime there to indicate that I want to take the derivative of that inside the parentheses here this is f Prime of X and I'm taking its derivative once again use linearity in the power rule three tenths times the derivative of x squared is 2X minus one-fifth times the derivative of x is one the derivative of minus four-fifths is zero this then simplifies to six tenths X which is three fifths X minus one-fifth that's the second derivative what is the second derivative telling you about the original function
that's exactly right when F double Prime the second derivative is positive the original graph is concave up looks like a smile or part of a smile when F double Prime is negative the original graph is concave down looks like a frown or a part of a frown in frown They Ride y I'll come back to that if I set this equal to zero and solve for x I get three fifths x equals one-fifth and multiply both sides by Five Thirds that means X is one-fifth times Five Thirds which is one-third point three repeating
is the value of x where the second derivative equals zero excuse me that's where the red graph changes concavity from concave down to concave up that's one-third right there oops not the greatest picture but right around here 0.3 repeating one-third that's where the second derivative changes sine from negative to positive the original graph changes from concave down to concave about why well the second derivative is the derivative of the first derivative so it's telling you about slopes of the first derivative
those slopes of the green graph are negative over here and positive over here by the way the graph of the second derivative is going to look about like well like that that's the graph of f double Prime of x it's zero at one third oh I drew it wrong sorry it's zero at one third positive to the right of one-third negative to the left the green graph is negative in slope to the left of one-third and positive in slope to the right of one-third why is the green graph negative in slope to the left of one-third because the original graphs slope is decreasing say that again the derivative is going down when X is less than one-thirds
that's reflecting the fact that the slope of the tangent line for the red graph is going down it's a very large positive number here but it's getting smaller and smaller becomes zero right there and becomes negative and it's most negative right there when X is 1 3. that's where the slope the green graph is most negative then it becomes increasing the slope is increasing concave down means the slope is decreasing concave up means the slope is increasing question
if the slope of your graph is always positive for example a graph like this then the derivative is always going to be positive and valued and if that slope keeps getting bigger and bigger like this the derivative in fact will be an increase in function is always this one is you can draw graphs that are increasing but always come to you down as well like that these are fundamental things to know to work at if you don't get it means you need to work at it you can't expect to get math unless you put the time in okay you can't and this this includes people who are sitting here saying yeah I get it
well maybe you really don't when when the rubber meets the road you actually have to do a problem maybe you really don't get it you need to spend time with it you need to practice it 99.99 of people including me can't learn math just by sitting and listening to lectures right it's not possible you've got to actually be active in working out

Ask anything
We've read this whole study set, so questions about it get the best answers.