Following is a very simple differential equation applicable to exponential decay such as the decay of radioactive element:
dy(t) / dt = -k y(t) ---------- (1)
where the quantity of the material y(t) is a function of the time t only, dy(t) = y(t2) - y(t1) is an infinitesimal change of y in an infinitesimal time interval dt = t2 - t1 with t2 > t1. In plain language, it states that the reduction of y, i.e., "dy" (and hence the minus sign) over a time interval "dt" depends on the remaining amount of y. The parameter k is a proportional constant which is called the rate of decay in this case, and is unique to a particular system. In particular, if k = 0, then y is not decaying at all.
The concept of differentiation depends critically on the fact that a small number such as 0.00000006 divided by another small number such as 0.00000003 yields a finite value 2 (in this example). Thus dy and dt may each be infinitesimal, but the derivative dy/dt is finite. Graphically, dy/dt measures the slope of a curve as shown in Figure 02. The "d" in calculus always signifies an infinitesimal change.![]() |
The dependent variable y and independent variable t in Eq.(1) can be separated to each side of the equation: dy/y = -kdt ---------- (2)Then it can be solved by integration:
|
Figure 01 Integration [view large image] | where is a symbol indicating integration. For example, the first term in Eq.(3) represents the sum of the small strips under the curve 1/y with dy 0 (Figure 01). In term of the natural log "ln" (the 2nd term in Eq.(3), see derivation in footnote §), these integrals can be expressed in the analytical form: |
where e = (1 + 1/n)n
2.71828... as n
is the exponential base used to simplify the form of many formulas (it plays a special role in calculus similar to the "
" in geometry), "ln" is the logarithms in this base, and A is the integration constant (which vanishes and the original differential equation is recovered if we reverse the process by taking the differentiation again) to be determined by the initial condition. For example, if at t = 0, y = yo, then A = yo. Alternatively, the integration constant can be replaced by the definite integral such that
f(y) dy = F(y)
= F(b) - F(a), where F(y) is the result of the integration.
![]() |
In either way, the final solution for Eq.(2) is: y = yo e-kt --------------------------------- (4) The green curve in Figure 02 shows the radioactive decay of Iodine 131 with a half life of 8.1 days. Half life is the interval when half of the original is gone. This graph corresponds to a value of 1/k = 8.1/loge(2) = 11.57 days, and yo = 1 gm. in Eq.(4). |
Figure 02 Radiactive Decay [view large image] |
y to be the width of the strips in Figure 01, then the area of the strip
y/y = -k
t. The relationship between t and y can be approximated by the summation (together with the initial condition at t = 0, y = yo):
n
y/y = -k
n
t = -k [(0 - t1) + (t1 - t2) + 

+ (tn-1 - tn)] = k tn ---------- (5)

, yn). The result (for a given y) becomes progressively more accurate as the width of the strip is reduced at the expense of computing time. Numerical integration is the only option to solve the differential equation when there is no analytical solution. Eq.(5) is a very simple example, numerial solution can be very complicated involving iterations and finding the root of an equation.
![]() | ---------- (6) |
![]() | ---------- (7) |
![]() |
u(x) = A cos(kx - t) ---------- (8)where = 2![]() , k = 2 / , and A is the amplitude. The frequency is related to the wavelength and wave velocity by the formula: ![]() = v. Figure 03 shows the cosine wave (for A = 1) at two instants of t = 0, and t = / .
|
Figure 03 Cosine Wave |
Note: see footnote for derviation of the differentiation for the sine and cosine functions. |
![]() | ---------- (9) |
![]() |
where the coefficients An's are replaced by the weighting function f(k - ko), and the sum becomes integration over a continuous range of k from - to + (see Figure 04a). At x = 0 the cosine function is equal to 1, hence all contributions to the integral comes from the weighting function, and the result is large. As x increases, the cosine function becomes a rapidly oscillating function of k, and its integral tends to cancel out resulting in the form of a pulse (wave packet) as shown in Figure 04a. In the limiting case where the weighting function is expressed in term of a delta function - A (k - ko), the wave packet is reduced to the monochromatic form such as shown in Figaure 03 or Eq.(8) with k = ko; the wave is now extending from - to + . In general, there is a certain spreads x in x, and k in k. In quantum theory, the uncertainty principle postulates that x p > =1.054x10-27erg-sec,
|
Figure 04a Wave Packet |
where the momentum p = k comes from the de Broglie formula linking p and . Note:It can be shown that the inverse of Eq.(9) is given by f(k - ko) = (1/ ) y(x) coskx dx, |
| By virtue of the orthogonality relation: |
, |
![]() |
the cosine function in Eq.(9) acts like an unit vector1 in the 3-dimensional space (Figure 05), such that in im = nm where i1 = i, i2 = j, and i3 = k, and nm = 1 for n = m; = 0 otherwise. Thus, in quantum mechanics we can consider the wave function in force free space (like the wave packet) as an expansion in an infinite dimensional space with cos(nx) as its bases (unit vectors). Similar expansion can be expressed with wave function in bound states (where n and m become integers) for the cases of non-vanishing potential V(x). The idea has been expanded even further in quantum field theory to the more abstract Fock or Hilbert space, where it is just a mathematical symbol such as |nk , where nk represents the number of particles in the state k with certain energy-momentum, spin, ... etc. The corresponding orthogonality relation is now expressed as
|
Figure 05 Unit Vectors (The vector v can be expressed in terms of the unit vectors) |
nk|nk' = nknk'. In quantum theory, the coefficient or component (such as the f(k-k0) in Eq.(9)) for each of such basis has been identified as the probability amplitude with the state k. |
dy(t) / dt = -k' y2(t) ---------- (10)
with solution in the form:
1/y - 1/yo = k't or y = 1 / [k't+(1/yo)] ---------- (11)
(see formula for differentiation of function with power n in footnote¶), it is obvious that the combined solution y = A1y1 + A2y2 is not a solution of the same differential equation any more. The blue line in Figure 02 is the decay curve described by Eq.(10) with k' = -(dy/dt)/y2|t=0 ~ 0.07/day-gm. The red line represents the case with a constant decay rate, i.e., dy/dt = -ko. Comparison shows that the negative feedback from y increasingly slows down the process as the contribution changed from y0, to y1, and y2.
![]() |
The logistic equation for the growth of population is a little bit more complicated but is still solvable in closed form: dy/dt = ry(1 - y/K) ---------- (12) where y is the population size, r refers to the rate of reproduction, and K denotes the carrying capacity (the maximum size of population allowable by the environment). Following similar procedure for solving Eq.(2) in footnote §, we can derive the integration in the form: dy/y(1-y/K) = d{ln[y/(1-y/K)]} = r dt ---------- (13) |
Figure 06 Logistic Growth |
which yields: y/(1-y/K) = [yo/(1-yo/K)] ert or y = Kyoert/[K + yo(ert - 1)] ---------- (14) |
, the population size converges to the equilibrium x = K; while for the case K
(unlimited population size), it reverts back to exponential growth as opposed to the exponential decay in Eq.(2) (see Figure 06). This is an example to demonstrate clearly the effect of negative feedback in controlling runaway process.![]() |
Eq.(12) can also be recast to the form of difference equation with discrete steps, e.g., using the generation number n as running variable with n = 1 instead of the time t with t 0: yn+1 = Ryn (1 - yn) ---------- (15) where R = 1 + r, and K = 1, which rescales the population size y to between 0 and 1. Thus, |
Figure 07 Logistic Equation |
R < 1 means r < 0, which implies decay instead of growth. The behavior of Eq.(15) is more complicated depending on the value of R as shown in Figure 07 and summarized below (for yo = 0.1, and 80 generations): |
(y - x), dy/dt = rx - y -xz, dz/dt = xy - bz ---------- (16)
, r, b are the parameters. A characteristic of nonlinear differential equation(s) is the mixing of many functions (dependent variables) or the function acting on itself. While it seems to be more realistic, the solution for such holistic approach is more difficult to find. Sometimes the nonlinear equations can be linearized because some variables (or their derivatives) are small in comparison with the others. See Chaos Theory for more about nonlinear equations.
![]() |
It was known in the 17th century that the roots of polynomial equations, i.e., when f(x) = 0 in: f(x) = anxn + an-1xn-1 + ![]() ![]() +a1x + a0 (such as f(x) = x2 + 2 = 0 at x = ![]() ),often involve square roots of negative numbers. It was realized subsequently that the complex number, which is defined as the combination of a real number and a square root of negative number, is more useful than the real number alone. In the Cartesian form the complex number z is expressed as z = x + iy, where the negative sign in the square root has been absorbed into the symbol i = . In terms of the polar coordinates r and , z = r ei , where r2 = x2 + y2, and tan = y/x (Figure 08). The complex conjugate of z is defined as z* = x - iy or z* = r e-i , such that z z* = r2. The term "imaginary" for the part associated with "i" was coined by |
Figure 08 Complex Number [view large image] |
René Descartes and was meant to be derogatory. The study of functions of a complex variable is known as complex analysis. Unlike real functions, which are commonly represented as two-dimensional graphs, complex functions have four-dimensional graphs. |
![]() |
Contour integral is related to a special class of complex function called analytic function denoted here by f(z) = u + iv, with the complex variable z = x + iy. It has the property that the derivative df(z)/dz exists uniquely at every point. In other words, the way z 0 is indepen-dent of the path, e.g., we may choose a path with x=0 or y=0. It follows that the real and imaginary parts of an analytic function are solutions of the two-dimensional Laplace equation: |
Figure 09 Contour Integral [view large image] |
, .
|
![]() | ---------- (18) |
![]() | ---------- (20) |
![]() | ---------- (21) |
i [f(z1)/(z1-z2)...(z1-zn) + f(z2)/(z2-z1)...(z2-zn) + ... + f(zn)/(zn-z1)(zn-z2)...].![]() |
I = dx / (x2 + 1) ---------- (22). This integral is part of a closed contour integral, which has a pole at z = i (see Figure 10): Ic = dx / (x2 + 1) + cR dz / (z2 + 1) = I = 2 i [1/(z + i)]z=i = 2 i (1/2i) = --- (23), |
Figure 10 A Contour Loop |
where the second term vanishes if we let the radius of the semi-circle R . |
dx / (1 - x2) ---------- (24)
as shown in Figure 10, and then let 
0 at the end. Thus,
dx / (1 - x2) +
cR dz / (1 - z2) = I = 2
i {[1/(1+ i
+z)]z=1+i
}
0 = 2
i (1/2) = i
---------- (25).
0, see Eq.(32) for the case with n = 0):
(y +
y)n - yn
yn (1 +
y/y)n - yn
yn (1 + n
y/y) - yn
nyn-1
y = nyn-1dy ---------- (26) 

. In Eq.(10), we can re-arrange the y variable to one side and re-write y-2dy = -d(y-1) by applying the formula in Eq.(26) for the case of n = -1. Integration to obtain the solution becomes trivial once it is written in this form.
Derviation of the differentiation for the sine and cosine functions:
x) - sinx = sinx cos
x + cosx sin
x - sinx
cosx
x = cosx dx ---------- (27)
x) - cosx = cosx cos
x - sinx sin
x - cosx
-sinx
x = -sinx dx ---------- (28)

---------- (29a)

----------(29b)![]() |
Let us start from the differentiation of the logarithmic function loga(y) with an arbitrary base a: d[loga(y)] loga(y + y) - loga(y) loga(1 + y/y) ( y/y) loga(1 + y/y)(y/ y) ---------- (30)where we have applied the logarithmic relations (Figure 11): loga(u/v) = loga(u) - loga(v) ---------- (31a) loga(u)n = n loga(u) ---------- (31b). |
Figure 11 Logarithm |
y, e
(1 + 1/n)n, a = e, ln(y) = loge(y), and use the identity loga(a) = 1; then
y/y = dy/y -------- (32).![]() |
![]() |
y = ei x = cos x + i sin x ---------- (34) This relationship was discovered by the Swiss mathematician Leonhard Euler (1707-83). The modern derivation can be obtained easily if we perform a Taylor series expansion about the point xo = 0 for ex, substituting to the independent variable with ix and comparing the result with Eqs.(29a,b). The Euler's divine formula (Figure 13) : ei + 1 = 0 ---------- (35)
|
Figure 12 Log-a-Rhythm [view large image] |
Figure 13 Euler's Formula [view large image] |
is a straight forward application of Eq.(34). It contains all the special symbols in mathematics: e, i = , , 1, and 0. |
![]() |
|
Figure 14 Mathematics [view large image] |