ML Study Hub

Home / Past papers / MLF End Term / this paper

IIT M FOUNDATION AN EXAM QDF3 31 Aug - 31 Aug 2025

MLF End Term13 questions40 marks6 SA · 5 MSQ · 2 MCQFoundation / afternoon / QDF3
Elapsed 00:00
Q1MCQ3 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q2MSQ4 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q3MSQ3 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q4SA4 marks
question figure
Q5SA4 marks
question figure
Q6SA4 marks
question figure
Q7SA3 marks
question figure
Comprehension passage - the questions below it refer to this
question figure
Q8MCQ2 marks
Let A = (x, y) be a point in the set S which is closest to the origin. Choose the correct Primal optimization problem from the following.
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q9MSQ2 marksselect all that apply
Which of the following options is/are true?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
  5. question figure
Q10SA3 marks
If A = (x, y) is the closest point to the origin, then find the value of 3x − y.
Q11MSQ2 marksselect all that apply
Which of the following options is/are true ?
  1. S is a convex set.
  2. The objective function of the Primal optimization problem part (A) is a convexfunction.
  3. The objective function of the Primal optimization problem part (A) is a concavefunction.
  4. None of these
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q12SA3 marks
question figure
Q13MSQ3 marksselect all that apply
Which of the following options is /are true?
  1. A is not a Hermitian matrix.
  2. A is not a unitary matrix.
  3. A is diagonalizable.
  4. None of these

Answer key

  1. Q1 (MCQ, 3 marks): A
  2. Q2 (MSQ, 4 marks): A, C
  3. Q3 (MSQ, 3 marks): A, D
  4. Q4 (SA, 4 marks): 24
  5. Q5 (SA, 4 marks): 0.31 to 0.37
  6. Q6 (SA, 4 marks): 0.02 to 0.06
  7. Q7 (SA, 3 marks): 0.5
  8. Q8 (MCQ, 2 marks): B
  9. Q9 (MSQ, 2 marks): B, C
  10. Q10 (SA, 3 marks): 7.8
  11. Q11 (MSQ, 2 marks): A, B
  12. Q12 (SA, 3 marks): -125
  13. Q13 (MSQ, 3 marks): A, B

Concepts this paper tests

Auto-generated summary from the source site. Handy as a checklist; the lessons above explain each idea from scratch.

Here’s a structured summary of the core topics, concepts, principles, and equations essential for the Diploma Level: Machine Learning Foundations (Computer-Based Exam) based on the provided question paper. The exam covers probability, linear algebra, optimization, convexity, and statistics, with a focus on foundational mathematics for machine learning.



1. Core Topics & Key Concepts

A. Probability & Random Variables

  1. Probability Inequalities

    • Markov’s Inequality: For a non-negative random variable XX and a>0a > 0:
P(X≥a)≤E[X]a\mathbb{P}(X \geq a) \leq \frac{\mathbb{E}[X]}{a}
P(∣X−μ∣≥kσ)≤1k2\mathbb{P}(|X - \mu| \geq k\sigma) \leq \frac{1}{k^2}
  1. Binomial Distribution

    • X∼Binomial(n,p)X \sim \text{Binomial}(n, p):

      • Mean: E[X]=np\mathbb{E}[X] = np
      • Variance: Var(X)=np(1−p)\text{Var}(X) = np(1-p)
  1. Normal Distribution & Linear Combinations

    • If X∼Normal(μX,σX2)X \sim \text{Normal}(\mu_X, \sigma_X^2) and Y∼Normal(μY,σY2)Y \sim \text{Normal}(\mu_Y, \sigma_Y^2) are independent, then:
aX+bY∼Normal(aμX+bμY,a2σX2+b2σY2)aX + bY \sim \text{Normal}(a\mu_X + b\mu_Y, a^2\sigma_X^2 + b^2\sigma_Y^2)
  1. Conditional Probability

    • Definition:
P(A∣B)=P(A∩B)P(B)\mathbb{P}(A \mid B) = \frac{\mathbb{P}(A \cap B)}{\mathbb{P}(B)}
  1. Joint Probability Density Functions (PDFs)

    • For continuous random variables XX and YY, the joint PDF f(x,y)f(x, y) satisfies:
∫−∞∞∫−∞∞f(x,y) dx dy=1\int_{-\infty}^{\infty} \int_{-\infty}^{\infty} f(x, y) \, dx \, dy = 1

B. Linear Algebra

  1. Vector Spaces & Span

    • Span of a vector v1v_1: S=span(v1)={αv1∣α∈R}S = \text{span}(v_1) = \{ \alpha v_1 \mid \alpha \in \mathbb{R} \}
    • Projection of v2v_2 onto SS:
projSv2=(v2⋅v1v1⋅v1)v1\text{proj}_S v_2 = \left( \frac{v_2 \cdot v_1}{v_1 \cdot v_1} \right) v_1
  1. Eigenvalues & Eigenvectors

    • For a matrix AA, eigenvalues λ\lambda satisfy det⁡(A−λI)=0\det(A - \lambda I) = 0.
    • Properties:

      • Trace =∑λi= \sum \lambda_i
      • Determinant =∏λi= \prod \lambda_i
    • Diagonalizable Matrices: A=PDP−1A = PDP^{-1}, where DD is diagonal.
    • Hermitian Matrices: A=AHA = A^H (equal to its conjugate transpose).
    • Unitary Matrices: AHA=IA^H A = I.
  1. Matrix Operations

    • Example: For AA with eigenvalues λi\lambda_i, the eigenvalues of 2A2−3I2A^2 - 3I are 2λi2−32\lambda_i^2 - 3.

C. Optimization & Convexity

  1. Convex Functions

    • Definition: A function ff is convex if for all x,yx, y and θ∈[0,1]\theta \in [0, 1]:
f(θx+(1−θ)y)≤θf(x)+(1−θ)f(y)f(\theta x + (1-\theta)y) \leq \theta f(x) + (1-\theta)f(y)
  1. Convex Sets

    • Definition: A set SS is convex if for all x,y∈Sx, y \in S and θ∈[0,1]\theta \in [0, 1]:
θx+(1−θ)y∈S\theta x + (1-\theta)y \in S
  1. Optimization Problems

    • Primal Problem: Minimize a convex objective subject to convex constraints. Example:
Minimize x2+y2subject to −x−3y≤−9,−2x−y≤−6,x,y≥0\text{Minimize } x^2 + y^2 \quad \text{subject to } -x - 3y \leq -9, -2x - y \leq -6, x, y \geq 0
L(x,y,u1,u2)=x2+y2+u1(−x−3y+9)+u2(−2x−y+6),u1,u2≥0L(x, y, u_1, u_2) = x^2 + y^2 + u_1(-x - 3y + 9) + u_2(-2x - y + 6), \quad u_1, u_2 \geq 0
∇L=0  ⟹  2x−u1−2u2=0,2y−3u1−u2=0\nabla L = 0 \implies 2x - u_1 - 2u_2 = 0, \quad 2y - 3u_1 - u_2 = 0

D. Calculus & Quadratic Forms

  1. Hessian Matrix

    • For a function f(x,y)f(x, y), the Hessian HH is:
H=[∂2f∂x2∂2f∂x∂y∂2f∂y∂x∂2f∂y2]H = \begin{bmatrix} \frac{\partial^2 f}{\partial x^2} & \frac{\partial^2 f}{\partial x \partial y} \\ \frac{\partial^2 f}{\partial y \partial x} & \frac{\partial^2 f}{\partial y^2} \end{bmatrix}
  1. Quadratic Optimization

    • Example: Minimizing C=5x2+2xy+3y2+500C = 5x^2 + 2xy + 3y^2 + 500 subject to x+y=39x + y = 39.
    • Solution: Use substitution and calculus to find critical points.


2. Key Equations Summary

TopicEquation
Markov’s InequalityP(X≥a)≤E[X]a\mathbb{P}(X \geq a) \leq \frac{\mathbb{E}[X]}{a}
Chebyshev’s InequalityP(∣X−μ∣≥kσ)≤1k2\mathbb{P}(|X - \mu| \geq k\sigma) \leq \frac{1}{k^2}
Binomial Mean/VarianceE[X]=np\mathbb{E}[X] = np, Var(X)=np(1−p)\text{Var}(X) = np(1-p)
Normal Linear CombinationaX+bY∼Normal(aμX+bμY,a2σX2+b2σY2)aX + bY \sim \text{Normal}(a\mu_X + b\mu_Y, a^2\sigma_X^2 + b^2\sigma_Y^2)
ProjectionprojSv2=(v2⋅v1v1⋅v1)v1\text{proj}_S v_2 = \left( \frac{v_2 \cdot v_1}{v_1 \cdot v_1} \right) v_1
Conditional ProbabilityP(A∣B)=P(A∩B)P(B)\mathbb{P}(A \mid B) = \frac{\mathbb{P}(A \cap B)}{\mathbb{P}(B)}
Joint PDF MarginalizationfY(y)=∫−∞∞f(x,y) dxf_Y(y) = \int_{-\infty}^{\infty} f(x, y) \, dx
VarianceVar(Y)=E[Y2]−(E[Y])2\text{Var}(Y) = \mathbb{E}[Y^2] - (\mathbb{E}[Y])^2
Eigenvalues of 2A2−3I2A^2 - 3I2λi2−32\lambda_i^2 - 3, where λi\lambda_i are eigenvalues of AA
LagrangianL(x,y,u)=f(x,y)+∑uigi(x,y)L(x, y, u) = f(x, y) + \sum u_i g_i(x, y)
KKT Conditions∇L=0\nabla L = 0, uigi(x,y)=0u_i g_i(x, y) = 0, ui≥0u_i \geq 0
Hessian ConvexityH⪰0H \succeq 0 (positive semidefinite)


Graph 2: Linear Algebra

Graph 3: Optimization & Convexity

Graph 4: Relationships Between Topics



4. Exam Preparation Tips

  1. Probability Inequalities:

    • Practice applying Markov’s and Chebyshev’s inequalities to binomial and normal distributions.
    • Remember: Markov’s gives a looser bound, while Chebyshev’s is tighter but requires variance.
  1. Linear Algebra:

    • Master projections, orthogonality, and span.
    • For matrices, focus on eigenvalues, diagonalization, and special types (Hermitian, unitary).
  1. Optimization:

    • Recognize convex functions (e.g., quadratic forms, x4x^4).
    • For constrained optimization, write the Lagrangian and KKT conditions.
  1. Calculus:

    • Compute Hessians to test convexity.
    • Solve quadratic optimization problems using substitution.
  1. Statistics:

    • Compute marginal and conditional probabilities for discrete/continuous cases.
    • Calculate variance from joint PDFs.
  1. Common Pitfalls:

    • Misapplying Chebyshev’s inequality (e.g., forgetting to center the variable).
    • Confusing convex/concave functions (e.g., f2(x,y)=xαyβf_2(x, y) = x^\alpha y^\beta is not convex for α+β≤1\alpha + \beta \leq 1).
    • Incorrectly setting up the Lagrangian (e.g., forgetting non-negativity constraints on multipliers).