GATE CSE Engineering Mathematics formula sheet
Key results for GATE CSE Engineering Mathematics: discrete mathematics (logic, sets, groups, graphs, combinatorics), linear algebra, calculus and probability. Conditions matter, so read each note.
60 formulas · updated 2026-11-14 · reviewed 2026-11-14 · Spotted an error? Tell us
Propositional and first-order logic
Implication equivalences
The contrapositive is equivalent; the converse q→p and inverse ¬p→¬q are not. p→q is false only when p is true and q is false.
Negating quantifiers
Push the negation inward and flip each quantifier it passes.
Distributing quantifiers
The last two hold in one direction only: a favourite GATE trap.
Swapping quantifiers
The converse is not valid. Quantifiers of the same kind can be swapped freely.
Rules of inference
Affirming the consequent (from q and p→q conclude p) is a fallacy.
Sets, relations, functions, posets and lattices
Inclusion–exclusion (3 sets)
Generalises with alternating signs over all k-wise intersections.
Counting relations on an n-set
Count independent choices for diagonal pairs (n) and off-diagonal unordered pairs (n(n−1)/2).
Counting functions A → B
Onto count equals ; bijections exist only when m = n and number n!.
Equivalence relations and partitions
S(n,k) (Stirling, second kind) counts partitions into exactly k non-empty blocks; .
Partial order and lattice
A total order is a lattice. Every finite lattice is bounded (has 0 and 1).
Distributive and complemented lattices
In a distributive lattice each element has at most one complement. Divisor lattice is Boolean iff n is square-free.
Monoids and groups
Algebraic structures
Identity and each inverse are unique; .
Lagrange's theorem
The converse is false in general: a divisor of |G| need not be the order of a subgroup.
Prime order and cyclic groups
In a cyclic group of order n there is exactly one subgroup of each order d | n, with φ(d) elements of order d. Every subgroup of a cyclic group is cyclic.
Subgroup test
For finite non-empty H, closure alone is enough.
Abelian shortcuts
Smallest non-abelian group is of order 6. Cyclic ⇒ abelian, not conversely.
Binary operations on an n-set
Each of the (or n(n+1)/2 unordered) argument pairs gets any of n values.
Graph theory
Handshaking lemma
The number of odd-degree vertices is even. In a directed graph, sum of in-degrees = sum of out-degrees = |E|.
Edge counts
A simple graph with more than edges is connected. Labelled simple graphs on n vertices: .
Cayley's formula
For n = 4 this gives 16.
Euler's formula (planar)
Simple planar with v ≥ 3: e ≤ 3v − 6; if no triangles: e ≤ 2v − 4. Hence and are non-planar.
Euler circuit and path
Assumes the graph is connected apart from isolated vertices. Hamiltonian cycle has no such simple test.
Chromatic number facts
Bipartite ⇔ no odd cycle (and at least one edge for χ = 2). Planar graphs: χ ≤ 4. Also χ ≥ ω (clique size) and χ ≥ n/α.
Chromatic polynomials
is any tree on n vertices. P(G,k) counts proper colourings with at most k colours.
Matching and covering
α independence number, β min vertex cover, ν max matching, ρ min edge cover. In any graph ν ≤ β.
Hall's marriage theorem
Perfect matchings: has n!, has .
Combinatorics
Selections with repetition
Stars and bars; for use . Also counts multisets of size r from n types.
Pigeonhole principle
To force a box with at least m objects you need k(m−1)+1 objects.
Derangements
= 0, 1, 2, 9, 44; .
Catalan numbers
Counts BSTs on n distinct keys, unlabelled binary trees with n nodes, balanced strings of n bracket pairs.
Linear homogeneous recurrences
Root of multiplicity m contributes a polynomial of degree m−1 times . Fit constants from initial terms.
Generating functions
Coefficient of in a product = convolution of coefficients.
Linear algebra
Determinant properties
A is n×n. Swapping two rows flips the sign; adding a multiple of one row to another leaves it unchanged. Triangular: product of diagonal.
Inverse
Exists iff |A| ≠ 0. , .
Rank–nullity
n = number of columns (unknowns). rank(A) = rank() ≤ min(m, n).
Consistency of Ax = b
n unknowns. Homogeneous Ax = 0 is always consistent; non-trivial solution iff rank < n (for square A, iff |A| = 0).
Eigenvalue sum and product
2×2: . A singular ⇔ 0 is an eigenvalue.
Eigenvalues of related matrices
Same eigenvectors except for . Triangular or diagonal matrix: eigenvalues are the diagonal entries.
Special matrices
Eigenvectors of a real symmetric matrix for distinct eigenvalues are orthogonal.
Cayley–Hamilton
Use it to compute or high powers of A as a polynomial of degree < n in A.
Diagonalisability
Distinct eigenvalues ⇒ diagonalisable. With repeated eigenvalues, need geometric = algebraic multiplicity for each.
LU decomposition
Doolittle: L unit lower triangular, U upper triangular. Exists without row swaps if all leading principal minors are non-zero.
Calculus
Standard limits
x in radians. , .
L'Hôpital and 1^∞ form
Convert 0·∞ and ∞−∞ to a quotient first. Apply L'Hôpital only to indeterminate forms.
Continuity and differentiability
Converse false: |x| is continuous but not differentiable at 0. Check left and right derivatives at break points.
Mean value theorems
Need f continuous on [a, b] and differentiable on (a, b); c ∈ (a, b). Cauchy also needs g′ ≠ 0 on (a, b).
Extrema (one variable)
If f″(c) = 0 the test fails: check sign change of f′. For global extrema on [a, b] also compare endpoints.
Extrema (two variables)
If the test is inconclusive.
Definite integral properties
Leibniz: .
Wallis' formula
Products stop at 1 or 2. E.g. .
Probability and statistics
Addition rule
Mutually exclusive events: P(A∩B) = 0. Exclusive events with non-zero probabilities are never independent.
Conditional probability and independence
If A and B are independent, so are A and , and .
Total probability and Bayes
The must partition the sample space (disjoint, union is everything).
Expectation and variance
E[X+Y] = E[X]+E[Y] always (linearity), even for dependent X, Y.
Variance of a sum
Independent ⇒ Cov = 0 ⇒ variances add. Zero covariance does not imply independence. Var(X−Y) also adds variances when independent.
Discrete distributions
Binomial ≈ Poisson with λ = np when n is large and p small. Geometric here counts trials up to and including the first success.
Uniform and exponential
Exponential: , memoryless , median .
Normal distribution
Mean = median = mode = μ. About 68%, 95%, 99.7% of mass lies within 1, 2, 3 σ of μ.
Mean, median, mode
is the i-th value after sorting. Mode is the most frequent value. Continuous median m solves .
Standard deviation
σ uses n (population), s uses n − 1 (sample). Adding a constant leaves σ unchanged; scaling by k scales σ by |k|.