This document serves as a test for rendering mathematical formulas in Markdown using $$
delimiters.
Basic Algebra
Let’s start with some fundamental algebraic expressions.
The quadratic formula is given by: x=2a−b±b2−4ac
A simple linear equation: y=mx+c
Expansion of a binomial square: (a+b)2=a2+2ab+b2
Calculus
Here are some common expressions from calculus.
The limit definition of a derivative: f′(x)=limh→0hf(x+h)−f(x)
A definite integral: ∫abf(x)dx
The Taylor series expansion of ex around x=0: ex=∑n=0∞n!xn=1+x+2!x2+3!x3+⋯
Trigonometry
Some basic trigonometric identities.
Pythagorean identity: sin2θ+cos2θ=1
Angle addition formula for sine: sin(α+β)=sinαcosβ+cosαsinβ
Euler’s formula: eiθ=cosθ+isinθ
Statistics and Probability
Formulas commonly used in statistics and probability.
The formula for the mean (μ) of a set of n numbers x1,x2,…,xn: μ=n1∑i=1nxi
The probability density function of a normal distribution: f(x∣μ,σ2)=2πσ21e−2σ2(x−μ)2
Bayes’ theorem: P(A∣B)=P(B)P(B∣A)P(A)
Linear Algebra
Examples from linear algebra.
A 2x2 matrix: A=(acbd)
The determinant of a 2x2 matrix: det(A)=ad−bc
Matrix multiplication of two matrices A and B: C=AB
Physics
A couple of well-known physics equations.
Einstein’s mass-energy equivalence: E=mc2
Newton’s second law of motion: F=ma
This should provide a good test of how various mathematical formulas are rendered.
Testing Mathematical Formulas in Markdown
Sat May 31 2025 LaTeX 234 words · 2 minutes