• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

• You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View

What's a derivative

last edited by 11 years, 10 months ago

So... What is a derivative? And what's it good for?

There are a lot of different ways of looking at a derivative. Basically, it is a rate of change -- we have something (f) that depends on something else (x). We want to know, when the something else changes, how does the thing that depends on it change?  This is really important in applying math to science since three of the things we always want to do in science are:

• predict the future,
• see how turning some dial changes some result,
• figure out how important some effect is.

The prediction of the future is about how does something change with time.  The dials don't have to be real dials -- they can be parameters that an organism's survival depends on and that can be dialed in a population by natural selection.  Figuring out rates of change also tells us how important a particular parameter is. In our modeling of a physical or biological system we might say, "Oh! This change will produce this result."  But if we don't know how big the result is, we don't know whether that really is the cause of the effect we are trying to explain.

There are a lot of different ways of looking at a derivative.  It's useful to know them all and to see how the different views complement each other.

• Derivative as a ratio
• Derivative on a graph
• Derivative as algebra
• Derivative as a stepping rule.

Derivative as a ratio

The basic and most important definition of the derivative for use in science is the derivative as a ratio.  It answers the question, "If I make a small change in an independent variable, how much will something that depends on it change?"  An example is the position along a line, x, which might change with time, t.  So when t changes its value by a little bit, Δt, what's the change in x, Δx?  We define the ratio of these two changes to be the derivative when the time change is small -- smaller than anything we care to pay attention to.

Derivative on a graph

We can also look at the derivative as something on a graph.  If we pick a particular point, say t = 0, as shown by the red arrow on the left, we go to a time a little before that and a little after and find what x's they correspond to.  The horizontal red line is the time interval, the vertical red line is the position change during that time interval. The ratio, Δx/Δt, becomes the derivative when Δt gets small.  We can plot the value of the ratio (the velocity = the derivative) as a function of time.  For the case shown below, the rate of change of position with time is the same for all times shown, so the velocity in that time range is a constant. (Note that the graph on the left uses a little time interval -- creating a triangle -- while the graph on the right shows the calculated velocities at points -- single times. This is because our triangle should really be "smaller than any time interval we care to pay attention to. See more discussion of this on the page Instantaneous Velocity.)

Derivative as algebra

We can see how a derivative arises from algebra when we know the functional dependence of the dependent variable on the independent variable.  We can't actually do this when we have quantities that have units without doing some rearranging of our equations (see the discussion of creating dimensionless equations), since it is nonsense to say, for example "that (Δt)2 is small compared to Δt when Δt is small" since Δt and (Δt)2 are different kinds of quantities and cannot be compared. (Which is why we put a "strikethrough" on the phrase so you don't miss that it's wrong.)

So let's consider a function of a pure number that is itself a pure number -- say y = f(x) -- where both x and y have no units. Let's take an example:

y = f(x) = x3.

If we want the derivative, we want to see how much y changes when we make a small change in x.  So if we let xx + Δx, then what happens to y ? Well, we can figure it out.

yf(x + Δx) = (x + Δx)3 = x3 + 3x2Δx + 3xx)2 + (Δx)3

Since Δ is a pure number, if it is small (much less than 1) then we can compare it to (Δx)2.  The square (and the cube) of Δx will be much smaller than Δx so we can ignore them, giving:

yf(x + Δx) = (x + Δx)3 = x3 + 3x2Δx

This means that the change in y is only the last term so

Δ = 3x2Δx

and the derivative is the ratio of Δto ΔwhenΔx  ﻿﻿is very small; or

dy/dx = 3x2

which is the familiar rule.

Derivative as a stepping rule

One of the really interesting ways of expressing a derivative is as a "stepping rule".  Since a derivative relates two changes, if we open them up -- say writing a change in as Δx = xf - xi where the "f" subscript means "final" and the "i" subscript means "initial" -- then using the definition of derivative in terms of change (we'll use the position-velocity example so as to keep units in the discussion), we can solve for the final position, given the initial velocity, the initial time, and the time interval. Here's the math.

So if we know about x at time ti, and we know the velocity then, we can figure out what x is going to be a little in the future, at the time tf.

There is a slight problem. When we defined the derivative, it was at a particular time.  We scrunched the two times needed to construct the velocity down to very close to some time t and called the velocity then v(t).  When we open the derivative up into deltas, we have to think about at what time we want to choose v to be.  The most reasonable for this discussion is to choose to put in v at the initial time.  Then the info at the initial time gives us a result at the later time.  (When we are solving Newton's second law by stepping rules we will see that there is a better way.)