Professional Documents
Culture Documents
Appendix:
Differentiation, Integration, and
Optimization
Differentiation and Integration
We often encounter the problem of knowing how an outcome, say y,
“y is a function of x”.
expressed:
(A-1)
Δdistance /Δtime,
as expressed by (A-1),
distance (miles) = 70 mph x time (hours) + a “fixed number” (A-2 )
so that, with each additional hour of elapsed time, we add a further 70 miles of
For example, we might decide that does not apply as we travel, say, the
first 20 miles of our journey from the start-off point of departure until we are
departure is determined as
What we are leading up to saying is that
We can generalize Eqns A-1 and A-2 with the statement that
=A (A-3)
=3
can, nevertheless,
y = 3x + a constant.
Quadratic functions
If we have a “quadratic” relation between y and x as
Then
= 2 x (Ax) (A-6)
can verify by inspection of the figure that at any point, the gradient or
= 3 x 2 x x = 6x.
Example of a quadratic function: : Graph of y = 3x2 +4.
Quadratic functions: y = 3x2 +4
Thus, when x = 2 in Fig. A-1, we have y =16, and, by
= A N xN-1 (A-8)
Higher order polynomials
For example, given
y = 12 + 3x9
we have:
= 3 x 9 x x8 = 27x8
we have:
= A.½.x(½-1)
The exponential function: eAx
We have:
= A.eAt (A-9)
= et (A-10)
The natural log function
y = ln(x) + constant (A-11)
= (A-12)
Break time
Function of a function
We can extend the idea of differentiation to allow for the
function of x [g = g(x)]:
(A-13)
we can determine
(A-14)
Function of a function
As an example, suppose, we have:
y = (x+3)2 = x2 + 6x + 9
= 2(x + 3),
y = (x+3)2
y = z2
y = ln(x10)
Function of a function
And (with Eqns A-7 and A-8), we can say that
10
10x9 =
Function of a function
Alternatively,
and = 10x9
giving = x = 10x9 =
as above.
Minimum and maximum of a function
A particularly useful application of differentiation is that it
y = 1 + 2x – x2
and we wish to determine x to maximize y as a function of x.
achieved at the point that the gradient of the curve is flat, which
= 2 – 2x
which (by inspection) = 0 when x = 1 (as depicted in Fig. A-2).
Minimum and maximum of a function
Thus, the maximum value of y (on substitution of x = 1 (from the
y = 1 + 2x – x2 (with x = 1)
is y = 2.
By inspection of the function (in the above figure), we can see that