Preface
This series is aimed at providing tools for an electrical engineer to analyze data and solve problems in design. The focus is on applying calculus to equations or physical systems.
Introduction
This article will cover derivatives.
There are many calculus references, the one I like to use is Calculus by Larson, Edwards and Hostetler.
This also assumes you are familiar with Python or can stumble your way through it.
Concepts
None
Definition of a Derivative
For a function of one variable: the derivative of f(x) at x is given by
f'(x) = [f(x+dx)-f(x)]/[dx] = m, the slope of the line
provided the limit exists.
For a function of more than one variable, partial: the partial derivative of f(x,y,z) at x is given by
∂/∂x = fx(x,y,z) = [f(x+dx,y,z)-f(x,y,z)]/[dx]
provided the limit exists.
Differentiability implies continuity. But continuity does not imply differentiability.
Properties of Derivatives
General Form | u dx |
Constant | c dx = 0 |
Constant Multiple | cu dx = cu' |
Chain | f(u) dx = f'(u)u' |
General Power | un dx = nun-1u' |
Sum/Difference | [u +/- v] dx = u' +/- v' |
Product | uv dx = uv' + vu' |
Quotient | (u/v) dx = (vu' - uv')/v2 |
Vector Function | For r(t) = f(t)i + g(t)j + h(t)k, then r'(t) = f'(t)i + g'(t)j + h'(t)k |
Series | For f(x)=Σ∞n=0 an(x-c)n, f'(x)=Σ∞n=1 nan(x-c)n-1 |
Where u and v are a functions, c and n are constants.
Derivative Table
Here.
Tangent and Normal Vectors
Tangent Vector T(t)=r'(t)/abs(r'(t)), r'(t) != 0.
Normal Vector N(t)=T'(t)/abs(T'(t)).
Directional Derivative
If f is a differentiable function of x and y, then the directional derivatives of f in the direction of a unit vector u = cos θi + sin θj is
Duf(x,y) = fx(x,y)cosθ + fy(x,y)sinθ
For u = ai + bj + ck,
Duf(x,y,z) = afx(x,y,z) + bfy(x,y,z) + cfz(x,y,z);
Gradient
∇f(x,y,z) = fx(x,y,z)i + fy(x,y,z)j + fz(x,y,z)k
The direction of maximum increase is given by ∇f(x,y,z).
Related Rates
Extrema
To find the extrema of function f on closed interval [a,b]:
Optimization: Standard
Optimization: Lagrange
Next Up
Integration