Skip to content
Tactiverge

Section 02 of 10 · 17 entries

Mathematical concepts

Vectors, angles, rates of change, matrices and summary statistics: the toolkit underneath every model.

Entries in Mathematical concepts

  1. 2D rotation matrixA 2D rotation by angle θ anticlockwise maps (x, y) to (x cos θ − y sin θ, x sin θ + y cos θ), written as a 2×2 matrix.R(θ) = [cos θ −sin θ; sin θ cos θ]
  2. Derivative (rate of change)The derivative of a quantity is its instantaneous rate of change: the gradient of its graph at a point.dy/dx = limit of Δy/Δx as Δx → 0
  3. Dot productThe dot product of two vectors multiplies matching components and adds them; it also equals the product of their lengths and the cosine of the angle between them.a · b = a_x b_x + a_y b_y
  4. Exponential growth and decayA quantity decays exponentially when its rate of decrease is proportional to how much is left, giving y = y0 × e^(−t/τ).y(t) = y0 × e^(−t/τ)
  5. Gradient of a straight lineThe gradient of a straight line is the change in y divided by the change in x between any two points on it; in y = mx + c it is m, and c is where the line crosses the y-axis.m = (y2 − y1) / (x2 − x1)
  6. Integral as accumulated areaAn integral adds up a rate over time: the area under a rate graph gives the total accumulated amount.∫ f(t) dt ≈ Σ f(t_k) Δt (rectangles)
  7. Linear interpolationLinear interpolation estimates a value between two known points by assuming a straight line between them.y = y0 + (x − x0) × (y1 − y0) / (x1 − x0)
  8. Logarithms and decibelsA logarithm answers 'what power gives this number?'. Decibels use logarithms to express ratios: 10 log10 for power ratios and 20 log10 for amplitude ratios.log10(10^n) = n
  9. Matrix multiplicationMultiplying matrices combines rows of the first with columns of the second: each entry of the result is a dot product of a row and a column.(AB)_ij = Σ_k A_ik × B_kj
  10. Mean and medianThe mean is the sum of the values divided by how many there are; the median is the middle value once the values are sorted.mean x̄ = (x1 + x2 + … + xn) / ninteractive demo
  11. Pythagoras' theoremIn a right-angled triangle, the square of the hypotenuse equals the sum of the squares of the other two sides.c² = a² + b²
  12. Radians and degreesA radian is the angle at which the arc length equals the radius. A full turn is 2π radians, which is 360 degrees.θ_rad = θ_deg × π / 180interactive demo
  13. Scientific notationScientific notation writes a number as a value between 1 and 10 multiplied by a power of ten, such as 3.0 × 10^8.a × 10^n, with 1 ≤ |a| < 10
  14. Sine, cosine and tangentIn a right-angled triangle, sine is opposite over hypotenuse, cosine is adjacent over hypotenuse and tangent is opposite over adjacent, each a function of the angle.sin θ = opp / hypinteractive demo
  15. Standard deviationStandard deviation measures how spread out values are around their mean: the square root of the average squared distance from the mean.s = √( Σ (x_i − x̄)² / (n − 1) ) (sample)interactive demo
  16. Vector additionVectors are added component by component: the x parts add, the y parts add, and the result is the single vector with the same effect as both.a + b = (a_x + b_x, a_y + b_y)interactive demo
  17. Vector magnitude and directionA 2D vector can be written as components (x, y) or as a magnitude and a direction angle; cosine and sine convert between the two.x = r cos θ, y = r sin θinteractive demo