chapter
    Engineering Mathematics Notes for GATE CS

    GATE CS Engineering Mathematics: 4 units and 19 chapters, weightage from 105 previous year questions across 10 papers, a study order by exam weight and 1656 p

    A question from this chapter

    Question 1
    Level 1: Warm-up
    Consider the following two statements regarding nested quantifier conjectures:

    Assertion (A): The conjecture implies that for every satisfying , there is a specific (which may depend on ) satisfying .

    Reason (R): The existential quantifier is inside the scope of the universal quantifier , meaning the choice of is independent of .

    Which of the following options is correct?
    Question 2
    Level 1: Warm-up

    Let and be functions such that their composition is injective. Which of the following properties MUST hold for the individual functions?

    Question 3
    Level 1: Warm-up

    The formula for the number of non-negative integer solutions to the equation is:

    Question 4
    Level 1: Warm-up

    Consider the recurrence . Which of the following statements about its characteristic equation is TRUE?

    Question 5
    Level 1: Warm-up

    Assertion (A): The number of self-inverse elements in is 4.

    Reason (R): An element is self-inverse if , , and .

    Question 6
    Level 1: Warm-up

    Consider a connected simple graph with 10 vertices. If we partition its edges into a spanning tree and a set of extra edges, and the total number of edges is 15, how many edges are in the extra set?

    Question 7
    Level 1: Warm-up

    Let be the adjacency matrix of a simple undirected graph. Which of the following statements is ALWAYS TRUE regarding the matrix for any integer ?

    Question 8
    Level 1: Warm-up

    For a system of linear equations with variables, which of the following conditions guarantees that the system has infinitely many solutions?

    Free preview ends here

    Login to view the complete notes

    Creating an account is free. You get the rest of this chapter, step-by-step solutions, and a study plan built around the topics you are actually weak at.

    Why MastersUp

    Personalised first. High quality throughout.

    Most platforms hand everyone the same content. Here the content moves with your performance, topic by topic.

    Built around you, not around a syllabus PDF

    Every answer you give moves your topic-level intelligence rate. The next question, the next revision card and tomorrow's plan all change with it.

    Revision that hits your weak spots

    We only revise topics you have actually attempted and are still below the safe bar on — never the same chapter on repeat.

    Questions calibrated to the real exam

    Each question carries a measured toughness. You are served a rung above your current level, so practice keeps stretching you.

    Notes written for recall, not for volume

    Full lesson cards for first study, curated short-note cards for the last mile — with derivations, traps and exam patterns marked.

    One place for everything

    Notes, chapter practice, previous-year questions, test series and full-length papers — all feeding one picture of your preparation.

    Honest progress

    No vanity streaks. Progress here means chapters mastered and accuracy that held up on harder questions.

    Unlock the whole course

    Full notes and short notes, the complete question bank with worked solutions, mock tests, full-length papers, and an adaptive plan that rebuilds itself as you improve.

    Engineering Mathematics Notes for GATE CS

    GATE CS Engineering Mathematics: 4 units and 19 chapters, weightage from 105 previous year questions across 10 papers, a study order by exam weight and 1656 practice questions.

    About Engineering Mathematics Notes

    Full study notes for Engineering Mathematics in GATE CS, organised across 19 chapters. Each chapter page explains concepts from the basics with worked examples and the formulas you need.

    GATE CS Engineering Mathematics Unit-wise Weightage from Past Papers

    We counted every GATE CS Engineering Mathematics previous year question in our bank (105 questions from 10 papers) and grouped them by unit.

    UnitChaptersPYQsShare of sectionAvg per paper
    Discrete Mathematics74745%4.7
    Linear Algebra42019%2
    Calculus31312%1.3
    Probability and Statistics52524%2.5

    Suggested Engineering Mathematics Study Order for GATE CS

    1. Discrete Mathematics: 45% of past Engineering Mathematics questions, about 4.7 per paper.
    2. Probability and Statistics: 24% of past Engineering Mathematics questions, about 2.5 per paper.
    3. Linear Algebra: 19% of past Engineering Mathematics questions, about 2 per paper.
    4. Calculus: 12% of past Engineering Mathematics questions, about 1.3 per paper.

    Start where the marks are. Units at the top of this list have appeared most often in past GATE CS papers.

    Units in GATE CS Engineering Mathematics

    All Engineering Mathematics chapters

    One Solved Question from Each Engineering Mathematics Chapter

    Question 1 · Logic and Proof Techniques MCQ
    Consider the following two statements regarding nested quantifier conjectures:

    Assertion (A): The conjecture implies that for every satisfying , there is a specific (which may depend on ) satisfying .

    Reason (R): The existential quantifier is inside the scope of the universal quantifier , meaning the choice of is independent of .

    Which of the following options is correct?
    1. A.

      Both A and R are true and R is the correct explanation of A.

    2. B.

      Both A and R are true but R is not the correct explanation of A.

    3. C.

      A is true but R is false.

    4. D.

      A is false but R is true.

    Correct Answer:

    C

    Step-by-Step Solution

    Key idea: The order of nested quantifiers dictates dependency. An existential quantifier inside a universal quantifier means the existential variable depends on the universal variable.

    Exam route: Assertion A correctly states that may depend on because is inside . Reason R claims that being inside the scope means is independent of , which is the exact opposite of the truth. Thus, A is true, but R is false.

    Learning route:

    Step 1: Evaluate Assertion (A). The statement means "for every , there is a ". The can be chosen differently for each . Thus, depends on . A is True.

    Step 2: Evaluate Reason (R). The reason claims that being inside means is independent of . This is false. Scope dependency means the inner variable depends on the outer variable. R is False.

    Step 3: Combine the evaluations. A is true, but R is false.

    Answer: A is true but R is false (Option C).

    Tempting wrong path: A student might confuse the scope rule, thinking that being "inside" the scope isolates the variable, making it independent (Option A). This breaks at misunderstanding the direction of quantifier dependency.

    Generalization: Inner quantifiers depend on outer quantifiers. means depends on .

    Verification: If were independent, the statement would be written , meaning a single works for all .

    Question 2 · Sets, Relations, Functions and Order Structures MCQ

    Let and be functions such that their composition is injective. Which of the following properties MUST hold for the individual functions?

    1. A.

      must be injective

    2. B.

      must be injective

    3. C.

      must be surjective

    4. D.

      must be surjective

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: This is a composition properties question, recognizable by the given injectivity of a composite function .

    Step 1: Recall the definition of injectivity for . If , then .

    Step 2: This means . For this to hold, must map distinct to distinct values . Thus, must be injective.

    Step 3: Does need to be injective? No. only needs to be injective on the range of . It can map other elements of to the same values.

    Step 4: Does need to be surjective? No. can leave some elements of unmapped, as long as the elements it does map are distinct.

    Answer: Option B.

    Question 3 · Combinatorics and Counting MCQ

    The formula for the number of non-negative integer solutions to the equation is:

    1. A.

      inom{n+k-1}{k-1}

    2. B.

      inom{n-1}{k-1}

    3. C.

      inom{n+k}{k}

    4. D.

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: This is a direct formula recall question for the standard Stars and Bars method with non-negative integer solutions.

    Step 1: Recall the setup. We are distributing identical items into distinct bins, allowing empty bins.

    Step 2: Recall the formula. The number of ways is the number of ways to arrange stars and bars in total positions.

    Step 3: This is given by the combination .

    Answer: A

    Question 4 · Recurrences and Generating Functions MCQ

    Consider the recurrence . Which of the following statements about its characteristic equation is TRUE?

    1. A.

      The characteristic equation is .

    2. B.

      The characteristic roots are and .

    3. C.

      The characteristic equation is .

    4. D.

      The characteristic roots are and .

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: For a recurrence , the characteristic equation is .

    Step 1: Identify coefficients from . Here and .

    Step 2: Form the characteristic equation: .

    Step 3: Solve the quadratic equation. Factor it: .

    Step 4: The roots are and .

    Answer: The characteristic roots are 2 and 3.

    Question 5 · Algebraic Structures and Groups MCQ

    Assertion (A): The number of self-inverse elements in is 4.

    Reason (R): An element is self-inverse if , , and .

    1. A.

      A is true but R is false.

    2. B.

      Both A and R are true but R is NOT the correct explanation of A.

    3. C.

      A is false but R is true.

    4. D.

      Both A and R are true and R is the correct explanation of A.

    Correct Answer:

    D

    Step-by-Step Solution

    Key idea: In a direct product, an element is self-inverse iff each component is self-inverse.

    Step 1: In under addition, the self-inverse condition is . This makes R true.

    Step 2: For , (2 solutions).

    Step 3: For , (1 solution).

    Step 4: For , (2 solutions).

    Step 5: Total self-inverse elements = . This makes A true.

    Step 6: R correctly provides the method to compute A, so R is the correct explanation.

    Answer: D

    Question 6 · Graph Fundamentals, Trees and Connectivity MCQ

    Consider a connected simple graph with 10 vertices. If we partition its edges into a spanning tree and a set of extra edges, and the total number of edges is 15, how many edges are in the extra set?

    1. A.

      6

    2. B.

      5

    3. C.

      4

    4. D.

      9

    Correct Answer:

    A

    Step-by-Step Solution

    Insight: A spanning tree of an -vertex graph always contains exactly edges.

    Exam route: The spanning tree has edges. The extra edges are the total minus the tree edges: .

    Learning route:

    1. Identify the total number of vertices and total edges .
    2. Recall that any spanning tree of a graph with vertices must have exactly edges.
    3. Calculate the number of edges in the spanning tree: .
    4. The extra edges are those not in the spanning tree. Subtract the tree edges from the total: .

    Answer: 6

    Question 7 · Graph Coloring, Covers, Matrices and Special Graphs MCQ

    Let be the adjacency matrix of a simple undirected graph. Which of the following statements is ALWAYS TRUE regarding the matrix for any integer ?

    1. A.

      The entry gives the number of simple paths of length from to .

    2. B.

      The trace of gives the total number of closed walks of length in the graph.

    3. C.

      The sum of all elements in is equal to the total number of cycles of length .

    4. D.

      The diagonal entries of are always zero for all .

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: This is a bounding/statement truth question that tests the fundamental properties of matrix powers and the constraints of graph traversals.

    Step 1: Evaluate Option A. counts all walks, not just simple paths. Walks allow repeated vertices. Thus, A is false.

    Step 2: Evaluate Option B. The trace of a matrix is the sum of its diagonal entries. The diagonal entry is the number of closed walks of length starting and ending at . Summing over all gives the total number of closed walks of length in the graph. Thus, B is true.

    Step 3: Evaluate Option C. The sum of all elements counts all walks of length , not just cycles. Cycles are simple closed paths. Thus, C is false.

    Step 4: Evaluate Option D. For even , there are closed walks (e.g., for ). Thus, diagonal entries are non-zero for even . D is false.

    Answer: B

    Question 8 · Systems of Linear Equations and LU Decomposition MCQ

    For a system of linear equations with variables, which of the following conditions guarantees that the system has infinitely many solutions?

    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: This is a direct definition question about the Rouché-Capelli theorem, recognisable because it asks for the condition of infinite solutions in terms of matrix ranks.

    Step 1: Recall the consistency condition.

    A system is consistent if and only if .

    Step 2: Distinguish between unique and infinite solutions.

    If the common rank equals the number of variables , the system has exactly one unique solution.

    If the common rank is strictly less than , there are free variables, leading to infinitely many solutions.

    Step 3: Evaluate the options.

    Option A implies inconsistency (no solution).

    Option B implies consistency with free variables (infinite solutions).

    Option C implies consistency with no free variables (unique solution).

    Option D is mathematically impossible.

    Answer: B