Math Formulas

Comprehensive collection of mathematical formulas grouped by category.

function

Algebraic Formulas

expand_more

Difference of Squares

a 2 - b 2 = ( a - b ) ( a + b )

Perfect Square (+)

( a + b ) 2 = a 2 + 2 a b + b 2

Perfect Square (-)

( a - b ) 2 = a 2 - 2 a b + b 2

Sum of Cubes

a 3 + b 3 = ( a + b ) ( a 2 - a b + b 2 )

Difference of Cubes

a 3 - b 3 = ( a - b ) ( a 2 + a b + b 2 )

Cube of Sum

( a + b ) 3 = a 3 + 3 a 2 b + 3 a b 2 + b 3

Cube of Difference

( a - b ) 3 = a 3 - 3 a 2 b + 3 a b 2 - b 3
functions

Series & Sums

expand_more

Sum of first n natural numbers

i = 1 n i = n ( n + 1 ) 2

Sum of first n squares

i = 1 n i 2 = n ( n + 1 ) ( 2 n + 1 ) 6

Sum of first n cubes

i = 1 n i 3 = n ( n + 1 ) 2 2
superscript

Exponents & Roots

expand_more

Product Rule

a m a n = a m + n

Quotient Rule

a m a n = a m - n

Power of a Power

( a m ) n = a m n

Power of a Product

( a b ) n = a n b n

Zero Exponent

a 0 = 1

Negative Exponent

a - n = 1 a n
shapes

Geometry Areas

expand_more

Rectangle Area

A = l × w

Triangle Area

A = 1 2 b h

Circle Area

A = π r 2

Circle Circumference

C = 2 π r

Trapezoid Area

A = 1 2 ( a + b ) h
architecture

Trigonometry

expand_more

Sine Definition

sin θ = Opposite Hypotenuse

Cosine Definition

cos θ = Adjacent Hypotenuse

Tangent Definition

tan θ = Opposite Adjacent

Pythagorean Identity

sin 2 θ + cos 2 θ = 1

Sine Rule

Relates the sides of a triangle to the sines of its angles.

a sin A = b sin B = c sin C = 2 R

Cosine Rule

Generalization of the Pythagorean theorem for any triangle.

c 2 = a 2 + b 2 - 2 a b cos C
grid_on

Coordinate Geometry

expand_more

Section Formula

P = m x 2 + n x 1 m + n , m y 2 + n y 1 m + n

Slope of a Line

m = y 2 - y 1 x 2 - x 1

Point-Slope Form

y - y 1 = m ( x - x 1 )

Distance of Point from Line

d = | A x 1 + B y 1 + C | A 2 + B 2

Angle Between Lines

The angle θ between two lines with slopes m₁ and m₂.

tan θ = | m 1 - m 2 1 + m 1 m 2 |

Area of Triangle

Area of a triangle with vertices (x₁,y₁), (x₂,y₂), (x₃,y₃).

Area = 1 2 | x 1 ( y 2 - y 3 ) + x 2 ( y 3 - y 1 ) + x 3 ( y 1 - y 2 ) |

Centroid of Triangle

The intersection of the three medians of the triangle.

C = x 1 + x 2 + x 3 3 , y 1 + y 2 + y 3 3

Two-Point Form

y - y 1 x - x 1 = y 2 - y 1 x 2 - x 1

Slope-Intercept Form

y = m x + b

Intercept Form

x a + y b = 1

Dist. Between Parallel Lines

Distance between Ax + By + C₁ = 0 and Ax + By + C₂ = 0.

d = | C 1 - C 2 | A 2 + B 2