This introduction will be
light on theory, but will give enough "recipes" that you should be
able to follow things in a course where there is no prerequisite for calculus,
but the prof wants to use "just a little
bit".
There are two types of calculus:
(i) Differential Calculus which concerns itself with slopes of curves.
(ii) Integral Calculus which concerns itself with areas under curves.
Imagine that you have some
sort of curve described by f(x). If the curve were a parabola, we would have
f(x) = ax2 + bx + c. A parabola centred on the origin with its "point" 1 unit
above the origin might be f(x) = x2 + 1. You can see that when x = 0
(origin), f(x) = f(0) = 1.
The slope of any line is
defined as "slope = rise / run" which is equivalent to "slope =
vertical change / corresponding horizontal change.
When we have a straight
line, y = mx + b, this is easy. Let us look at a
nearby point x + dx. The quantity "dx" is NOT "d" times "x". It is
taken to mean "a small change in x". Therefore x + dx is separated from x by a
distance dx.
If we look at the point x +
dx, y changes to y' = m(x + dx)
+ b = mx + m(dx) + b. If we write y' = y + dy,
then when we subtract off the y, we get dy = m(dx). Finally, the slope is
rise/run = dy/dx = m(dx)/dx = m (as expected).
When we have a curve, say y
= f(x), we could do the same thing and say y + dy = f(x + dx) and then dy = f(x+dx) - f(x). The slope of
the line joining the two points at x and x + dx would
then be slope = m = [f(x+dx) - f(x)] / dx.
One more thing: We do not
really have the slope at "x", but rather the average slope between
"x" and "x+dx". To get around
this, we DEFINE the slope at "x" to be the limiting value when "dx" gets very small. From the above expression, it
might look as though the limiting slope would be [f(x)-f(x)]/0 which is just
0/0 which is hard to deal with. We can be a bit more cunning, however.
Let us look at our parabola
y = x2 + 1. We will put in the "dx"
and expand things algebraically to get y + dy = (x+dx)2 + 1. The RHS
becomes x2 + 2x(dx)
+ (dx)2 + 1. Now subtract off
"y" to get "dy" and we find dy = 2x(dx).
The slope is therefore m = 2x(dx)
/ dx. While "dx"
is NOT 0, we cancel it off and claim that the cancellation will hold for ANY value
not exactly equal to zero. We therefore DEFINE the derivative to be the value 2x (with the dx's cancelled).
The result is that the
slope at "x" is m = 2x.
You can work out the rest
for any polynomial, but here are the rules. YOU SHOULD MEMORIZE THESE RULES.
There
are also some useful rules for trig functions and logs.
The
only additional rule you are likely to need in the near future is the one for
exponentials.
There are a couple of other
rules for products and quotients and a rule for stringing derivatives together.
This
allows us to write dy/dx = -1/u2 du/dx. Substituting in the expression for u(x) we can write dy/dx = -1/(1+x2)2
du/dx. Since du/dx = 2x, we
end up with dy/dx = -1/(1+x2)2
2x = -2x/(1+x2)2.
Integral calculus is
involved in calculating areas under curves. If we have a curve y = f(x), then
we might want the area under f(x). If f(x) is below the X-axis, the area is
negative. The mathematical constructs for setting up the areas are called
integrals. Unfortunately, HTML does not have the symbol for integrals. The
symbol looks like a stretched out S, so I'll just use S. There are two basic
forms.
Indefinite Integrals: The area but without specifying
where to start or end. These are easier to calculate than the second type (Definite
Integrals), by one step, but the price is that they always have an arbitrary
constant that you must evaluate by some other means.
Definite Integrals: These are the same as Indefinite
Integrals, but the starting point and end point (in "x") for the area
are given.
In both cases we begin by
summing up many little areas of size f(x) dx. This is
a little rectangle of height f(x) and width "dx".
The area obtained by summing is written S f(x) dx.
The trick is to know what
function to use to replace f(x). I'll just give the rules for Indefinite
Integrals. Definite Integrals follow easily, and I'll just leave that to the
end.
To convert an Indefinite
Integral to a Definite Integral is easy. Remember that the definite integral
between x=a and x=b is the area under the curve
between the limits x=a and x=b. Suppose we want the area between x = a and x =
b for the function f(x). First of all, we evaluate the Indefinite Integral Sf(x)dx
= F(x) + c (say). The basic rules for getting F(x) are those given above. Then
the actual area is F(b) - F(a). All we do is subtract the values of F(x) at the two limits (upper limit
positive, lower limit negative). Notice that the constant "c"
disappears during the subtraction.
You may have noticed that
the rules for integrals look suspiciously like the rules for derivatives with
some modifications. In fact, the derivative of the F(x) that
results from evaluating an integral, is just the function f(x) for which
we evaluated the integral. In other words, if Sf(x)dx = F(x) + c, then dF/dx = f(x). For this reason F(x) is sometimes called the
anti-derivative of f(x). Unfortunately, while it is usually fairly easy to
evaluate the derivative of a function, it is often hard to find its
anti-derivative.
File: calculus.html
This page last modified on 9/9/13 by CMH.