🌍 Data Science · subject
Data Science Mathematics and Statistics Syllabus
The Mathematics and Statistics syllabus for Data Science in full: 10 chapters and 53 topics, every one listed below, plus 52 Mathematics and Statistics flashcards with answers.
Mathematics and Statistics syllabus: all 10 chapters
Expand any chapter to see its topics and sub-topics.
-
Linear Algebra
5 topics- Vectors
- Matrices
- Determinants
- Eigenvalues and Eigenvectors
- Matrix Decomposition (LU, QR, SVD)
-
Calculus
6 topics- Limits and Continuity
- Differentiation
- Integration
- Partial Derivatives
- Gradient, Divergence, and Curl
- Optimization (Gradient Descent, Lagrange Multipliers)
-
Probability
7 topics- Basic Probability Principles
- Random Variables
- Probability Distributions
- Expectation and Variance
- Bayes' Theorem
- Law of Large Numbers
- Central Limit Theorem
-
Discrete Mathematics
5 topics- Set Theory
- Combinatorics
- Graph Theory
- Boolean Algebra
- Logic and Proof Techniques
-
Descriptive Statistics
4 topics- Measures of Central Tendency (Mean, Median, Mode)
- Measures of Dispersion (Range, Variance, Standard Deviation)
- Skewness and Kurtosis
- Data Visualization (Histograms, Box Plots, Scatter Plots)
-
Inferential Statistics
6 topics- Sampling Methods
- Estimation (Point and Interval Estimates)
- Hypothesis Testing
- Confidence Intervals
- P-values and Significance Levels
- ANOVA (Analysis of Variance)
-
Regression Analysis
6 topics- Simple Linear Regression
- Multiple Linear Regression
- Logistic Regression
- Polynomial Regression
- Ridge and Lasso Regression
- Assumptions and Diagnostics of Regression Models
-
Multivariate Statistics
5 topics- Principal Component Analysis (PCA)
- Factor Analysis
- Cluster Analysis
- Discriminant Analysis
- Multivariate Analysis of Variance (MANOVA)
-
Time Series Analysis
5 topics- Components of Time Series
- Smoothing Techniques
- ARIMA Models
- Seasonal Decomposition
- Forecasting Methods
-
Non-Parametric Methods
4 topics- Chi-Square Tests
- Mann-Whitney U Test
- Kruskal-Wallis Test
- Spearman's Rank Correlation
Data Science Mathematics and Statistics flashcards — 52 questions with answers
What is a vector, and how is it commonly represented in $n$-dimensional space?
A vector is a quantity with both magnitude and direction, represented as an ordered $n$-tuple of components: $\vec{v} = (v_1, v_2, \ldots, v_n) \in \mathbb{R}^{n}$. It can be written as a column $\vec{v} = \begin{pmatrix} v_1 \\ v_2 \\ \vdots \\ v_n \end{pmatrix}$.
How do you compute the dot (inner) product of two vectors, and what does it equal geometrically?
$\vec{a} \cdot \vec{b} = \sum_{i=1}^{n} a_i b_i = \|\vec{a}\|\,\|\vec{b}\|\cos\theta$, where $\theta$ is the angle between them. It is a scalar; $\vec{a}\cdot\vec{b}=0$ means the vectors are orthogonal.
What is the Euclidean norm (length) of a vector $\vec{v}=(v_1,\ldots,v_n)$?
$\|\vec{v}\|_2 = \sqrt{\sum_{i=1}^{n} v_i^{2}} = \sqrt{\vec{v}\cdot\vec{v}}$.
State the formula for the cosine similarity between two nonzero vectors.
$\cos\theta = \dfrac{\vec{a}\cdot\vec{b}}{\|\vec{a}\|\,\|\vec{b}\|}$. It ranges in $[-1, 1]$ and measures directional similarity independent of magnitude.
What is a matrix, and what does the notation $A \in \mathbb{R}^{m \times n}$ mean?
A matrix is a rectangular array of numbers arranged in rows and columns. $A \in \mathbb{R}^{m \times n}$ denotes a matrix with $m$ rows and $n$ columns, with entries $a_{ij}$ ($i$-th row, $j$-th column).
What is the rule for matrix multiplication $C = AB$, and the dimensional requirement?
If $A$ is $m\times n$ and $B$ is $n\times p$, then $C=AB$ is $m\times p$ with $c_{ij} = \sum_{k=1}^{n} a_{ik} b_{kj}$. The inner dimensions must match ($n=n$).
What is the transpose of a matrix, and what defines a symmetric matrix?
The transpose $A^{T}$ swaps rows and columns: $(A^{T})_{ij} = a_{ji}$. A matrix is symmetric if $A = A^{T}$ (so $a_{ij}=a_{ji}$).
Define the identity matrix and the inverse of a square matrix.
The identity $I_n$ has $1$s on the diagonal and $0$s elsewhere, with $AI = IA = A$. The inverse $A^{-1}$ satisfies $A A^{-1} = A^{-1} A = I$; it exists only if $\det(A) \neq 0$.
What is the formula for the determinant of a $2\times 2$ matrix?
For $A = \begin{pmatrix} a & b \\ c & d \end{pmatrix}$, $\det(A) = ad - bc$.
What does the determinant of a matrix tell you, and what does $\det(A)=0$ imply?
The determinant measures the scaling factor of the volume under the linear transformation. $\det(A)=0$ means the matrix is singular (non-invertible), its columns are linearly dependent, and it collapses space to a lower dimension.
State two key multiplicative properties of determinants.
$\det(AB) = \det(A)\det(B)$ and $\det(A^{-1}) = \dfrac{1}{\det(A)}$. Also $\det(A^{T}) = \det(A)$.
Define an eigenvalue and eigenvector of a square matrix $A$.
A nonzero vector $\vec{v}$ is an eigenvector of $A$ with eigenvalue $\lambda$ if $A\vec{v} = \lambda \vec{v}$. The transformation $A$ only scales $\vec{v}$ (no change in direction).
What is the characteristic equation used to find eigenvalues?
$\det(A - \lambda I) = 0$. Its roots $\lambda$ are the eigenvalues; the corresponding eigenvectors solve $(A - \lambda I)\vec{v} = \vec{0}$.
What do the trace and determinant of a matrix equal in terms of its eigenvalues?
$\operatorname{tr}(A) = \sum_{i} \lambda_i$ (sum of eigenvalues) and $\det(A) = \prod_{i} \lambda_i$ (product of eigenvalues).
For a real symmetric matrix, what special properties do its eigenvalues and eigenvectors have?
All eigenvalues are real, and eigenvectors for distinct eigenvalues are orthogonal. It is orthogonally diagonalizable: $A = Q \Lambda Q^{T}$ with $Q$ orthogonal and $\Lambda$ diagonal.
What is the LU decomposition, and what is its main use?
LU decomposition factors a square matrix as $A = LU$, where $L$ is lower-triangular and $U$ is upper-triangular. It is used to solve linear systems $A\vec{x}=\vec{b}$ efficiently via forward and back substitution.
What is the QR decomposition and a key property of its factors?
$A = QR$, where $Q$ has orthonormal columns ($Q^{T}Q = I$) and $R$ is upper-triangular. It is used for least-squares problems and computing eigenvalues (the QR algorithm).
State the Singular Value Decomposition (SVD) of a matrix $A$.
$A = U \Sigma V^{T}$, where $U$ and $V$ are orthogonal matrices and $\Sigma$ is diagonal with non-negative singular values $\sigma_1 \geq \sigma_2 \geq \cdots \geq 0$. It applies to any $m\times n$ matrix.
How does SVD relate to PCA and dimensionality reduction?
The singular values quantify the variance captured along each principal direction (columns of $V$). Keeping the largest $k$ singular values gives the best rank-$k$ approximation (Eckart–Young theorem), enabling dimensionality reduction.
Give the formal $\epsilon$–$\delta$ definition of $\lim_{x \to a} f(x) = L$.
For every $\epsilon > 0$ there exists $\delta > 0$ such that $0 < |x - a| < \delta$ implies $|f(x) - L| < \epsilon$.
Show the other 32 Mathematics and Statistics flashcards
What three conditions must hold for $f$ to be continuous at a point $x=a$?
(1) $f(a)$ is defined; (2) $\lim_{x\to a} f(x)$ exists; (3) $\lim_{x\to a} f(x) = f(a)$.
State the definition of the derivative of $f$ at $x$ as a limit.
$f'(x) = \lim_{h \to 0} \dfrac{f(x+h) - f(x)}{h}$, the instantaneous rate of change (slope of the tangent line).
State the product rule and quotient rule for differentiation.
Product: $(fg)' = f'g + fg'$. Quotient: $\left(\dfrac{f}{g}\right)' = \dfrac{f'g - fg'}{g^{2}}$.
State the chain rule for differentiating a composite function.
If $y = f(g(x))$, then $\dfrac{dy}{dx} = f'(g(x)) \cdot g'(x)$. Equivalently, $\dfrac{dy}{dx} = \dfrac{dy}{du}\cdot\dfrac{du}{dx}$.
State the Fundamental Theorem of Calculus (both parts).
Part 1: If $F(x) = \int_a^x f(t)\,dt$ then $F'(x) = f(x)$. Part 2: $\int_a^b f(x)\,dx = F(b) - F(a)$, where $F$ is any antiderivative of $f$.
What is the difference between a definite and an indefinite integral?
An indefinite integral $\int f(x)\,dx = F(x) + C$ gives a family of antiderivatives. A definite integral $\int_a^b f(x)\,dx$ gives a number equal to the signed area under $f$ from $a$ to $b$.
State the integration by parts formula.
$\int u \, dv = uv - \int v \, du$. It follows from reversing the product rule for differentiation.
What is a partial derivative, and what notation is used?
A partial derivative measures the rate of change of a multivariable function with respect to one variable, holding the others constant: $\dfrac{\partial f}{\partial x}$ (or $f_x$). E.g., for $f(x,y)=x^2 y$, $\dfrac{\partial f}{\partial x} = 2xy$.
What is the gradient of a scalar function $f(x_1,\ldots,x_n)$, and what does it represent?
$\nabla f = \left( \dfrac{\partial f}{\partial x_1}, \ldots, \dfrac{\partial f}{\partial x_n} \right)$. It points in the direction of steepest ascent, and its magnitude is the maximum rate of increase.
What is the divergence of a vector field $\vec{F} = (F_1, F_2, F_3)$?
$\nabla \cdot \vec{F} = \dfrac{\partial F_1}{\partial x} + \dfrac{\partial F_2}{\partial y} + \dfrac{\partial F_3}{\partial z}$. It is a scalar measuring the net outflow (source/sink strength) at a point.
What is the curl of a vector field, and what does it measure?
$\nabla \times \vec{F} = \left( \dfrac{\partial F_3}{\partial y} - \dfrac{\partial F_2}{\partial z},\; \dfrac{\partial F_1}{\partial z} - \dfrac{\partial F_3}{\partial x},\; \dfrac{\partial F_2}{\partial x} - \dfrac{\partial F_1}{\partial y} \right)$. It is a vector measuring the local rotation (circulation) of the field.
What is the Hessian matrix, and how is it used to classify critical points?
The Hessian $H$ contains second-order partials $H_{ij} = \dfrac{\partial^2 f}{\partial x_i \partial x_j}$. At a critical point: positive-definite $H \Rightarrow$ local minimum, negative-definite $\Rightarrow$ local maximum, indefinite $\Rightarrow$ saddle point.
State the gradient descent update rule and the role of the learning rate.
$\theta_{t+1} = \theta_t - \eta \,\nabla J(\theta_t)$, where $\eta > 0$ is the learning rate. Too large $\eta$ may diverge/overshoot; too small $\eta$ converges slowly.
What is the difference between batch, stochastic, and mini-batch gradient descent?
Batch GD uses the full dataset per update (stable, slow). Stochastic GD (SGD) uses one sample per update (fast, noisy). Mini-batch GD uses a small subset, balancing speed and stability.
What is the method of Lagrange multipliers used for, and what condition does it impose?
It optimizes $f(\vec{x})$ subject to a constraint $g(\vec{x}) = 0$. At the optimum, $\nabla f = \lambda \nabla g$ for some multiplier $\lambda$; solve this together with $g(\vec{x})=0$.
What is the difference between a convex and a non-convex optimization problem?
In a convex problem (convex objective over a convex set), any local minimum is the global minimum, making it efficiently solvable. Non-convex problems may have many local minima and saddle points, so solutions are not guaranteed global.
State the three axioms of probability (Kolmogorov).
(1) $P(A) \geq 0$ for any event $A$; (2) $P(\Omega) = 1$ for the sample space $\Omega$; (3) For mutually exclusive events, $P\!\left(\bigcup_i A_i\right) = \sum_i P(A_i)$.
State the formula for conditional probability and the definition of independence.
$P(A \mid B) = \dfrac{P(A \cap B)}{P(B)}$ for $P(B) > 0$. Events $A$ and $B$ are independent if $P(A \cap B) = P(A)P(B)$, equivalently $P(A\mid B) = P(A)$.
State the general addition rule for the probability of $A \cup B$.
$P(A \cup B) = P(A) + P(B) - P(A \cap B)$. For mutually exclusive events, $P(A\cap B)=0$, so $P(A\cup B)=P(A)+P(B)$.
What is the difference between a discrete and a continuous random variable?
A discrete random variable takes countable values, described by a probability mass function (PMF) $P(X=x)$. A continuous random variable takes uncountable values, described by a probability density function (PDF) $f(x)$, where $P(X=x)=0$ for any single point.
What is a cumulative distribution function (CDF), and what properties does it have?
$F(x) = P(X \leq x)$. It is non-decreasing, right-continuous, with $\lim_{x\to -\infty} F(x) = 0$ and $\lim_{x\to \infty} F(x) = 1$.
State the PMF, mean, and variance of a Binomial distribution.
$P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k}$, for $k=0,\ldots,n$. Mean $\mu = np$, variance $\sigma^{2} = np(1-p)$.
State the PMF, mean, and variance of a Poisson distribution.
$P(X=k) = \dfrac{\lambda^{k} e^{-\lambda}}{k!}$, for $k=0,1,2,\ldots$. Mean $= \lambda$ and variance $= \lambda$. It models counts of rare events over a fixed interval.
State the PDF of the Normal (Gaussian) distribution and what its parameters mean.
$f(x) = \dfrac{1}{\sigma\sqrt{2\pi}} \exp\!\left( -\dfrac{(x-\mu)^{2}}{2\sigma^{2}} \right)$, where $\mu$ is the mean (center) and $\sigma^2$ is the variance (spread).
What is the standard normal distribution and the z-score formula?
The standard normal $Z \sim \mathcal{N}(0,1)$ has mean $0$ and variance $1$. The z-score $z = \dfrac{x - \mu}{\sigma}$ standardizes a value to express it in standard-deviation units from the mean.
Define the expectation of a discrete and a continuous random variable.
Discrete: $\mathbb{E}[X] = \sum_x x\, P(X=x)$. Continuous: $\mathbb{E}[X] = \int_{-\infty}^{\infty} x\, f(x)\, dx$. It is the long-run average value.
State the definition of variance and the computational shortcut formula.
$\operatorname{Var}(X) = \mathbb{E}\!\left[(X - \mu)^{2}\right] = \mathbb{E}[X^{2}] - (\mathbb{E}[X])^{2}$. The standard deviation is $\sigma = \sqrt{\operatorname{Var}(X)}$.
State the linearity of expectation and the variance scaling rule.
$\mathbb{E}[aX + bY] = a\,\mathbb{E}[X] + b\,\mathbb{E}[Y]$ (always). For variance, $\operatorname{Var}(aX + b) = a^{2}\operatorname{Var}(X)$, and $\operatorname{Var}(X+Y)=\operatorname{Var}(X)+\operatorname{Var}(Y)$ only if $X,Y$ are independent.
State Bayes' Theorem.
$P(A \mid B) = \dfrac{P(B \mid A)\, P(A)}{P(B)}$, where $P(A)$ is the prior, $P(B\mid A)$ the likelihood, $P(B)$ the evidence, and $P(A\mid B)$ the posterior.
How is the evidence $P(B)$ computed via the law of total probability in Bayes' Theorem?
For a partition $\{A_i\}$ of the sample space, $P(B) = \sum_i P(B \mid A_i)\, P(A_i)$. This normalizing denominator ensures the posterior sums to $1$.
State the (weak) Law of Large Numbers.
For i.i.d. random variables with mean $\mu$, the sample mean converges to the true mean as $n\to\infty$: $\bar{X}_n = \frac{1}{n}\sum_{i=1}^{n} X_i \xrightarrow{P} \mu$. Empirical averages stabilize around the expected value with more data.
State the Central Limit Theorem and why it matters.
For i.i.d. variables with mean $\mu$ and variance $\sigma^2$, the sample mean is approximately normal for large $n$: $\bar{X}_n \approx \mathcal{N}\!\left(\mu, \dfrac{\sigma^{2}}{n}\right)$, regardless of the original distribution. It justifies using normal-based inference (confidence intervals, hypothesis tests).
Data Science Mathematics and Statistics FAQ
What is in the Data Science Mathematics and Statistics syllabus?
Data Science Mathematics and Statistics is split into 10 chapters: Linear Algebra, Calculus, Probability, Discrete Mathematics, Descriptive Statistics, Inferential Statistics, Regression Analysis, Multivariate Statistics, Time Series Analysis and Non-Parametric Methods. Together they contain 53 topics.
How many chapters are in Data Science Mathematics and Statistics?
10 chapters, containing 53 topics. The largest chapter is Probability, with 7 topics.
Are there flashcards for Data Science Mathematics and Statistics?
Yes — a 52-card Mathematics and Statistics deck, printed in full in the flashcards section of this page and available in the Examius app with spaced repetition. The free plan covers one exam of your choice, including its flashcards; Examius Pro, a one-time purchase, unlocks every other exam and deck.