100% FREE Updated: Mar 2026 Engineering Mathematics Linear Algebra

System of Linear Equations

Comprehensive study notes on System of Linear Equations for GATE CS preparation. This chapter covers key concepts, formulas, and examples needed for your exam.

System of Linear Equations

Overview

A system of linear equations represents one of the most fundamental and widely applied mathematical constructs in engineering and the computational sciences. Its principles form the bedrock of numerous advanced topics, from the analysis of electrical circuits and data networks to the core algorithms of machine learning, computer graphics, and optimization. For the Computer Science engineer, a mastery of linear systems is not merely an academic exercise; it is an indispensable tool for modeling and solving a vast array of computational problems. The ability to systematically analyze and solve these systems is a prerequisite for understanding the theoretical underpinnings of many modern technologies.

In the context of the GATE examination, questions derived from this chapter are a consistent feature, testing both conceptual understanding and procedural skill. This chapter is designed to provide a rigorous and structured approach to the topic, focusing squarely on the competencies required for the examination. We shall first investigate the conditions under which a system of equations possesses a solutionโ€”a concept known as consistency. We will establish the criteria for determining whether a system has a unique solution, infinitely many solutions, or no solution at all, primarily through the powerful concept of matrix rank. Subsequently, we will turn our attention to the algorithmic methods for finding these solutions, equipping you with the practical techniques to solve problems efficiently and accurately.

---

Chapter Contents

| # | Topic | What You'll Learn |
|---|-------|-------------------|
| 1 | Consistency and Solutions | Analyzing the existence and nature of solutions. |
| 2 | Solving Linear Systems | Applying methods to find explicit system solutions. |

---

Learning Objectives

โ— By the End of This Chapter

After completing this chapter, you will be able to:

  • Analyze a system of linear equations, represented as AX=BAX = B, to determine its consistency by comparing the ranks of the coefficient and augmented matrices.

  • Characterize the solution set of a consistent system as having either a unique solution or infinitely many solutions.

  • Apply systematic procedures, such as Gaussian elimination, to compute the solution(s) for a given linear system.

  • Distinguish between trivial and non-trivial solutions for a homogeneous system of linear equations, AX=0AX = 0.

---

We now turn our attention to Consistency and Solutions...

Part 1: Consistency and Solutions

Introduction

A system of linear equations represents a collection of linear relationships between multiple variables. In engineering and computer science, such systems arise in a vast array of applications, from circuit analysis and network flow problems to machine learning models and computer graphics. The central task is not merely to solve these systems, but to first understand the nature of their solution sets. A system may possess exactly one solution, an infinite number of solutions, or no solution at all.

This chapter provides a rigorous framework for analyzing any system of linear equations. We will move beyond ad-hoc methods of substitution and elimination to employ the powerful concepts of matrix rank. By understanding the relationship between the rank of the coefficient matrix and the augmented matrix, we can determine the existence and uniqueness of solutions without explicitly computing them. We will also explore the special properties of homogeneous systems and introduce the fundamental Rank-Nullity Theorem, a cornerstone of linear algebra with significant implications for understanding solution spaces.

๐Ÿ“– System of Linear Equations

A system of nn linear equations in mm variables x1,x2,โ€ฆ,xmx_1, x_2, \dots, x_m can be expressed in matrix form as:

Ax=bA\mathbf{x} = \mathbf{b}

where:

    • AA is the nร—mn \times m coefficient matrix.

    • x\mathbf{x} is the mร—1m \times 1 column vector of variables.

    • b\mathbf{b} is the nร—1n \times 1 column vector of constants.


The system is homogeneous if b=0\mathbf{b} = \mathbf{0} and non-homogeneous if bโ‰ 0\mathbf{b} \neq \mathbf{0}. A system is consistent if it has at least one solution and inconsistent if it has no solutions.

---

Key Concepts

1. The Augmented Matrix and Rank

To analyze a system, we combine the coefficient matrix AA and the constant vector b\mathbf{b} into a single matrix.

๐Ÿ“– Augmented Matrix

For the system Ax=bA\mathbf{x} = \mathbf{b}, the augmented matrix, denoted [Aโˆฃb][A|\mathbf{b}], is the nร—(m+1)n \times (m+1) matrix formed by appending the column vector b\mathbf{b} to the coefficient matrix AA.

[a11a12โ‹ฏa1mb1a21a22โ‹ฏa2mb2โ‹ฎโ‹ฎโ‹ฑโ‹ฎโ‹ฎan1an2โ‹ฏanmbn]\left[ \begin{array}{cccc|c}
a_{11} & a_{12} & \cdots & a_{1m} & b_1 \\
a_{21} & a_{22} & \cdots & a_{2m} & b_2 \\
\vdots & \vdots & \ddots & \vdots & \vdots \\
a_{n1} & a_{n2} & \cdots & a_{nm} & b_n\end{array} \right]

The vertical line is a notational convenience and has no mathematical effect.

The concept of rank is central to determining the nature of the solution. The rank of a matrix is the maximum number of linearly independent rows (or columns) in the matrix. It can be found by reducing the matrix to its row echelon form and counting the number of non-zero rows. We denote the rank of a matrix AA as rankโก(A)\operatorname{rank}(A) or ฯ(A)\rho(A).

2. The Rouchรฉโ€“Capelli Theorem: A Unified Framework

The relationship between the rank of the coefficient matrix AA and the augmented matrix [Aโˆฃb][A|\mathbf{b}] completely characterizes the solution set of the system Ax=bA\mathbf{x} = \mathbf{b}. This fundamental result is summarized by the Rouchรฉโ€“Capelli theorem.

Let us consider a system with mm variables. The conditions are as follows:

  • No Solution (Inconsistent System): If the rank of the coefficient matrix is less than the rank of the augmented matrix, the system is inconsistent.

  • rankโก(A)<rankโก([Aโˆฃb])\operatorname{rank}(A) < \operatorname{rank}([A|\mathbf{b}])

    This situation arises when the row reduction process leads to a row of the form [0ย 0ย โ‹ฏย 0ย โˆฃย c][0 \ 0 \ \cdots \ 0 \ | \ c] where cโ‰ 0c \neq 0, which corresponds to the absurd equation 0=c0 = c.

  • Consistent System: If the ranks are equal, the system is consistent and has at least one solution.

  • rankโก(A)=rankโก([Aโˆฃb])=r\operatorname{rank}(A) = \operatorname{rank}([A|\mathbf{b}]) = r

    Within this case, there are two possibilities:
    * Unique Solution: If the common rank rr is equal to the number of variables mm, the system has exactly one solution.
    r=mr = m

    * Infinite Solutions: If the common rank rr is less than the number of variables mm, the system has infinitely many solutions.
    r<mr < m

    In this case, there will be mโˆ’rm-r free variables (or parameters), which can be chosen arbitrarily, and the remaining rr variables will be expressed in terms of them.

    The following diagram illustrates this decision process:











    Start with system Ax=bA\mathbf{x}=\mathbf{b}


    Is rankโก(A)=rankโก([Aโˆฃb])\operatorname{rank}(A) = \operatorname{rank}([A|\mathbf{b}])?
    Let common rank be rr.

    Yes
    No


    No Solution



    Is r=mr = m?
    (mm = number of variables)

    Yes
    No


    Unique Solution



    Infinite Solutions

    Worked Example:

    Problem: For what value of ฮป\lambda will the following system of equations have no solution?

    x+y+z=6x + y + z = 6

    x+2y+3z=10x + 2y + 3z = 10

    x+2y+ฮปz=12x + 2y + \lambda z = 12

    Solution:

    Step 1: Write the augmented matrix [Aโˆฃb][A|\mathbf{b}].

    [11161231012ฮป12]\left[ \begin{array}{ccc|c} 1 & 1 & 1 & 6 \\ 1 & 2 & 3 & 10 \\ 1 & 2 & \lambda & 12\end{array} \right]

    Step 2: Reduce the matrix to row echelon form using elementary row operations.

    Apply R2โ†’R2โˆ’R1R_2 \rightarrow R_2 - R_1 and R3โ†’R3โˆ’R1R_3 \rightarrow R_3 - R_1.

    โˆผ[1116012401ฮปโˆ’16]\sim \left[ \begin{array}{ccc|c} 1 & 1 & 1 & 6 \\ 0 & 1 & 2 & 4 \\ 0 & 1 & \lambda-1 & 6\end{array} \right]

    Step 3: Continue the row reduction.

    Apply R3โ†’R3โˆ’R2R_3 \rightarrow R_3 - R_2.

    โˆผ[1116012400ฮปโˆ’32]\sim \left[ \begin{array}{ccc|c} 1 & 1 & 1 & 6 \\ 0 & 1 & 2 & 4 \\ 0 & 0 & \lambda-3 & 2\end{array} \right]

    Step 4: Analyze the ranks based on the value of ฮป\lambda.

    For the system to have no solution, we require rankโก(A)<rankโก([Aโˆฃb])\operatorname{rank}(A) < \operatorname{rank}([A|\mathbf{b}]).
    From the echelon form, we observe that if the term ฮปโˆ’3\lambda-3 becomes zero, the last row of the coefficient matrix part will be all zeros.

    Let ฮปโˆ’3=0\lambda - 3 = 0, which means ฮป=3\lambda = 3.

    If ฮป=3\lambda = 3, the matrix becomes:

    [111601240002]\left[ \begin{array}{ccc|c}
    1 & 1 & 1 & 6 \\
    0 & 1 & 2 & 4 \\
    0 & 0 & 0 & 2\end{array} \right]

    In this case, rankโก(A)=2\operatorname{rank}(A) = 2 (two non-zero rows in the AA part), but rankโก([Aโˆฃb])=3\operatorname{rank}([A|\mathbf{b}]) = 3 (three non-zero rows in the full augmented matrix).
    Since rankโก(A)<rankโก([Aโˆฃb])\operatorname{rank}(A) < \operatorname{rank}([A|\mathbf{b}]), the system is inconsistent.

    Answer: The system has no solution when ฮป=3\lambda = 3.

    ---

    ---

    #
    ## 3. Homogeneous Systems (Ax=0A\mathbf{x} = \mathbf{0})

    Homogeneous systems are a special case of profound importance. Since b=0\mathbf{b} = \mathbf{0}, the augmented matrix is [A|0]\left[ A \middle| \mathbf{0} \right]. Adding a column of zeros never changes the rank of a matrix, so we always have rankโก(A)=rankโก[A|0]\operatorname{rank}(A) = \operatorname{rank}\left[ A \middle| \mathbf{0} \right].

    โ— Must Remember

    A homogeneous system of linear equations is always consistent. It always possesses the trivial solution, where x=0\mathbf{x} = \mathbf{0} (i.e., x1=x2=โ‹ฏ=xm=0x_1 = x_2 = \dots = x_m = 0).

    The critical question for a homogeneous system is whether a non-trivial solution (a solution where at least one variable is non-zero) exists. Applying the Rouchรฉ-Capelli conditions:

    • Trivial Solution Only: A unique solution exists if rankโก(A)=m\operatorname{rank}(A) = m (number of variables). Since the trivial solution is always one possibility, this must be the only one.

    • Infinite (Non-trivial) Solutions: Infinite solutions exist if rankโก(A)<m\operatorname{rank}(A) < m. This is the condition for the existence of non-trivial solutions.


    The set of all solutions to a homogeneous system Ax=0A\mathbf{x} = \mathbf{0} forms a vector space called the null space or kernel of matrix AA.

    #
    ## 4. The Rank-Nullity Theorem

    This theorem provides a direct relationship between the rank of a matrix and the dimension of its null space.

    ๐Ÿ“ Rank-Nullity Theorem

    For any nร—mn \times m matrix AA:

    rankโก(A)+nullityโก(A)=m\operatorname{rank}(A) + \operatorname{nullity}(A) = m

    Variables:

      • rankโก(A)\operatorname{rank}(A) is the rank of the matrix AA.

      • nullityโก(A)\operatorname{nullity}(A) is the dimension of the null space of AA. It represents the number of linearly independent vectors that are solutions to Ax=0A\mathbf{x} = \mathbf{0}. This is also equal to the number of free variables in the solution.

      • mm is the number of columns in matrix AA (which corresponds to the number of variables in the system Ax=bA\mathbf{x}=\mathbf{b}).


    When to use: This is crucial for problems involving homogeneous systems where information about the solution space (like its dimension) is given, and you need to find the rank, or vice-versa. This was directly tested in GATE.

    A key consequence of this theorem arises when a system has more variables than equations (m>nm > n).
    For an nร—mn \times m matrix AA, we know that rankโก(A)โ‰คminโก(n,m)\operatorname{rank}(A) \le \min(n, m). If m>nm > n, then rankโก(A)โ‰คn\operatorname{rank}(A) \le n.
    Using the Rank-Nullity Theorem:

    nullityโก(A)=mโˆ’rankโก(A)\operatorname{nullity}(A) = m - \operatorname{rank}(A)

    Since rankโก(A)โ‰คn\operatorname{rank}(A) \le n, it follows that:
    nullityโก(A)โ‰ฅmโˆ’n\operatorname{nullity}(A) \ge m - n

    Because m>nm > n, we have mโˆ’nโ‰ฅ1m-n \ge 1. Therefore, the nullityโก\operatorname{nullity} must be at least 1. This proves that any homogeneous system with more variables than equations must have a non-trivial solution.

    ---

    Problem-Solving Strategies

    ๐Ÿ’ก GATE Strategy: Determinants for Square Systems

    For a square mร—mm \times m system Ax=bA\mathbf{x} = \mathbf{b}:

    • Calculate detโก(A)\det(A) first.

    • If detโก(A)โ‰ 0\det(A) \neq 0, then rankโก(A)=m\operatorname{rank}(A) = m. The system has a unique solution regardless of b\mathbf{b}.

    • If detโก(A)=0\det(A) = 0, then rankโก(A)<m\operatorname{rank}(A) < m. The system will have either no solution or infinite solutions. You must then proceed to check the rank of the augmented matrix [A|b]\left[ A \middle| \mathbf{b} \right] to distinguish between these two cases. This is a very fast first step for MCQ/MSQ problems involving parameters, as seen in PYQ 1.

    ๐Ÿ’ก GATE Strategy: Analyzing Homogeneous Systems

    For a homogeneous system Ax=0A\mathbf{x} = \mathbf{0} with an nร—mn \times m matrix AA:

    • Identify nn (equations) and mm (variables).

    • The number of linearly independent solutions is the nullity.

    • Use the Rank-Nullity theorem: nullityโก(A)=mโˆ’rankโก(A)\operatorname{nullity}(A) = m - \operatorname{rank}(A).

    • If a problem states that all solutions are multiples of a single non-zero vector, it means the basis for the null space has only one vector, so nullityโก(A)=1\operatorname{nullity}(A) = 1.

    • If m>nm > n, you can immediately conclude that nullityโก(A)โ‰ฅmโˆ’nโ‰ฅ1\operatorname{nullity}(A) \ge m - n \ge 1, guaranteeing non-trivial solutions.

    ---

    ---

    Common Mistakes

    โš ๏ธ Avoid These Errors
      • Confusing Rank with Determinant for Non-Square Matrices:
    โŒ Assuming that if a rectangular matrix has a non-zero determinant for some submatrix, its rank is determined by that. โœ… Determinants are only defined for square matrices. For rectangular matrices, always use row reduction to find the rank by counting non-zero rows in the echelon form.
      • Assuming Homogeneous Systems Can Be Inconsistent:
    โŒ Stating that Ax=0A\mathbf{x} = \mathbf{0} can have no solution. โœ… A homogeneous system is always consistent because the trivial solution x=0\mathbf{x} = \mathbf{0} is always a possibility. The only question is whether non-trivial solutions also exist.
      • Incorrectly Applying the Rank-Nullity Theorem:
    โŒ Using the number of rows (nn) instead of the number of columns (mm) in the formula. โœ… The theorem is rankโก(A)+nullityโก(A)=m\operatorname{rank}(A) + \operatorname{nullity}(A) = m (number of columns / variables).

    ---

    Practice Questions

    :::question type="MCQ" question="Consider the system of linear equations 2xโˆ’y+3z=a2x - y + 3z = a, 3x+2y+5z=b3x + 2y + 5z = b, and xโˆ’4y+z=cx - 4y + z = c. This system is consistent if:" options=[" c=2aโˆ’bc = 2a - b "," a=2bโˆ’ca = 2b - c "," b=2aโˆ’cb = 2a - c "," c=aโˆ’2bc = a - 2b "] answer="c=2aโˆ’bc = 2a - b" hint="A system is consistent if the same row operations that make a row of AA zero also make the corresponding element in bb zero. Check for linear dependence in the rows of the coefficient matrix." solution="
    Step 1: Write the augmented matrix for the system.

    [2โˆ’13a325b1โˆ’41c]\left[ \begin{array}{ccc|c} 2 & -1 & 3 & a \\ 3 & 2 & 5 & b \\ 1 & -4 & 1 & c\end{array} \right]

    Step 2: Observe the relationship between the rows of the coefficient matrix AA. Let the rows be R1,R2,R3R_1, R_2, R_3. We test for linear dependence. Let's see if R3R_3 can be written as a combination of R1R_1 and R2R_2.
    Suppose k1R1+k2R2=R3k_1 R_1 + k_2 R_2 = R_3.
    For the first column: 2k1+3k2=12k_1 + 3k_2 = 1.
    For the second column: โˆ’k1+2k2=โˆ’4-k_1 + 2k_2 = -4.
    Solving these two equations: Multiply the second by 2: โˆ’2k1+4k2=โˆ’8-2k_1 + 4k_2 = -8. Add this to the first equation: 7k2=โˆ’7โ€…โ€ŠโŸนโ€…โ€Šk2=โˆ’17k_2 = -7 \implies k_2 = -1.
    Substitute k2=โˆ’1k_2 = -1 into the first equation: 2k1โˆ’3=1โ€…โ€ŠโŸนโ€…โ€Š2k1=4โ€…โ€ŠโŸนโ€…โ€Šk1=22k_1 - 3 = 1 \implies 2k_1 = 4 \implies k_1 = 2.
    So, we have found that 2R1โˆ’R2=R32R_1 - R_2 = R_3. Let's check this for the third column: 2(3)โˆ’5=6โˆ’5=12(3) - 5 = 6 - 5 = 1. This matches the third element of R3R_3.
    Thus, the third row of AA is linearly dependent on the first two: 2R1โˆ’R2=R32R_1 - R_2 = R_3.

    Step 3: Apply the consistency condition.
    For the system to be consistent, the same linear dependency must hold for the vector b\mathbf{b}. The rankโก\operatorname{rank} of AA will be equal to the rankโก\operatorname{rank} of [Aโˆฃb][A|\mathbf{b}] only if the relationship holds for the last column as well.

    2aโˆ’b=c2a - b = c

    Result: The condition for consistency is c=2aโˆ’bc = 2a - b.
    Answer: c=2aโˆ’b\boxed{c = 2a - b}
    "
    :::

    :::question type="NAT" question="Let MM be a 5ร—75 \times 7 real matrix. If the dimension of the solution space of Mx=0M\mathbf{x} = \mathbf{0} is 33, then the rank of MM is _________." answer="4" hint="Use the Rank-Nullity Theorem. Identify the number of columns and the given nullityโก\operatorname{nullity}." solution="
    Step 1: Identify the given parameters from the problem statement.
    The matrix MM is of size nร—mn \times m, where n=5n=5 and m=7m=7.
    The number of columns is m=7m = 7.
    The dimension of the solution space of Mx=0M\mathbf{x} = \mathbf{0} is the nullityโก\operatorname{nullity} of MM.
    So, nullityโก(M)=3\operatorname{nullity}(M) = 3.

    Step 2: Apply the Rank-Nullity Theorem.
    The theorem states: rankโก(M)+nullityโก(M)=m\operatorname{rank}(M) + \operatorname{nullity}(M) = m.

    Step 3: Substitute the known values and solve for the rank.

    rankโก(M)+3=7\operatorname{rank}(M) + 3 = 7
    rankโก(M)=7โˆ’3\operatorname{rank}(M) = 7 - 3
    rankโก(M)=4\operatorname{rank}(M) = 4

    Result: The rankโก\operatorname{rank} of the matrix MM is 4.
    Answer: 4\boxed{4}
    "
    :::

    :::question type="MSQ" question="Consider the homogeneous system of linear equations Ax=0A\mathbf{x} = \mathbf{0}, where AA is a 3ร—53 \times 5 matrix with rankโก(A)=2\operatorname{rank}(A) = 2. Which of the following statements is/are necessarily TRUE?" options=["The system has a unique solution.","The system has exactly 3 linearly independent solutions.","Any solution can be written as a linear combination of 3 basis vectors.","The system has a non-trivial solution."] answer="The system has exactly 3 linearly independent solutions.,Any solution can be written as a linear combination of 3 basis vectors.,The system has a non-trivial solution." hint="Apply the Rank-Nullity theorem to find the dimension of the null space. A non-trivial solution exists if the nullityโก\operatorname{nullity} is greater than 0." solution="
    Let's analyze each option based on the given information: AA is a 3ร—53 \times 5 matrix, so n=3n=3 and m=5m=5. We are given rankโก(A)=2\operatorname{rank}(A) = 2.

    1. Analyze the nullity:
    Using the Rank-Nullity Theorem: rankโก(A)+nullityโก(A)=m\operatorname{rank}(A) + \operatorname{nullity}(A) = m.
    2+nullityโก(A)=52 + \operatorname{nullity}(A) = 5
    nullityโก(A)=3\operatorname{nullity}(A) = 3.
    The nullityโก\operatorname{nullity} is the dimension of the solution space (null space).

    2. Evaluate the options:

    • "The system has a unique solution." This is FALSE. A unique solution (the trivial one) exists only if nullityโก(A)=0\operatorname{nullity}(A) = 0 (or rankโก(A)=m\operatorname{rank}(A)=m). Here, nullityโก(A)=3\operatorname{nullity}(A) = 3, so there are infinite solutions.


    • "The system has exactly 3 linearly independent solutions." This is TRUE. The nullityโก\operatorname{nullity} represents the maximum number of linearly independent solutions. A basis for the null space will contain exactly 3 vectors.


    • "Any solution can be written as a linear combination of 3 basis vectors." This is TRUE. This is the definition of a basis for a vector space. Since the dimension of the solution space is 3, there exists a basis of 3 vectors, and every solution is a linear combination of these basis vectors.


    • "The system has a non-trivial solution." This is TRUE. Since nullityโก(A)=3>0\operatorname{nullity}(A) = 3 > 0, there are infinitely many non-trivial solutions.


    Result: The correct options are B, C, and D.
    "
    :::

    :::question type="MCQ" question="For the system of equations x+2y=3x + 2y = 3 and 2x+ay=62x + ay = 6, the condition for having an infinite number of solutions is:" options=[" a=2a = 2 "," a=4a = 4 "," aโ‰ 2a \neq 2 "," aโ‰ 4a \neq 4 "] answer="a=4a = 4" hint="For a non-homogeneous system to have infinite solutions, the rankโก\operatorname{rank} of the coefficient matrix and the augmented matrix must be equal, and this rankโก\operatorname{rank} must be less than the number of variables." solution="
    Step 1: Write the augmented matrix for the system.

    [1232a6]\left[ \begin{array}{cc|c} 1 & 2 & 3 \\ 2 & a & 6\end{array} \right]

    Step 2: Reduce the matrix to row echelon form.

    Apply the row operation R2โ†’R2โˆ’2R1R_2 \rightarrow R_2 - 2R_1.

    โˆผ[1230aโˆ’40]\sim \left[ \begin{array}{cc|c} 1 & 2 & 3 \\ 0 & a-4 & 0\end{array} \right]

    Step 3: Analyze the conditions for infinite solutions.
    For infinite solutions, we need rankโก(A)=rankโก([Aโˆฃb])<m\operatorname{rank}(A) = \operatorname{rank}([A|\mathbf{b}]) < m.
    Here, the number of variables m=2m=2. So we need the common rankโก\operatorname{rank} to be 1.
    This occurs when the second row becomes all zeros.
    For the coefficient part, we need aโˆ’4=0a-4 = 0, which gives a=4a=4.
    For the augmented part, the last element is already 0.
    So, if a=4a=4, the matrix becomes:

    [123000]\left[ \begin{array}{cc|c}
    1 & 2 & 3 \\
    0 & 0 & 0\end{array} \right]

    Step 4: Verify the ranks.
    If a=4a=4, rankโก(A)=1\operatorname{rank}(A) = 1 and rankโก([Aโˆฃb])=1\operatorname{rank}([A|\mathbf{b}]) = 1.
    Since rankโก(A)=rankโก([Aโˆฃb])=1<2\operatorname{rank}(A) = \operatorname{rank}([A|\mathbf{b}]) = 1 < 2 (number of variables), the system has infinite solutions.

    Result: The condition is a=4a=4.
    Answer: a=4\boxed{a=4}
    "
    :::

    ---

    ---

    Summary

    โ— Key Takeaways for GATE

    • Rouchรฉ-Capelli Theorem is Paramount: The nature of solutions for any system Ax=bA\mathbf{x} = \mathbf{b} is determined by comparing rankโก(A)\operatorname{rank}(A) and rankโก([Aโˆฃb])\operatorname{rank}([A|\mathbf{b}]) with the number of variables, mm.

    - No Solution: rankโก(A)<rankโก([Aโˆฃb])\operatorname{rank}(A) < \operatorname{rank}([A|\mathbf{b}]).
    - Unique Solution: rankโก(A)=rankโก([Aโˆฃb])=m\operatorname{rank}(A) = \operatorname{rank}([A|\mathbf{b}]) = m.
    - Infinite Solutions: rankโก(A)=rankโก([Aโˆฃb])<m\operatorname{rank}(A) = \operatorname{rank}([A|\mathbf{b}]) < m.

    • Homogeneous Systems are Simpler: For Ax=0A\mathbf{x} = \mathbf{0}, the system is always consistent. The existence of non-trivial (non-zero) solutions depends only on the rank of AA. A non-trivial solution exists if and only if rankโก(A)<m\operatorname{rank}(A) < m.

    • Master the Rank-Nullity Theorem: For any nร—mn \times m matrix AA, rankโก(A)+nullityโก(A)=m\operatorname{rank}(A) + \operatorname{nullity}(A) = m. The nullity is the dimension of the solution space of Ax=0A\mathbf{x} = \mathbf{0}, which is the number of free variables or linearly independent solutions. This is a frequently tested concept.

    ---

    What's Next?

    ๐Ÿ’ก Continue Learning

    This topic serves as a foundation for more advanced concepts in Linear Algebra.

      • Eigenvalues and Eigenvectors: The definition of an eigenvector involves solving the homogeneous system (Aโˆ’ฮปI)x=0(A - \lambda I)\mathbf{x} = \mathbf{0} for a non-trivial solution x\mathbf{x}. This requires detโก(Aโˆ’ฮปI)=0\det(A - \lambda I) = 0, which is directly related to the condition for infinite solutions in a homogeneous square system.
      • Vector Spaces: The set of all solutions to a homogeneous system Ax=0A\mathbf{x} = \mathbf{0} forms a vector space known as the null space of AA. Understanding its properties, basis, and dimension (nullity) is fundamental to the study of vector spaces.
    Master these connections for a comprehensive understanding of Linear Algebra for the GATE examination.

    ---

    ---

    ๐Ÿ’ก Moving Forward

    Now that you understand Consistency and Solutions, let's explore Solving Linear Systems which builds on these concepts.

    ---

    Part 2: Solving Linear Systems

    Introduction

    A system of linear equations represents a collection of linear relationships between multiple variables. In the context of engineering and computer science, such systems arise frequently in fields ranging from circuit analysis and network flow problems to machine learning and computer graphics. The ability to characterize and solve these systems is, therefore, a fundamental skill.

    We shall explore the conditions under which a linear system possesses a unique solution, infinite solutions, or no solution at all. Our primary analytical tool will be the concept of matrix rank, which provides a powerful and elegant method for determining the nature of the solution set without necessarily computing the solution itself. We will also examine the standard procedure of Gaussian elimination for finding a solution when one exists. The focus will remain on the methods and criteria most pertinent to competitive examinations like GATE.

    ๐Ÿ“– System of Linear Equations

    A system of mm linear equations in nn variables x1,x2,โ€ฆ,xnx_1, x_2, \ldots, x_n is a set of equations of the form:

    a11x1+a12x2+โ‹ฏ+a1nxn=b1a21x1+a22x2+โ‹ฏ+a2nxn=b2โ‹ฎโ‹ฎam1x1+am2x2+โ‹ฏ+amnxn=bm\begin{align*} a_{11}x_1 + a_{12}x_2 + \cdots + a_{1n}x_n & = b_1 \\ a_{21}x_1 + a_{22}x_2 + \cdots + a_{2n}x_n & = b_2 \\ \vdots \quad \quad \quad & \vdots \\ a_{m1}x_1 + a_{m2}x_2 + \cdots + a_{mn}x_n & = b_m \end{align*}

    This system can be concisely represented in matrix form as Ax=bAx = b, where AA is the mร—nm \times n coefficient matrix, xx is the nร—1n \times 1 column vector of variables, and bb is the mร—1m \times 1 column vector of constants.

    ---

    ---

    Key Concepts

    1. Consistency and Types of Solutions

    A system of linear equations is termed consistent if it has at least one solution. If no solution exists, the system is inconsistent. A consistent system can have either a unique solution or infinitely many solutions.

    The geometric interpretation in two dimensions provides clarity. A system of two linear equations in two variables represents two lines in a plane.

    • A unique solution corresponds to the lines intersecting at a single point.

    • Infinite solutions correspond to the two lines being coincident (the same line).

    • No solution corresponds to the lines being parallel and distinct.







    Unique Solution




    No Solution




    Infinite Solutions

    2. Condition for Consistency using Rank

    The most reliable method for determining the nature of the solution for a system Ax=bAx=b involves comparing the rank of the coefficient matrix AA with the rank of the augmented matrix [Aโˆฃb][A|b].

    ๐Ÿ“– Augmented Matrix

    For a system Ax=bAx=b, the augmented matrix, denoted [Aโˆฃb][A|b], is formed by appending the column vector bb to the coefficient matrix AA.

    ๐Ÿ“ Rouchรฉ-Capelli Theorem (Consistency Condition)

    Let ฯ(A)\rho(A) be the rank of the coefficient matrix AA and ฯ([Aโˆฃb])\rho([A|b]) be the rank of the augmented matrix. Let nn be the number of variables.

    • No Solution (Inconsistent):

    ฯ(A)โ‰ ฯ([Aโˆฃb])\rho(A) \neq \rho([A|b])

    • Unique Solution (Consistent):

    ฯ(A)=ฯ([Aโˆฃb])=n\rho(A) = \rho([A|b]) = n

    • Infinite Solutions (Consistent):

    ฯ(A)=ฯ([Aโˆฃb])<n\rho(A) = \rho([A|b]) < n

    When to use: This is the fundamental test to apply to any linear system to determine the nature of its solution set before attempting to solve it.

    3. Homogeneous Systems

    A system of linear equations is called homogeneous if all the constant terms are zero. It is of the form Ax=0Ax=0.

    A key observation is that a homogeneous system is always consistent, because x=0x=0 (the zero vector) is always a solution. This is known as the trivial solution. The central question for homogeneous systems is whether a non-trivial solution (a solution where at least one variable is non-zero) exists.

    โ— Condition for Non-Trivial Solutions

    A homogeneous system Ax=0Ax=0 has a non-trivial solution if and only if the rank of the coefficient matrix AA is less than the number of variables nn.

    ฯ(A)<n\rho(A) < n

    For a square matrix AA of size nร—nn \times n, this condition is equivalent to the determinant of AA being zero.

    detโก(A)=0\det(A) = 0

    4. Gaussian Elimination

    Gaussian elimination is a systematic algorithm for solving systems of linear equations. The procedure transforms the augmented matrix [Aโˆฃb][A|b] into row echelon form using elementary row operations. From this simplified form, the solution can be found by back substitution.

    Elementary Row Operations:

  • Swapping two rows.

  • Multiplying a row by a non-zero scalar.

  • Adding a multiple of one row to another row.
  • Worked Example:

    Problem: Solve the following system of linear equations:

    x+2y+z=8x + 2y + z = 8

    2x+3y+4z=202x + 3y + 4z = 20

    4x+3y+2z=164x + 3y + 2z = 16

    Solution:

    Step 1: Write the augmented matrix [Aโˆฃb][A|b].

    [Aโˆฃb]=[12182342043216][A|b] = \left[\begin{array}{ccc|c} 1 & 2 & 1 & 8 \\ 2 & 3 & 4 & 20 \\ 4 & 3 & 2 & 16 \end{array}\right]

    Step 2: Apply row operations to create zeros below the first pivot (the element in the first row, first column). Perform R2โ†’R2โˆ’2R1R_2 \rightarrow R_2 - 2R_1 and R3โ†’R3โˆ’4R1R_3 \rightarrow R_3 - 4R_1.

    [12180โˆ’1240โˆ’5โˆ’2โˆ’16]\left[\begin{array}{ccc|c} 1 & 2 & 1 & 8 \\ 0 & -1 & 2 & 4 \\ 0 & -5 & -2 & -16 \end{array}\right]

    Step 3: Apply a row operation to create a zero below the second pivot. Perform R3โ†’R3โˆ’5R2R_3 \rightarrow R_3 - 5R_2.

    [12180โˆ’12400โˆ’12โˆ’36]\left[\begin{array}{ccc|c} 1 & 2 & 1 & 8 \\ 0 & -1 & 2 & 4 \\ 0 & 0 & -12 & -36 \end{array}\right]

    This is the row echelon form. The system is now:

    x+2y+z=8x + 2y + z = 8

    โˆ’y+2z=4-y + 2z = 4

    โˆ’12z=โˆ’36-12z = -36

    Step 4: Use back substitution to solve for the variables.
    From the last equation:

    z=โˆ’36โˆ’12=3z = \frac{-36}{-12} = 3

    Substitute z=3z=3 into the second equation:

    โˆ’y+2(3)=4โ€…โ€ŠโŸนโ€…โ€Šโˆ’y=โˆ’2โ€…โ€ŠโŸนโ€…โ€Šy=2-y + 2(3) = 4 \implies -y = -2 \implies y = 2

    Substitute y=2y=2 and z=3z=3 into the first equation:

    x+2(2)+3=8โ€…โ€ŠโŸนโ€…โ€Šx+7=8โ€…โ€ŠโŸนโ€…โ€Šx=1x + 2(2) + 3 = 8 \implies x + 7 = 8 \implies x = 1

    Answer: The unique solution is x=1,y=2,z=3\boxed{x=1, y=2, z=3}.

    ---

    Problem-Solving Strategies

    ๐Ÿ’ก GATE Strategy: Check Rank First

    Before investing time in solving a system using Gaussian elimination, always perform a quick check on the nature of the solution.

    • Form the augmented matrix [Aโˆฃb][A|b].

    • Reduce it to row echelon form. The number of non-zero rows gives the rank.

    • Compare ฯ(A)\rho(A) and ฯ([Aโˆฃb])\rho([A|b]) with the number of variables nn. This immediately tells you whether to expect a unique solution, infinite solutions, or no solution, preventing wasted effort on inconsistent systems.

    ---

    ---

    Common Mistakes

    โš ๏ธ Avoid These Errors
      • โŒ Confusing conditions for homogeneous and non-homogeneous systems. The condition detโก(A)=0\det(A)=0 implies infinite solutions for a homogeneous system Ax=0Ax=0, but it could imply either infinite solutions or no solution for a non-homogeneous system Ax=bAx=b.
    โœ… Always use the rank condition: ฯ(A)=ฯ([Aโˆฃb])<n\rho(A) = \rho([A|b]) < n for infinite solutions in the non-homogeneous case.
      • โŒ Assuming a system with more variables than equations (n>mn > m) must have infinite solutions.
    โœ… This is not guaranteed. The system could be inconsistent. For example, x+y+z=1x+y+z = 1 and x+y+z=2x+y+z = 2 has no solution. The rank condition is the only definitive test.

    ---

    Practice Questions

    :::question type="MCQ" question="The system of equations x+y+z=6x + y + z = 6, x+2y+3z=10x + 2y + 3z = 10, and x+2y+ฮปz=ฮผx + 2y + \lambda z = \mu has no solution if:" options=["ฮป=3,ฮผ=10\lambda = 3, \mu = 10","ฮป=3,ฮผโ‰ 10\lambda = 3, \mu \neq 10","ฮปโ‰ 3,ฮผ=10\lambda \neq 3, \mu = 10","ฮปโ‰ 3,ฮผโ‰ 10\lambda \neq 3, \mu \neq 10"] answer="ฮป=3,ฮผโ‰ 10\lambda = 3, \mu \neq 10" hint="For no solution, we require ฯ(A)โ‰ ฯ([Aโˆฃb])\rho(A) \neq \rho([A|b]). Use row reduction on the augmented matrix to find the condition on ฮป\lambda and ฮผ\mu that satisfies this." solution="
    Step 1: Form the augmented matrix.

    [11161231012ฮปฮผ]\left[\begin{array}{ccc|c} 1 & 1 & 1 & 6 \\ 1 & 2 & 3 & 10 \\ 1 & 2 & \lambda & \mu \end{array}\right]

    Step 2: Apply row operations. R2โ†’R2โˆ’R1R_2 \rightarrow R_2 - R_1 and R3โ†’R3โˆ’R1R_3 \rightarrow R_3 - R_1.

    [1116012401ฮปโˆ’1ฮผโˆ’6]\left[\begin{array}{ccc|c} 1 & 1 & 1 & 6 \\ 0 & 1 & 2 & 4 \\ 0 & 1 & \lambda-1 & \mu-6 \end{array}\right]

    Step 3: Apply R3โ†’R3โˆ’R2R_3 \rightarrow R_3 - R_2.

    [1116012400ฮปโˆ’3ฮผโˆ’10]\left[\begin{array}{ccc|c} 1 & 1 & 1 & 6 \\ 0 & 1 & 2 & 4 \\ 0 & 0 & \lambda-3 & \mu-10 \end{array}\right]

    Step 4: Analyze the condition for no solution, which is ฯ(A)โ‰ ฯ([Aโˆฃb])\rho(A) \neq \rho([A|b]).
    This occurs when the last row of the coefficient matrix part is all zeros, but the corresponding element in the augmented part is non-zero.
    This means we need ฮปโˆ’3=0\lambda-3 = 0 and ฮผโˆ’10โ‰ 0\mu-10 \neq 0.

    Result:

    ฮป=3andฮผโ‰ 10\lambda = 3 \quad \text{and} \quad \mu \neq 10

    Answer: \boxed{\lambda = 3 \text{ and } \mu \neq 10}
    "
    :::

    :::question type="NAT" question="Consider the homogeneous system of equations: 2xโˆ’y+3z=02x - y + 3z = 0, 3x+2y+z=03x + 2y + z = 0, xโˆ’4y+kz=0x - 4y + kz = 0. If the system has a non-trivial solution, what is the value of kk?" answer="5" hint="A homogeneous system has a non-trivial solution if and only if the determinant of the coefficient matrix is zero." solution="
    Step 1: Write the coefficient matrix AA.

    A=(2โˆ’133211โˆ’4k)A = \begin{pmatrix} 2 & -1 & 3 \\ 3 & 2 & 1 \\ 1 & -4 & k \end{pmatrix}

    Step 2: For a non-trivial solution to exist, we must have detโก(A)=0\det(A) = 0.
    Calculate the determinant:

    detโก(A)=2(2kโˆ’(โˆ’4))โˆ’(โˆ’1)(3kโˆ’1)+3(โˆ’12โˆ’2)=0\det(A) = 2(2k - (-4)) - (-1)(3k - 1) + 3(-12 - 2) = 0

    Step 3: Simplify the expression.

    2(2k+4)+(3kโˆ’1)+3(โˆ’14)=04k+8+3kโˆ’1โˆ’42=07kโˆ’35=0\begin{aligned}2(2k + 4) + (3k - 1) + 3(-14) & = 0 \\
    4k + 8 + 3k - 1 - 42 & = 0 \\
    7k - 35 & = 0\end{aligned}

    Step 4: Solve for kk.

    7k=35k=5\begin{aligned}7k & = 35 \\
    k & = 5\end{aligned}

    Result: The value of kk is 5.
    Answer: \boxed{5}
    "
    :::

    :::question type="MSQ" question="Which of the following statements about the system x+y=2x+y=2 and 2x+2y=42x+2y=4 is/are true?" options=["The system is inconsistent.","The system has a unique solution.","The system has infinitely many solutions.","The rank of the coefficient matrix is 1."] answer="The system has infinitely many solutions.,The rank of the coefficient matrix is 1." hint="Analyze the system using the rank method. Form the augmented matrix and find the ranks of A and [A|b]." solution="
    The system is:
    x+y=2x + y = 2
    2x+2y=42x + 2y = 4

    The coefficient matrix is

    A=(1122)A = \begin{pmatrix} 1 & 1 \\ 2 & 2 \end{pmatrix}

    The augmented matrix is
    [Aโˆฃb]=[112224][A|b] = \left[\begin{array}{cc|c} 1 & 1 & 2 \\ 2 & 2 & 4 \end{array}\right]

    Let's find the ranks by reducing to row echelon form.
    Applying R2โ†’R2โˆ’2R1R_2 \rightarrow R_2 - 2R_1 to [Aโˆฃb][A|b] gives:

    [112000]\left[\begin{array}{cc|c} 1 & 1 & 2 \\ 0 & 0 & 0 \end{array}\right]

    From this form, we can see:

    • The rank of A, ฯ(A)\rho(A), is the number of non-zero rows in the coefficient part, which is 1. So, the option "The rank of the coefficient matrix is 1" is correct.

    • The rank of [A|b], ฯ([Aโˆฃb])\rho([A|b]), is the number of non-zero rows in the entire matrix, which is also 1.

    • The number of variables is n=2n=2.


    Since ฯ(A)=ฯ([Aโˆฃb])=1<n=2\rho(A) = \rho([A|b]) = 1 < n=2, the system has infinitely many solutions.
    Therefore, the option "The system has infinitely many solutions" is correct.
    The options "The system is inconsistent" and "The system has a unique solution" are incorrect.
    Answer: \boxed{\text{The system has infinitely many solutions.,The rank of the coefficient matrix is 1.}}
    "
    :::

    ---

    Summary

    โ— Key Takeaways for GATE

    • Consistency is Key: The first step is always to determine if a system is consistent. Use the rank condition: the system Ax=bAx=b is consistent if and only if rankโก(A)=rankโก([Aโˆฃb])\operatorname{rank}(A) = \operatorname{rank}([A|b]).

    • Nature of Solution: If consistent, the type of solution depends on the rank relative to the number of variables, nn.

    • - Unique solution if rankโก(A)=n\operatorname{rank}(A) = n.
      - Infinite solutions if rankโก(A)<n\operatorname{rank}(A) < n.
    • Homogeneous Systems (Ax=0Ax=0): These are always consistent. They have a non-trivial (non-zero) solution if and only if rankโก(A)<n\operatorname{rank}(A) < n. For a square matrix, this is equivalent to detโก(A)=0\det(A) = 0.

    ---

    What's Next?

    ๐Ÿ’ก Continue Learning

    This topic serves as a foundation for more advanced concepts in Linear Algebra:

      • Eigenvalues and Eigenvectors: The calculation of eigenvectors involves solving the homogeneous system (Aโˆ’ฮปI)x=0(A - \lambda I)x = 0. Understanding the condition for non-trivial solutions is critical here.

      • Vector Spaces: The set of all solutions to a homogeneous system Ax=0Ax=0 forms a vector space called the null space of A. The number of free variables in the solution (nโˆ’ฯ(A)n - \rho(A)) gives the dimension of this null space.


    Master these connections for a comprehensive understanding of Linear Algebra for GATE!

    ---

    Chapter Summary

    ๐Ÿ“– System of Linear Equations - Key Takeaways

    In our study of linear systems, we have developed a systematic framework for analyzing and solving them. The following points encapsulate the essential concepts that are critical for the GATE examination.

    • Matrix Representation: Any system of mm linear equations in nn variables can be concisely represented in the matrix form AX=BAX = B, where AA is the mร—nm \times n coefficient matrix, XX is the nร—1n \times 1 column vector of variables, and BB is the mร—1m \times 1 column vector of constants.

    • The Concept of Consistency: A system of linear equations is termed consistent if it possesses at least one solution. Otherwise, it is inconsistent. The consistency of a system is fundamentally determined by the relationship between the rank of the coefficient matrix AA and the augmented matrix [AโˆฃB][A|B].

    • The Rank Condition for Solutions (Rouchรฉ-Capelli Theorem): We have established the definitive criteria for the nature of the solution set:

    - No Solution: If rankโก(A)โ‰ rankโก([AโˆฃB])\operatorname{rank}(A) \neq \operatorname{rank}([A|B]), the system is inconsistent.
    - Unique Solution: If rankโก(A)=rankโก([AโˆฃB])=n\operatorname{rank}(A) = \operatorname{rank}([A|B]) = n (where nn is the number of variables), the system is consistent and has exactly one solution.
    - Infinitely Many Solutions: If rankโก(A)=rankโก([AโˆฃB])=r<n\operatorname{rank}(A) = \operatorname{rank}([A|B]) = r < n, the system is consistent and has an infinite number of solutions. The number of free variables (or independent parameters) in the solution is given by nโˆ’rn-r.

    • Homogeneous Systems: For a homogeneous system, AX=0AX = 0, the vector BB is the zero vector. Such systems are always consistent, as they always admit the trivial solution (X=0X=0). A non-trivial solution exists if and only if rankโก(A)<n\operatorname{rank}(A) < n. For a square matrix AA, this condition is equivalent to detโก(A)=0\det(A) = 0.

    • Gaussian Elimination: The primary computational tool for analyzing linear systems is Gaussian elimination. By reducing the augmented matrix to its row echelon form, we can efficiently determine the ranks of AA and [AโˆฃB][A|B] and subsequently find the solution(s) through back substitution.

    • Structure of Solutions: For a consistent non-homogeneous system AX=BAX=B, the general solution can be expressed as X=Xp+XhX = X_p + X_h, where XpX_p is any particular solution to AX=BAX=B, and XhX_h is the general solution to the corresponding homogeneous system AX=0AX=0.

    ---

    Chapter Review Questions

    :::question type="MCQ" question="Consider the system of linear equations:
    x+y+z=3x + y + z = 3
    x+2y+2z=5x + 2y + 2z = 5
    x+2y+ฮปz=ฮผx + 2y + \lambda z = \mu
    For which of the following values of ฮป\lambda and ฮผ\mu does the system have no solution?" options=["ฮป=2,ฮผ=5\lambda = 2, \mu = 5","ฮปโ‰ 2,ฮผ=5\lambda \neq 2, \mu = 5","ฮป=2,ฮผโ‰ 5\lambda = 2, \mu \neq 5","ฮปโ‰ 2,ฮผโ‰ 5\lambda \neq 2, \mu \neq 5"] answer="C" hint="For a system to have no solution, the rank of the coefficient matrix must be less than the rank of the augmented matrix. Use Gaussian elimination to find the condition on ฮป\lambda and ฮผ\mu that satisfies this." solution="We begin by writing the augmented matrix [AโˆฃB][A|B] for the given system:

    [AโˆฃB]=[1113122512ฮปฮผ][A|B] = \left[ \begin{array}{ccc|c} 1 & 1 & 1 & 3 \\ 1 & 2 & 2 & 5 \\ 1 & 2 & \lambda & \mu \end{array} \right]

    Now, we apply Gaussian elimination to reduce the matrix to its row echelon form.
    Applying the row operations R2โ†R2โˆ’R1R_2 \leftarrow R_2 - R_1 and R3โ†R3โˆ’R1R_3 \leftarrow R_3 - R_1:
    โˆผ[1113011201ฮปโˆ’1ฮผโˆ’3]\sim \left[ \begin{array}{ccc|c} 1 & 1 & 1 & 3 \\ 0 & 1 & 1 & 2 \\ 0 & 1 & \lambda-1 & \mu-3 \end{array} \right]

    Next, we apply the operation R3โ†R3โˆ’R2R_3 \leftarrow R_3 - R_2:
    โˆผ[1113011200ฮปโˆ’2ฮผโˆ’5]\sim \left[ \begin{array}{ccc|c} 1 & 1 & 1 & 3 \\ 0 & 1 & 1 & 2 \\ 0 & 0 & \lambda-2 & \mu-5 \end{array} \right]

    For the system to have no solution, we require rankโก(A)<rankโก([AโˆฃB])\operatorname{rank}(A) < \operatorname{rank}([A|B]).
    From the echelon form, rankโก(A)\operatorname{rank}(A) will be 2 if the last row of the coefficient part is all zeros. This occurs when:
    ฮปโˆ’2=0โ€…โ€ŠโŸนโ€…โ€Šฮป=2\lambda - 2 = 0 \implies \lambda = 2

    At the same time, for rankโก([AโˆฃB])\operatorname{rank}([A|B]) to be 3, the last element in the augmented part of the third row must be non-zero. This occurs when:
    ฮผโˆ’5โ‰ 0โ€…โ€ŠโŸนโ€…โ€Šฮผโ‰ 5\mu - 5 \neq 0 \implies \mu \neq 5

    Therefore, the system has no solution if ฮป=2\lambda = 2 and ฮผโ‰ 5\mu \neq 5. This corresponds to option C.
    Answer: \boxed{C}
    "
    :::

    :::question type="NAT" question="The system of equations
    x+y+z=6x + y + z = 6
    x+4y+6z=20x + 4y + 6z = 20
    x+4y+ฮปz=ฮผx + 4y + \lambda z = \mu
    has infinitely many solutions. The value of ฮป+ฮผ\lambda + \mu is:" answer="26" hint="For a system to have infinitely many solutions, the rank of the coefficient matrix and the augmented matrix must be equal, and this rank must be less than the number of variables. Use Gaussian elimination to find the conditions on ฮป\lambda and ฮผ\mu." solution="We write the augmented matrix [AโˆฃB][A|B] and reduce it to row echelon form.

    [AโˆฃB]=[11161462014ฮปฮผ][A|B] = \left[ \begin{array}{ccc|c} 1 & 1 & 1 & 6 \\ 1 & 4 & 6 & 20 \\ 1 & 4 & \lambda & \mu \end{array} \right]

    Perform the row operation R2โ†R2โˆ’R1R_2 \leftarrow R_2 - R_1 and R3โ†R3โˆ’R1R_3 \leftarrow R_3 - R_1:
    โˆผ[11160351403ฮปโˆ’1ฮผโˆ’6]\sim \left[ \begin{array}{ccc|c} 1 & 1 & 1 & 6 \\ 0 & 3 & 5 & 14 \\ 0 & 3 & \lambda-1 & \mu-6 \end{array} \right]

    Next, perform the row operation R3โ†R3โˆ’R2R_3 \leftarrow R_3 - R_2:
    โˆผ[11160351400(ฮปโˆ’1)โˆ’5(ฮผโˆ’6)โˆ’14]โˆผ[11160351400ฮปโˆ’6ฮผโˆ’20]\sim \left[ \begin{array}{ccc|c} 1 & 1 & 1 & 6 \\ 0 & 3 & 5 & 14 \\ 0 & 0 & (\lambda-1)-5 & (\mu-6)-14 \end{array} \right] \\
    \sim \left[ \begin{array}{ccc|c} 1 & 1 & 1 & 6 \\ 0 & 3 & 5 & 14 \\ 0 & 0 & \lambda-6 & \mu-20 \end{array} \right]

    For the system to have infinitely many solutions, we must have rankโก(A)=rankโก([AโˆฃB])<3\operatorname{rank}(A) = \operatorname{rank}([A|B]) < 3. This condition is satisfied if the last row of the augmented matrix is a zero row.
    This implies:
    ฮปโˆ’6=0โ€…โ€ŠโŸนโ€…โ€Šฮป=6ฮผโˆ’20=0โ€…โ€ŠโŸนโ€…โ€Šฮผ=20\begin{aligned}\lambda - 6 & = 0 \implies \lambda = 6 \\
    \mu - 20 & = 0 \implies \mu = 20\end{aligned}

    The question asks for the value of ฮป+ฮผ\lambda + \mu.
    ฮป+ฮผ=6+20=26\lambda + \mu = 6 + 20 = 26

    Thus, the required value is 26.
    Answer: \boxed{26}
    "
    :::

    :::question type="MSQ" question="Consider the system of linear equations AX=BAX=B, where

    A=[123134257]andB=[134]A = \begin{bmatrix} 1 & 2 & 3 \\ 1 & 3 & 4 \\ 2 & 5 & 7 \end{bmatrix} \quad \text{and} \quad B = \begin{bmatrix} 1 \\ 3 \\ 4 \end{bmatrix}

    Which of the following statements is/are correct?" options=["The system is consistent.","The determinant of matrix AA is zero.","The system has a unique solution.","The number of free variables is 1."] answer="A,B,D" hint="Analyze the system by finding the rank of the coefficient matrix AA and the augmented matrix [AโˆฃB][A|B]. Remember that the number of free variables is given by nโˆ’rankโก(A)n - \operatorname{rank}(A)." solution="We first analyze the coefficient matrix AA and the augmented matrix [AโˆฃB][A|B].
    [AโˆฃB]=[123113432574][A|B] = \left[ \begin{array}{ccc|c} 1 & 2 & 3 & 1 \\ 1 & 3 & 4 & 3 \\ 2 & 5 & 7 & 4 \end{array} \right]

    Let's find the rank by row reduction. Apply R2โ†R2โˆ’R1R_2 \leftarrow R_2 - R_1 and R3โ†R3โˆ’2R1R_3 \leftarrow R_3 - 2R_1:
    โˆผ[123101120112]\sim \left[ \begin{array}{ccc|c} 1 & 2 & 3 & 1 \\ 0 & 1 & 1 & 2 \\ 0 & 1 & 1 & 2 \end{array} \right]

    Now, apply R3โ†R3โˆ’R2R_3 \leftarrow R_3 - R_2:
    โˆผ[123101120000]\sim \left[ \begin{array}{ccc|c} 1 & 2 & 3 & 1 \\ 0 & 1 & 1 & 2 \\ 0 & 0 & 0 & 0 \end{array} \right]

    From the row echelon form, we can draw our conclusions.
    The number of non-zero rows in the echelon form of AA is 2, so rankโก(A)=2\operatorname{rank}(A) = 2.
    The number of non-zero rows in the echelon form of [AโˆฃB][A|B] is also 2, so rankโก([AโˆฃB])=2\operatorname{rank}([A|B]) = 2.

    Let's evaluate each option:
    (A) The system is consistent. Since rankโก(A)=rankโก([AโˆฃB])=2\operatorname{rank}(A) = \operatorname{rank}([A|B]) = 2, the system is consistent. This statement is correct.

    (B) The determinant of matrix AA is zero. Since rankโก(A)=2\operatorname{rank}(A) = 2, which is less than the order of the matrix (3), the matrix AA is singular. Therefore, detโก(A)=0\det(A) = 0. This statement is correct. We can also verify this directly from the row operations: R3R_3 is the sum of R1R_1 and R2R_2 (R1+R2=R3R_1+R_2=R_3 is not true, but R3=R1+R2โ€ฒR_3 = R_1 + R_2' where R2โ€ฒR_2' is the original second row. Let's check original rows: R1+R2=[2,5,7]R_1+R_2 = [2, 5, 7]. This is exactly R3R_3. Hence rows are linearly dependent and detโก(A)=0\det(A)=0).

    (C) The system has a unique solution. A unique solution exists if rankโก(A)=n\operatorname{rank}(A) = n, where nn is the number of variables. Here, rankโก(A)=2\operatorname{rank}(A) = 2 and n=3n=3. Since rankโก(A)<n\operatorname{rank}(A) < n, the system does not have a unique solution. This statement is incorrect.

    (D) The number of free variables is 1. The number of free variables is given by nโˆ’rankโก(A)n - \operatorname{rank}(A). Here, n=3n=3 and rankโก(A)=2\operatorname{rank}(A)=2. So, the number of free variables is 3โˆ’2=13 - 2 = 1. The system has infinitely many solutions. This statement is correct.

    Therefore, the correct statements are A, B, and D.
    Answer: \boxed{A, B, D}
    "
    :::

    ---

    What's Next?

    ๐Ÿ’ก Continue Your GATE Journey

    Having completed our study of the System of Linear Equations, you have established a firm foundation for several advanced and interconnected chapters in Engineering Mathematics. The principles of consistency, rank, and solution spaces are not isolated concepts but rather the bedrock upon which more abstract structures are built.

    Key connections to leverage in your preparation:

      • Relation to Previous Chapters: This chapter is a direct application of the concepts from Matrices and Determinants. Your ability to calculate the rank of a matrix and evaluate determinants is the primary tool used to classify and solve linear systems.
      • Foundation for Future Chapters:
    - Vector Spaces: The concepts explored here are central to the study of vector spaces. The set of all solutions to a homogeneous system AX=0AX=0 forms a vector space known as the null space or kernel of matrix AA. The number of free variables corresponds to the dimension of this null space. - Eigenvalues and Eigenvectors: One of the most important problems in linear algebra is finding the eigenvalues and eigenvectors of a matrix, which involves solving the characteristic equation (Aโˆ’ฮปI)X=0(A - \lambda I)X = 0. This is a direct application of finding non-trivial solutions to a homogeneous system of linear equations, a core skill you have just mastered.

    ๐ŸŽฏ Key Points to Remember

    • โœ“ Master the core concepts in System of Linear Equations before moving to advanced topics
    • โœ“ Practice with previous year questions to understand exam patterns
    • โœ“ Review short notes regularly for quick revision before exams

    Related Topics in Engineering Mathematics

    More Resources

    Why Choose MastersUp?

    ๐ŸŽฏ

    AI-Powered Plans

    Personalized study schedules based on your exam date and learning pace

    ๐Ÿ“š

    15,000+ Questions

    Verified questions with detailed solutions from past papers

    ๐Ÿ“Š

    Smart Analytics

    Track your progress with subject-wise performance insights

    ๐Ÿ”–

    Bookmark & Revise

    Save important questions for quick revision before exams

    Start Your Free Preparation โ†’

    No credit card required โ€ข Free forever for basic features