Original BCA Nepal study material. Units and topic order follow the 2025 BCA104 outline. All explanations and worked examples are written by BCA Nepal; they are not reproduced TU text.

Course overview

BCA104 lays the mathematical foundation for the entire BCA degree. It covers four broad areas that recur throughout computing: logic and functions (underpins programming and databases), sequences and series (recurrence relations, algorithm analysis), matrices (linear algebra for graphics, ML, and numerical methods), and counting (permutations and combinations for probability and algorithm complexity). An analytical geometry unit covers conic sections that appear in computer graphics.

The course includes a tutorial component alongside theory. The examination rewards: (a) worked derivations with intermediate steps clearly shown, (b) precise definitions, (c) application of theorems (stated, then applied), and (d) geometric interpretation of algebraic results.

Learning outcomes

After completing this course, you can:

  • Reason with elementary logic, real and complex numbers, relations and functions.
  • Classify and graph identity, algebraic, trigonometric, exponential, and logarithmic functions.
  • Apply arithmetic, geometric, and harmonic sequence/series formulas; relate AM, GM, HM.
  • Perform matrix algebra; compute determinants, inverses, and eigenvalues.
  • Apply transformation matrices in computer graphics.
  • Derive and apply the standard equations of conic sections.
  • Perform vector operations; understand vector spaces, linear independence, and orthogonality.
  • Apply counting principles; derive and use permutation and combination formulas.

Unit 1: Logic, Relations, Functions, and Graphs

Teaching hours: 10

1.1 Elementary logic

Propositional logic deals with statements (propositions) that are either true (T) or false (F), and operators that combine them.

Logical connectives:

Symbol Name Meaning p=T, q=F result
¬p Negation (NOT) Opposite truth value ¬T = F
p ∧ q Conjunction (AND) True only if both true F
p ∨ q Disjunction (OR) True if at least one true T
p → q Implication (IF...THEN) False only if p=T, q=F F
p ↔ q Biconditional (IFF) True if same truth value F

Swipe to see all columns

Implication p → q is logically equivalent to ¬p ∨ q. The common confusion: p → q is true when p is false regardless of q (called "vacuous truth"). Example: "If it rains, the match is cancelled." If it doesn't rain, the statement says nothing about cancellation.

Tautology: Always true (e.g., p ∨ ¬p). Contradiction: Always false (e.g., p ∧ ¬p). Contingency: Neither.

De Morgan's laws (propositional):

  • ¬(p ∧ q) ≡ ¬p ∨ ¬q
  • ¬(p ∨ q) ≡ ¬p ∧ ¬q

Contrapositive: p → q ≡ ¬q → ¬p (always logically equivalent to the original).
Converse: q → p (not equivalent in general).
Inverse: ¬p → ¬q (not equivalent; equivalent to converse).

1.2 Real number system

The real numbers ℝ form a complete ordered field. Subset hierarchy: ℕ ⊂ ℤ ⊂ ℚ ⊂ ℝ ⊃ ℚᶜ (irrationals)

  • ℕ (natural): {1, 2, 3, ...} (some definitions include 0)
  • ℤ (integers): {..., −2, −1, 0, 1, 2, ...}
  • ℚ (rationals): {p/q : p, q ∈ ℤ, q ≠ 0}; decimal terminates or repeats
  • Irrationals: Cannot be expressed as p/q; decimal is non-terminating, non-repeating (e.g., √2, π, e)

1.3 Field and ordered axioms of real numbers

Field axioms ensure ℝ supports +, ×, their inverses, and their interactions:

  • Closure, associativity, commutativity of + and ×
  • Distributivity: a(b+c) = ab + ac
  • Identity elements: 0 for +, 1 for ×
  • Inverse elements: −a for each a; a⁻¹ for each a ≠ 0

Ordered axioms: ℝ has a total order < consistent with the field operations:

  • Trichotomy: exactly one of a < b, a = b, a > b holds
  • Transitivity: a < b and b < c → a < c
  • Addition preserves order: a < b → a+c < b+c
  • Multiplication: a < b and c > 0 → ac < bc; and c < 0 → ac > bc (order reverses)

1.4 Intervals, rational and irrational numbers

Interval notation:

Notation Type Meaning
[a, b] Closed a ≤ x ≤ b
(a, b) Open a < x < b
[a, b) Half-open a ≤ x < b
(a, ∞) Unbounded x > a
(−∞, ∞) Entire real line all x ∈ ℝ

Rational: √4 = 2 ∈ ℚ; 0.333... = 1/3 ∈ ℚ.
Irrational: √2 ≈ 1.41421356...; π ≈ 3.14159...; e ≈ 2.71828...

Proof that √2 is irrational: assume √2 = p/q in lowest terms → 2 = p²/q² → p² = 2q² → p is even → p = 2m → 4m² = 2q² → q² = 2m² → q is even, contradicting lowest terms.

1.5 Absolute value and complex numbers

Absolute value: |a| = a if a ≥ 0; = −a if a < 0.

Properties:

  • |a| ≥ 0; |a| = 0 ↔ a = 0
  • |ab| = |a||b|
  • Triangle inequality: |a + b| ≤ |a| + |b|

Geometric meaning: |a − b| = distance between a and b on the number line.

Complex numbers: ℂ = {a + bi : a, b ∈ ℝ, i = √(−1)}

  • Real part: Re(z) = a; imaginary part: Im(z) = b
  • Conjugate: z̄ = a − bi; |z|² = z·z̄ = a² + b²
  • Modulus: |z| = √(a²+b²) (distance from origin in Argand plane)
  • Argument: θ = atan2(b, a) (equivalently arctan(b/a) with quadrant adjustment when Re(z) ≤ 0)
  • Polar form: z = |z|(cos θ + i sin θ) = |z|e^(iθ)

Operations:

  • Addition: (a+bi) + (c+di) = (a+c) + (b+d)i
  • Multiplication: (a+bi)(c+di) = (ac−bd) + (ad+bc)i
  • Division: (a+bi)/(c+di) = [(a+bi)(c−di)] / (c²+d²)

De Moivre's theorem: (cos θ + i sin θ)ⁿ = cos(nθ) + i sin(nθ)

Worked example:
Compute (1+i)⁴ using De Moivre.
|1+i| = √2, θ = π/4.
(1+i)⁴ = (√2)⁴(cos(4·π/4) + i sin(4·π/4)) = 4(cos π + i sin π) = 4(−1 + 0) = −4

1.6 Ordered pairs, Cartesian product, relation, equivalence relation

Cartesian product: A × B = {(a, b) : a ∈ A, b ∈ B}
Example: A={1,2}, B={x,y}: A×B = {(1,x),(1,y),(2,x),(2,y)}

Relation from A to B: Any subset R ⊆ A × B.
"a is related to b" written aRb means (a, b) ∈ R.

Properties of relations on set A:

  • Reflexive: ∀a ∈ A: aRa
  • Symmetric: aRb → bRa
  • Transitive: aRb ∧ bRc → aRc
  • Antisymmetric: aRb ∧ bRa → a = b

Equivalence relation: Reflexive + Symmetric + Transitive. Partitions the set into equivalence classes.
Example: "Same remainder when divided by 3" on ℤ: 0≡3≡6≡..., 1≡4≡7≡..., 2≡5≡8≡...

1.7 Functions

A function f: A → B is a relation where each element of A (the domain) maps to exactly one element of B (the codomain).

Types of functions:

  • Injective (one-to-one): Different inputs give different outputs. f(a₁)=f(a₂) → a₁=a₂.
  • Surjective (onto): Every element of B is the image of at least one element of A.
  • Bijective: Both injective and surjective; has an inverse function.

Composition: (g∘f)(x) = g(f(x)); apply f first, then g.

Inverse function: If f is bijective, f⁻¹ satisfies f⁻¹(f(x)) = x. Graphically, f⁻¹ is the reflection of f across the line y = x.

Types of functions and their properties:

Type Form Domain Characteristic
Identity f(x) = x ℝ Graph: y = x; slope = 1
Constant f(x) = c ℝ Horizontal line at y = c
Linear f(x) = mx + b ℝ Straight line; slope m
Quadratic f(x) = ax² + bx + c ℝ Parabola; vertex at x = −b/(2a)
Polynomial f(x) = aₙxⁿ + ... + a₀ ℝ Degree n; at most n roots
Rational f(x) = p(x)/q(x) ℝ \ {roots of q} Vertical asymptotes at roots of q
Trigonometric sin x, cos x, tan x Varies Periodic
Exponential f(x) = aˣ, a>0, a≠1 ℝ Range (0,∞); growth (a>1) or decay
Logarithmic f(x) = logₐx (0,∞) Inverse of exponential

Swipe to see all columns

Domain and range: Domain = all valid inputs; range = all actual outputs. For f(x) = √x: domain = [0,∞), range = [0,∞). For f(x) = 1/x: domain = ℝ{0}, range = ℝ{0}.

Combination of functions: (f+g)(x) = f(x)+g(x); (fg)(x) = f(x)g(x); (f/g)(x) = f(x)/g(x) where g(x)≠0.

1.8 Graphs of different types of functions

Key graph properties to know: x-intercepts (zeros), y-intercept, asymptotes, symmetry (even: f(−x)=f(x), odd: f(−x)=−f(x)), periodicity, monotonicity, turning points.

Function Shape
y = x Line through origin, slope 1
y = x² Upward parabola, vertex at origin
y = x
y = sin x Oscillates between −1 and +1, period 2π
y = eˣ Exponential growth, y-intercept = 1
y = ln x Increases slowly; x-intercept = 1; asymptote at x = 0

Key terms — Unit 1

Proposition · tautology · contrapositive · equivalence class · injective/surjective/bijective · composition · inverse function · even/odd function · asymptote · modulus of complex number

Unit 1 practice questions

  1. Prove that p → q ≡ ¬p ∨ q using a truth table.
  2. Prove √3 is irrational by contradiction.
  3. Let f(x) = 2x+1 and g(x) = x². Find (g∘f)(x) and (f∘g)(x); are they equal?
  4. Find the domain and range of f(x) = √(4−x²) and sketch the graph.
  5. Verify De Moivre's theorem for n=3 on z = cos(π/3) + i sin(π/3).

Expanded chapter notes

Mathematics relies on absolute certainty. Unlike empirical sciences, which build models based on observation and measurement, mathematics builds structures based on strict logical deduction. We do not accept a mathematical statement as true because it looks correct or works in most cases. We accept it as true only when it is proven from foundational rules. This unit establishes those foundational rules. It begins with the basic language of logic, moves to the structure of the real number system, and culminates in the study of functions and their graphs. Logic provides the syntax of mathematical reasoning. It tells us how to combine simple statements into complex arguments and how to determine whether those arguments are valid. Computer science relies entirely on this logical foundation. Every digital circuit, every search algorithm, and every conditional statement in a computer program operates according to the rules of elementary logic. By mastering logical connectives and truth tables, we learn how to evaluate complex conditions without ambiguity. Once the rules of logic are established, we apply them to the objects of mathematics: numbers. The real number system is the environment where most continuous mathematics happens. We will systematically build this system from basic counting numbers up to the continuum of real numbers. We will define the axiomatic rules that govern addition, multiplication, and ordering. Understanding these axioms ensures that every algebraic manipulation we perform is legally justified, leaving no room for guesswork.

1.1 Elementary logic

Propositions and Truth Values

A proposition is a declarative sentence that is either true or false, but never both. This strict binary nature is the foundation of all mathematical logic and computer programming. A statement like "Kathmandu is the capital of Nepal" is a proposition because it holds a definite truth value (true). Similarly, "Five is an even number" is a proposition because it holds a definite truth value (false). The actual truth or falsity does not matter when identifying a proposition; what matters is that the statement can be definitively classified into exactly one of those two states. Not all sentences qualify as propositions. Questions, commands, and exclamations do not state facts, so they cannot be true or false. For example, "What time is it?" and "Close the door" are not propositions. Paradoxes also fail the test. The sentence "This statement is false" cannot be assigned a truth value. If we assume it is true, it must be false; if we assume it is false, it must be true. Because it cannot resolve to a single binary state, it is excluded from formal propositional logic. To study logic algebraically, we use letters to represent propositions. We typically use uppercase letters like PPP, QQQ, and RRR. These are called propositional variables. By abstracting the content away into variables, we can study the logical structure of an argument independently of what the argument is actually about. A propositional variable can take on exactly one of two truth values: True (T) or False (F). In computer science, these states are often represented as 1 and 0, forming the basis of Boolean algebra and digital circuit design.

Unit 2: Sequence and Series

Teaching hours: 7

2.1 Sequences and series: arithmetic, geometric, and harmonic

Sequence: An ordered list of numbers defined by a rule. The nᵗʰ term is denoted aₙ.

Arithmetic sequence (AP): Constant difference d between consecutive terms.
aₙ = a + (n−1)d, where a = first term, d = common difference.
Example: 3, 7, 11, 15, ... → a=3, d=4; a₅ = 3+4×4 = 19.

Geometric sequence (GP): Constant ratio r between consecutive terms.
aₙ = a·rⁿ⁻¹, where a = first term, r = common ratio.
Example: 2, 6, 18, 54, ... → a=2, r=3; a₄ = 2×3³ = 54.

Harmonic sequence (HP): Reciprocals of an arithmetic sequence.
aₙ = 1/(A + (n−1)D), where 1/a is the first AP term.
Example: 1, 1/3, 1/5, 1/7, ... (AP: 1, 3, 5, 7, D=2).

Series: The sum of a sequence's terms. Sₙ = a₁ + a₂ + ... + aₙ.

2.2 Means (AM, GM, HM) and their relations

For two positive numbers a and b:

Mean Formula Property
AM (Arithmetic) (a+b)/2 Minimises variance
GM (Geometric) √(ab) Used for growth rates
HM (Harmonic) 2ab/(a+b) Used for rates and speeds

Inequality of means: HM ≤ GM ≤ AM, with equality iff a = b.

Proof that AM ≥ GM: (a+b)/2 ≥ √(ab)
⟺ a+b ≥ 2√(ab)
⟺ (√a − √b)² ≥ 0 ✓ (always true; equality when a = b)

Extended to n terms:
AM = (a₁+a₂+...+aₙ)/n;
GM = (a₁·a₂···aₙ)^(1/n);
HM = n / (1/a₁ + 1/a₂ + ... + 1/aₙ)

AM-GM-HM relation: AM·HM = GM² (for two terms).

Worked example:
a=4, b=9. AM=(4+9)/2=6.5; GM=√36=6; HM=2×4×9/13=72/13≈5.54.
AM·HM = 6.5×72/13 = 36 = GM² ✓

2.3 nth term and sum formulas

AP sum:
Sₙ = n/2 × (2a + (n−1)d) = n/2 × (a + l), where l = last term = a + (n−1)d

Proof: Write sum forwards and backwards; add:
Sₙ = a + (a+d) + ... + (l−d) + l
Sₙ = l + (l−d) + ... + (a+d) + a
2Sₙ = n(a+l) → Sₙ = n(a+l)/2

Example: Sum of AP: 2+5+8+...+32. Here a=2, d=3; n=(32−2)/3+1=11; S₁₁=11(2+32)/2=187.

GP sum (finite):
Sₙ = a(rⁿ−1)/(r−1) for r ≠ 1; Sₙ = na for r = 1.

Example: 1+2+4+...+2⁹ (10 terms, r=2): S₁₀ = 1(2¹⁰−1)/(2−1) = 1023.

Infinite GP sum (|r| < 1):
S∞ = a/(1−r)

Example: 1 + 1/2 + 1/4 + ... : S∞ = 1/(1−1/2) = 2.

2.4 Sum of first n natural numbers, squares, cubes

These formulas appear frequently in algorithm complexity analysis.

Sum Formula Proof idea
Σk = 1+2+...+n n(n+1)/2 Gauss pairing
Σk² = 1²+2²+...+n² n(n+1)(2n+1)/6 Telescoping / mathematical induction
Σk³ = 1³+2³+...+n³ [n(n+1)/2]² Note: (Σk)²

Verification for n=4:
Σk = 10; formula: 4×5/2 = 10 ✓
Σk² = 1+4+9+16=30; formula: 4×5×9/6=30 ✓
Σk³ = 1+8+27+64=100; (4×5/2)²=100 ✓

2.5 Arithmetico-geometric series

An arithmetico-geometric series has the form:
S = Σ (a + (k−1)d) rᵏ⁻¹ = a + (a+d)r + (a+2d)r² + ...

Method (multiply by r, subtract):
S = a + (a+d)r + (a+2d)r² + ... + [a+(n−1)d]rⁿ⁻¹
rS = ar + (a+d)r² + ... + [a+(n−2)d]rⁿ⁻¹ + [a+(n−1)d]rⁿ
S−rS = a + d(r+r²+...+rⁿ⁻¹) − [a+(n−1)d]rⁿ
S(1−r) = a + d·r(rⁿ⁻¹−1)/(r−1) − [a+(n−1)d]rⁿ

For |r| < 1 as n → ∞:
S∞ = a/(1−r) + dr/(1−r)²

Example: S = 1 + 2×(1/2) + 3×(1/4) + 4×(1/8) + ...
Here a=1, d=1, r=1/2.
S∞ = 1/(1/2) + (1/2)/(1/2)² = 2 + 2 = 4.

Key terms — Unit 2

Common difference · common ratio · telescoping · AM-GM inequality · sigma notation · convergence · divergence · arithmetico-geometric

Unit 2 practice questions

  1. The sum of the first n terms of a GP is 3(2ⁿ−1). Find the first term and common ratio.
  2. Insert 4 arithmetic means between 3 and 23.
  3. Prove AM ≥ GM for n positive numbers by induction (outline the induction step).
  4. Find the sum of the series: 1 + 3×(1/4) + 5×(1/4)² + 7×(1/4)³ + ... ∞.
  5. Find the sum of all even integers from 1 to 100 using the AP formula.

Expanded chapter notes

In the previous unit, we studied functions that operate on the continuous real number line. We could input any real number, including fractions and irrational decimals, and observe a continuous curve on a graph. However, computer science rarely deals with continuous infinity. Computers operate on discrete, countable steps. A loop executes a first time, a second time, and a third time. There is no "one-and-a-half" execution of a loop. To model this discrete reality mathematically, we restrict our domain to the natural numbers. When we restrict a function's domain to the natural numbers, we create a sequence. Instead of a continuous curve, the output becomes an ordered list of distinct values. We study sequences to understand patterns of growth. By identifying the specific algebraic rule that generates a list of numbers, we can predict future values without calculating every intermediate step. This predictive power is the mathematical basis for analyzing algorithm efficiency and managing discrete data structures. This unit examines the three most fundamental patterns of discrete growth: arithmetic, geometric, and harmonic. We will define the strict algebraic rules that govern each pattern. We will then develop formulas to find any specific term in a sequence and, eventually, the sum of those terms. Finally, we will explore the mathematical averages associated with each pattern and prove the strict inequalities that bind them together.

2.1 Sequence and Series (Arithmetic, Geometric and Harmonic) and their properties

The Concept of Sequences and Series

A sequence is an ordered list of numbers generated by a specific mathematical rule. Each individual number in the list is called a term. We denote the terms using a variable with a subscript, such as t1,t2,t3t_1, t_2, t_3t1​,t2​,t3​, and so on. The subscript indicates the exact position of the term in the sequence. The general term, written as tnt_ntn​, represents the algebraic formula that produces the nnnth term. If you know the formula for tnt_ntn​, you can find any term in the sequence simply by substituting the desired position number for nnn. A series is the mathematical sum of the terms in a sequence. While a sequence is a list of numbers separated by commas, a series is an expression of those numbers connected by addition signs. If a sequence is 1,3,5,71, 3, 5, 71,3,5,7, the corresponding series is 1+3+5+71 + 3 + 5 + 71+3+5+7. We denote the sum of the first nnn terms of a series as SnS_nSn​. The distinction between a sequence (the list) and a series (the sum) is absolute. We analyze the individual terms first before we attempt to calculate their total accumulation.

Unit 3: Matrices and Determinants

Teaching hours: 10

3.1 Definitions, types, and algebra of matrices

A matrix is a rectangular array of numbers arranged in rows and columns. A matrix with m rows and n columns is called an m×n matrix; m×n is its order.

Types of matrices:

Type Condition Example
Row matrix 1 row [1 2 3]
Column matrix 1 column [4; 5]
Square m = n 3×3
Diagonal Off-diagonal entries = 0 diag(1,2,3)
Identity (I) Diagonal=1, rest=0 I₃
Null/Zero All entries = 0 O
Symmetric A = Aᵀ Aᵢⱼ = Aⱼᵢ
Skew-symmetric A = −Aᵀ Aᵢⱼ = −Aⱼᵢ; diag = 0
Triangular Upper or lower U or L

Matrix algebra:

  • Addition: A+B exists iff A and B have the same order; (A+B)ᵢⱼ = Aᵢⱼ+Bᵢⱼ.
  • Scalar multiplication: (kA)ᵢⱼ = k·Aᵢⱼ.
  • Multiplication: AB requires (m×p)(p×n) → result is m×n; (AB)ᵢⱼ = Σₖ Aᵢₖ·Bₖⱼ.
  • Matrix multiplication is not commutative in general: AB ≠ BA.
  • Matrix multiplication is associative: (AB)C = A(BC).
  • Distributive: A(B+C) = AB+AC.

Worked example:

A = [1 2; 3 4],  B = [0 1; 2 3]

AB = [1×0+2×2  1×1+2×3] = [4  7]
     [3×0+4×2  3×1+4×3]   [8 15]

BA = [0×1+1×3  0×2+1×4] = [3  4]
     [2×1+3×3  2×2+3×4]   [11 16]

AB ≠ BA — confirmed.

3.2 Determinants, transpose, minors, and cofactors

Transpose: (Aᵀ)ᵢⱼ = Aⱼᵢ (rows and columns swapped). (AB)ᵀ = BᵀAᵀ.

Determinant of a 2×2 matrix: det([a b; c d]) = ad − bc.

3×3 determinant (cofactor expansion along row 1):

|a b c|
|d e f| = a(ei−fh) − b(di−fg) + c(dh−eg)
|g h i|

Minor Mᵢⱼ: Determinant of the (n−1)×(n−1) submatrix obtained by deleting row i and column j.

Cofactor Cᵢⱼ: Cᵢⱼ = (−1)^(i+j) Mᵢⱼ. The sign pattern is a checkerboard: +, −, +, −, ...

Worked example:

A = [2 1 3; 0 4 2; 1 0 1]

Expanding along row 1:
det(A) = 2×|4 2; 0 1| − 1×|0 2; 1 1| + 3×|0 4; 1 0|
       = 2(4−0) − 1(0−2) + 3(0−4)
       = 8 + 2 − 12 = −2

3.3 Properties of determinants (stated without proof)

  1. det(Aᵀ) = det(A).
  2. If two rows (or columns) are identical, det = 0.
  3. Swapping two rows multiplies det by −1.
  4. Multiplying a row by scalar k multiplies det by k.
  5. Adding a multiple of one row to another leaves det unchanged.
  6. det(AB) = det(A)·det(B).
  7. det(kA) = kⁿ det(A) for n×n matrix A.

Singular matrix: det(A) = 0. No inverse exists; system of equations has no unique solution.
Non-singular matrix: det(A) ≠ 0. Inverse exists.

Adjoint (adj(A)): Transpose of the cofactor matrix; Aᵀ of cofactors.

Inverse: A⁻¹ = adj(A) / det(A) (defined only when det(A) ≠ 0).

For A = [2 1; 5 3]:
det(A) = 6 − 5 = 1
adj(A) = [3 −1; −5 2]  (cofactors transposed)
A⁻¹ = (1/1)[3 −1; −5 2] = [3 −1; −5 2]

Verify: A·A⁻¹ = [2 1; 5 3][3 −1; −5 2] = [6−5  −2+2; 15−15  −5+6] = [1 0; 0 1] = I ✓

3.4 Rank of a matrix

The rank of a matrix is the maximum number of linearly independent rows (or equivalently, columns). Computed by reducing the matrix to row echelon form (via elementary row operations) and counting non-zero rows.

A = [1 2 3; 2 4 6; 1 1 1]

R2 → R2−2R1: [1 2 3; 0 0 0; 1 1 1]
R3 → R3−R1:  [1 2 3; 0 0 0; 0 −1 −2]
Rearrange:   [1 2 3; 0 −1 −2; 0 0 0]

Two non-zero rows → rank(A) = 2

3.5 Linear and orthogonal transformations, applications to computer graphics

A linear transformation T: ℝⁿ → ℝᵐ satisfies T(au+bv) = aT(u)+bT(v). Every linear transformation on ℝⁿ can be represented by an n×m matrix: T(x) = Mx.

2D transformation matrices (applied as p' = M·p):

Transformation Matrix
Translation by (tx, ty) Homogeneous: [1 0 tx; 0 1 ty; 0 0 1]
Scaling by (sx, sy) [sx 0 0; 0 sy 0; 0 0 1]
Rotation by θ (CCW) [cos θ −sin θ 0; sin θ cos θ 0; 0 0 1]
Reflection across x-axis [1 0 0; 0 −1 0; 0 0 1]
Shear in x [1 k 0; 0 1 0; 0 0 1]

Why homogeneous coordinates? Translation cannot be represented as a 2×2 matrix multiplication; using 3-component vectors [x y 1]ᵀ allows all affine transformations (including translation) to be represented uniformly as matrix multiplication. This is essential in graphics pipelines.

Composite transformation: To rotate, then translate: M = T·R. Order matters because matrix multiplication is not commutative.

Orthogonal transformation: A linear transformation where the transformation matrix M satisfies MᵀM = I (Mᵀ = M⁻¹). Preserves distances and angles. Rotations and reflections are orthogonal; scaling is not.

3.6 Characteristic equations, eigenvalues and eigenvectors

For a square matrix A, a scalar λ is an eigenvalue and non-zero vector v is a corresponding eigenvector if:

Av = λv

The characteristic equation: det(A − λI) = 0.
Solving it gives the eigenvalues; substituting each eigenvalue back gives the eigenvectors.

Worked example:
Find eigenvalues of A = [4 1; 2 3].

Characteristic equation: det([4−λ 1; 2 3−λ]) = 0
(4−λ)(3−λ) − 2 = 0
12 − 7λ + λ² − 2 = 0
λ² − 7λ + 10 = 0
(λ − 5)(λ − 2) = 0
λ₁ = 5, λ₂ = 2

For λ₁ = 5: (A−5I)v = 0 → [−1 1; 2 −2]v = 0 → v = [1; 1] (eigenvector).
For λ₂ = 2: (A−2I)v = 0 → [2 1; 2 1]v = 0 → v = [1; −2] (eigenvector).

Applications in computing: PCA (Principal Component Analysis) for dimensionality reduction uses eigenvectors; PageRank is an eigenvector calculation; quantum computing gate analysis; vibration analysis in mechanical simulation.

Key terms — Unit 3

Order · transpose · determinant · cofactor · adjoint · singular/non-singular · rank · row echelon form · eigenvalue · eigenvector · homogeneous coordinates · orthogonal matrix

Unit 3 practice questions

  1. If A=[2 1; 5 3] and B=[1 2; 3 4], compute AB, BA, and verify AB ≠ BA.
  2. Find the inverse of [3 1; 7 2] using the adjoint method; verify AA⁻¹ = I.
  3. Show that det([1 2 3; 4 5 6; 7 8 9]) = 0 and explain what this means geometrically.
  4. Find the rank of [1 2 1; 2 4 2; 3 6 3] using row reduction.
  5. Find eigenvalues and eigenvectors of [2 1; 1 2].

Expanded chapter notes

Up to this point, we have solved equations involving single variables. We manipulated one number at a time. This scalar approach works perfectly for simple algebraic problems. However, it fails completely when a system contains hundreds of interacting variables. To handle massive systems, we must group numbers together and manipulate them as single objects. This structural shift is the domain of linear algebra. In computer science, a matrix is essentially a two-dimensional array. It stores data in a rigid, predictable grid. Every digital image on a screen is a matrix of pixel values. Every network graph is stored in memory as an adjacency matrix. By defining strict mathematical rules for how these grids interact, we can process millions of data points with a single mathematical operation. This unit establishes the arithmetic of these grids. We will define how to add, scale, and multiply matrices. We will then introduce the determinant, a unique scalar value that acts as a mathematical fingerprint for a matrix. These foundational operations provide the tools necessary to solve complex systems of equations and perform geometric transformations in computer graphics.

3.1 Definitions and types of matrices, algebra of matrices

The Definition and Dimensions of a Matrix

A matrix is a rectangular array of numbers arranged in horizontal rows and vertical columns. We enclose these numbers in square brackets to indicate that they form a single mathematical entity. We name matrices using uppercase letters like AAA, BBB, or CCC. The individual numbers inside the brackets are called elements or entries. These elements can be integers, fractions, real numbers, or even complex numbers. We identify an element by its exact geometric position using a double subscript. The element aija_{ij}aij​ sits exactly in the iiith row and the jjjth column. The row index always comes first, followed by the column index. This strict ordering prevents ambiguity. If we want to locate the number in the second row and the third column of matrix AAA, we look for the element a23a_{23}a23​. The size of a matrix is called its dimension or order. We write this dimension as m×nm \times nm×n, which we read aloud as "mmm by nnn". The first variable mmm dictates the total number of horizontal rows. The second variable nnn dictates the total number of vertical columns. A matrix with 3 rows and 2 columns has a dimension of 3×23 \times 23×2 and contains exactly 6 total elements. Two matrices are considered mathematically equal if and only if they share the exact same dimensions and every corresponding element is identical.

Unit 4: Analytical Geometry

Teaching hours: 7

4.1 Defining terms of conic sections

A conic section is the curve formed by the intersection of a right circular cone with a plane:

  • Circle: plane perpendicular to the axis of the cone.
  • Ellipse: plane cuts one nappe at an oblique angle (not parallel to a generator).
  • Parabola: plane parallel to exactly one generator (slant line) of the cone.
  • Hyperbola: plane cuts both nappes.

Degenerate cases: a point, a line, two lines (when the plane passes through the apex).

Eccentricity e characterises the shape:

  • e = 0: Circle
  • 0 < e < 1: Ellipse
  • e = 1: Parabola
  • e > 1: Hyperbola

Formal definition (focus-directrix): A conic is the locus of a point P whose distance from a fixed point F (focus) to its distance from a fixed line (directrix) equals e: PF/PD = e.

4.2 Standard equations

Circle: Centre (h, k), radius r:
(x−h)² + (y−k)² = r²
General form: x² + y² + 2gx + 2fy + c = 0, centre = (−g, −f), r = √(g²+f²−c).

Parabola:
y² = 4ax → vertex (0,0), focus (a,0), directrix x = −a, opens right (a>0) or left (a<0).
x² = 4ay → opens up (a>0) or down (a<0).

Ellipse (a > b > 0):
x²/a² + y²/b² = 1 → major axis along x; foci at (±c, 0), c²=a²−b²; e = c/a < 1.
x²/b² + y²/a² = 1 → major axis along y.

Hyperbola:
x²/a² − y²/b² = 1 → transverse axis along x; foci at (±c,0), c²=a²+b²; e = c/a > 1; asymptotes y = ±(b/a)x.
y²/a² − x²/b² = 1 → transverse axis along y.

Worked example:
Find the equation of the ellipse with foci at (±3, 0) and major axis length 10.

c = 3; 2a = 10 → a = 5; b² = a² − c² = 25 − 9 = 16; b = 4.
Equation: x²/25 + y²/16 = 1

4.3 Conic sections in terms of eccentricity

Using the focus-directrix definition PF = e·PD:

  • For e=1 (parabola), every point is equidistant from focus and directrix.
  • For e<1 (ellipse), point is closer to focus than directrix.
  • For e>1 (hyperbola), point is farther from focus than directrix.

Latus rectum: A chord through the focus perpendicular to the principal axis.

  • Parabola y²=4ax: latus rectum length = 4a.
  • Ellipse: 2b²/a.
  • Hyperbola: 2b²/a.

4.4 Polar equations

In polar coordinates (r, θ):

Unified conic polar equation (focus at origin):

r = l/(1 − e·cos θ)   (directrix perpendicular to polar axis)

where l = semi-latus rectum.

e Curve Equation simplification
0 Circle r = l (constant)
< 1 Ellipse 0 < denominator minimum < 1
= 1 Parabola r = l/(1−cos θ)
> 1 Hyperbola Denominator becomes 0 for some θ → asymptotes

Polar form of a circle (centre at origin): r = a.
General circle through origin: r = 2a cos θ or r = 2a sin θ.

Key terms — Unit 4

Conic · eccentricity · focus · directrix · latus rectum · semi-major/minor axis · vertex · asymptote · polar coordinates · principal axis

Unit 4 practice questions

  1. Find the equation of the circle passing through (1,0), (0,1), and (0,0).
  2. Find the focus, vertex, directrix, and latus rectum of the parabola y² = 12x.
  3. For the ellipse 9x² + 16y² = 144, find a, b, c, e, and the foci.
  4. Find the equation of the hyperbola with vertices (±4,0) and eccentricity 5/4.
  5. Express r = 4/(2−cos θ) in Cartesian form and identify the conic.

Expanded chapter notes

Analytical geometry connects the abstract world of algebra to the visual world of geometry. Instead of drawing shapes with a physical compass and a straightedge, we define them using exact algebraic equations on a coordinate plane. This allows us to analyze curves with absolute mathematical precision. We can calculate exact intersection points, measure precise distances, and predict the trajectory of a moving object. The most important curves in analytical geometry are the conic sections. These shapes govern the physical universe. Planets orbit the sun in elliptical paths. Satellite dishes use parabolic curves to focus radio waves. Comets pass through the solar system on hyperbolic trajectories. By understanding the equations that generate these curves, computer scientists can simulate physics, model orbital mechanics, and render curved surfaces accurately in three-dimensional graphics engines.

4.1 Defining terms of conic sections

The Geometric Definition of a Conic Section

Historically, mathematicians defined a conic section as the curve formed by intersecting a flat plane with a double-napped right circular cone. A double-napped cone consists of two identical cones stacked tip-to-tip. If you slice this cone with a plane horizontally, you get a circle. If you tilt the plane slightly, you get an ellipse. If you tilt the plane so it runs parallel to the side of the cone, you get a parabola. If you tilt it steeply so it slices through both the top and bottom cones, you get a hyperbola. While the 3D cone slice provides a good visual intuition, it is difficult to use for algebraic calculations. Modern analytical geometry uses a strictly two-dimensional planar definition. We define a conic section as the locus of a point moving across a flat plane. A locus is simply the path traced by a point that follows a specific mathematical rule. For a conic section, this rule involves maintaining a specific ratio between two distinct distances. The moving point, which we denote as P(x,y)P(x, y)P(x,y), constantly measures its distance to a specific fixed point on the plane. Simultaneously, it measures its shortest perpendicular distance to a specific fixed line on the plane. The conic section is the continuous curve formed by every possible coordinate (x,y)(x, y)(x,y) where the ratio of these two distances remains perfectly constant. This single locus rule generates every possible conic shape simply by changing the value of that constant ratio.

Unit 5: Vector and Vector Space

Teaching hours: 7

5.1 Definition, magnitude, unit vector

A vector has both magnitude and direction; a scalar has only magnitude.

Notation: v = (v₁, v₂, v₃) in ℝ³, or v₁i + v₂j + v₃k where i, j, k are unit vectors along x, y, z.

Magnitude (norm): |v| = √(v₁² + v₂² + v₃²)

Unit vector: v̂ = v/|v|; has magnitude 1 and points in the same direction as v.

Distance between points A and B: |AB| = |B − A| = √((B₁−A₁)² + (B₂−A₂)² + (B₃−A₃)²)

Zero vector: 0 = (0, 0, 0); no direction; additive identity.

Position vector: Vector from the origin to point P.

5.2 Operations on vectors

Addition: u + v = (u₁+v₁, u₂+v₂, u₃+v₃). Geometrically: parallelogram law or tip-to-tail.

Subtraction: u − v = u + (−v).

Scalar multiplication: kv = (kv₁, kv₂, kv₃). Scales magnitude; reverses direction if k < 0.

Properties: Commutativity of addition, associativity, distributivity over scalars.

5.3 Scalar and vector products

Dot (scalar) product:
u·v = u₁v₁ + u₂v₂ + u₃v₃ = |u||v|cos θ, where θ = angle between the vectors.

Properties: commutative (u·v = v·u), distributive. If u·v = 0, the vectors are perpendicular (orthogonal).

Cross (vector) product (ℝ³ only):
u × v = (u₂v₃−u₃v₂, u₃v₁−u₁v₃, u₁v₂−u₂v₁)

Using the determinant form:
u × v = |i j k; u₁ u₂ u₃; v₁ v₂ v₃|

Properties: u × v = −(v × u) (anti-commutative); |u × v| = |u||v|sin θ.

Geometric interpretations:

  • Dot product: |u||v|cos θ gives the projection of one onto the other; zero when perpendicular.
  • Cross product: Direction perpendicular to both u and v (right-hand rule); magnitude = area of the parallelogram formed by u and v.

Triple scalar product: a·(b × c) = volume of the parallelepiped formed by the three vectors.

Worked example:
u = (1, 2, 3), v = (4, 5, 6).

u·v = 4+10+18 = 32.

|u||v| = √14 × √77 = √1078 ≈ 32.84.
cos θ = 32/32.84 ≈ 0.9745; θ ≈ 12.9°.

u × v = (2×6−3×5, 3×4−1×6, 1×5−2×4) = (12−15, 12−6, 5−8) = (−3, 6, −3).
|u × v| = √(9+36+9) = √54 ≈ 7.35.
Area of parallelogram = √54.

5.4 Vector space and subspace

A vector space V over field ℝ is a set with two operations (addition and scalar multiplication) satisfying 10 axioms (closure, commutativity, associativity, identity, inverse, distributivity ×2, associativity of scalar, unity).

Examples of vector spaces: ℝⁿ with standard operations; Mₘₙ (m×n matrices); Pₙ (polynomials of degree ≤ n); C[a,b] (continuous functions on [a,b]).

A subspace W of V is a non-empty subset closed under addition and scalar multiplication. Equivalent test: W is a subspace iff for all u,v ∈ W and all scalars a,b: au + bv ∈ W.

Example: The set of all 2D vectors with y = 2x is a subspace of ℝ² (it contains the zero vector and is closed under addition and scaling).

5.5 Linear combination, dependence and independence

A vector v is a linear combination of vectors v₁, ..., vₖ if v = c₁v₁ + ... + cₖvₖ for some scalars cᵢ.

The span of {v₁, ..., vₖ} = set of all linear combinations.

Linear independence: {v₁, ..., vₖ} are linearly independent iff c₁v₁ + ... + cₖvₖ = 0 implies c₁ = c₂ = ... = cₖ = 0.

If this equation has a non-trivial (not all zero) solution, the vectors are linearly dependent — at least one is a linear combination of the others.

Test: Form a matrix with the vectors as rows (or columns); if rank = k, they are independent; if rank < k, they are dependent.

Example:
Are (1,0,0), (0,1,0), (1,1,0) linearly independent?
Matrix: [1 0 0; 0 1 0; 1 1 0]; det = 0 (last row = sum of first two rows) → dependent.
Indeed: (1,1,0) = (1,0,0) + (0,1,0).

5.6 Scalar product, norm and orthogonality

The norm (length) of v in an inner product space: ||v|| = √(v·v).

Two vectors are orthogonal iff u·v = 0.

An orthonormal set has all vectors of unit length and mutually orthogonal: eᵢ·eⱼ = δᵢⱼ (Kronecker delta: 1 if i=j, 0 otherwise).

Orthonormal basis: A basis {e₁, ..., eₙ} of a vector space that is an orthonormal set. The standard basis {i, j, k} of ℝ³ is orthonormal.

Gram-Schmidt process: Converts any linearly independent set to an orthonormal basis. Used in least-squares fitting, QR decomposition, and numerical linear algebra.

Key terms — Unit 5

Magnitude · unit vector · dot product · cross product · parallelogram area · vector space axioms · subspace test · span · linear independence · orthogonal · orthonormal basis

Unit 5 practice questions

  1. Find a unit vector perpendicular to both a = (1,2,3) and b = (3,2,1).
  2. Determine whether u = (1,2,3), v = (2,4,6) are linearly independent.
  3. Show that {(1,0), (0,1)} is an orthonormal basis for ℝ².
  4. Find the angle between a = (1,1,0) and b = (1,0,1).
  5. Prove that the cross product u × v is perpendicular to both u and v using the dot product.

Expanded chapter notes

In the previous units, we worked exclusively with single numbers. A single number can measure temperature, mass, or cost. However, a single number cannot describe a physical force or a movement through space. If you tell a graphics engine to move a character by five units, the engine cannot execute the command until you specify the direction. To model reality accurately, we must upgrade our mathematics to handle quantities that possess both a size and a direction simultaneously. This upgrade introduces the concept of vectors. Vectors form the underlying geometry of the physical universe and the digital world. Every 3D physics engine, every machine learning weight array, and every structural engineering simulation relies entirely on vector mathematics. We will begin by defining what vectors are and how to measure them. We will then establish their basic arithmetic. Finally, we will explore how vectors multiply together to calculate angles, areas, and volumes in three-dimensional space.

5.1 Definition of vector and scalar, magnitude and distance and unit vector

Scalars and Vectors

A scalar is a physical quantity that possesses only magnitude (size). It has no directional component. Examples of scalars include time, mass, temperature, and distance. We represent scalars using standard real numbers. Standard algebraic rules govern scalar operations. A vector is a physical quantity that possesses both magnitude and a specific direction. Examples of vectors include velocity, acceleration, and force. We represent a vector geometrically as a directed line segment—an arrow. The length of the arrow represents the magnitude. The way the arrow points represents the direction. We denote vectors using a small arrow above a letter, such as v⃗\vec{v}v, or by using boldface type. In a three-dimensional Cartesian coordinate system, we define a vector by its components along the x, y, and z axes. We use the standard unit vectors i^\hat{i}i^, j^\hat{j}j^​, and k^\hat{k}k^ to represent the positive directions of these three axes. A general vector v⃗\vec{v}v is written algebraically as a linear combination of these components. v⃗=vxi^+vyj^+vzk^\vec{v} = v_x \hat{i} + v_y \hat{j} + v_z \hat{k}v=vx​i^+vy​j^​+vz​k^ Here, vxv_xvx​, vyv_yvy​, and vzv_zvz​ are purely scalar numbers. They dictate how far the vector travels along each respective axis.

Unit 6: Permutations and Combinations

Teaching hours: 7

6.1 Basic counting principle

Multiplication principle (AND): If task A can be done in m ways and task B in n ways, then both tasks together can be done in m × n ways.
Example: 3 shirts and 4 trousers → 3 × 4 = 12 outfits.

Addition principle (OR): If task A can be done in m ways or task B in n ways (mutually exclusive), then the choice is m + n ways.
Example: Choose one of 3 books or one of 4 movies → 3 + 4 = 7 choices.

Pigeonhole principle: If n+1 objects are placed in n boxes, at least one box contains two or more objects. Applications: birthday paradox (23 people → >50% chance two share a birthday), network routing, hashing.

6.2 Derivation of permutation and combination formulas

Permutation P(n, r): Number of ways to arrange r objects chosen from n distinct objects, where order matters.

Derivation: First choice: n options; second: n−1; ...; rᵗʰ: n−r+1.
P(n, r) = n × (n−1) × ... × (n−r+1) = n! / (n−r)!

Combination C(n, r): Number of ways to choose r objects from n distinct objects, where order does not matter.

Since each combination of r objects can be arranged in r! ways:
C(n, r) = P(n, r) / r! = n! / (r! (n−r)!)

Also written as ⁿCᵣ, C(n,r), or the binomial coefficient "n choose r" (ⁿCᵣ).

6.3 Relation between permutations and combinations

P(n, r) = C(n, r) × r!

This says: (number of ordered arrangements) = (number of unordered selections) × (arrangements of each selection).

Symmetry: C(n, r) = C(n, n−r)
Choosing r from n to include is the same as choosing n−r to exclude.

6.4 Permutations of n objects

All n objects, all different: P(n, n) = n! (n factorial)

Permutations with repetition (not all different): If among n objects, type 1 appears n₁ times, type 2 appears n₂ times, ... , type k appears nₖ times (n₁+n₂+...+nₖ=n):
Number of distinct arrangements = n! / (n₁! n₂! ... nₖ!)

Example: Arrangements of MISSISSIPPI (11 letters: M=1, I=4, S=4, P=2):
= 11! / (1! 4! 4! 2!) = 39916800 / (1×24×24×2) = 34650

Circular permutations: Arrangements of n objects in a circle. Since rotations of the same arrangement are considered identical, one object is fixed, and the remaining n−1 are arranged:
Circular permutations = (n−1)!

Example: 5 people around a circular table: (5−1)! = 24 ways.
If the necklace has two sides (can be flipped), it is (n−1)!/2 because reflections are also considered identical.

6.5 Combinations of different objects and their properties

Key properties:

Property Statement Example
Symmetry C(n,r) = C(n,n−r) C(10,3) = C(10,7) = 120
Pascal's rule C(n,r) = C(n−1,r−1) + C(n−1,r) Basis of Pascal's triangle
Sum ΣC(n,r) = 2ⁿ for r=0 to n Total subsets of n-element set = 2ⁿ
Vandermonde C(m+n,r) = Σ C(m,k)C(n,r−k) Convolution identity

Binomial theorem: (a+b)ⁿ = Σ C(n,r) aⁿ⁻ʳ bʳ for r=0 to n.

Example: (x+y)³ = C(3,0)x³ + C(3,1)x²y + C(3,2)xy² + C(3,3)y³ = x³ + 3x²y + 3xy² + y³.

Worked example:
A committee of 3 is chosen from 5 men and 4 women. How many committees have at least 1 woman?

Total committees: C(9,3) = 84.
Committees with 0 women (all men): C(5,3) = 10.
Committees with at least 1 woman = 84 − 10 = 74.

Common pitfalls:

  • Order matters → permutation. Order does not matter → combination.
  • "At least" problems: use complementary counting (total − none of the condition).
  • Circular permutation: remember to fix one element and divide by n.
  • Identical objects: use the multinomial formula.

Key terms — Unit 6

Factorial · P(n,r) · C(n,r) · circular permutation · complementary counting · Pascal's triangle · binomial theorem · multinomial coefficient · pigeonhole principle

Unit 6 practice questions

  1. How many 4-digit numbers can be formed from 1,2,3,4,5 (a) without repetition, (b) with repetition?
  2. A team of 4 is chosen from 6 boys and 5 girls such that there are at least 2 girls. How many teams are possible?
  3. In how many ways can the letters of ARRANGEMENT be arranged?
  4. 8 people sit at a round table: (a) in how many ways? (b) if 2 specific people must sit together?
  5. Prove Pascal's rule: C(n,r) = C(n−1,r−1) + C(n−1,r) using the factorial definition.

Expanded chapter notes

Mathematics often requires us to determine the size of a set. In the previous units, we counted elements manually or calculated infinite limits. However, computer science frequently deals with finite but massively large sets. A database might contain millions of possible query combinations. A security system might allow billions of possible passwords. We cannot list and count these possibilities one by one. We need a mathematical framework to calculate the total number of outcomes without ever generating the list. This framework is called combinatorics. It is the mathematics of counting. Combinatorics relies on a few strict logical rules to break complex scenarios down into simple, independent choices. By understanding how choices add together and multiply together, we can derive powerful formulas. These formulas allow us to calculate exactly how many ways we can arrange a set of objects, or how many ways we can select a smaller group from a larger pool.

6.1 Basic counting principle

The Addition and Multiplication Principles

All combinatorial mathematics rests on two foundational rules. The first is the addition principle, also known as the Rule of Sum. This rule applies to mutually exclusive events. Two events are mutually exclusive if they cannot happen at the same time. If a task can be completed in mmm ways, and a completely separate, alternative task can be completed in nnn ways, then there are exactly m+nm + nm+n ways to complete one of the tasks. The key logical operator here is "OR". If you must choose option A or option B, you add the possibilities. The second rule is the multiplication principle, also known as the Rule of Product. This rule applies to sequential or independent events. If a first task can be completed in mmm ways, and a second task can be completed in nnn ways regardless of what happened in the first task, the two tasks together can be completed in m⋅nm \cdot nm⋅n ways. The key logical operator here is "AND". If you must choose option A and option B, you multiply the possibilities. These two principles can be combined to solve complex problems. We break the problem down into a sequence of steps. We multiply the choices for steps that must all happen together. If there are alternative paths to reach the final goal, we calculate the total for each path using multiplication, and then we add those path totals together.

Practice answer key

Q: Prove AM ≥ GM for two positive numbers.
Let a, b > 0. We want to show (a+b)/2 ≥ √(ab).
⟺ a + b ≥ 2√(ab) [multiply both sides by 2]
⟺ a − 2√(ab) + b ≥ 0 [subtract 2√(ab)]
⟺ (√a − √b)² ≥ 0 [factor as a perfect square]
The last inequality is always true. Equality holds iff √a = √b, i.e., a = b. □

Q: Eigenvalues of I₂ (2×2 identity)?
det(I − λI) = det((1−λ)I) = (1−λ)² = 0 → λ = 1 (repeated).
Every non-zero vector is an eigenvector of I with eigenvalue 1.

Q: How many 3-letter words from ABCDE with no repetition?
P(5,3) = 5!/(5−3)! = 5×4×3 = 60.


References

  • Bajracharya, B. C. (2082). Basic Mathematics. Sukunda Publication.
  • Boice, W. E., Diprima, R. C., & Mead, D. B. (2017). Elementary Differential Equations and Boundary Value Problems. John Wiley & Sons.
  • Budnick, F. S. (2019). Applied Mathematics for Business Economics and Social Sciences. McGraw-Hill.
  • Chand, K. B., & Sapkota, B. (2079). Principles of Mathematical Analysis.
  • Lay, D. C. (2003). Linear Algebra and its Applications. Pearson Education India.
  • Thomas, G. B., & Finney, R. L. (1995). Calculus and Analytical Geometry. Narosa Publishing House.
  • TU 2025 curriculum source: https://portal.tu.edu.np/downloads/2025_11_27_15_22_42.pdf (PDF p. 23–27)