What is an orthogonal complement of a subspace?

Quick Overview

Asks for the definition of the orthogonal complement of a subspace and the properties that make it useful. Tests whether you can relate it to dimension counting, the fundamental subspaces of a matrix, orthogonal projection and least squares.

What is an orthogonal complement of a subspace?

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Other

What is an orthogonal complement of a subspace? Assume vectors in $\mathbb{R}^n$ with the standard dot product. ```hint Check against a basis Write down the dot-product condition a vector has to meet, then ask whether you need to test it against every vector of the subspace or only against a basis. ``` ### What a Strong Answer Covers - A precise definition, and why the result is itself a subspace - The dimension relation and the unique decomposition of any vector - The link to the row space, column space and null spaces of a matrix - At least one application, such as orthogonal projection or least squares ### Follow-up Questions - Given a basis for W as the columns of a matrix A, how would you compute a basis for the orthogonal complement numerically? - How does the orthogonal complement explain the normal equations in least squares? - If P is the projection matrix onto W, what is the projection onto its orthogonal complement? - Does taking the complement twice still return W in an infinite-dimensional inner product space?

Overview: Asks for the definition of the orthogonal complement of a subspace and the properties that make it useful. Tests whether you can relate it to dimension counting, the fundamental subspaces of a matrix, orthogonal projection and least squares.

PracHub logo
General
Nov 25, 2026
easyData ScientistOtherStatistics & Math
0
0

What is an orthogonal complement of a subspace?

Assume vectors in Rn\mathbb{R}^n with the standard dot product.

What a Strong Answer Covers Guidance

  • A precise definition, and why the result is itself a subspace
  • The dimension relation and the unique decomposition of any vector
  • The link to the row space, column space and null spaces of a matrix
  • At least one application, such as orthogonal projection or least squares

Follow-up Questions Guidance

  • Given a basis for W as the columns of a matrix A, how would you compute a basis for the orthogonal complement numerically?
  • How does the orthogonal complement explain the normal equations in least squares?
  • If P is the projection matrix onto W, what is the projection onto its orthogonal complement?
  • Does taking the complement twice still return W in an infinite-dimensional inner product space?