Calculus Cheatsheet
Common Integrals
Note: Constant of integration and trivial domain restrictions (usually ) omitted for brevity except in places of particular significance.First Principles
Power Rule (Modified)
Chain Rule
Product Rule
Quotient Rule
Notation of Second Order Partial Derivatives
Consider a function of two variables .
Equality of Mixed Partials
Consider a function of two variables .
If and all of its first and second order partial derivatives are continuous, then:
Reverse Chain Rule
Integration By Substitution
Integration By Parts
Flipped Integration Bounds
Leibniz Integral Rule
If the limits are constants:
Separable ODEs
Write the ODE in the form:
To solve, integrate both sides:
First-Order Linear ODEs
Write the ODE in the form:
First, define the integrating factor :
Multiply the ODE by and undo the product rule:
To solve, integrate both sides:
Exact ODEs
Write the ODE in the form:
First prove the ODE is exact by showing:
Thus, our ODE can be rewritten:
This can be simplified by undoing the chain rule:
Therefore, the solution is:
such that:
Trigonometric Fourier Series
For any periodic function :
Fundamental angular frequency:
Each element of the sum is called a harmonic.
Dirichlet conditions (for a convergent Fourier series):
- must be single-valued everywhere.
- must have a finite number of finite discontinuities, maxima, and minima in any one period.
- for any .
Exponential Fourier Series
Alternative to the trigonometric Fourier series:
Related by:
Fourier Series: Useful Integral Identities
Fourier Transform
For function (not necessarily periodic) which we interpret as a periodic function with infinite period:
The Fourier transform exists when the Fourier integral converges.
Heaviside Step Function
Commonly also written as or .
Dirac Delta Function
Sign/Signum Function
Convolution Integral
Useful properties:
Fourier Transform Properties
Fourier Transform Common Pairs
Discrete Fourier Transform (DFT)
Instead of a continuous function over time, suppose we instead discretely sample it, denoted . The DFT of is:
Side-note: Fast Fourier Transform (FFT) is a family of algorithms used to calculate the DFT.
TODO: What are some better definitions? Can values be complex?Laplace Transform
For function and some complex variable :
Laplace Transform Properties
Linearity:
Scaling:
Time Shifting:
Frequency Shifting/Translation:
Time Differentiation:
Time Integration:
Frequency Differentiation:
Time Periodicity:
TODO: Write better notes on Time Periodicity?Initial/Final Values:
Convolution:
TODO: Write better notes and properties of the convolution?