The number of additions and multiplications involved in performing Gaussian elimination on any m x n upper triangular matrix is of the order A. O(n) B. O(n^2) C. O(n^3) D. O(n^4)

GATE 2025 · Engineering Mathematics · Gaussian Elimination · medium

Answer: The complexity is O(n^2), so the answer is B.

  1. Identify that forward elimination is skipped: No row operations are needed to zero out entries below the diagonal. The matrix is already in row echelon form.
  2. Count back-substitution operations: Row n: 0 operations; row n-1: 1 operation; ...; row 1: n-1 operations. Total = 0+1+2+...+(n-1) = n(n-1)/2.