Practical
Calculus
You don't need to know the exact definitions
of the terms used in calculus if you want to see how they are applied to the real
world, because in real life nothing is known exactly (unless it comes in
discrete values, like the number of pages in a book, in which case calculus
does not apply to it exactly anyway). That is, when we measure a 2 foot length,
we might know that it is 2.0 ft or 2.00 ft, but there is always a limit on the
precision. Later if somebody comes along with a better measuring tool and
declares it to be 2.003 ft, this does not contradict the earlier measurement,
it just improves the precision.
In applying the equations of physics, we
should keep the above limitations in mind. For example if x = yz, even if this
equation is exact (and of course we will never know if we have an equation that
describes the real world exactly), we are no better off than saying that x is
approximately yz, since we cannot measure exactly.
You have, no doubt, run into D meaning
"change of." In calculus, d means very small D . So dx is
a very small change of x. A mathematician is concerned with the exact
definition of dy/dx. In practical applications, we can regard dy/dx as the
ratio of two very small quantities and not worry about being exact, because
there is no point to it.
The derivative: If y is a function of x, for example y = x3,
then the derivative of y with respect to x is dy/dx, the slope of the graph of
y vs x, with x on the horizontal axis. For this case, if you want dy/dx at x =
2, you could calculate dy as 2.013 - 1.993 for a dx of
0.02. Divide, and you will find dy/dx = 12. (The calculator says 12.0001. The
"exact" value is 12, but in practice it doesn't matter.) This brings
up the question, how small is very small. Well, that depends on how much
precision is needed. Let's try dy = 2.53 - 1.53 divided
by a dx of 1. We get dy/dx = 12.25, close enough to 12 for some purposes but
not for others. Make life easier: instead of going a little above 2 to a little
below 2, do a little above down to 2: y
= x3 at x=2à
dy/dx = (2.00013-23)/0.0001 = 12.000596 ≈ 12.
You might as well learn the exponent rule:
if y = x3, dy/dx = 3x2, in other words the original
exponent times x to the power reduced by one. In our example,
when x=2, 3x2 = 12. If y = 6x1.5, then dy/dx = (1.5)(6)x0.5.
It works for any exponent. Note that the 6 is left unchanged. Test this rule
with a calculator for a few cases (as was done in the paragraph above), and you
will get the hang of it. If you want the reason behind the exponent rule, (a+b)n
= an + nan-1b + n(n-1)an-2b2/2 ….
All we need are the first two terms if b is really tiny. Now consider y = xn. dy = [(x+dx)n-xn]/dx
= [xn + nxn-1dx…-xn]/dx = nxn-1. If the terms left out bother you, make dx =10-20
or something and experiment with it. In
math they are more theoretical, but the outcome is the same: those terms
disappear.
Two other formulas that you might as well
learn: the derivative of the sine is the cosine and the derivative of the
cosine is -sine. To be more precise and more general, if kx is in radians and
y = Asin(kx) then dy/dx = Akcos(kx). Similarly
if y=Acos(kx) then dy/dx=-Aksin(kx). If kx is not in radians, convert it to
radians before finding the derivative.
The second derivative: This is simply the derivative of a derivative. If y =
x3, dy/dx = 3x2, as we have seen, and the derivative of
3x2 is 6x. Rather than the awkward symbol
d(dy/dx)/dx, we label the thing d2y/dx2. The slope of the
y vs x graph is dy/dx, and the change of slope divided by the change of x is d2y/dx2.
Similarly if y is a function of t, dy/dt (the slope of the y vs t graph) is the
velocity and d2y/dt2 is the rate of change of v: the
acceleration.
Partial derivatives: When y is a function of two or more variables, a
partial derivative is the same as a derivative but with the other variables held constant. For example if y = ax3
+bxt + ct2, with a, b and c constant, then the partial derivative of
y with respect to x,
labeled ¶y/¶x, is 3ax2 + bt, and
¶y/¶t is bx +
2ct.
Partials are useful for waves.
y = Asin(kx - w t) is a plane wave traveling in the +x direction
with speed w/k. For waves on a string, sound, light, and others,
we find that
¶
2y/¶ x2 is proportional to ¶ 2y/¶ t2,
and from this we find the speed of the wave.
If y = Asin(kx-wt),
then ¶ 2y/¶ x2=-Ak2sin(kx-w t) and
¶
2y/¶ t2 =-Aw 2sin(kx-w t), so for
example when Newton's 2nd law tells us that a string with tension F
and mass/length m has
F¶
2y/¶ x2 = m ¶ 2y/¶ t2
, we easily show that the wave speed is (F/m )1/2. This is a powerful
tool.
The integral: This is just a sum. ò x2dx, for example,
is a bunch of x2 values, each multiplied by a very small dx, then
all added together. To show specifically how to do it, let's integrate the
above integral from x=1 to x=2 (these are called the limits) on a calculator,
using dx = 0.1. The 1 to 2 interval is split up into 10 parts, 1 to 1.1, 1.1 to
1.2,…,1.9 to 2. Using the x2 value at the center of each interval,
(1.052, 1.152,…) calculate the sum of x2dx and
you will find that it is 2.3325. (The exact value of 1.ò 2
x2dx is 7/3 = 2.33333… so there is a very small error.) On a
computer, using a spreadsheet or a programming language, you could divide it
into 1000 parts and use dx = 0.001. You will then find that the integral is
2.33333…. The moral of the story is that the smaller the dx, the smaller the
error. (By the way, if you tell your math teacher about dx = 0.1 or 0.001, be
prepared to call 911. He or she might have a heart attack, or (s)he might
inflict bodily injury on you.)
In math-speak, f(x) means function of x: for
any x, there is some value of f(x). The sketch below shows a graph of y = some
function of x, and when you integrate from A to B, you add up the areas of
those vertical strips to get the area bounded by the function on top, the x
axis on the bottom, the vertical line x=A on the left, and the vertical line
x=B on the right.

To see what the integral is theoretically,
let u(x) = the area under the curve starting at some point to the left
of A and ending at any x; then clearly, the area that we want, the
integral from A to B is u(B) - u(A). So we need to find u(x). To do this, note
that as you add the area terms, your total increases by ydx each time, so du =
ydx, or du/dx = y. So this is the opposite of the derivative: if y = x2,
for example, increase the exponent by one and divide by the new exponent to get
x3/3. In general u(x) = x3/3 + C, (C= a constant), but
when we calculate u(A) - u(B), the constant drops out, so forget about it. The
integral of x2dx from x=1 to x=2 is 23/3 - 13/3
= 7/3.
Here is an important integral:
ò
d(cabin)/cabin = natural log cabin.
(In other words, ò dx/x = lnx.)
Now trade in this drivel by hitting your
browser's back button.
My main pages:
Mechanics
Fluids, heat, electricity and magnetism
Vibrations and waves
Quantum
Comments, questions: fredrick.gram at tri-c.edu (but remove “at” and spaces
and insert @)
or alphabetical crud in my index.