Formulas to remember
Bilingual formula cards for secondary maths, from fractions to calculus and statistics. Read them here, or open a card as a picture to save, print for the study corner, or share.
Number and foundations
Fractions
- Equivalent fractions, simplify
- Add or subtract: same denominator
- Add or subtract: different denominators
- Multiply fractions
- Divide by a nonzero fraction
- Mixed number to improper fraction
- Find a fraction of a number
- Find the whole from its fraction
🍋 To divide fractions, multiply by the reciprocal. Denominators must never be zero!
Percentages
- Find p% of b
- a as a percentage of b (b ≠ 0)
- Increase by p%
- Decrease by p% (0 ≤ p ≤ 100)
- Percentage change (B ≠ 0)
- Price after d% discount and t% tax
🍋 Increasing by p% then decreasing by p% does not restore the original value unless p = 0!
Ratio and proportion
- Cross-multiplication (b, d ≠ 0)
- Equal ratios (b, d, b+d ≠ 0)
- Direct proportion
- Inverse proportion
- Split total S in the ratio m : n
- Map scale (same units)
🍋 Before using a map scale, convert both distances to the same unit!
Divisibility, HCF and LCM
- Divisible by 2 or 5
- Divisible by 3 or 9
- Prime factorisation
- n=p_1^{a_1}p_2^{a_2}\cdots p_k^{a_k}
- HCF: smaller prime powers
- \mathrm{HCF}(a,b)=\prod p^{\min(r,s)}
- LCM: larger prime powers
- \mathrm{LCM}(a,b)=\prod p^{\max(r,s)}
- HCF–LCM identity (a, b > 0)
- \mathrm{HCF}(a,b)\cdot\mathrm{LCM}(a,b)=ab
- Number of positive divisors
- n=p^rq^s\ \Rightarrow\ d(n)=(r+1)(s+1)
🍋 S(n) is the digit sum. Also, 4 divides a number if its last two digits form a multiple of 4; for 11, alternate digit sums.
Speed, distance and time
- Distance, speed and time
- s=vt\qquad v=\dfrac{s}{t}\quad(t>0)
- Average speed
- v_{\mathrm{avg}}=\dfrac{s_1+s_2}{t_1+t_2}
- Moving towards each other
- t=\dfrac{d}{v_1+v_2}
- Same direction: catch-up time
- t=\dfrac{d}{v_1-v_2}\quad(v_1>v_2)
- Downstream and upstream
- v_{\mathrm{down}}=v_{\mathrm{boat}}+v_{\mathrm{river}}v_{\mathrm{up}}=v_{\mathrm{boat}}-v_{\mathrm{river}}
- Convert speed units
- 1\ \mathrm{m/s}=3.6\ \mathrm{km/h}
🍋 Assume constant speeds; d is the starting gap. Use matching units and check that the faster object is behind.
Angles and polygons
- Angles on a straight line
- \alpha+\beta=180^\circ
- Vertically opposite angles
- \alpha=\beta
- Alternate and corresponding angles
- \alpha=\beta
- Triangle interior angles
- A+B+C=180^\circ
- Exterior angle of a triangle
- \alpha_{\mathrm{ext}}=A+B
- Interior angle sum (n sides)
- S=(n-2)\cdot180^\circ\quad(n\geq3)
- One exterior angle per vertex
- S_{\mathrm{ext}}=360^\circ
- Number of diagonals
- D=\dfrac{n(n-3)}{2}\quad(n\geq3)
🍋 Alternate and corresponding angles are equal when the lines are parallel. Check that condition first!
Sets and Venn diagrams
- Union and intersection
- A\cup B,\qquad A\cap B
- Difference and complement in U
- A\setminus B,\qquad A^c=U\setminus A
- Two-set inclusion–exclusion
- n(A\cup B)=n(A)+n(B)-n(A\cap B)
- Three-set inclusion–exclusion
- n(A\cup B\cup C)=n(A)+n(B)+n(C)-n(A\cap B)-n(A\cap C)-n(B\cap C)+n(A\cap B\cap C)
- Subsets of an n-element set
- N=2^n\quad(n\geq 0)
- De Morgan’s laws (relative to U)
- (A\cup B)^c=A^c\cap B^c(A\cap B)^c=A^c\cup B^c
🍋 When counting a union, subtract the overlap so shared elements are not counted twice!
Algebra
Laws of exponents
- Multiply and divide (a ≠ 0 for division)
- a^m a^n=a^{m+n}\dfrac{a^m}{a^n}=a^{m-n}
- Power of a power
- (a^m)^n=a^{mn}
- Power of a product and quotient (b ≠ 0)
- (ab)^n=a^nb^n\left(\dfrac{a}{b}\right)^n=\dfrac{a^n}{b^n}
- Zero exponent (a ≠ 0)
- a^0=1
- Negative exponent (a ≠ 0)
- a^{-n}=\dfrac{1}{a^n}
- Rational exponent (a > 0; n positive)
- a^{m/n}=\sqrt[n]{a^m}
🍋 Add exponents when multiplying like bases, not the bases themselves. Negative exponents require a nonzero base!
Surds and roots
- Square root of a square (real A)
- \sqrt{A^2}=|A|
- Root of a product (A, B ≥ 0)
- \sqrt{AB}=\sqrt{A}\sqrt{B}
- Root of a quotient (A ≥ 0, B > 0)
- \sqrt{\dfrac{A}{B}}=\dfrac{\sqrt{A}}{\sqrt{B}}
- Take factors out/in (k ≥ 0, A ≥ 0)
- \sqrt{k^2A}=k\sqrt{A}=\sqrt{k^2A}
- Rationalise with conjugates (a, b ≥ 0; a ≠ b)
- \dfrac{1}{\sqrt{a}+\sqrt{b}}=\dfrac{\sqrt{a}-\sqrt{b}}{a-b}
- Cube roots (real x)
- \sqrt[3]{x^3}=x
🍋 A square root is nonnegative: the square root of A squared is |A|, not always A!
Special products and factorising
- Square of a sum
- (a+b)^2=a^2+2ab+b^2
- Square of a difference
- (a-b)^2=a^2-2ab+b^2
- Difference of two squares
- a^2-b^2=(a-b)(a+b)
- Cube of a sum
- (a+b)^3=a^3+3a^2b+3ab^2+b^3
- Cube of a difference
- (a-b)^3=a^3-3a^2b+3ab^2-b^3
- Sum of two cubes
- a^3+b^3=(a+b)(a^2-ab+b^2)
- Difference of two cubes
- a^3-b^3=(a-b)(a^2+ab+b^2)
🍋 Watch the middle term and its sign when expanding!
Linear and simultaneous equations
- Linear equation, a nonzero
- ax+b=0\ \Rightarrow\ x=-\dfrac{b}{a}
- Two linear equations
- ax+by=cdx+ey=f
- Coefficient determinant
- D=ae-bd
- Numerator determinants
- D_x=ce-bfD_y=af-cd
- Unique solution if D nonzero
- x=\dfrac{D_x}{D},\quad y=\dfrac{D_y}{D}
- When D is zero
- D_x\neq 0\ \mathrm{or}\ D_y\neq 0:\ \varnothingD_x=D_y=0:\ \infty
🍋 Try substitution or elimination to solve the system.
Linear functions and straight lines
- Slope-intercept form
- y=mx+b
- Gradient from two points
- m=\dfrac{y_2-y_1}{x_2-x_1}x_1\neq x_2
- Distinct parallel lines
- m_1=m_2,\quad b_1\neq b_2
- Perpendicular nonvertical lines
- m_1m_2=-1
- Y-intercept
- (0,b)
- X-intercept, m nonzero
- (-\dfrac{b}{m},0)
- Increasing or decreasing
- m>0:\ \nearrowm<0:\ \searrow
- Point-slope form
- y-y_1=m(x-x_1)
🍋 Vertical lines have undefined gradient.
Quadratic equations
- Standard form
- ax^2+bx+c=0\quad(a\neq0)
- Discriminant
- \Delta=b^2-4ac
- Roots when Δ ≥ 0
- x_{1,2}=\dfrac{-b\pm\sqrt{\Delta}}{2a}
- Δ = 0: repeated root; Δ < 0: no real roots
- x_1=x_2=-\dfrac{b}{2a}\quad(\Delta=0)
- Vieta's formulas
- x_1+x_2=-\dfrac{b}{a};\quad x_1x_2=\dfrac{c}{a}
- Completing the square
- ax^2+bx+c=a(x+\dfrac{b}{2a})^2-\dfrac{\Delta}{4a}
- Quick roots
- a+b+c=0\Rightarrow x_1=1,\ x_2=\dfrac{c}{a}a-b+c=0\Rightarrow x_1=-1,\ x_2=-\dfrac{c}{a}
🍋 Check that a is nonzero, then calculate the discriminant before finding roots.
Quadratic functions
- Standard form (a ≠ 0)
- y=ax^2+bx+c
- Basic parabola
- y=ax^2\quad(a\neq0)
- Vertex
- \left(-\dfrac{b}{2a},-\dfrac{\Delta}{4a}\right)
- Axis of symmetry
- x=-\dfrac{b}{2a}
- Vertex form
- y=a(x-h)^2+k
- Factored form (real roots)
- y=a(x-x_1)(x-x_2)
- Opens up if a > 0; down if a < 0
- a>0a<0
- Axis intercepts
- x=0\Rightarrow y=cy=0\Rightarrow ax^2+bx+c=0
🍋 Find the vertex and axis of symmetry before sketching the parabola.
Quadratic inequalities
- Quadratic expression (a ≠ 0)
- f(x)=ax^2+bx+c
- Discriminant
- \Delta=b^2-4ac
- Δ < 0: same sign as a
- \Delta<0\Rightarrow af(x)>0
- Δ = 0: same sign except at double root
- f(x)=a(x+\dfrac{b}{2a})^2
- Δ > 0: outside same, between opposite
- x_1<x_2;\quad f(x)=a(x-x_1)(x-x_2)
- Strictly positive for all real x
- f(x)>0\ \forall x\in\mathbb{R}\Leftrightarrow a>0,\ \Delta<0
- Absolute value (m > 0)
- |x|<m\Leftrightarrow -m<x<m|x|>m\Leftrightarrow x<-m\ \mathrm{or}\ x>m
- Equal absolute values
- |A|=|B|\Leftrightarrow A=B\ \mathrm{or}\ A=-B
🍋 For two distinct real roots, the sign outside the roots matches a.
Functions and transformations
- Composite function
- (f\circ g)(x)=f(g(x))
- Inverse: swap x and y, then solve
- y=f(x)\ \Longleftrightarrow\ x=f^{-1}(y)
- Inverse identities (on valid domains)
- f(f^{-1}(x))=x
- Inverse graph: reflect in y = x
- (a,b)\longleftrightarrow(b,a)
- Shift up k; right h
- y=f(x)+ky=f(x-h)
- Vertical and horizontal scaling
- y=af(x)y=f(ax)\quad(a\neq0)
- Reflect in x-axis and y-axis
- y=-f(x)y=f(-x)
🍋 An inverse function needs a one-to-one original function on its chosen domain.
Arithmetic sequences
- Common difference
- d=u_{n+1}-u_n
- Nth term (n ≥ 1)
- u_n=a+(n-1)d
- Sum of first n terms
- S_n=\dfrac{n(a+u_n)}{2}
- Sum using common difference
- S_n=\dfrac{n[2a+(n-1)d]}{2}
- Middle term (k ≥ 2)
- u_k=\dfrac{u_{k-1}+u_{k+1}}{2}
🍋 In an arithmetic sequence, consecutive terms always differ by d.
Geometric sequences and series
- Common ratio (u_n nonzero)
- r=\dfrac{u_{n+1}}{u_n}
- Nth term (n ≥ 1)
- u_n=ar^{n-1}
- Finite sum (r not 1)
- S_n=\dfrac{a(1-r^n)}{1-r}
- When common ratio is 1
- r=1\Rightarrow S_n=na
- Middle term (k ≥ 2)
- u_k^2=u_{k-1}u_{k+1}
- Infinite sum (|r| < 1)
- S=\dfrac{a}{1-r}
🍋 Use the infinite sum formula only when the absolute ratio is below 1.
Logarithms
- Definition (a > 0, a ≠ 1, b > 0)
- \log_a b=c\ \Leftrightarrow\ a^c=b
- Basic values
- \log_a 1=0,\quad \log_a a=1a^{\log_a b}=b
- Product rule (x, y > 0)
- \log_a(xy)=\log_a x+\log_a y
- Quotient rule (x, y > 0)
- \log_a\dfrac{x}{y}=\log_a x-\log_a y
- Power rule (x > 0)
- \log_a(x^t)=t\log_a x
- Change of base (c > 0, c ≠ 1)
- \log_a b=\dfrac{\log_c b}{\log_c a}
- Common and natural logs
- \log x=\log_{10}x\ln x=\log_e x\quad (x>0)
🍋 Check the base and argument are valid before using log rules.
Exponential and log equations
- Exponential equation (a > 0, a ≠ 1, b > 0)
- a^x=b\ \Leftrightarrow\ x=\log_a b
- Log equation (a > 0, a ≠ 1)
- \log_a x=b\ \Leftrightarrow\ x=a^b
- Same-base equation (a > 0, a ≠ 1)
- a^{f(x)}=a^{g(x)}\Leftrightarrow f(x)=g(x)
- Equal logs (u, v > 0)
- \log_a u=\log_a v\Leftrightarrow u=v
- Base a > 1: keep inequality
- a^u>a^v\Leftrightarrow u>v
- Base 0 < a < 1: reverse inequality
- a^u>a^v\Leftrightarrow u<v
- Log inequalities (u, v > 0)
- a>1:\ \log_a u>\log_a v\Leftrightarrow u>v0<a<1:\ \log_a u>\log_a v\Leftrightarrow u<v
🍋 Every logarithm argument must be positive. Check before solving.
Interest, growth and decay
- Simple interest (n periods, rate r)
- A=P(1+nr)
- Compound interest (n periods, rate r)
- A=P(1+r)^n
- Compounded m times per year
- A=P\left(1+\dfrac{r}{m}\right)^{mt}
- Continuous compounding (t years)
- A=Pe^{rt}
- Growth (r ≥ 0)
- N=N_0(1+r)^t
- Decay (0 ≤ r < 1)
- N=N_0(1-r)^t
- Half-life (T > 0)
- A=A_0\left(\dfrac{1}{2}\right)^{t/T}
🍋 Convert percentages to decimals and keep time units consistent.
Binomial theorem
- Fourth power
- (a+b)^4=a^4+4a^3b+6a^2b^2\qquad+4ab^3+b^4
- Fifth power
- (a+b)^5=a^5+5a^4b+10a^3b^2\qquad+10a^2b^3+5ab^4+b^5
- General expansion (integer n ≥ 0)
- (a+b)^n=\sum_{k=0}^n\binom{n}{k} a^{n-k}b^k
- Term k + 1 (0 ≤ k ≤ n)
- T_{k+1}=\binom{n}{k} a^{n-k}b^k
- Binomial coefficient
- \binom{n}{k}=\dfrac{n!}{k!(n-k)!}
- Sum of coefficients
- \sum_{k=0}^n\binom{n}{k}=2^n
- Pascal's triangle rule
- \binom{n}{k}=\binom{n-1}{k-1}+\binom{n-1}{k}
🍋 In Pascal’s triangle, each inner number adds the two numbers directly above.
Complex numbers
- Imaginary unit and standard form
- i^2=-1,\quad z=a+bi
- Modulus and conjugate (a, b real)
- |z|=\sqrt{a^2+b^2}\overline{z}=a-bi
- Addition and subtraction
- (a+bi)\pm(c+di)=(a\pm c)+(b\pm d)i
- Multiplication
- (a+bi)(c+di)=(ac-bd)+(ad+bc)i
- Division (c² + d² > 0)
- \dfrac{a+bi}{c+di}=\dfrac{ac+bd}{c^2+d^2}\qquad+\dfrac{bc-ad}{c^2+d^2}i
- Quadratic roots (a ≠ 0, Δ < 0)
- x=\dfrac{-b\pm i\sqrt{-\Delta}}{2a}
- Polar form (r ≥ 0)
- z=r(\cos\theta+i\sin\theta)
- De Moivre (integer n)
- z^n=r^n(\cos n\theta+i\sin n\theta)
🍋 Multiply numerator and denominator by the denominator’s conjugate when dividing.
Geometry
Pythagoras and right triangles
- Pythagoras and converse (a hypotenuse)
- a^2=b^2+c^2
- Common Pythagorean triples
- (3,4,5),\ (5,12,13),\ (8,15,17)
- Isosceles right triangle (leg t)
- a=t\sqrt{2}
- 30°–60°–90° triangle (hypotenuse a)
- b=\dfrac{a}{2},\quad c=\dfrac{a\sqrt{3}}{2}
- Median to hypotenuse
- AM=\dfrac{BC}{2}
- Altitude to hypotenuse (projections b′, c′)
- h^2=b' c'b^2=ab',\quad c^2=ac'
- Area and altitude identities
- bc=ah\dfrac{1}{h^2}=\dfrac{1}{b^2}+\dfrac{1}{c^2}
🍋 Mark the hypotenuse first; it is always opposite the right angle.
Perimeter and area
- Rectangle
- P=2(a+b),\quad S=ab
- Square
- P=4a,\quad S=a^2
- Triangle
- P=a+b+c,\quad S=\dfrac{ah}{2}
- Parallelogram
- P=2(a+b),\quad S=ah
- Trapezium / trapezoid
- S=\dfrac{(a+b)h}{2}
- Rhombus
- P=4a,\quad S=\dfrac{d_1d_2}{2}
- Kite
- S=\dfrac{d_1d_2}{2}
🍋 Use the perpendicular height, not the sloping side. Keep all lengths in the same unit!
Circles, arcs and sectors
- Circumference
- C=2\pi R=\pi d
- Area of a circle
- S=\pi R^2
- Degrees and radians
- 180^\circ=\pi\ \mathrm{rad}
- Arc length (central angle n°)
- l=\dfrac{n}{360}\,2\pi R
- Arc length (α radians)
- l=R\alpha
- Sector area
- S=\dfrac{n}{360}\pi R^2S=\dfrac{1}{2} R^2\alpha=\dfrac{1}{2} Rl
- Area of an annulus
- S=\pi(R^2-r^2)
🍋 In l = Rα, the angle α must be in radians. Check the angle unit first!
Circle theorems
- P on major arc AB; O is centre
- \angle APB=\dfrac{1}{2}\angle AOB
- AB is a diameter; P lies on circle
- \angle APB=90^\circ
- Cyclic quadrilateral
- \angle A+\angle C=180^\circ
- MT tangent at T; O is centre
- OT\perp MT
- MA and MB are tangents from M
- MA=MB
- MT tangent at T; B on opposite arc
- \angle MTA=\angle TBA
🍋 Angles subtended by the same chord in the same segment are equal. Mark the arc first!
Similarity and Thales theorem
- DE parallel BC in triangle ABC
- \dfrac{AD}{AB}=\dfrac{AE}{AC}=\dfrac{DE}{BC}
- Thales proportional segments
- \dfrac{AD}{DB}=\dfrac{AE}{EC}
- Converse of Thales theorem
- \dfrac{AD}{DB}=\dfrac{AE}{EC}\Rightarrow DE\parallel BC
- Triangle mid-segment
- DE\parallel BC,\quad DE=\dfrac{BC}{2}
- AD bisects angle A; D lies on BC
- \dfrac{BD}{DC}=\dfrac{AB}{AC}
- Similar triangles, scale factor k
- \dfrac{S_1}{S_2}=k^2
- Similar solids, scale factor k
- \dfrac{V_1}{V_2}=k^3
🍋 Match corresponding sides before writing a proportion!
Prisms and pyramids
- Cuboid: side lengths a, b, c
- V=abcd=\sqrt{a^2+b^2+c^2}
- Cube of side a
- V=a^3,\quad S_{tp}=6a^2
- Right prism: base perimeter C
- S_{xq}=Ch
- Prism: base area B
- V=Bh
- Regular pyramid: slant height d
- S_{xq}=\dfrac{Cd}{2}
- Pyramid: base area B
- V=\dfrac{Bh}{3}
- Pyramid frustum: base areas B, B′
- V=\dfrac{h}{3}(B+B'+\sqrt{BB'})
🍋 The vertical height h is perpendicular to the base, not a sloping edge!
Cylinders, cones and spheres
- Cylinder: curved surface area
- S_{xq}=2\pi rh
- Cylinder: total surface area
- S_{tp}=2\pi rh+2\pi r^2
- Cylinder: volume
- V=\pi r^2h
- Cone: slant height l
- l^2=r^2+h^2
- Cone: curved surface area
- S_{xq}=\pi rl
- Cone: volume
- V=\dfrac{\pi r^2h}{3}
- Sphere: surface area
- S=4\pi R^2
- Sphere: volume
- V=\dfrac{4}{3}\pi R^3
🍋 A cone has one-third the volume of a cylinder with the same base and height!
Coordinate geometry of lines
- Distance between A and B
- AB=\sqrt{(x_B-x_A)^2+(y_B-y_A)^2}
- Midpoint M of AB
- M(\dfrac{x_A+x_B}{2},\dfrac{y_A+y_B}{2})
- Centroid G of triangle ABC
- G(\dfrac{x_A+x_B+x_C}{3},\dfrac{y_A+y_B+y_C}{3})
- Line: normal vector (a, b)
- ax+by+c=0\quad (a^2+b^2>0)
🍋 Check that the normal vector is nonzero; the slope rule only works for nonvertical lines.
Coordinate geometry of lines
- Parametric form: direction (u, v)
- x=x_0+ut,\quad y=y_0+vtt\in\mathbb{R},\quad u^2+v^2>0
- Point-to-line distance
- d=\dfrac{|ax_0+by_0+c|}{\sqrt{a^2+b^2}}
- Acute angle between two lines
- \cos\varphi=\dfrac{|a_1a_2+b_1b_2|}{\sqrt{a_1^2+b_1^2}\sqrt{a_2^2+b_2^2}}
- Perpendicular lines (nonvertical)
- m_1m_2=-1
🍋 Check that the normal vector is nonzero; the slope rule only works for nonvertical lines.
Equation of a circle
- Centre (a, b), radius R > 0
- (x-a)^2+(y-b)^2=R^2
- Expanded equation
- x^2+y^2+Dx+Ey+F=0
- Centre and radius from expanded form
- I(-\dfrac{D}{2},-\dfrac{E}{2})R=\sqrt{\dfrac{D^2+E^2}{4}-F}
- Condition for a real circle
- D^2+E^2-4F>0
- Tangent at a point on the circle
- (x_0-a)(x-a)+(y_0-b)(y-b)=R^2
- Tangency to line Ax+By+C=0
- \dfrac{|Aa+Bb+C|}{\sqrt{A^2+B^2}}=R
- Circle centred at origin
- x^2+y^2=R^2
🍋 An expanded circle equation must give a positive squared radius.
Conic sections
- Ellipse: a > b > 0
- \dfrac{x^2}{a^2}+\dfrac{y^2}{b^2}=1
- Ellipse: foci and eccentricity
- c^2=a^2-b^2,\quad e=\dfrac{c}{a}F_1(-c,0),\quad F_2(c,0)
- Hyperbola: a, b > 0
- \dfrac{x^2}{a^2}-\dfrac{y^2}{b^2}=1
- Hyperbola: foci
- c^2=a^2+b^2,\quad e=\dfrac{c}{a}>1F_1(-c,0),\quad F_2(c,0)
- Hyperbola asymptotes
- y=\pm\dfrac{b}{a} x
- Parabola: a > 0
- y^2=4ax
- Parabola focus
- F(a,0)
🍋 For foci, the ellipse uses a difference of squares; the hyperbola uses a sum.
Vectors
- Triangle rule
- \vec{AB}+\vec{BC}=\vec{AC}
- Parallelogram rule
- \vec{AB}+\vec{AD}=\vec{AC}
- Vector subtraction
- \vec a-\vec b=\vec a+(-\vec b)
- Midpoint I of AB
- \vec{IA}+\vec{IB}=\vec 0
- Centroid G of triangle ABC
- \vec{GA}+\vec{GB}+\vec{GC}=\vec 0
- Dot product and angle
- \vec a\cdot\vec b=|\vec a||\vec b|\cos\theta
- Components and magnitude
- \vec a\cdot\vec b=a_1b_1+a_2b_2|\vec a|=\sqrt{a_1^2+a_2^2}
- Perpendicular; parallel
- \vec a\perp\vec b\Leftrightarrow\vec a\cdot\vec b=0\vec a\parallel\vec b\Leftrightarrow a_1b_2-a_2b_1=0
🍋 A zero dot product means nonzero vectors are perpendicular.
Vectors in 3D I
- Vector AB components
- \vec{AB}=(x_B-x_A,y_B-y_A,z_B-z_A)
- Addition, subtraction, scaling
- \vec a\pm\vec b=(a_1\pm b_1,a_2\pm b_2,a_3\pm b_3)k\vec a=(ka_1,ka_2,ka_3)
- Dot product
- \vec a\cdot\vec b=a_1b_1+a_2b_2+a_3b_3
- Vector magnitude
- |\vec a|=\sqrt{a_1^2+a_2^2+a_3^2}
🍋 Two vectors are perpendicular exactly when their dot product is 0. Keep this one handy!
Vectors in 3D II
- Angle between nonzero vectors
- \cos\theta=\dfrac{\vec a\cdot\vec b}{|\vec a||\vec b|}
- Cross product
- \vec a\times\vec b=(a_2b_3-a_3b_2,a_3b_1-a_1b_3,a_1b_2-a_2b_1)
- Midpoint I of AB
- I=(\dfrac{x_A+x_B}{2},\dfrac{y_A+y_B}{2},\dfrac{z_A+z_B}{2})
- Centroid G of triangle ABC
- G=(\dfrac{x_A+x_B+x_C}{3},\dfrac{y_A+y_B+y_C}{3},\dfrac{z_A+z_B+z_C}{3})
🍋 The cross product is perpendicular to both original vectors.
Lines, planes and spheres I
- Plane through M₀, normal n
- A(x-x_0)+B(y-y_0)+C(z-z_0)=0
- Point-to-plane distance
- d=\dfrac{|Ax_0+By_0+Cz_0+D|}{\sqrt{A^2+B^2+C^2}}
- Parametric line
- x=x_0+at,\quad y=y_0+btz=z_0+ct\quad (t\in\mathbb{R})
- Symmetric line (abc ≠ 0)
- \dfrac{x-x_0}{a}=\dfrac{y-y_0}{b}=\dfrac{z-z_0}{c}
🍋 Check that direction and normal vectors are nonzero.
Lines, planes and spheres II
- Angle between two lines
- \cos\theta=\dfrac{|\vec u\cdot\vec v|}{|\vec u||\vec v|}
- Angle between line and plane
- \sin\alpha=\dfrac{|\vec u\cdot\vec n|}{|\vec u||\vec n|}
- Angle between two planes
- \cos\varphi=\dfrac{|\vec n_1\cdot\vec n_2|}{|\vec n_1||\vec n_2|}
- Sphere with centre I, radius R > 0
- (x-a)^2+(y-b)^2+(z-c)^2=R^2
🍋 Angles between lines or planes are between 0° and 90°, so keep the absolute value on top!
Transformations
- Translation by vector (a, b)
- (x,y)\mapsto(x+a,y+b)
- Reflection in x-axis
- (x,y)\mapsto(x,-y)
- Reflection in y-axis
- (x,y)\mapsto(-x,y)
- Reflection in y = x
- (x,y)\mapsto(y,x)
- Half-turn about origin O
- (x,y)\mapsto(-x,-y)
- 90° anticlockwise about O
- (x,y)\mapsto(-y,x)
- Enlargement about O, scale k
- (x,y)\mapsto(kx,ky)
🍋 For a 90-degree anticlockwise turn, swap coordinates and negate the new first coordinate.
Trigonometry
Right triangle trigonometry I
- Sine and cosine (right triangle)
- \sin B=\dfrac{b}{a}\cos B=\dfrac{c}{a}
- Tangent and cotangent (acute B)
- \tan B=\dfrac{b}{c}\cot B=\dfrac{c}{b}
- Angle 30°
- \sin30^\circ=\dfrac{1}{2}\cos30^\circ=\dfrac{\sqrt{3}}{2}
- Angle 45°
- \sin45^\circ=\cos45^\circ=\dfrac{\sqrt{2}}{2}\tan45^\circ=1
🍋 SOH–CAH–TOA: sine opposite/hypotenuse, cosine adjacent/hypotenuse, tangent opposite/adjacent.
Right triangle trigonometry II
- Angle 45°
- \sin45^\circ=\cos45^\circ=\dfrac{\sqrt{2}}{2}\tan45^\circ=1
- Angle 60°
- \sin60^\circ=\dfrac{\sqrt{3}}{2}\cos60^\circ=\dfrac{1}{2}
- Complementary angles
- \sin B=\cos(90^\circ-B)
- Side-angle relations (a: hypotenuse)
- b=a\sin B=c\tan Bc=a\cos B
🍋 SOH–CAH–TOA: sine opposite/hypotenuse, cosine adjacent/hypotenuse, tangent opposite/adjacent.
Sine cosine rule and area I
- Sine rule (R: circumradius)
- \dfrac{a}{\sin A}=\dfrac{b}{\sin B}=\dfrac{c}{\sin C}=2R
- Cosine rule
- a^2=b^2+c^2-2bc\cos A
- Find cos A
- \cos A=\dfrac{b^2+c^2-a^2}{2bc}
- Area using sine
- S=\dfrac{1}{2} bc\sin A
🍋 In Heron’s formula, s is the semiperimeter, not the perimeter.
Sine cosine rule and area II
- Area using sine
- S=\dfrac{1}{2} bc\sin A
- Area using R and r
- K=\dfrac{abc}{4R}K=sr\quad(s=\dfrac{a+b+c}{2})
- Heron’s formula
- K=\sqrt{s(s-a)(s-b)(s-c)}
- Median length from A
- m_a=\dfrac{1}{2}\sqrt{2b^2+2c^2-a^2}
🍋 In Heron’s formula, s is the semiperimeter, not the perimeter.
Radians and trig identities I
- Degrees and radians
- 180^\circ=\pi\,\mathrm{rad}\alpha_{\mathrm{rad}}=\alpha_{\mathrm{deg}}\dfrac{\pi}{180}
- Arc length (α in radians)
- l=R\alpha
- Pythagorean identity
- \sin^2x+\cos^2x=1
- Tan and cot (nonzero denominators)
- \tan x=\dfrac{\sin x}{\cos x}\cot x=\dfrac{\cos x}{\sin x}
🍋 Check nonzero denominators whenever using tangent, cotangent, or related identities.
Radians and trig identities II
- Tan times cot (both defined)
- \tan x\cot x=1
- Identity with cos (cos x ≠ 0)
- 1+\tan^2x=\dfrac{1}{\cos^2x}
- Identity with sin (sin x ≠ 0)
- 1+\cot^2x=\dfrac{1}{\sin^2x}
- Signs by quadrant (CAST)
- \mathrm{I}:(+,+),\quad\mathrm{II}:(+,-)\mathrm{III}:(-,-),\quad\mathrm{IV}:(-,+)
🍋 Check nonzero denominators whenever using tangent, cotangent, or related identities.
Related angles I
- Opposite angles
- \sin(-x)=-\sin x\cos(-x)=\cos x
- Supplementary angles
- \sin(\pi-x)=\sin x\cos(\pi-x)=-\cos x
- Complementary angles
- \sin(\dfrac{\pi}{2}-x)=\cos x\cos(\dfrac{\pi}{2}-x)=\sin x
- Shift by π
- \sin(x+\pi)=-\sin x\cos(x+\pi)=-\cos x
🍋 Odd/even symmetry, supplementary and complementary angles help reconstruct identities.
Related angles II
- Complementary angles
- \sin(\dfrac{\pi}{2}-x)=\cos x\cos(\dfrac{\pi}{2}-x)=\sin x
- Shift by π
- \sin(x+\pi)=-\sin x\cos(x+\pi)=-\cos x
- Shift by π/2
- \sin(x+\dfrac{\pi}{2})=\cos x\cos(x+\dfrac{\pi}{2})=-\sin x
- Tan and cot: period π
- \tan(x+\pi)=\tan x\cot(x+\pi)=\cot x
🍋 Odd/even symmetry, supplementary and complementary angles help reconstruct identities.
Compound and double angles I
- Sine of sum
- \sin(a+b)=\sin a\cos b+\cos a\sin b
- Sine of difference
- \sin(a-b)=\sin a\cos b-\cos a\sin b
- Cosine of sum
- \cos(a+b)=\cos a\cos b-\sin a\sin b
- Cosine of difference
- \cos(a-b)=\cos a\cos b+\sin a\sin b
- Tangent of sum (when defined)
- \tan(a+b)=\dfrac{\tan a+\tan b}{1-\tan a\tan b}
🍋 In cos(a ± b), the sign between products is opposite to the sign inside the angle.
Compound and double angles II
- Tangent of difference (when defined)
- \tan(a-b)=\dfrac{\tan a-\tan b}{1+\tan a\tan b}
- Double-angle sine and tangent
- \sin2a=2\sin a\cos a\tan2a=\dfrac{2\tan a}{1-\tan^2a}
- Double-angle cosine: three forms
- \cos2a=\cos^2a-\sin^2a\cos2a=2\cos^2a-1=1-2\sin^2a
- Power-reduction formulas
- \sin^2a=\dfrac{1-\cos2a}{2}\cos^2a=\dfrac{1+\cos2a}{2}
🍋 In cos(a ± b), the sign between products is opposite to the sign inside the angle.
Product-to-sum identities I
- Cosine times cosine
- \cos a\cos b=\dfrac{\cos(a-b)+\cos(a+b)}{2}
- Sine times sine
- \sin a\sin b=\dfrac{\cos(a-b)-\cos(a+b)}{2}
- Sine times cosine
- \sin a\cos b=\dfrac{\sin(a+b)+\sin(a-b)}{2}
- Sum of cosines
- \cos a+\cos b=2\cos\dfrac{a+b}{2}\cos\dfrac{a-b}{2}
🍋 For sum-to-product, use half the sum and half the difference of the angles.
Product-to-sum identities II
- Sum of cosines
- \cos a+\cos b=2\cos\dfrac{a+b}{2}\cos\dfrac{a-b}{2}
- Difference of cosines
- \cos a-\cos b=-2\sin\dfrac{a+b}{2}\sin\dfrac{a-b}{2}
- Sum of sines
- \sin a+\sin b=2\sin\dfrac{a+b}{2}\cos\dfrac{a-b}{2}
- Difference of sines
- \sin a-\sin b=2\cos\dfrac{a+b}{2}\sin\dfrac{a-b}{2}
🍋 For sum-to-product, use half the sum and half the difference of the angles.
Trigonometric functions I
- Sine: domain and range
- D=\mathbb{R},\quad [-1,1]T=2\pi,\quad \sin(-x)=-\sin x
- Cosine: domain and range
- D=\mathbb{R},\quad [-1,1]T=2\pi,\quad \cos(-x)=\cos x
- Tangent: domain
- x\ne\dfrac{\pi}{2}+k\pi,\ k\in\mathbb{Z}R=\mathbb{R},\ T=\pi
- Cotangent: domain
- x\ne k\pi,\quad k\in\mathbb{Z}R=\mathbb{R},\ T=\pi
🍋 Sine and cosine repeat every 2π; tangent and cotangent repeat every π. Assume ω ≠ 0.
Trigonometric functions II
- Tangent and cotangent are odd
- \tan(-x)=-\tan x\cot(-x)=-\cot x
- Transformed sine (ω ≠ 0)
- y=A\sin(\omega x+\varphi)+k
- Amplitude and period (ω ≠ 0)
- \mathrm{Amplitude}=|A|T=\dfrac{2\pi}{|\omega|}
- Range of transformed sine
- [k-|A|,\ k+|A|]
🍋 Sine and cosine repeat every 2π; tangent and cotangent repeat every π. Assume ω ≠ 0.
Basic trigonometric equations I
- Sine equation
- x=\alpha+2k\pix=\pi-\alpha+2k\pi
- Cosine equation
- x=\pm\alpha+2k\pi
- Tangent equation
- x=\alpha+k\pi
- Cotangent equation
- x=\alpha+k\pi
🍋 In every general solution, k is an integer. Respect the domains of tangent and cotangent.
Basic trigonometric equations II
- Sine equals zero
- x=k\pi
- Sine equals 1 or −1
- \sin x=1:\ x=\dfrac{\pi}{2}+2k\pi\sin x=-1:\ x=-\dfrac{\pi}{2}+2k\pi
- Cosine equals zero
- x=\dfrac{\pi}{2}+k\pi
- Cosine equals 1 or −1
- \cos x=1:\ x=2k\pi\cos x=-1:\ x=\pi+2k\pi
🍋 In every general solution, k is an integer. Respect the domains of tangent and cotangent.
Calculus
Limits and continuity
- Sequence limit (k > 0)
- \lim_{n\to\infty}\dfrac{1}{n^k}=0
- Geometric sequence (|q| < 1)
- \lim_{n\to\infty}q^n=0
- Limit of a sum
- \lim(f+g)=A+B
- Limit of a product
- \lim(fg)=AB
- Limit of a quotient (B ≠ 0)
- \lim\dfrac{f}{g}=\dfrac{A}{B}
- Continuity at x₀
- \lim_{x\to x_0}f(x)=f(x_0)
- Trigonometric limit (extension)
- \lim_{x\to0}\dfrac{\sin x}{x}=1
🍋 For quotient limits, the denominator limit must be nonzero. Simplify indeterminate forms before substitution.
Rules of differentiation
- Derivative definition
- f'(x_0)=\lim_{h\to0}\dfrac{f(x_0+h)-f(x_0)}{h}
- Sum and difference
- (u\pm v)'=u'\pm v'
- Constant multiple
- (ku)'=ku'
- Product rule
- (uv)'=u' v+uv'
- Quotient rule (v ≠ 0)
- \left(\dfrac{u}{v}\right)'=\dfrac{u' v-uv'}{v^2}
- Chain rule
- [f(g(x))]'=f'(g(x))g'(x)
- Second derivative
- f''=(f')'
🍋 For the chain rule, differentiate the outer function and multiply by the inner derivative. Require v ≠ 0.
Table of derivatives I
- Power function
- (x^n)'=nx^{n-1}
- Square root (x > 0)
- (\sqrt{x})'=\dfrac{1}{2\sqrt{x}}
- Reciprocal (x ≠ 0)
- \left(\dfrac{1}{x}\right)'=-\dfrac{1}{x^2}
- Sine
- (\sin x)'=\cos x
- Cosine
- (\cos x)'=-\sin x
- Tangent (cos x ≠ 0)
- (\tan x)'=\dfrac{1}{\cos^2 x}
- Cotangent (sin x ≠ 0)
- (\cot x)'=-\dfrac{1}{\sin^2 x}
🍋 Each derivative formula applies on its appropriate domain; check the function is defined.
Table of derivatives II
- Natural exponential
- (e^u)'=e^u u'
- Exponential base a
- (a^u)'=a^u\ln(a)u'
- Natural log (u > 0)
- (\ln u)'=\dfrac{u'}{u}
- Log base a (u > 0)
- (\log_a u)'=\dfrac{u'}{u\ln a}
- Composite power
- (u^n)'=nu^{n-1}u'
- Composite root (u > 0)
- (\sqrt{u})'=\dfrac{u'}{2\sqrt{u}}
- Composite sine
- (\sin u)'=\cos u\,u'
- Composite cosine
- (\cos u)'=-\sin u\,u'
🍋 For u = u(x), multiply by u′ in every composite derivative. For log base a, a > 0 and a ≠ 1.
Tangents and rates of change
- Tangent slope
- k=f'(x_0)
- Tangent equation
- y=f'(x_0)(x-x_0)+f(x_0)
- Tangent parallel to y=mx+b
- f'(x_0)=m
- Perpendicular tangent (m ≠ 0)
- f'(x_0)=-\dfrac{1}{m}
- Instantaneous velocity
- v(t)=s'(t)
- Instantaneous acceleration
- a(t)=v'(t)=s''(t)
- Normal line (k ≠ 0)
- y-f(x_0)=-\dfrac{x-x_0}{k}
🍋 A tangent at x₀ requires differentiability. The normal has slope −1/k if the tangent slope k is nonzero.
Function analysis I
- Increasing on an interval
- f'(x)>0
- Decreasing on an interval
- f'(x)<0
- Local maximum: + to −
- f':\ +\ \to\ -
- Local minimum: − to +
- f':\ -\ \to\ +
- Second derivative test
- f'(x_0)=0,\ f''(x_0)>0
- Maximum via second derivative
- f'(x_0)=0,\ f''(x_0)<0
🍋 To establish monotonicity on an interval, check the sign of f′ throughout that interval.
Function analysis II
- Absolute extrema on [a,b]
- \max\{f(a),f(b),f(c_i)\}
- Vertical asymptote x=a
- \lim_{x\to a^\pm}f(x)=\pm\infty
- Horizontal asymptote y=L
- \lim_{x\to\pm\infty}f(x)=L
- Oblique asymptote y=mx+n
- \lim_{x\to\pm\infty}[f(x)-mx-n]=0
- Cubic graph symmetry center
- I(x_0,f(x_0)),\ f''(x_0)=0
🍋 For absolute extrema on a closed interval, compare endpoints and interior critical points.
Standard integrals I
- Power (n ≠ −1)
- \int x^n\,dx=\dfrac{x^{n+1}}{n+1}+C
- Reciprocal (x ≠ 0)
- \int\dfrac{1}{x}\,dx=\ln|x|+C
- Exponential e
- \int e^x\,dx=e^x+C
- Exponential a (a > 0, a ≠ 1)
- \int a^x\,dx=\dfrac{a^x}{\ln a}+C
- Sine
- \int\sin x\,dx=-\cos x+C
- Cosine
- \int\cos x\,dx=\sin x+C
🍋 Always include the constant C. For powers, require n ≠ −1 and work on a valid interval.
Standard integrals II
- Secant squared (cos x ≠ 0)
- \int\dfrac{1}{\cos^2x}\,dx=\tan x+C
- Cosecant squared (sin x ≠ 0)
- \int\dfrac{1}{\sin^2x}\,dx=-\cot x+C
- Constant multiple
- \int kf(x)\,dx=k\int f(x)\,dx
- Sum and difference
- \int(f\pm g)\,dx=\int f\,dx\pm\int g\,dx
- Linear power (a ≠ 0, n ≠ −1)
- \int (ax+b)^n\,dx=\dfrac{(ax+b)^{n+1}}{a(n+1)}+C
- Linear exponential (a ≠ 0)
- \int e^{ax+b}\,dx=\dfrac{e^{ax+b}}{a}+C
🍋 For ax+b, require a ≠ 0. Linearity lets you separate sums and pull constants outside integrals.
Definite integrals
- Fundamental theorem (F′=f)
- \int_a^b f(x)\,dx=F(b)-F(a)
- Reversing limits
- \int_a^b f(x)\,dx=-\int_b^a f(x)\,dx
- Splitting at c
- \int_a^b f=\int_a^c f+\int_c^b f
- Area against x-axis
- S=\int_a^b |f(x)|\,dx
- Area between curves
- S=\int_a^b |f(x)-g(x)|\,dx
- Volume about x-axis
- V=\pi\int_a^b [f(x)]^2\,dx
- Distance from velocity
- s=\int_a^b |v(t)|\,dt
🍋 Area is nonnegative: use absolute values. The disk-volume formula applies to rotation about the x-axis of the region between the curve and axis.
Statistics and probability
Mean and median I
- Arithmetic mean
- \bar{x}=\dfrac{\sum_{i=1}^{n}x_i}{n}
- Frequency-weighted mean
- \bar{x}=\dfrac{\sum_{i=1}^{k}n_ix_i}{\sum_{i=1}^{k}n_i}
- Median for odd n
- M_e=x_{(n+1)/2}
- Median for even n
- M_e=\dfrac{x_{n/2}+x_{n/2+1}}{2}
🍋 Sort data before finding the median; for frequency data, divide the weighted sum by total frequency.
Quartiles and mode II
- Second quartile
- Q_2=M_e
- First quartile
- Q_1=\operatorname{Med}(x_{\rm lower})
- Third quartile
- Q_3=\operatorname{Med}(x_{\rm upper})
- Mode: most frequent value
- M_o=\operatorname{mode}(x_1,\ldots,x_n)
🍋 Using the Vietnamese textbook median-of-halves convention, exclude the overall median from both halves when n is odd.
Grouped data I
- Class midpoint [a,b)
- m_i=\dfrac{a_i+b_i}{2}
- Sample size
- n=\sum_{i=1}^{k}n_i
- Estimated grouped mean
- \bar{x}=\dfrac{\sum n_im_i}{n}
- Interpolated median
- M_e=L+\dfrac{n/2-C}{f}\,h
🍋 Use each class midpoint as its representative. Grouped-data means and medians are estimates.
Grouped data II
- First quartile Q₁
- Q_1=L+\dfrac{n/4-C}{f}\,h
- Third quartile Q₃
- Q_3=L+\dfrac{3n/4-C}{f}\,h
- Grouped mode
- M_o=L+\dfrac{d_1}{d_1+d_2}\,h
- Modal-frequency differences
- d_1=f_m-f_{m-1},\ d_2=f_m-f_{m+1}
🍋 L is the lower class boundary, C prior cumulative frequency, f class frequency, and h class width.
Measures of spread
- Range
- R=x_{\max}-x_{\min}
- Interquartile range
- \Delta_Q=Q_3-Q_1
- Lower outlier fence
- L=Q_1-1.5\Delta_Q
- Upper outlier fence
- U=Q_3+1.5\Delta_Q
- Variance
- s^2=\dfrac{1}{n}\sum_{i=1}^n(x_i-\bar{x})^2
- Standard deviation
- s=\sqrt{s^2}
- Grouped variance
- s^2=\dfrac{1}{n}\sum_i n_i(m_i-\bar{x})^2
🍋 Use n in the school-level variance formula. For grouped data, replace observations with class midpoints.
Counting and combinations
- Addition principle
- N=m+n
- Multiplication principle
- N=m\cdot n
- Factorial
- n!=n(n-1)\cdots 1,\ 0!=1
- Permutations of n
- P_n=n!
- Ordered selections
- A_n^k=\dfrac{n!}{(n-k)!}
- Combinations
- C_n^k=\dfrac{n!}{k!(n-k)!}
- Combination symmetry
- C_n^k=C_n^{n-k}
🍋 Use addition for mutually exclusive choices and multiplication for successive stages. Order matters in permutations.
Probability rules
- Equally likely outcomes
- P(A)=\dfrac{n(A)}{n(\Omega)}
- Probability bounds
- 0\leq P(A)\leq 1
- Complement
- P(\bar{A})=1-P(A)
- General addition rule
- P(A\cup B)=P(A)+P(B)-P(A\cap B)
- Disjoint events
- P(A\cap B)=0
- Independent events
- P(A\cap B)=P(A)P(B)
- Expected frequency
- E=nP(A)
🍋 The equally likely outcomes formula requires equiprobable outcomes. Mutually exclusive and independent events are different.
Conditional probability
- Conditional probability
- P(A\mid B)=\dfrac{P(A\cap B)}{P(B)},\ P(B)>0
- Multiplication rule
- P(A\cap B)=P(A\mid B)P(B)
- Reverse multiplication
- P(A\cap B)=P(B\mid A)P(A)
- Total probability
- P(B)=\sum_{i=1}^{n}P(B\mid A_i)P(A_i)
- Bayes theorem
- P(A_i\mid B)=\dfrac{P(B\mid A_i)P(A_i)}{P(B)}
- Reading a tree diagram
- P(A_i\cap B)=P(A_i)P(B\mid A_i)
🍋 Conditional probability requires P(B)>0. For Bayes’ theorem, the cases must form a partition.
Discrete random variables
- Probability total
- \sum_i p_i=1,\quad p_i\geq 0
- Expected value
- E(X)=\sum_i x_ip_i
- Variance
- \operatorname{Var}(X)=\sum_i x_i^2p_i-[E(X)]^2
- Linear expectation
- E(aX+b)=aE(X)+b
- Scaled variance
- \operatorname{Var}(aX+b)=a^2\operatorname{Var}(X)
- Binomial probability
- P(X=k)=C_n^kp^k(1-p)^{n-k}
- Binomial mean
- E(X)=np
- Binomial variance
- \operatorname{Var}(X)=np(1-p)
🍋 A binomial model needs n independent trials with the same success probability p.
The normal distribution
- Normal distribution notation
- X\sim N(\mu,\sigma^2),\quad\sigma>0
- Standard score
- Z=\dfrac{X-\mu}{\sigma}
- Standard normal
- Z\sim N(0,1)
- Within one standard deviation
- P(|X-\mu|\leq\sigma)\approx 0.68
- Within two standard deviations
- P(|X-\mu|\leq2\sigma)\approx 0.95
- Within three standard deviations
- P(|X-\mu|\leq3\sigma)\approx 0.997
- Symmetry
- P(Z<-a)=1-P(Z<a)
🍋 The 68–95–99.7 rule is approximate. Use a normal table or calculator for accurate probabilities.
Correlation & regression 1
- Means of two variables
- \bar{x}=\dfrac{\sum x_i}{n},\quad\bar{y}=\dfrac{\sum y_i}{n}
- Sum of squares for x
- S_{xx}=\sum (x_i-\bar{x})^2
- Sum of squares for y
- S_{yy}=\sum (y_i-\bar{y})^2
- Sum of cross-products
- S_{xy}=\sum (x_i-\bar{x})(y_i-\bar{y})
🍋 Correlation does not imply causation. Linear regression is most useful when the data follow a roughly linear trend.
Correlation & regression 2
- Pearson correlation coefficient
- r=\dfrac{S_{xy}}{\sqrt{S_{xx}S_{yy}}},\quad -1\leq r\leq 1
- Regression slope
- b=\dfrac{S_{xy}}{S_{xx}},\quad S_{xx}>0
- Regression intercept
- a=\bar{y}-b\bar{x}
- Regression through the mean point
- \hat{y}=a+bx,\quad \hat{y}(\bar{x})=\bar{y}
🍋 Correlation does not imply causation. Linear regression is most useful when the data follow a roughly linear trend.