chapter
    Systems of Linear Equations and LU Decomposition PYQs for GATE CS

    Solve 4+ Systems of Linear Equations and LU Decomposition previous year questions for GATE CS with answers and detailed solutions. Free sample questions below

    Try a question

    Answer it here to see how it works. Nothing is recorded until you sign in.

    Question 1
    2026 Slot Set2 PYQ
    Level 3: Exam Standard
    Consider the system of linear equations given below.



    Suppose the values of and are chosen such that the system of linear equations produce multiple solutions. Then the product of and is __________. (answer in integer)
    Question 2
    2025 Slot Set2 PYQ
    Level 3: Exam Standard
    Consider a system of linear equations where and . Suppose has an LU decomposition, , where


    Which of the following statement(s) is/are TRUE?
    Question 3
    2025 Slot Set1 PYQ
    Level 3: Exam Standard
    Consider the given system of linear equations for variables and , where is a real-valued constant. Which of the following option(s) is/are CORRECT?

    Question 4
    2022 PYQ
    Level 3: Exam Standard

    Consider solving the following system of simultaneous equations using LU decomposition.

    where and are denoted as

    Which one of the following is the correct combination of values for , , and ?

    Free preview ends here

    Login to view the complete previous-year questions and solutions

    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.

    Systems of Linear Equations and LU Decomposition PYQs for GATE CS

    Solve 4+ Systems of Linear Equations and LU Decomposition previous year questions for GATE CS with answers and detailed solutions. Free sample questions below.

    Chapter Roadmap: Systems of Linear Equations

    Journey through this chapter
    Step 1 · Consistency of Parameterized Systems
    Decide unique, infinite, or no solution when parameters appear.
    Step 2 · LU Decomposition Properties
    Why exists and how it reorganises solving.
    Step 3 · LU Factorization & Substitution
    Compute and , then solve , .
    Goal: Classify any linear system and solve it using LU decomposition in two triangular sweeps.

    Why Parameterized Systems Matter

    A parameterized linear system is a system where some entries of or are not fixed numbers but parameters (letters such as , , , ).

    The central question: for which values of the parameter does the system have a unique solution, infinitely many solutions, or no solution at all?

    Why this is asked in GATE:

    • Parameters model design variables, physical constants, or tuning knobs.
    • The exam tests whether you can read the structure of a system instead of blindly solving it.
    • It is the cleanest way to test your understanding of rank, determinant, and consistency in one question.
    Behaviour Meaning
    Unique solution Exactly one satisfies every equation
    Infinitely many A whole family of satisfies every equation
    No solution No can satisfy all equations simultaneously

    Systems of Linear Equations and LU Decomposition: Solved Questions with Step-by-Step Explanations (4 Problems)

    Question 1 · Engineering Mathematics · 2026_Set2 NAT
    Consider the system of linear equations given below.



    Suppose the values of and are chosen such that the system of linear equations produce multiple solutions. Then the product of and is __________. (answer in integer)
    Correct Answer:

    24

    Step-by-Step Solution

    Key idea: This is a parameterized system question asking for infinite solutions. It is recognisable because it uses parameters and in the coefficients and constants, and explicitly states the system has "multiple solutions".

    Step 1: Write down the condition for infinite solutions in a 2x2 system.

    For the system and to have infinitely many solutions, the two equations must represent the same line. This means their coefficients and constants must be strictly proportional:

    .

    Step 2: Apply the proportionality condition to the given system.

    The system is:

    So, .

    Step 3: Solve for .

    From the first equality: or .

    Step 4: Solve for in both cases.

    Case 1: .

    .

    The product .

    Case 2: .

    .

    The product .

    Step 5: Conclude the final answer.

    In both valid scenarios, the product is exactly 24.

    Answer: 24

    Question 2 · Engineering Mathematics · 2025_Set2 MSQ
    Consider a system of linear equations where and . Suppose has an LU decomposition, , where


    Which of the following statement(s) is/are TRUE?
    1. A.

      The system can be solved by first solving and then .

    2. B.

      If is invertible, then both and are invertible.

    3. C.

      If is singular, then at least one of the diagonal elements of is zero.

    4. D.

      If is symmetric, then both and are symmetric.

    Correct Answer:

    ["A","B","C"]

    Step-by-Step Solution

    Key idea: This is a theoretical properties question on LU decomposition. It is recognisable because it asks about the invertibility, singularity, and symmetry of matrices , , and without requiring numerical computation.

    Step 1: Analyse Option A (Solution Strategy).

    The system is . Given , we substitute to get .

    Let . Then the equation becomes .

    Since is lower triangular, is easily solved by forward substitution.

    Once is found, we solve by backward substitution.

    Thus, Option A is TRUE.

    Step 2: Analyse Option B (Invertibility).

    We know .

    By Doolittle's convention, is a unit lower triangular matrix, so its diagonal entries are all . Thus, .

    Therefore, .

    If is invertible, , which implies .

    Since , both and are invertible.

    Thus, Option B is TRUE.

    Step 3: Analyse Option C (Singularity).

    Using the same determinant property: .

    The determinant of an upper triangular matrix is the product of its diagonal entries: .

    If is singular, , which means .

    For the product to be zero, at least one of the diagonal elements must be zero.

    Thus, Option C is TRUE.

    Step 4: Analyse Option D (Symmetry).

    Suppose is symmetric (). Does this mean and are symmetric?

    is lower triangular. For to be symmetric, it must be diagonal.

    is upper triangular. For to be symmetric, it must be diagonal.

    But a general symmetric matrix does not factor into diagonal and matrices.

    Counterexample: Let .

    , .

    Neither nor is symmetric.

    Thus, Option D is FALSE.

    Answer: A, B, C

    Question 3 · Engineering Mathematics · 2025_Set1 MSQ
    Consider the given system of linear equations for variables and , where is a real-valued constant. Which of the following option(s) is/are CORRECT?

    1. A.

      There is exactly one value of for which the above system of equations has no solution.

    2. B.

      There exist an infinite number of values of for which the system of equations has no solution.

    3. C.

      There exists exactly one value of for which the system of equations has exactly one solution.

    4. D.

      There exists exactly one value of for which the system of equations has an infinite number of solutions.

    Correct Answer:

    ["A","D"]

    Step-by-Step Solution

    Key idea: This is a parameterized linear system consistency question. It is recognisable because the coefficients contain an unknown parameter , and the question asks about the existence and uniqueness of solutions.

    Step 1: Write the system in matrix form .

    The coefficient matrix is and the constant vector is .

    Step 2: Calculate the determinant of .

    .

    Step 3: Analyse the case where .

    If , which means and , the matrix is invertible. In this case, the system has exactly one unique solution. Since there are infinitely many such values of , Option C is false.

    Step 4: Analyse the case .

    Substitute into the system:

    These two equations represent parallel lines. They are inconsistent, meaning there is no solution. This happens for exactly one value of (which is ). Thus, Option A is true and Option B is false.

    Step 5: Analyse the case .

    Substitute into the system:

    Both equations are identical. They represent the same line, meaning there are infinitely many solutions. This happens for exactly one value of (which is ). Thus, Option D is true.

    Answer: A, D

    Question 4 · Engineering Mathematics · 2022 MCQ

    Consider solving the following system of simultaneous equations using LU decomposition.

    where and are denoted as

    Which one of the following is the correct combination of values for , , and ?

    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    D

    Step-by-Step Solution

    Key idea: This is an LU decomposition computation question. It is recognisable because it provides a specific system of equations and asks for specific entries of the and matrices, along with a variable value, using the standard Doolittle convention.

    Step 1: Identify the matrix and vector .

    , .

    Step 2: Apply Doolittle's method to find and .

    By convention, has s on its main diagonal.

    Row 1 of equals Row 1 of :

    .

    Column 1 of :

    .

    .

    Row 2 of :

    .

    .

    Column 2 of :

    .

    Row 3 of :

    .

    Step 3: Solve using forward substitution.

    .

    .

    .

    Step 4: Solve using backward substitution.

    .

    .

    .

    Step 5: Match with the options.

    We found , , and . This matches Option D.

    Answer: D

    More previous year questions (pyqs) in this unit