GATE CSE Engineering Mathematics Formula Sheet: Counting to Calculus
Engineering Mathematics in GATE CSE rewards a small set of exact formulas: counting rules, relation counts, graph bounds, eigenvalue properties, named distributions and a few calculus results. The official pattern gives the section about 13 of the 100 marks; check the current notification. This sheet goes deeper than the general GATE CSE formula sheet, with a one-line worked example and the trap for every formula.
In this guide
- Key takeaways
- The terms this sheet uses
- Counting functions and arrangements
- Counting relations on an n-element set
- Linear recurrences
- Graph theory bounds and counts
- Linear algebra: eigenvalues, determinants and rank
- Probability: conditioning, expectation and distributions
- Calculus: limits, extrema and integrals
- Quick revision
Key takeaways
- Onto functions, derangements and inclusion and exclusion all come from one idea: count everything, then subtract the bad cases.
- Reflexive and symmetric relations on elements number , not .
- A connected planar graph satisfies ; bipartite planar graphs have the tighter bound .
- Eigenvalues sum to the trace and multiply to the determinant, and they follow powers, inverses and shifts of a single matrix.
- For independent variables, adds the variances; it never subtracts them.
- On a closed interval, the absolute maximum can sit at an endpoint, so always check both ends.
The terms this sheet uses
- A function from an -set to an -set sends each of the elements to one of the . It is injective if no two elements share an image and onto if every element of the codomain is hit.
- A relation on a set is any set of ordered pairs. It is reflexive if every is in it and symmetric if in it forces .
- A graph is planar if it can be drawn with no crossing edges. Its chromatic number is the fewest colours that give adjacent vertices different colours.
- An eigenvalue of a matrix satisfies for some non-zero . The trace is the sum of the diagonal entries.
- Conditional probability is the probability of once is known to have happened.
Counting functions and arrangements
Most counting questions are one of these rules with a twist in the condition.
| Formula | One-line example | Watch out for |
|---|---|---|
| All functions: | 3-set to 2-set: | Base is the codomain size |
| Injective: | 3-set to 5-set: | Zero when |
| Onto: | 4-set to 2-set: | 6-set to 3-set is 540, not |
| Derangements: | ; sequence 1, 0, 1, 2, 9, 44, 265 | Starts at |
| Stars and bars: | : | Non-negative solutions only |
| Pigeonhole: some box holds | 25 objects, 6 boxes: some box has 5 | To force in one box you need |
| Non-adjacent -subsets of : | , : | Check against adjacent pairs |
| Binary strings with no two adjacent 1s: | Length 4: | Fix the Fibonacci indexing first |
Trap: In inclusion and exclusion, subtract every pairwise intersection once and add every triple back once. Double-subtracting an intersection is the usual slip.
Counting relations on an n-element set
There are ordered pairs, and each condition fixes or ties some of them. With the counts are easy to check by hand.
| Relations of this kind | Formula | Value for |
|---|---|---|
| All | 512 | |
| Reflexive | 64 | |
| Symmetric | 64 | |
| Reflexive and symmetric | 8 | |
| Antisymmetric | 216 | |
| Asymmetric | 27 | |
| Equivalence | Bell number: 1, 1, 2, 5, 15, 52, 203 | 5 |
For groups, Lagrange's theorem says the order of a subgroup divides the order of the group. The cyclic group has generators and subgroups, so has 4 generators and 6 subgroups.
Linear recurrences
For , solve the characteristic equation . Distinct roots give , and a repeated root gives .
Worked example. For , the equation is , so and .
Graph theory bounds and counts
| Formula | One-line example | Watch out for |
|---|---|---|
| 10 vertices of degree 3: | An odd degree sum is impossible | |
| Connected planar: | , : | counts the outer face |
| Planar, : | : | Necessary, not sufficient |
| Bipartite planar: | : , so non-planar | Use this, not , for triangle-free graphs |
| Spanning trees: has ; has | : 16; : 12 | has |
| Disconnected simple graph: at most edges | : 10 edges | One more edge forces connectivity |
| or 3; ; planar | : 3 | Bipartite iff no odd cycle |
Remember: "A graph with edges" is not enough to make a tree. It must also be connected or acyclic. The graph theory question guide shows how these bounds are asked.
The book's last-minute revision sheet gives the full mathematics table, including lattices, colouring bounds, perfect matchings and generating functions, each with when it applies and its trap. It is part of the GATE CSE 2027 book.
Linear algebra: eigenvalues, determinants and rank
Eigenvalue questions rarely need the characteristic polynomial. Two facts usually suffice: the eigenvalues sum to the trace and multiply to the determinant.
Worked example. A matrix with trace 7 and determinant 10 has eigenvalues 2 and 5, since . Then has 4 and 25, has and , and has 5 and 8.
| Formula | One-line example | Watch out for |
|---|---|---|
| , : | Not | |
| , : 16 | Power is | |
| Nullity | of rank 3: nullity 1 | Homogeneous systems have independent solutions |
| Unique solution iff | Ranks 3, 3 and : unique | Compare the augmented rank, not just |
The linear algebra question guide works through these cases.
Probability: conditioning, expectation and distributions
Bayes' rule turns a forward probability into a backward one. The denominator is the total probability of the evidence:
Worked example. Machine A makes 60% of items with 2% defective, and machine B makes 40% with 5% defective. For a defective item, .
Variance is . If and , then and .
| Distribution | Mean and variance | One-line example |
|---|---|---|
| , | : mean 3, variance 3 | |
| , | : mean 2, variance 4 | |
| : | , | 3 per hour, 20 minutes: |
| , | , : 3 and 2.1 | |
| , | : 4 and 12 | |
| Normal | About 68, 95 and 99.7% within 1, 2 and 3 |
Trap: "At least one six in two throws" is , while "exactly one six" is . More questions on this are in the probability question guide.
Calculus: limits, extrema and integrals
| Formula | One-line example | Watch out for |
|---|---|---|
| Multiply and | ||
| as | L'Hôpital only for or | |
| Absolute extrema on : compare critical points and both endpoints | on : max 65 at , min at | The interior maximum 16 at is only local |
| : 6 | Integer | |
| Odd : | Check the symmetry of the limits |
The engineering mathematics important topics guide ranks which of these areas past papers have tested most.
More formula sheets: all of GATE CSE · Computer Networks · COA · Operating Systems
Quick revision
- Onto from to : ; derangements 1, 0, 1, 2, 9, 44, 265.
- Stars and bars: .
- Reflexive and symmetric relations: ; antisymmetric: .
- ; ; bipartite ; has spanning trees.
- Eigenvalues: sum trace, product ; .
- Bayes needs the total-probability denominator; for independent variables.
- Exponential mean ; Poisson mean and variance , rescaled to the interval.
- Absolute extrema on : check both endpoints.
Frequently asked questions
How many onto functions are there from an m-set to an n-set?
Use inclusion and exclusion: the count is . Start with all functions, remove those that miss at least one element of the codomain, and add back the double removals. From a 4-set to a 2-set this gives . From a 6-set to a 3-set it gives 540, not .
How many reflexive and symmetric relations are there on a set of n elements?
There are . Reflexivity fixes all n diagonal pairs, so only the off-diagonal pairs are free. Symmetry ties each pair (a, b) to (b, a), which leaves independent choices. Writing is the classic mistake, because that is the count of symmetric relations without the reflexive condition.
What are the main eigenvalue properties asked in GATE CSE?
The sum of the eigenvalues equals the trace and their product equals the determinant. If A has eigenvalue lambda, then has , the inverse has and A plus cI has lambda plus c. A triangular matrix has its diagonal entries as eigenvalues. A matrix is invertible exactly when no eigenvalue is zero. Eigenvalues of A plus B are not sums.
What are the mean and variance of the exponential and Poisson distributions?
An exponential distribution with rate lambda has mean and variance , and it is memoryless. A Poisson count over an interval of length t has mean and variance both equal to lambda times t. Always rescale the rate to the interval the question asks about, for example a per-hour rate for a 20-minute window.
How many marks does Engineering Mathematics carry in GATE CSE?
The official pattern gives Engineering Mathematics about 13 of the 100 marks, alongside 15 marks of General Aptitude and about 72 marks of core subjects. Discrete mathematics, probability, linear algebra and calculus are all in the section. Confirm the current pattern and syllabus at gate2027.iitm.ac.in before you plan your revision.
Sources
Dates, fees and the syllabus are set by the GATE 2027 organising institute and can change. Always confirm at gate2027.iitm.ac.in.