218 formulas
From lesson: Factoring, Common Factors, and Special Product Formulas
a2−b2=(a−b)(a+b)
(a±b)2=a2±2ab+b2
a3±b3=(a±b)(a2∓ab+b2)
From lesson: Equations and Inequalities: First and Second Degree
x1,2=2a−b±b2−4ac
Parabola Vertex x-Coordinate
xv=−2ab
From lesson: Absolute Value Equations and Inequalities
Algebraic Definition of Absolute Value
∣x∣=x2
∣x+y∣≤∣x∣+∣y∣
From lesson: Polynomial Division and the Remainder Theorem
Polynomial Division Algorithm
P(x)=D(x)Q(x)+R(x)
From lesson: Laws of Exponents and Roots in Real Analysis
General Exponential via e
ax=exlna
ax+y=ax⋅ay
Derivative of the Exponential Function
dxd(ax)=axlna
From lesson: Logarithms: Definition, Laws, and Equation Solving
loga(x⋅y)=loga(x)+loga(y)
loga(xn)=n⋅loga(x)
Logarithm Change of Base Formula
loga(x)=logb(a)logb(x)
From lesson: Graph Transformations: Shifts, Stretches, and Reflections
g(x)=A⋅f(B(x−C))+D
From lesson: Composition of Functions and Inverse Functions
Function Composition Definition
(f∘g)(x)=f(g(x))
Inverse Function Cancellation
f−1(f(x))=x
Derivative of the Inverse Function
(f−1)′(y0)=f′(x0)1
From lesson: The Unit Circle and Introduction to Radians
A=21r2θ
From lesson: The Basic Trigonometric Functions and Their Graphs
Fundamental Pythagorean Identity
sin2x+cos2x=1
Tangent Quotient Identity
tanx=cosxsinx
From lesson: Fundamental Trigonometric Identities: Pythagorean, Sum, and Double Angle
sin2(x)+cos2(x)=1
Sine Sum/Difference Formula
sin(x±y)=sin(x)cos(y)±cos(x)sin(y)
Cosine Sum/Difference Formula
cos(x±y)=cos(x)cos(y)∓sin(x)sin(y)
Sine Double Angle Identity
sin(2x)=2sin(x)cos(x)
Cosine Double Angle Identity
cos(2x)=cos2(x)−sin2(x)
From lesson: Solving Trigonometric Equations and Inequalities
Cosine Double Angle Identity
cos(2x)=2cos2(x)−1=1−2sin2(x)
From lesson: Supremum, Infimum and the Completeness Axiom
Equivalent Characterization of Supremum
M=supS⟺{∀x∈S:x≤M∀ε>0 ∃x∈S:x>M−ε
Equivalent Characterization of Infimum
m=infS⟺{∀x∈S:x≥m∀ε>0 ∃x∈S:x<m+ε
From lesson: Definition of the Derivative and Geometric Meaning
Derivative Definition (Difference Quotient)
f′(a)=h→0limhf(a+h)−f(a)
Derivative — Equivalent Form
f′(a)=x→alimx−af(x)−f(a)
Equation of the Tangent Line
y−f(a)=f′(a)(x−a)
From lesson: Derivatives of Elementary Functions
Derivatives of Trig Functions
dxdsinx=cosx,dxdcosx=−sinx,dxdtanx=cos2x1
Power, Exponential & Log Derivatives
dxdxn=nxn−1,dxdex=ex,dxdlnx=x1
Derivatives of Inverse Trig Functions
dxdarctanx=1+x21,dxdarcsinx=1−x21
From lesson: Integration by Substitution
Substitution Rule — Indefinite Integral
∫f(g(x))g′(x)dx=F(g(x))+C
Substitution Rule — Definite Integral
∫abf(g(x))g′(x)dx=∫g(a)g(b)f(u)du
From lesson: Integration by Parts
Integration by Parts Formula
∫udv=uv−∫vdu
Integration by Parts — Definite Integral
∫abudv=[uv]ab−∫abvdu
From lesson: The Fundamental Theorem of Calculus
FTC Part 1 — Accumulation Function Derivative
dxd∫axf(t)dt=f(x)
FTC Part 2 — Evaluating Definite Integrals
∫abf(x)dx=F(b)−F(a)
From lesson: Geometric Vectors - Addition, Subtraction, and Scalar Multiplication
Definition of vector subtraction
u−v=u+(−v)
Length of a scalar-multiplied vector
∥cv∥=∣c∣⋅∥v∥
From lesson: Cartesian Coordinate System, Distance, and Segment Division
Distance formula between two points
d=(x2−x1)2+(y2−y1)2
Segment division formula given a ratio
x=m+nm⋅x2+n⋅x1,y=m+nm⋅y2+n⋅y1
From lesson: Equation of a Line: Slope, Parallelism, and Perpendicularity
Slope formula between two points
m=x2−x1y2−y1
Equation of a line (Point-slope form)
y−y1=m(x−x1)
Perpendicularity condition for lines
m1⋅m2=−1
From lesson: Introduction to Basic Conic Sections: Circle and Ellipse
(x−x0)2+(y−y0)2=R2
a2x2+b2y2=1
Relation Between a, b, c in an Ellipse
b2=a2−c2
From lesson: Vectors, Scalar Products, and Vector Products
prba=∥b∥2a⋅bb
[a,b,c]=deta1b1c1a2b2c2a3b3c3
S=21∥a×b∥
From lesson: Lines and Planes in the Plane and Space
d=a2+b2+c2∣ax0+by0+cz0+d∣
d=∥s∥∥M0M×s∥
From lesson: Matrix Algebra: Definitions, Multiplication, Trace, and Special Matrices
Matrix Multiplication Definition
(AB)ij=k=1∑maikbkj
(AB)⊤=B⊤A⊤
tr(A)=i=1∑naii
tr(AB)=tr(BA)
Symmetric–Anti-Symmetric Decomposition
A=2A+A⊤+2A−A⊤
From lesson: Determinants: Foundations and Geometric Meaning
det(A)=j=1∑n(−1)i+jAijdet(Mij)
adj(A)ij=(−1)i+j∣Mji∣
A−1=det(A)1adj(A)
xi=ΔΔi
From lesson: Invertible Matrices: Definition, Gauss–Jordan Algorithm, and Properties
(AB)−1=B−1A−1
(A⊤)−1=(A−1)⊤
(Ak)−1=(A−1)k=A−k
A הפיכה⟺det(A)=0
Unique Solution of a System
Ax=b⇒x=A−1b
From lesson: Basis and Dimension in Linear Algebra
Linear Independence Condition
c1v1+c2v2+⋯+cnvn=0
Spanning Set Condition (Linear Combination)
v=a1v1+a2v2+⋯+anvn
dim(U+W)=dim(U)+dim(W)−dim(U∩W)
From lesson: Linear Transformations: Foundations and Dimension Theorem
dim(kerT)+dim(ImT)=dim(U)
From lesson: Change of Coordinates, Basis Change, and Matrix Representation of Linear Transformations
Vector Coordinate Transformation Formula
[v]C=[I]BC[v]B
Linear Transformation Change of Basis Formula
[T]B′C′=[I]CC′[T]BC[I]B′B
Linear Operator Change of Basis (Similar Matrices)
[T]C=P−1[T]BPwhere P=[I]CB
From lesson: Eigenvalues, Eigenvectors, and Eigenspaces. Characteristic Polynomial
Characteristic Polynomial (3×3)
Δ(λ)=λ3−tr(A)λ2+(A11+A22+A33)λ−det(A)
Characteristic Polynomial (2×2)
Δ(λ)=λ2−tr(A)λ+det(A)
Vieta: Sum of Eigenvalues
i∑λi=tr(A)
Vieta: Product of Eigenvalues
i∏λi=det(A)
From lesson: Matrix Diagonalization and Applications
Power of Diagonalizable Matrix
An=PDnP−1
From lesson: Orthogonal Diagonalization and the Spectral Theorem
A=PDPT=i=1∑nλiuiuiT
Combinatorics & Probability
9From lesson: Basic Counting Principles (Rule of Product and Rule of Sum)
Rule of Sum for disjoint sets
∣A∪B∣=∣A∣+∣B∣
∣A×B∣=∣A∣⋅∣B∣
From lesson: Permutations with and without Repetition
Formula for permutations without repetition
P(n,k)=(n−k)!n!
Formula for permutations of a multiset
n1!⋅n2!⋯nr!n!
From lesson: Combinations and Newton's Binomial Theorem
(kn)=k!(n−k)!n!
Newton's Binomial Theorem
(x+y)n=k=0∑n(kn)xn−kyk
From lesson: Classical Probability and Sample Space
P(A)=∣Ω∣∣A∣
Complementary Event Probability
P(Ac)=1−P(A)
P(A∪B)=P(A)+P(B)−P(A∩B)
From lesson: Wave Parameters - Amplitude, Frequency, and Period (DSP Fundamentals)
T=f1=ω2π
From lesson: Superposition - Constructive and Destructive Interference via Function Addition
Anew=2Acos(2Δϕ)
From lesson: From Theory to Practice - Mathematical and Digital Representation of Sound (Conceptual Intro to Fourier Series)
f(t)=2a0+n=1∑∞[ancos(nω0t)+bnsin(nω0t)]
From lesson: Vectors in Physical Space: Forces and Motion
ΣF=ma
W=F⋅Δr
From lesson: Units and Dimensions: Dimensional Analysis in Mathematics
General Dimensional Formula
[Q]=MαLβTγ
Dimension of a Derivative
[dxdy]=[x][y]
From lesson: Mathematician's Workspace: The Graph Theory of a Digital Notebook
Retrieval complexity in a linear notebook
Retrieval complexity in a tree/MOC notebook
O(logn)
Number of links in a complete directed graph
From lesson: Representing a Mathematical Problem as Pseudo-code
Absolute error calculation for stopping condition
∣xn+1−xn∣<ϵ
Multimedia & Machine Learning Algorithms
20From lesson: Sampling & Quantization — Nyquist-Shannon Theorem and Quantization Error
Nyquist-Shannon Sampling Theorem
fs≥2fmax
Δ=2B−1xmax−xmin
Signal-to-Quantization-Noise Ratio (SQNR)
SQNR≈6.02B+1.76 dB
From lesson: Color Spaces & Image Representation — RGB, YCbCr, and HSV
Luma (Luminance) formula — YCbCr
Y=0.299R+0.587G+0.114B
size=W×H×3 bytes
Bytes per pixel — YCbCr 4:2:0
1+41+41=1.5 bytes/pixel
From lesson: Frequency Domain Processing — DFT, FFT, STFT, and Spectrograms
DFT — Discrete Fourier Transform
X[k]=n=0∑N−1x[n]⋅e−j2πkn/N
O(Nlog2N) vs. O(N2) for DFT
Frequency resolution — STFT
Δf=Nfs
From lesson: Convolutional Filters — Spatial Domain Image Processing
2D cross-correlation (image filtering)
(I⋆K)[m,n]=i∑j∑I[m+i,n+j]⋅K[i,j]
KG=161121242121
KL=0−10−14−10−10
From lesson: Lossless Compression — Entropy, Shannon, Huffman & LZW
H(X)=−i∑pilog2pi
Shannon Source Coding Theorem
H(X)≤Lavg<H(X)+1
From lesson: JPEG Standard — DCT, Quantization & Entropy Coding
F(u,v)=41C(u)C(v)x=0∑7y=0∑7f(x,y)cos16(2x+1)uπcos16(2y+1)vπ
DCT Coefficient Quantization
Q[u,v]=round(Qtable[u,v]F[u,v])
From lesson: JPEG 2000 Standard — Wavelet Transform & Multi-Resolution
1D DWT (Haar) — Decomposition
sn=2x2n+x2n+1,dn=2x2n−x2n+1
1D DWT (Haar) — Reconstruction
x2n=sn+dn,x2n+1=sn−dn
From lesson: Video Compression — Motion Estimation, I/P/B Frames & MPEG/H.264/HEVC
residual(x,y)=Icurr(x,y)−Ipred(x,y)
SAD — Sum of Absolute Differences
SAD(dx,dy)=x,y∑∣Icurr(x,y)−Iref(x+dx,y+dy)∣
From lesson: Complex Numbers — Introduction
∣z∣=a2+b2
eiθ=cosθ+isinθ
(reiθ)n=rneinθ
zzˉ=∣z∣2
zk=e2πik/n,k=0,…,n−1
From lesson: Complex Functions — Limit and Continuity
Complex Function Decomposition
f(x+iy)=u(x,y)+iv(x,y)
z→z0limf(z)=L⟺∀ε>0∃δ>0:∣z−z0∣<δ⇒∣f(z)−L∣<ε
If path1lim=path2lim⇒limit does not exist
From lesson: Complex Derivative and Cauchy-Riemann Equations
ux=vyanduy=−vx
f′(z)=ux+ivx
Δu=uxx+uyy=0
From lesson: Elementary Complex Functions and Branch Points
ex+iy=ex(cosy+isiny)
Log(z)=ln∣z∣+iArg(z)
zα=eαLog(z)
sinz=2ieiz−e−iz,cosz=2eiz+e−iz
From lesson: Complex Integration and Cauchy's Theorem
∫Cf(z)dz=∫abf(z(t))z′(t)dt
∮Cf(z)dz=0(f analytic inside C)
∮∣z∣=rzndz={2πi0n=−1n=−1
∫Cfdz≤max∣f∣⋅length(C)
From lesson: Cauchy's Integral Formula and Derivatives
∮Cz−z0f(z)dz=2πif(z0)
∮C(z−z0)n+1f(z)dz=n!2πif(n)(z0)
f entire+∣f∣≤M⇒f=const
From lesson: Complex Taylor and Laurent Series
an=n!f(n)(z0)
f(z)=n=−∞∑∞cn(z−z0)n
Res(f,z0)=c−1
From lesson: Singular Points — Classification
z→z0limf(z) finite⇔removable
z→z0lim(z−z0)mf(z)=L=0⇒pole order m
infinitely many c−n=0⇒essential
From lesson: Residues and Residue Theorem
Res(f,z0)=z→z0lim(z−z0)f(z)
Res(g/h,z0)=g(z0)/h′(z0)
∮Cfdz=2πik∑Res(f,zk)
From lesson: Conformal Mappings and Rouché's Theorem
w=cz+daz+b,ad−bc=0
2πi1∮Cff′dz=Z−P
∣f∣>∣g∣ on C⇒Z(f)=Z(f+g) inside C
From lesson: Relations — Definition, Properties, and Composition
R∘S={(a,c):∃b,(a,b)∈R∧(b,c)∈S}
r(R)=R∪{(a,a):a∈A}
From lesson: Equivalence Relations and Equivalence Classes
[a]={b∈A:aRb}
[a]=[b]⇔aRb
From lesson: Order Relations and Hasse Diagrams
reflexive+antisymmetric+transitive
a⋖b⇔a<b∧∄c:a<c<b
From lesson: Inclusion-Exclusion Principle and Derangements
∣A∪B∣=∣A∣+∣B∣−∣A∩B∣
Dn=n!k=0∑nk!(−1)k≈en!
Dn=(n−1)(Dn−1+Dn−2)
From lesson: Linear Recurrence Relations
Characteristic eq. (2 distinct roots)
an=Ar1n+Br2n where r2−c1r−c2=0
an=(A+Bn)rn
Fn=5φn−φ^n,φ=21+5
From lesson: Quantifiers and Negation of Complex Propositions
De Morgan's Laws for Quantifiers
¬(∀x,P(x))≡∃x,¬P(x)and¬(∃x,P(x))≡∀x,¬P(x)
¬(P⟹Q)≡P∧¬Q
From lesson: Logic Gates and Their Mathematical Implementation
Arithmetic Implementation of the NOT Gate
fNOT(x)=1−x
Arithmetic Implementation of the AND Gate
fAND(x,y)=xy
Arithmetic Implementation of the OR Gate
fOR(x,y)=x+y−xy
Arithmetic Implementation of the XOR Gate
fXOR(x,y)=x+y−2xy
From lesson: Numbers and Errors: Binary Representation and Error Theory
Δx=∣x−x^∣
δx=∣x∣∣x−x^∣
εmach=2−(p−1)
x=(−1)s⋅1.M×2E−bias
From lesson: Methods for Solving Nonlinear Equations
c=2a+b,∣en∣≤2nb−a
xn+1=xn−f′(xn)f(xn)
xn+1=xn−f(xn)⋅f(xn)−f(xn−1)xn−xn−1
∣en+1∣≈C⋅∣en∣p
From lesson: Numerical Linear Algebra
A=LU,ℓij=ajjaij
κ(A)=∥A∥⋅∥A−1∥,κ2(A)=σminσmax,∥x∥∥δx∥≤κ(A)⋅∥b∥∥δb∥
A=UΣVT,A+=VΣ+UT
x∗=(ATA)−1ATb=A+b
From lesson: Interpolation and Curve Fitting
Lagrange Basis Polynomial
Li(x)=j=i∏xi−xjx−xj,pn(x)=i=0∑nyiLi(x)
pn(x)=f[x0]+f[x0,x1](x−x0)+f[x0,x1,x2](x−x0)(x−x1)+⋯
a=n∑xi2−(∑xi)2n∑xiyi−∑xi∑yi,b=n∑yi−a∑xi
Coefficient of Determination $R^2$
R2=1−∑(yi−yˉ)2∑(yi−y^i)2
From lesson: Numerical Integration & Differentiation
Composite Trapezoidal Rule
Tn=2h[f(x0)+2i=1∑n−1f(xi)+f(xn)],ET=O(h2)
Simpson's $\frac{1}{3}$ Rule
Sn=3h[f(x0)+4f(x1)+2f(x2)+⋯+4f(xn−1)+f(xn)],ES=O(h4)
f′(x)≈2hf(x+h)−f(x−h)[O(h2)],f′′(x)≈h2f(x+h)−2f(x)+f(x−h)
∫−11f(x)dx≈f(−31)+f(31)
From lesson: Numerical Methods for ODEs
yn+1=yn+h⋅f(tn,yn),Eglobal=O(h)
yn+1=yn+6k1+2k2+2k3+k4,Eglobal=O(h4)
y~n+1=yn+hfn,yn+1=yn+2h[fn+f(tn+1,y~n+1)]
Heat Equation — Finite Differences
uin+1=uin+r(ui+1n−2uin+ui−1n),r=(Δx)2αΔt≤21
Ordinary Differential Equations
16From lesson: Classification of ODEs and First-Order Linear Equations
Standard Form — First-Order Linear ODE
y′+p(x)y=q(x)
μ(x)=e∫p(x)dx
y=μ(x)1(∫μ(x)q(x)dx+C)
From lesson: Separable Equations, Bernoulli, and Homogeneous ODEs
y′=g(x)h(y)⟹∫h(y)dy=∫g(x)dx+C
y′+p(x)y=q(x)yn,v=y1−n⟹v′+(1−n)p(x)v=(1−n)q(x)
Homogeneous ODE Substitution
y′=F(xy),v=xy⟹F(v)−vdv=xdx
From lesson: Exact Equations and Integrating Factors
Mdx+Ndy=0 exact⟺∂y∂M=∂x∂N
Integrating Factor $\mu(x)$
NMy−Nx=h(x)⟹μ(x)=e∫h(x)dx
Integrating Factor $\mu(y)$
MNx−My=k(y)⟹μ(y)=e∫k(y)dy
From lesson: Second-Order ODEs Reducible by Order Reduction
Missing y — Order Reduction
y′′=f(x,y′)p=y′,p′=y′′p′=f(x,p)
Missing x — Order Reduction
y′′=f(y,y′)p=y′,y′′=pdp/dypdydp=f(y,p)
y(x0)=y0,y′(x0)=y1
From lesson: Linear Homogeneous ODEs with Constant Coefficients
ay′′+by′+cy=0y=erxar2+br+c=0
Case I — Distinct Real Roots
Δ>0⇒y=C1er1x+C2er2x
Case II — Repeated Real Root
Δ=0⇒r=−2ab⇒y=(C1+C2x)erx
Case III — Complex Conjugate Roots
Δ<0⇒r=α±βi⇒y=eαx(C1cosβx+C2sinβx)