Top Banner Ad
AAS103D · 1-Page Cheat Sheet

Calculus and Linear Algebra

AAS103D · YEAR 1 · SEM 1

Calculus and Linear Algebra — Last-Night Cheat Sheet

prephora.in

CSE paper: read "calculus" as the mathematics of a multi-input loss surface, then as area/volume, field flow, matrices, and finally vector spaces for data compression.

1. alculus

Recall anchor. Hold every other input fixed: a partial derivative is the slope along one axis of a many-input model, so the chain rule, homogeneity, and Jacobian all answer "how does the output move when one knob moves?"

Scored points.

  • Limit and continuity of f(x,y) require the same value along every approach path; differentiability is stronger than the existence of both partial derivatives.
  • Partial derivatives fₓ, fᵧ are computed by fixing the other variable; composite functions f(u(x,y),v(x,y)) use the chain rule with one term per inner variable.
  • Total derivative df = fₓ dx + fᵧ dy records the combined change when both inputs move together; this is the linear approximation behind error propagation.
  • Euler's theorem applies only to homogeneous functions: if f(tx,ty) = tⁿf(x,y), then x fₓ + y fᵧ = n f.
  • The Jacobian ∂(u,v)/∂(x,y) is the determinant of first partials; ∂(u,v)/∂(x,y) · ∂(x,y)/∂(u,v) = 1 for an invertible change of variables.
  • Stationary points solve fₓ = fᵧ = 0; the second-derivative test uses D = fₓₓfᵧᵧ − fₓᵧ². Constrained extrema use ∇f = λ∇g.
  • Approximation of errors: Δf ≈ fₓΔx + fᵧΔy; relative error follows from the logarithmic differential, d(ln f) = df/f.

Formula strip.

df=fx dx+fy dy,xfx+yfy=nf,J=∂(u,v)∂(x,y),∇f=λ∇gdf=f_x\,dx+f_y\,dy,\quad xf_x+yf_y=nf,\quad J=\frac{\partial(u,v)}{\partial(x,y)},\quad \nabla f=\lambda\nabla g

Micro-example. For f = x²y (degree 3), at (2,1): x fₓ + y fᵧ = x(2xy) + y(x²) = 8 + 4 = 12 = 3f.

Examiner line. In an AI-model-optimisation question, first identify the independent variables, then name the rule (chain, Euler, or Lagrange) before substituting numbers; close with the extremum or error asked for.

2. Multiple Integrals

Recall anchor. Sweep, don't differentiate: a double integral adds thin area strips, a triple integral adds volume elements, and changing the order is just rewriting the same region with the axes swapped.

Scored points.

  • A double integral ∬_R f(x,y) dx dy is evaluated as an iterated integral; sketch R first and write the inner limits as functions of the outer variable.
  • Change of order of integration requires re-describing the same region: horizontal strips (dy outer, dx inner) become vertical strips (dx outer, dy inner).
  • Change of variable for a double integral inserts the Jacobian magnitude: dx dy = |∂(x,y)/∂(u,v)| du dv; polar form gives dx dy = r dr dθ.
  • Triple integrals ∭_V f dV use the order dz dy dx (or any permitted order) and find volume by setting f = 1.
  • Beta function B(m,n) = ∫₀¹ x^{m−1}(1−x)^{n−1} dx is symmetric in m and n; the related Gamma function Γ(n) = ∫₀^∞ e^{−t}t^{n−1}dt gives Γ(n) = (n−1)! for positive integers and Γ(½) = √π.
  • The key relation B(m,n) = Γ(m)Γ(n)/Γ(m+n) converts a beta integral into factorials; Dirichlet's integral ∫₀^∞ (sin x)/x dx = π/2 is a standard application.
  • Area and volume applications use ∬_R 1 dA and ∭_V 1 dV; in image processing a pixel block's total intensity is a double integral.

Formula strip.

∬Rf dA=∫ab ⁣∫g1(x)g2(x)f dy dx,dx dy=r dr dθ,B(m,n)=Γ(m)Γ(n)Γ(m+n),∫0∞sin⁡xxdx=π2\iint_R f\,dA=\int_a^b\!\int_{g_1(x)}^{g_2(x)}f\,dy\,dx,\quad dx\,dy=r\,dr\,d\theta,\quad B(m,n)=\frac{\Gamma(m)\Gamma(n)}{\Gamma(m+n)},\quad \int_0^\infty\frac{\sin x}{x}dx=\frac{\pi}{2}

Micro-example. B(3,2) = Γ(3)Γ(2)/Γ(5) = (2!·1!)/4! = 2/24 = 1/12.

Examiner line. For data-density or image-processing sums, award the limits their own line: mark the region sketch, the Jacobian (if any), and the final number separately.

3. Vector Calculus

Recall anchor. Gradient points uphill, divergence measures outflow, curl measures spin: every theorem in this unit connects a local derivative to a boundary integral.

Scored points.

  • A scalar point function assigns one number per point (temperature, loss); a vector point function assigns a vector (velocity, field intensity).
  • Gradient ∇φ is normal to the level surface φ = c and points in the direction of maximum increase; its magnitude is that maximum rate.
  • Directional derivative along unit vector û is D_ûφ = ∇φ·û; it is zero along a level surface.
  • Divergence ∇·F measures source strength; F is solenoidal when ∇·F = 0. Curl ∇×F measures rotation; F is irrotational when ∇×F = 0 (then F = ∇φ).
  • Line integral ∫_C F·dr adds the component of F along a path; work done by a field is the standard example.
  • Stokes' theorem converts a closed line integral into a surface integral of curl: ∮_C F·dr = ∬_S (∇×F)·n̂ dS.
  • Gauss divergence theorem converts outward flux into a volume integral of divergence: ∯_S F·n̂ dS = ∭_V (∇·F) dV; heat-mapping and graphics fields use these two conversions.

Formula strip.

∇ϕ=i^ϕx+j^ϕy+k^ϕz,Du^ϕ=∇ϕ⋅u^,∮CF⋅dr=∬S(∇×F)⋅n^ dS,∯SF⋅n^ dS=∭V∇⋅F dV\nabla\phi=\hat i\phi_x+\hat j\phi_y+\hat k\phi_z,\quad D_{\hat u}\phi=\nabla\phi\cdot\hat u,\quad \oint_C F\cdot dr=\iint_S(\nabla\times F)\cdot\hat n\,dS,\quad \oiint_S F\cdot\hat n\,dS=\iiint_V\nabla\cdot F\,dV

Micro-example. For F = (x,y,z), ∇·F = 3 and ∇×F = 0; flux out of the unit sphere is 3 × (4π/3) = 4π.

Examiner line. For robotics path or heat-map questions, state which theorem converts the given boundary data, verify the solenoidal/irrotational condition before applying it, and quote the normal direction.

4. Matrices

Recall anchor. A matrix is a linear map: eigenvalues are the stretch factors along directions the map does not rotate, and row reduction exposes rank and solvability.

Scored points.

  • Elementary row/column transformations (swap, scale, add a multiple of a row) preserve rank and the solution set when applied consistently.
  • Inverse by elementary transformation: reduce [A | I] to [I | A⁻¹]; the same sequence that clears A builds the inverse.
  • Rank by echelon form equals the number of non-zero rows; the system Ax = b is consistent iff rank(A) = rank([A|b]).
  • Gauss elimination uses forward elimination to upper-triangular form and back substitution; Gauss–Seidel updates each unknown using the newest values available.
  • Characteristic equation det(A − λI) = 0 gives eigenvalues; eigenvectors satisfy (A − λI)v = 0 and are found up to a scalar.
  • Similarity transformation B = P⁻¹AP preserves eigenvalues, trace, and determinant; diagonalisation A = PDP⁻¹ is possible when there are n independent eigenvectors.
  • Hermitian matrices satisfy A† = A, skew-Hermitian A† = −A, unitary U†U = I; their eigenvalues are respectively real, purely imaginary, and of unit modulus — the basis for PCA and code-based error detection.

Formula strip.

[A∣I]∼[I∣A−1],rank⁡(A)=#nonzero echelon rows,det⁡(A−λI)=0,A=PDP−1,U†U=I[A\mid I]\sim[I\mid A^{-1}],\quad \operatorname{rank}(A)=\#\text{nonzero echelon rows},\quad \det(A-\lambda I)=0,\quad A=PDP^{-1},\quad U^\dagger U=I

Micro-example. For A = diag(2,3), det(A − λI) = (2−λ)(3−λ) = 0, so λ = 2, 3 with eigenvectors (1,0) and (0,1); A is already diagonal.

Examiner line. In a PCA or graphics-rendering problem, name the map first, then show the characteristic determinant, then the eigenvector; finish with the stability conclusion (|λ| < 1 or not).

5. Introduction to Vector Space

Recall anchor. Closure is the whole test: a set is a subspace if it contains 0 and survives addition and scalar multiplication; everything else (basis, dimension) follows from that.

Scored points.

  • A field supplies addition and multiplication with closure, associativity, identities, inverses, and distributivity; ℝ and ℂ are the fields used here.
  • A vector space V over a field F is a set with vector addition and scalar multiplication satisfying the eight axioms (commutative group under +, plus scalar distributivity and compatibility).
  • Basic properties include 0v = 0, (−1)v = −v, and c·0 = 0; these follow from the axioms and are often asked as one-line proofs.
  • Subspace test: W ⊆ V is a subspace iff 0 ∈ W and u,v ∈ W, α,β ∈ F imply αu + βv ∈ W.
  • Vectors v₁…vₖ are linearly dependent if some nontrivial combination Σcᵢvᵢ = 0 exists; otherwise they are independent.
  • A basis is an independent set that spans V; dimension dim V is the number of vectors in any basis, and dim(span S) equals the rank of the matrix formed from S.
  • Engineering uses: a signal is a vector of samples, compression keeps a smaller spanning basis, and noise reduction discards components outside the retained subspace.

Formula strip.

αu+βv∈W⇒W≤V,∑i=1kcivi=0 (ci not all 0)⇒dependence,dim⁡(span⁡S)=rank⁡[S]\alpha u+\beta v\in W\Rightarrow W\le V,\quad \sum_{i=1}^{k}c_i v_i=0\ (c_i\ \text{not all }0)\Rightarrow\text{dependence},\quad \dim(\operatorname{span}S)=\operatorname{rank}[S]

Micro-example. In ℝ², v₁=(1,0), v₂=(0,1), v₃=(1,1): v₃ = v₁+v₂, so the three are dependent; {(1,0),(0,1)} is a basis and dim ℝ² = 2.

Examiner line. For data-modelling or noise-reduction questions, write the spanning set explicitly, apply the closure test, then state the basis and dimension as a separate scored sentence.

Memory map

%%{init: {'theme': 'base', 'look': 'handDrawn', 'themeVariables': {'fontFamily': "'Nunito', sans-serif", 'fontSize': '16px', 'primaryColor': '#EFEAD6', 'primaryBorderColor': '#0F766E', 'lineColor': '#23211C'}}}%%
flowchart LR
  A["U1: Partial derivatives"] --> B["U1: Euler’s Theorem for homogeneous functions"] --> C["U1: Jacobians"]
  C --> D["U2: Evaluation of double and triple integrals"] --> E["U2: Beta and Gamma functions"]
  E --> F["U3: Gradient of a scalar field"] --> G["U3: Divergence and curl of a vector function"]
  G --> H["U3: Stokes Theorem and Gauss Divergence Theorem"]
  H --> I["U4: Eigen Values & Eigen Vectors"] --> J["U4: Diagonalization"]
  J --> K["U5: Sub spaces"] --> L["U5: Basis and Dimension"]

Rapid recall

  1. U1 · Introduction of Limits
  2. U1 · continuity and differentiability for function of two variables
  3. U1 · Partial derivatives
  4. U1 · Composite functions
  5. U1 · Total derivative
  6. U1 · Euler’s Theorem for homogeneous functions
  7. U1 · Change of variables Expansion for function of two variables
  8. U1 · Jacobians
  9. U1 · Maxima & Minima for a function of several variables
  10. U1 · Lagrange’s method of multipliers
  11. U1 · Approximation of Errors
  12. U2 · Evaluation of double and triple integrals
  13. U2 · change of order of integration
  14. U2 · Change of variable (double integral)
  15. U2 · Beta and Gamma functions
  16. U2 · Dirichlet's Integral
  17. U3 · Gradient of a scalar field
  18. U3 · Directional derivatives
  19. U3 · Divergence and curl of a vector function
  20. U3 · Stokes Theorem and Gauss Divergence Theorem
  21. U4 · Complex Matrices: Hermitian, Skew Hermitian and Unitary Matrix
  22. U4 · Rank of a Matrix by Echelon Form
  23. U4 · Solution of system of linear Equations by Gauss Elimination and Gauss Seidel Method
  24. U4 · Eigen Values & Eigen Vectors
  25. U4 · Similarity Transformation
  26. U4 · Diagonalization
  27. U5 · Definition of Field
  28. U5 · Introduction to Vector Spaces
  29. U5 · Sub spaces
  30. U5 · Linear dependence and independence of vectors
  31. U5 · Basis and Dimension

Final-answer checklist

  • For AAS103D, say which variables are independent before writing any derivative or differential.
  • In unit 2, draw the region or volume and justify the Jacobian or the changed order before integrating.
  • In unit 3, name the local operator (gradient, divergence, curl) and the converting theorem separately.
  • In units 4–5, display the determinant, echelon row count, or spanning combination that earns the step marks.
  • Attach the CSE application named in the question (PCA, error-correcting codes, compression, or heat mapping) to the final result in one sentence.