Skip to main content
Home
Calculating...
Home Linear Systems Left_Null_Space

Left Null Space Calculator: Find Left Null Space of a Matrix

Find the left null space of a matrix A: all vectors y such that y^T A = 0 (or equivalently A^T y = 0). The left null space is the orthogonal complement of the column space.

Calculator

Enter your matrix below and click "Calculate" to see the step-by-step solution.

Rows (m) =
Cols (n) =
Maximum size: 6Ɨ6

The left null space consists of all y such that yTA = 0

A Matrix A (m Ɨ n)

The left null space is the null space of AT

Computing left null space basis...

Enter a matrix A to find its left null space (all y such that yTA = 0).

The left null space is the orthogonal complement of the column space.

Learn About Left_Null_Space

Understanding the concepts behind the calculations.


What is the Left Null Space?

The left null space of a matrix A is the set of all vectors y such that yįµ€A = 0 (equivalently, Aįµ€y = 0).

$$ \boxed{\text{Null}(A^T) = \{\mathbf{y} \in \mathbb{R}^m : A^T\mathbf{y} = \mathbf{0}\} = \{\mathbf{y} \in \mathbb{R}^m : \mathbf{y}^T A = \mathbf{0}^T\}} $$

For an m Ɨ n matrix A, the left null space lives in ā„įµ (the same space as the columns of A).

šŸ’” Key Insight: The name "left" comes from the fact that vectors in this space multiply A on the left to give zero: yįµ€A = 0įµ€.


The Core Concept

The left null space contains all vectors that are orthogonal to every column of A.

$$ \mathbf{y}^T A = \mathbf{0}^T \quad \Longleftrightarrow \quad \mathbf{y} \cdot \mathbf{a}_j = 0 \ \text{for every column } \mathbf{a}_j $$

Why "Left" Matters

Right Null Space (Null(A)):

$$A\mathbf{x} = \mathbf{0}$$

Vectors multiply on the right

Left Null Space (Null(Aįµ€)):

$$\mathbf{y}^T A = \mathbf{0}^T$$

Vectors multiply on the left

šŸŽÆ The Big Idea: The left null space tells you exactly how rows of A are linearly dependent. Every vector in the left null space gives a linear combination of rows that equals zero!


How to Find the Left Null Space

Method 1: Via Transpose (Easiest)

  1. Compute Aįµ€ (the transpose)
  2. Find the null space of Aįµ€ using Gaussian elimination
  3. The basis vectors form the left null space

Method 2: From RREF (Advanced)

  1. Compute the RREF of A
  2. Identify the zero rows
  3. Extract coefficients from row operations

šŸ’” Recommendation: Method 1 (via transpose) is straightforward. Use our Null Space Calculator on Aįµ€ to find the left null space!


Complete Example

Problem: Find the left null space of

$$ A = \begin{bmatrix} 1 & 2 \\ 2 & 4 \\ 3 & 6 \end{bmatrix} $$

Step 1: Compute Aįµ€

$$ A^T = \begin{bmatrix} 1 & 2 & 3 \\ 2 & 4 & 6 \end{bmatrix} $$

Step 2: Set up Aįµ€y = 0

$$ \begin{bmatrix} 1 & 2 & 3 \\ 2 & 4 & 6 \end{bmatrix} \begin{bmatrix} y_1 \\ y_2 \\ y_3 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix} $$

Step 3: Row reduce to REF

$$ \begin{bmatrix} 1 & 2 & 3 \\ 0 & 0 & 0 \end{bmatrix} $$

Step 4: Identify free variables

Pivot in column 1 → y₁ is basic. Free variables: yā‚‚, yā‚ƒ

Step 5: Solve for basic variable

$$ y_1 + 2y_2 + 3y_3 = 0 \implies y_1 = -2y_2 - 3y_3 $$

Step 6: Write general solution

$$ \mathbf{y} = y_2\begin{bmatrix} -2 \\ 1 \\ 0 \end{bmatrix} + y_3\begin{bmatrix} -3 \\ 0 \\ 1 \end{bmatrix} $$

āœ… Left Null Space Basis:

$$ \left\{ \begin{bmatrix} -2 \\ 1 \\ 0 \end{bmatrix},\ \begin{bmatrix} -3 \\ 0 \\ 1 \end{bmatrix} \right\} $$

Dimension = 2 = m - rank(A) = 3 - 1 āœ“

šŸ“ Interpretation: These basis vectors give the coefficients for linear dependencies among rows:

-2Ā·[1 2] + 1Ā·[2 4] + 0Ā·[3 6] = [0 0] āœ“

-3Ā·[1 2] + 0Ā·[2 4] + 1Ā·[3 6] = [0 0] āœ“


The Four Fundamental Subspaces

For an m Ɨ n matrix A, there are four fundamental subspaces that completely describe the linear transformation:

SubspaceNotationLocated inDimensionBuilt with
Column SpaceCol(A)ā„įµrank(A)Columns of A
Left Null SpaceNull(Aįµ€)ā„įµm - rank(A)Null space of Aįµ€
Row SpaceRow(A)ā„āærank(A)Rows of A
Null SpaceNull(A)ā„āæn - rank(A)Solutions to Ax = 0

Perfect Orthogonal Relationships

In ā„įµ (output space):

$$\text{Col}(A) \perp \text{Null}(A^T)$$

Column Space āŸ‚ Left Null Space

These are orthogonal complements in ā„įµ

In ā„āæ (input space):

$$\text{Row}(A) \perp \text{Null}(A)$$

Row Space āŸ‚ Null Space

These are orthogonal complements in ā„āæ

šŸŽÆ Key Takeaway: Any vector y ∈ ā„įµ can be uniquely written as y = y_c + y_n where y_c ∈ Col(A) and y_n ∈ Null(Aįµ€).


Key Properties

  • Dimension formula: dim(Null(Aįµ€)) = m - rank(A)
  • Left nullity = m - rank(A) (the number of zero rows in RREF)
  • Orthogonal to column space: Every left null vector is perpendicular to every column
  • Reveals row dependencies: Coefficients of linear combinations that give zero rows
  • System consistency: For Ax = b to have a solution, b must be āŸ‚ to Null(Aįµ€)
  • Residuals in least squares: The residual r = b - Ax lies in Null(Aįµ€)
$$ \boxed{\mathbb{R}^m = \text{Col}(A) \oplus \text{Null}(A^T)} $$

Every vector in ā„įµ decomposes uniquely into a column space component + left null space component.


Geometric Interpretation

The left nullity (m - rank(A)) tells you the "missing dimensions" in the column space:

Left NullityGeometry in ā„įµColumn Space
0Only the origin (point)All of ā„įµ (full dimension)
1A line through the originA hyperplane (dimension m-1)
2A plane through the origin(m-2)-dimensional subspace
mAll of ā„įµOnly the zero vector

Example: For a 3Ɨ2 rank-2 matrix:

  • m = 3, rank = 2
  • Left nullity = 3 - 2 = 1
  • Left null space = a line through origin in ā„Ā³
  • Column space = a plane through origin
  • The line is perpendicular to the plane!

Real-World Applications

šŸ” System Consistency

The linear system Ax = b has a solution if and only if b is orthogonal to every vector in Null(Aįµ€).

$$\mathbf{y}^T b = 0 \quad \forall \mathbf{y} \in \text{Null}(A^T)$$

šŸ“Š Least Squares Regression

The residual r = b - Ax̂ (the error) lies in Null(Aᵀ), meaning residuals are orthogonal to the column space.

→ Learn more about Least Squares

šŸ”— Linear Dependencies

Vectors in the left null space give coefficients that combine rows to zero. Perfect for finding redundant equations!

šŸŽ® Control Theory

The left null space determines unobservable states in linear systems—states you cannot detect from outputs.

šŸ“ˆ Linear Regression

In statistics, the residuals are orthogonal to the column space (i.e., lie in the left null space). Essential for least squares estimation.

šŸ’” Key Insight: The left null space is the "error space" of linear regression. The difference between actual and predicted values must lie in the left null space!


Frequently Asked Questions

Q: What's the difference between left null space and regular null space?

A: Regular null space (Null(A)) contains vectors that multiply A on the right to give zero (Ax = 0). Left null space (Null(Aįµ€)) contains vectors that multiply A on the left to give zero (yįµ€A = 0įµ€). They live in different spaces!

Q: Why is it called "left" null space?

A: Because vectors in this space are placed on the left of A: yįµ€A = 0įµ€. Regular null space vectors go on the right: Ax = 0.

Q: How do I find left null space without computing transpose?

A: You can find it from the RREF of A by looking at the zero rows and the row operations used. But the transpose method is much easier! Use our Null Space Calculator on Aįµ€.

Q: What does left null space tell me about row dependencies?

A: Every vector in the left null space gives coefficients for a linear combination of rows that equals zero. If left null space is non-trivial, rows are linearly dependent!

Q: Is the left null space related to the column space?

A: Yes! They are orthogonal complements in ā„įµ. Every vector in ā„įµ can be uniquely decomposed into a column space part + left null space part.


Practice Problems

Beginner

  1. Find the dimension of the left null space for a 4Ɨ3 matrix with rank 2.
  2. If A is 5Ɨ5 with rank 3, what is dim(Null(Aįµ€))?
  3. Can a 2Ɨ3 matrix have left null space dimension 0? Why or why not?

Intermediate

  1. Find a basis for the left null space of:

    $$ A = \begin{bmatrix} 1 & 2 & 3 \\ 2 & 4 & 6 \end{bmatrix} $$
  2. For the matrix above, verify that each basis vector is orthogonal to every column of A.

Advanced

  1. Prove that Col(A) and Null(Aįµ€) are orthogonal complements in ā„įµ.
  2. Show that the system Ax = b is consistent iff b āŸ‚ Null(Aįµ€).
Click to reveal solutions

1. dim = m - rank = 4 - 2 = 2

2. dim = m - rank = 5 - 3 = 2

3. No. For 2Ɨ3, m = 2. min left nullity = 2 - min(rank) = 2 - 2 = 0? Actually rank ≤ min(m,n) = 2, so nullity = 2 - rank. If rank=2, nullity=0. So YES, possible!

4. Basis: { [-2, 1, 0]įµ€, [-3, 0, 1]įµ€ }

5. Dot with column 1: (-2)(1) + 1(2) + 0(3) = 0 āœ“. Dot with column 2: (-2)(2) + 1(4) + 0(6) = 0 āœ“. (And for second vector).

6. Hint: Use the fact that rank(A) + nullity(Aįµ€) = m and dimension arguments with orthogonality.

7. Hint: b must be in Col(A). By orthogonal decomposition, b is orthogonal to any vector in Null(Aįµ€).



Summary

šŸŽÆ Key Takeaways

  • Left Null Space = Null(Aįµ€) = {y | yįµ€A = 0įµ€}
  • Dimension: m - rank(A) (the "missing" dimensions in column space)
  • Orthogonal complement of the column space in ā„įµ
  • Reveals linear dependencies among rows of A
  • Essential for system consistency, least squares, and control theory

šŸ’” Pro Tip: Finding left null space = finding null space of Aįµ€. Use our Null Space Calculator on the transpose!


Try It Yourself!

Use the calculator above to find left null spaces:

  1. Enter your matrix A (any size up to 6Ɨ6)
  2. Click "Calculate" to see:
    • The left null space basis vectors
    • Dimension of the left null space
    • Relationship to row dependencies
    • Step-by-step computation via Aįµ€

šŸ“ Try these examples:

  • 3Ɨ2 rank-2 matrix: [[1,2],[3,4],[5,6]] → left nullity = 1 (a line)
  • 2Ɨ3 rank-1 matrix: [[1,2,3],[2,4,6]] → left nullity = 1
  • Square singular matrix: [[1,2],[2,4]] → left nullity = 1

šŸ”— Next Steps: Once you've mastered the left null space, explore the Column Space and Null Space to complete the four fundamental subspaces!