This document includes a variety of LaTeX mathematical expressions for use in technical documentation, including basic notation, set theory, calculus, linear algebra, equations, systems, and advanced topics in mathematics and physics.
Advanced Mathematical Expressions with LaTeX
WIP
This article is still a work in progress.
This document demonstrates the power of LaTeX for representing mathematical expressions in technical documentation, from basic notation to complex equations and proofs.
Second-order linear ODE: dx2d2y+p(x)dxdy+q(x)y=g(x)
Partial Differential Equations
Wave equation: ∂t2∂2u=c2∂x2∂2u
Heat equation: ∂t∂u=α∇2u
Laplace equation: ∇2ϕ=0 or ∂x2∂2ϕ+∂y2∂2ϕ+∂z2∂2ϕ=0
Probability and Statistics
Probability
Probability of event A: P(A)
Conditional probability: P(A∣B)=P(B)P(A∩B)
Bayes’ theorem: P(A∣B)=P(B)P(B∣A)⋅P(A)
Distributions
Binomial distribution: P(X=k)=(kn)pk(1−p)n−k
Normal distribution probability density function: f(x)=σ2π1e−21(σx−μ)2
Poisson distribution: P(X=k)=k!λke−λ
Statistical Measures
Expected value: E[X]=∑ixipi or E[X]=∫−∞∞xf(x)dx
Variance: Var(X)=E[(X−μ)2]=E[X2]−E[X]2
Covariance: Cov(X,Y)=E[(X−E[X])(Y−E[Y])]
Correlation coefficient: ρX,Y=σXσYCov(X,Y)
Number Theory
Divisibility and Congruences
a∣b means a divides b
a≡b(modm) means a is congruent to b modulo m
Euler’s totient function: ϕ(n)=n∏p∣n(1−p1)
Prime Numbers
Prime factorization: n=p1a1×p2a2×⋯×pkak
The prime number theorem: π(n)∼lnnn
Complex Analysis
Complex Numbers
z=a+bi where i2=−1
∣z∣=a2+b2 - Modulus of z
arg(z)=arctanab - Argument of z
Complex Functions
Cauchy-Riemann equations: ∂x∂u=∂y∂v and ∂y∂u=−∂x∂v
Cauchy’s integral formula: f(z0)=2πi1∮Cz−z0f(z)dz
Residue theorem: ∮Cf(z)dz=2πi∑k=1nRes(f,zk)
Physics Equations
Mechanics
Newton’s second law: F=ma
Kinetic energy: K=21mv2
Potential energy (gravitational): U=mgh
Electromagnetism
Maxwell’s Equations:
∇⋅E=ϵ0ρ (Gauss’s law)
∇⋅B=0 (Gauss’s law for magnetism)
∇×E=−∂t∂B (Faraday’s law)
∇×B=μ0(J+ϵ0∂t∂E) (Ampère’s law with Maxwell’s addition)
Thermodynamics
First law: ΔU=Q−W
Entropy change: ΔS=∫TdQ
Quantum Mechanics
Schrödinger equation: iℏ∂t∂Ψ(r,t)=H^Ψ(r,t)
Heisenberg uncertainty principle: ΔxΔp≥2ℏ
Mathematical Proofs and Theorems
Proof by Induction
Base case: P(1) is true.
Inductive step: Assume P(k) is true, show P(k+1) is true.
Therefore, P(n) is true for all positive integers n.
Mathematical Theorems
The Fundamental Theorem of Calculus:
∫abf(x)dx=F(b)−F(a)
Where F is an antiderivative of f.
Pythagorean Theorem:
For a right triangle with sides a, b and hypotenuse c:
a2+b2=c2
Commutative Diagrams
Ag↓⏐CfjB↓⏐hD
This diagram commutes if h∘f=j∘g
Advanced Mathematical Structures
Groups, Rings, and Fields
Group axioms for (G,⋅):
Closure: ∀a,b∈G,a⋅b∈G
Associativity: ∀a,b,c∈G,(a⋅b)⋅c=a⋅(b⋅c)
Identity: ∃e∈G,∀a∈G,e⋅a=a⋅e=a
Inverse: ∀a∈G,∃a−1∈G,a⋅a−1=a−1⋅a=e
Transformations and Mappings
Linear transformation: T(αv+βw)=αT(v)+βT(w)
Eigenvalue equation: T(v)=λv where λ is the eigenvalue
Notable Equations in Science
Einstein’s Mass-Energy Equivalence
E=mc2
Euler’s Identity
eiπ+1=0
Boltzmann’s Entropy Formula
S=kBlnW
The Standard Model Lagrangian (Simplified)
LSM=Lgauge+Lfermion+LHiggs+LYukawa
Combinatorial Mathematics
Permutations and Combinations
Number of permutations: P(n,r)=(n−r)!n!
Number of combinations: C(n,r)=(rn)=r!(n−r)!n!
Binomial Theorem
(a+b)n=∑k=0n(kn)an−kbk
Optimization Problems
Lagrange Multipliers
To maximize/minimize f(x,y) subject to g(x,y) = c:
∇f(x,y)=λ∇g(x,y)
Multi-Dimensional Calculus
Multiple Integrals
Triple integral in rectangular coordinates: ∭Ef(x,y,z)dxdydz
Triple integral in spherical coordinates: ∭Ef(ρ,θ,ϕ)ρ2sinϕdρdθdϕ
Stokes’ Theorem
∮CF⋅dr=∬S(∇×F)⋅dS
Divergence Theorem
∭V(∇⋅F)dV=∬SF⋅dS
Advanced Theoretical Mathematics
The Riemann Hypothesis
One of the most famous unsolved problems in mathematics, the Riemann Hypothesis states that all non-trivial zeros of the Riemann zeta function have real part 21.
The Riemann zeta function is defined as:
ζ(s)=∑n=1∞ns1for ℜ(s)>1
And it can be analytically continued to the entire complex plane except for a simple pole at s=1:
ζ(s)=2sπs−1sin(2πs)Γ(1−s)ζ(1−s)
The Riemann Hypothesis conjectures that:
ζ(σ+it)=0⇒σ=21
The zeros of the zeta function are closely related to the distribution of prime numbers through the explicit formula:
ψ(x)=x−∑ρρxρ−log(2π)−21log(1−x21)
Where ρ runs through the non-trivial zeros of the zeta function.
Mandelbrot Set and Complex Dynamics
The Mandelbrot set M is defined as the set of complex numbers c for which the sequence defined by the recurrence relation:
zn+1=zn2+cwith z0=0
remains bounded. Mathematically:
M={c∈C:limn→∞∣zn∣→∞}
The boundary of the Mandelbrot set exhibits infinite complexity with self-similar structures at all scales. The “bulb” regions correspond to different periods in the orbit dynamics:
Period-p bulb: zp+cp=z has an attracting fixed point
The Mandelbrot set can also be characterized using the potential function:
G(c)=limn→∞2n1log∣zn∣
where G(c)=0 if c∈M and G(c)>0 otherwise.
Euler’s Remarkable Identities
The Most Beautiful Equation in Mathematics
Euler’s identity elegantly connects five fundamental mathematical constants:
eiπ+1=0
This can be derived from the more general Euler’s formula:
eix=cosx+isinx
Setting x=π yields:
eiπ=cosπ+isinπ=−1+0i=−1
Extended Euler’s Formula Applications
For any complex number z=x+iy:
ez=ex+iy=ex⋅eiy=ex(cosy+isiny)
This leads to the hyperbolic functions:
coshz=2ez+e−zsinhz=2ez−e−z
And the remarkable identity:
cosz=cosh(iz)sinz=−isinh(iz)
Euler’s Infinite Series
ez=∑n=0∞n!zn=1+z+2!z2+3!z3+⋯
sinz=∑n=0∞(2n+1)!(−1)nz2n+1=z−3!z3+5!z5−⋯
cosz=∑n=0∞(2n)!(−1)nz2n=1−2!z2+4!z4−⋯
Advanced Trigonometry
Trigonometric Identities
The double angle formulas:
sin2θ=2sinθcosθ
cos2θ=cos2θ−sin2θ=2cos2θ−1=1−2sin2θ
tan2θ=1−tan2θ2tanθ
The sum and difference formulas:
sin(α±β)=sinαcosβ±cosαsinβ
cos(α±β)=cosαcosβ∓sinαsinβ
tan(α±β)=1∓tanαtanβtanα±tanβ
Hyperbolic Trigonometry
The hyperbolic functions and their relationship to the exponential function:
Where rn is the parameter value at which the period-2n orbit appears.
Non-Euclidean Geometry
Hyperbolic Geometry
In the Poincaré disk model, the hyperbolic distance between points z1 and z2 is:
dH(z1,z2)=2tanh−11−z1ˉz2z1−z2
The area of a hyperbolic triangle with angles α,β,γ is:
A=π−(α+β+γ)
Riemannian Geometry
The Riemann curvature tensor measures how the geometry deviates from Euclidean space:
Rσμνρ=∂μΓνσρ−∂νΓμσρ+ΓμλρΓνσλ−ΓνλρΓμσλ
Where Γμνρ are the Christoffel symbols:
Γμνρ=21gρσ(∂μgνσ+∂νgμσ−∂σgμν)
Category Theory
Functors and Natural Transformations
For categories C and D, a functor F:C→D maps:
Objects X in C to objects F(X) in D
Morphisms f:X→Y in C to morphisms F(f):F(X)→F(Y) in D
Preserving composition: F(g∘f)=F(g)∘F(f)
A natural transformation η:F⇒G between functors F,G:C→D consists of a family of morphisms ηX:F(X)→G(X) such that for any f:X→Y in C:
ηY∘F(f)=G(f)∘ηX
This is captured by the commutative diagram:
F(X)ηX↓⏐G(X)F(f)G(f)F(Y)↓⏐ηYG(Y)
Yoneda Lemma
For a locally small category C and an object A in C, the Yoneda embedding:
yA=HomC(A,−):C→Set
The Yoneda lemma states that for any functor F:C→Set:
Nat(yA,F)≅F(A)
This showcase represents only a subset of LaTeX’s mathematical capabilities. For specific needs, you may need to consult additional resources or specialized LaTeX packages.