Basecamp 05 · Mathematics for Data Science 2
Basecamp

BSMA1003 · 4 credits · Foundation

Mathematics for
Data Science 2

Linear algebra done properly, then multivariable calculus. The single most load-bearing course in the Foundation level — every machine learning course in the Diploma is built on top of it.

Lectures
111 · 32 h
Prerequisite
Maths 1
Bonus marks
up to 6
Unlocks
Stats 2 (co-req)
e₁ Ae₂
week 5 · a shear keeps area, so det = 1
01

What this course actually asks

Definitions you can use, not definitions you can recite

Maths 2 is taught by Sarang S Sane of the IIT Madras mathematics department, and it is the first course in the programme that is taught like a university mathematics course. Weeks 3 to 8 are about vector spaces: definitions, proofs that something is or is not a basis, arguments about dimension.

That is a real change of gear. In Maths 1 you computed. Here you are asked things like "is this set linearly independent" and "what is the kernel of this map", and the answer is an argument, not a number. The students who struggle are usually the ones trying to memorise the definitions rather than use them on small examples.

Everything here returns. Rank, nullity, orthogonality, Gram–Schmidt, gradients and the Hessian are the working vocabulary of Machine Learning Foundations and Techniques. Time spent here is repaid twice.

Weeks 9 to 11 change subject again, to multivariable calculus — partial derivatives, directional derivatives, the tangent plane, critical points and the Hessian. That block is the direct ancestor of gradient descent.

02

The eleven weeks

Topics quoted from the official course page

Two blocks: weeks 1–8 are linear algebra, weeks 9–11 are multivariable calculus. The course page describes this as "eleven weeks of coursework", one fewer than the other Foundation courses.

W1

Vectors and matrices. Vectors; matrices; systems of linear equations; determinants.

W2

Solving linear equations. Cramer's rule; solutions with an invertible coefficient matrix; echelon form; row reduction; Gaussian elimination.row reduction is the workhorse of the whole course — get fast at it early

W3

Vector spaces. Introduction, properties, linear dependence, linear independence.where the course becomes abstract

W4

Basis and dimension. What a basis is, finding bases, rank and dimension.

W5

Rank and nullity of a matrix; introduction to linear transformation.

W6

Linear transformations, kernel and image.

W7

Equivalent and similar matrices; introduction to inner products.last week that counts toward end-term eligibility

W8

Orthogonality and orthonormality; the Gram–Schmidt method.

W9

Multivariable functions. Partial derivatives; limit, continuity and directional derivatives.

W10

Directional ascent and descent, the tangent (hyper)plane, critical points.this is gradient descent, one course early

W11

Higher order partial derivatives, the Hessian matrix and local extrema, differentiability.

A wording mismatch worth knowing about

The course page lists eleven weeks. The May 2026 grading document still carries the standard line that "W11/W12 contents will be included for the final exam". Treat week 11 as fully examinable and check your course announcements for whether a twelfth revision week exists this term.

03

Weeks 1 to 6, in one picture

Determinant, rank, nullity and invertibility are one fact

A 2×2 matrix is a thing that moves the plane. Blue is the standard basis, orange is where the matrix sends it, and the shaded area is the image of the unit square. Drag the entries until the determinant hits zero and watch all four numbers change at once — that is the theorem the course spends six weeks proving.

A = 1001

drag the four entries

Try "singular". The whole plane collapses onto a line: the columns are multiples of each other, the determinant is 0, the rank drops to 1, and a whole line of vectors gets sent to the origin. Rank + nullity = 2 always, which is the rank–nullity theorem in week 5.

04

How it is graded

May 2026 grading document · confirm against your course page

The standard formula, with the largest bonus in the Foundation level:

T = max( 0.6F + 0.3·max(Qz1, Qz2),  0.45F + 0.25Qz1 + 0.3Qz2 ) + B
    capped at 100, where B is out of 6

The six bonus marks

Three extra activities, 2 marks each, released on the portal during the term. Unlike Statistics, these are straightforward submissions — no peer review requirement is listed. Six marks for three pieces of work is the best return available anywhere in Foundation.

The eligibility gate

Average of the best 5 of 8 — the first seven weekly assignments plus Mock Quiz 1 — must be 40/100 or more, and you must attend at least one quiz. The gate closes at week 7, which here is inner products.

The multivariable block sits outside the gate

Weeks 9 to 11 — partial derivatives, gradients, the Hessian — count for nothing in eligibility and a great deal in the end term. They are also the part the Diploma needs most.

05

Where the marks actually go

My read, from this course and from what people ask about
01

Memorising definitions instead of testing them

"Linearly independent" is not a phrase to recall, it is a check to run. Take any definition in weeks 3 and 4 and immediately try it on a set of two vectors in the plane. If you cannot, you do not have it yet.

02

Arithmetic slips in row reduction

Week 2's Gaussian elimination is the tool used in half the later questions, and it is pure arithmetic under time pressure. Practise until it is boring; a single sign error invalidates everything downstream.

03

Gram–Schmidt, forgotten

Week 8 lands after the eligibility window and just before the quiz-2 cut-off, so it gets squeezed from both sides. It is also the most mechanical procedure in the course — pure marks if you have done it five times.

04

Confusing the Hessian's role

In week 11 the gradient finds the critical point and the Hessian classifies it. People compute one and answer the other question.

06

Everything worth opening

Official first, then the free things that genuinely help

Every link here was opened and checked on 23 September 2026.

Official

For the linear algebra (weeks 1–8)

For the calculus (weeks 9–11)

07

What to do in week one

Term starts 2 October 2026
  1. Watch Essence of linear algebra firstAll fifteen videos, before week 3. Three hours that change how the next eight weeks feel.
  2. Drill row reduction until it is dullTen systems by hand. Week 2's technique is used in weeks 4, 5, 6 and 8.
  3. Find the three bonus activitiesSix marks, and the easiest six in Foundation. Put the deadlines in your calendar as they appear.
  4. Test every definition on two vectorsWhen "linearly independent" is defined, immediately check a dependent pair and an independent pair by hand.
  5. Do not let weeks 9–11 driftThey are outside eligibility, heavily examined, and the direct prerequisite for gradient descent later.
  6. Check your course page's grading sectionEverything here is from the May 2026 document. The September 2026 one was not published when this was written.