Home Mathematics On the dimension of the algebraic sum of subspaces
Article Open Access

On the dimension of the algebraic sum of subspaces

  • Gregoris Makrides and Tomasz Szemberg EMAIL logo
Published/Copyright: April 9, 2025

Abstract

We provide a recursive formula for the dimension of the algebraic sum of finitely many subspaces in a finite-dimensional vector space over an arbitrary field.

MSC 2010: 15A03

1 Introduction

The main purpose of this article is to prove the following fundamental result.

Theorem 1.1

Let U be a finite-dimensional vector space over an arbitrary field F . Let U 1 , , U n be linear subspaces of U. Then,

(1) ( n 1 ) dim ( U 1 + U 2 + + U n ) = dim ( U 1 ) + dim ( U 2 ) + + dim ( U n ) dim ( U 1 U 2 U n ) ,

where

U i U 1 + + U i 1 + U i + 1 + + U n ,

for i = 1 , , n .

For n = 2 , Theorem 1.1 reduces to a simple exercise in a standard linear algebra course to the effect that

(2) dim ( U 1 + U 2 ) = dim ( U 1 * ) + dim ( U 2 * ) dim ( U 1 * U 2 * ) = dim ( U 2 ) + dim ( U 1 ) dim ( U 2 U 1 ) .

It is one of the most common misconceptions in mathematics that formula (2) can be generalized to more than two summands using the inclusion-exclusion principle [1]. Following this reasoning, one might expect the formula

(3) dim ( U 1 + U 2 + U 3 ) = dim ( U 1 ) + dim ( U 2 ) + dim ( U 3 ) dim ( U 1 U 2 ) dim ( U 1 U 3 ) dim ( U 2 U 3 ) + dim ( U 1 U 2 U 3 ) ,

to hold for three summands. However, if we take three distinct lines in a two-dimensional vector space U over an arbitrary field F as the subspaces U 1 , U 2 , and U 3 , we immediately encounter a contradiction.

A deeper reason why (3) fails in general is that the lattice of vector spaces, with the operations of taking algebraic sums and intersections, is not distributive. For more details on lattices, see [2].

In some textbooks on linear algebra authors warn that generalizations of (2) as stipulated in (3) fail (see for example [3, Chapter 2, Exercises 19 and 20] or [4, Aufgabe 2.7.6]). However, we were not able to find the formula (1) in any of the textbooks we looked through.

We found formula (1) in the research article [5, Theorem 2] by Yongge Tian. However, his proof is quite intricate and primarily applicable to complex numbers, as it frequently relies on pseudo-inverse matrices. In contrast, our proof is much more elementary and holds true over any field.

2 Proof

In this section, we will prove our main result. The strategy is to prove first the case when the intersection on the right of formula (1) is just the zero vector and then to reduce the general situation to that case.

We begin with a simple but useful lemma.

Lemma 2.1

Let U be a finite-dimensional vector space over an arbitrary field F and let U 1 , , U n be the subspaces of U. The following conditions are equivalent:

  1. the algebraic sum U 1 + + U n is the direct sum U 1 U n ;

  2. for all 1 i n , there is U i U i * = 0 .

Proof

The implication from (a) to (b) is straightforward. For the opposite direction, let us assume (b) and show that any vector u U 1 + + U n has a unique presentation as

u = u 1 + + u n , with u i U i .

Suppose that we have two such presentations

u = u 1 + + u n = u 1 + + u n .

Then, for any 1 i n , we have

U i u i u i = ( u 1 u 1 ) + + ( u i 1 u i 1 ) + ( u i + 1 u i + 1 ) + + ( u n u n ) U i * .

By (b), this implies u i = u i for all i = 1 , , n , and we are done.□

We can now pass directly to the proof of Theorem 1.1.

Proof of Theorem 1.1

Case 1. Assume that

U 1 * U n * = 0 .

We claim that under this assumption, all algebraic sums appearing in formula (1) are direct sums. Of course, it suffices to show that it is the case for the sum of all involved subspaces, so we claim that

U 1 + + U n = U 1 U n .

We want to use Lemma 2.1, so let

u i U i U i * ,

for some 1 i n . Let j be an index different from i . Then, u i U j * because U i U j * for all j i . Since also u i was taken as an element of U i * , we conclude that

u i U 1 * U n * , hence u i = 0 by assumption .

It follows that the right-hand side of (1) is

dim ( U 1 ) + dim ( U 2 ) + + dim ( U n ) = dim ( U 2 ) + dim ( U 3 ) + + dim ( U n ) + dim ( U 1 ) + dim ( U 3 ) + + dim ( U n ) + dim ( U 1 ) + dim ( U 2 ) + + dim ( U n 1 ) = ( n 1 ) ( dim ( U 1 ) + dim ( U 2 ) + + dim ( U n ) ) ,

and we are done in this case.

Case 2. Let W U 1 * U n * be now arbitrary. The idea is to reduce the situation to Case 1, taking quotients of all involved spaces by W . In order to control the dimensions, we show that

W U 1 + + U n and W U i * , for all i = 1 , , n .

The containment W U i * follows by the definition of W , and of course, every U i * is contained in U 1 + + U n .

Let π : U U W be the quotient map. Then,

  1. dim ( π ( U 1 + + U n ) ) = dim ( U 1 + + U n ) dim ( W ) and;

  2. dim ( π ( U i * ) ) = dim ( U i * ) dim ( W ) .

Since taking the image of a linear map commutes with taking algebraic sums, we have

π ( U i * ) = π ( U i ) * = π ( U 1 ) + + π ( U i 1 ) + π ( U i + 1 ) + + π ( U n ) .

Moreover, formula (1) holds for subspaces π ( U 1 ) , , π ( U n ) in U W because by construction,

π ( U 1 ) * π ( U n ) * = 0 .

Indeed, let y π ( U 1 * ) π ( U n * ) . So there are elements x i U i * with π ( x i ) = y for i = 1 , , n . Hence, x i x j W for all i , j { 1 , , n } . But then x i = ( x i x j ) + x j U j * for all 1 i , j n , or equivalently, x i U 1 * U n * = W . Thus, y = π ( x i ) = 0 in U W .

Using (a) and (b) as mentioned earlier, it is now elementary to check that formula (1) holds for the spaces before taking the quotient.□

The following corollary, proposed by one of the referees, results in a more direct way the dimension of the sum of the spaces U i and the sum of their dimensions.

Corollary 2.2

Let U be a finite-dimensional vector space over an arbitrary field F . Let U 1 , , U n be linear subspaces of U. Then,

(4) dim i = 1 n U i + i = 1 n dim ( U i U i * ) = i = 1 n dim ( U i ) + dim i = 1 n U i * .

Proof

The idea is to use formula (2) for spaces U i and U i * . We have

(5.i) dim ( U i + U i * ) + dim ( U i U i * ) = dim ( U i ) + dim ( U i * ) .

Since U i + U i * = i = 1 n U i , adding equation (5.i) for i = 1 , , n , we obtain

(5) n dim i = 1 n U i + i = 1 n dim ( U i U i * ) = i = 1 n dim ( U i ) + i = 1 n dim ( U i * ) .

Now, subtracting (1) on both sides does the job.□

Acknowledgement

We would like to thank all referees for supporting comments and remarks. Corollary 2.2 is due to one of them.

  1. Funding information: The authors state no funding involved.

  2. Author contributions: Both authors have accepted responsibility for the entire content of this manuscript and consented to its submission to the journal, reviewed all the results, and approved the final version of the manuscript. TS prepared the manuscript with equal contribution from the co-author.

  3. Conflict of interest: The authors state no conflict of interest.

  4. Data availability statement: Data sharing is not applicable to this article as no datasets were generated or analysed during the current study.

References

[1] Examples of common false beliefs in mathematics, https://mathoverflow.net/questions/23478/examples-of-common-false-beliefs-in-mathematics, Accessed: 2024-06-19. Search in Google Scholar

[2] A. Polishchuk and L. Positselski, Quadratic Algebras, University Lecture Series, vol. 37, American Mathematical Society, Providence, RI, 2005. 10.1090/ulect/037Search in Google Scholar

[3] S. Axler, Linear Algebra Done Right, Undergraduate Texts in Mathematics, Springer, Cham, 2024. 10.1007/978-3-031-41026-0Search in Google Scholar

[4] B. Huppert and W. Willems, Lineare Algebra, Teubner, Wiesbaden, 2006. Search in Google Scholar

[5] Y. Tian, Formulas for calculating the dimensions of the sums and the intersections of a family of linear subspaces with applications, Beitr. Algebra Geom. 60 (2019), no. 3, 471–485. 10.1007/s13366-018-00432-9Search in Google Scholar

Received: 2024-08-21
Revised: 2024-12-15
Accepted: 2025-01-02
Published Online: 2025-04-09

© 2025 the author(s), published by De Gruyter

This work is licensed under the Creative Commons Attribution 4.0 International License.

Articles in the same Issue

  1. On I-convergence of nets of functions in fuzzy metric spaces
  2. Special Issue on Contemporary Developments in Graphs Defined on Algebraic Structures
  3. Forbidden subgraphs of TI-power graphs of finite groups
  4. Finite group with some c#-normal and S-quasinormally embedded subgroups
  5. Classifying cubic symmetric graphs of order 88p and 88p 2
  6. Two-sided zero-divisor graphs of orientation-preserving and order-decreasing transformation semigroups
  7. Simplicial complexes defined on groups
  8. Further results on permanents of Laplacian matrices of trees
  9. Algebra
  10. Classes of modules closed under projective covers
  11. On the dimension of the algebraic sum of subspaces
  12. Green's graphs of a semigroup
  13. On an uncertainty principle for small index subgroups of finite fields
  14. On a generalization of I-regularity
  15. Algorithm and linear convergence of the H-spectral radius of weakly irreducible quasi-positive tensors
  16. The hyperbolic CS decomposition of tensors based on the C-product
  17. On weakly classical 1-absorbing prime submodules
  18. Equational characterizations for some subclasses of domains
  19. Algebraic Geometry
  20. Spin(8, ℂ)-Higgs bundles fixed points through spectral data
  21. Embedding of lattices and K3-covers of an Enriques surface
  22. Kodaira-Spencer maps for elliptic orbispheres as isomorphisms of Frobenius algebras
  23. Applications in Computer and Information Sciences
  24. Dynamics of particulate emissions in the presence of autonomous vehicles
  25. Exploring homotopy with hyperspherical tracking to find complex roots with application to electrical circuits
  26. Category Theory
  27. The higher mapping cone axiom
  28. Combinatorics and Graph Theory
  29. 𝕮-inverse of graphs and mixed graphs
  30. On the spectral radius and energy of the degree distance matrix of a connected graph
  31. Some new bounds on resolvent energy of a graph
  32. Coloring the vertices of a graph with mutual-visibility property
  33. Ring graph induced by a ring endomorphism
  34. A note on the edge general position number of cactus graphs
  35. Complex Analysis
  36. Some results on value distribution concerning Hayman's alternative
  37. Freely quasiconformal and locally weakly quasisymmetric mappings in metric spaces
  38. A new result for entire functions and their shifts with two shared values
  39. On a subclass of multivalent functions defined by generalized multiplier transformation
  40. Singular direction of meromorphic functions with finite logarithmic order
  41. Growth theorems and coefficient bounds for g-starlike mappings of complex order λ
  42. Refinements of inequalities on extremal problems of polynomials
  43. Control Theory and Optimization
  44. Averaging method in optimal control problems for integro-differential equations
  45. On superstability of derivations in Banach algebras
  46. The robust isolated calmness of spectral norm regularized convex matrix optimization problems
  47. Observability on the classes of non-nilpotent solvable three-dimensional Lie groups
  48. Differential Equations
  49. The ill-posedness of the (non-)periodic traveling wave solution for the deformed continuous Heisenberg spin equation
  50. A note on the global existence and boundedness of an N-dimensional parabolic-elliptic predator-prey system with indirect pursuit-evasion interaction
  51. Blow-up of solutions for Euler-Bernoulli equation with nonlinear time delay
  52. Periodic or homoclinic orbit bifurcated from a heteroclinic loop for high-dimensional systems
  53. Regularity of weak solutions to the 3D stationary tropical climate model
  54. Local minimizers for the NLS equation with localized nonlinearity on noncompact metric graphs
  55. Global existence and blow-up of solutions to pseudo-parabolic equation for Baouendi-Grushin operator
  56. Bubbles clustered inside for almost-critical problems
  57. Existence and multiplicity of positive solutions for multiparameter periodic systems
  58. Existence of positive periodic solutions for evolution equations with delay in ordered Banach spaces
  59. On a nonlinear boundary value problems with impulse action
  60. Normalized ground-states for the Sobolev critical Kirchhoff equation with at least mass critical growth
  61. Multiple positive solutions to a p-Kirchhoff equation with logarithmic terms and concave terms
  62. Infinitely many solutions for a class of Kirchhoff-type equations
  63. Real and non-real eigenvalues of regular indefinite Sturm–Liouville problems
  64. Existence of global solutions to a semilinear thermoelastic system in three dimensions
  65. Limiting profile of positive solutions to heterogeneous elliptic BVPs with nonlinear flux decaying to negative infinity on a portion of the boundary
  66. Morse index of circular solutions for repulsive central force problems on surfaces
  67. Differential Geometry
  68. On tangent bundles of Walker four-manifolds
  69. Pedal and negative pedal surfaces of framed curves in the Euclidean 3-space
  70. Discrete Mathematics
  71. Eventually monotonic solutions of the generalized Fibonacci equations
  72. Dynamical Systems Ergodic Theory
  73. Dynamical properties of two-diffusion SIR epidemic model with Markovian switching
  74. A note on weighted measure-theoretic pressure
  75. Pullback attractors for a class of second-order delay evolution equations with dispersive and dissipative terms on unbounded domain
  76. Pullback attractor of the 2D non-autonomous magneto-micropolar fluid equations
  77. Functional Analysis
  78. Spectrum boundary domination of semiregularities in Banach algebras
  79. Approximate multi-Cauchy mappings on certain groupoids
  80. Investigating the modified UO-iteration process in Banach spaces by a digraph
  81. Tilings, sub-tilings, and spectral sets on p-adic space
  82. Continuity and essential norm of operators defined by infinite tridiagonal matrices in weighted Orlicz and l spaces
  83. A family of commuting contraction semigroups on l 1 ( N ) and l ( N )
  84. q-Stirling sequence spaces associated with q-Bell numbers
  85. Chlodowsky variant of Bernstein-type operators on the domain
  86. Hyponormality on a weighted Bergman space of an annulus with a general harmonic symbol
  87. Characterization of derivations on strongly double triangle subspace lattice algebras by local actions
  88. Fixed point approaches to the stability of Jensen’s functional equation
  89. Geometry
  90. The regularity of solutions to the Lp Gauss image problem
  91. Solving the quartic by conics
  92. Group Theory
  93. On a question of permutation groups acting on the power set
  94. A characterization of the translational hull of a weakly type B semigroup with E-properties
  95. Harmonic Analysis
  96. Eigenfunctions on an infinite Schrödinger network
  97. Maximal function and generalized fractional integral operators on the weighted Orlicz-Lorentz-Morrey spaces
  98. Subharmonic functions and associated measures in ℝn
  99. Mathematical Logic, Model Theory and Foundation
  100. A topology related to implication and upsets on a bounded BCK-algebra
  101. Boundedness of fractional sublinear operators on weighted grand Herz-Morrey spaces with variable exponents
  102. Number Theory
  103. Fibonacci vector and matrix p-norms
  104. Recurrence for probabilistic extension of Dowling polynomials
  105. Carmichael numbers composed of Piatetski-Shapiro primes in Beatty sequences
  106. The number of rational points of some classes of algebraic varieties over finite fields
  107. Classification and irreducibility of a class of integer polynomials
  108. Decompositions of the extended Selberg class functions
  109. Joint approximation of analytic functions by the shifts of Hurwitz zeta-functions in short intervals
  110. Fibonacci Cartan and Lucas Cartan numbers
  111. Recurrence relations satisfied by some arithmetic groups
  112. The hybrid power mean involving the Kloosterman sums and Dedekind sums
  113. Numerical Methods
  114. A modified predictor–corrector scheme with graded mesh for numerical solutions of nonlinear Ψ-caputo fractional-order systems
  115. A kind of univariate improved Shepard-Euler operators
  116. Probability and Statistics
  117. Statistical inference and data analysis of the record-based transmuted Burr X model
  118. Multiple G-Stratonovich integral in G-expectation space
  119. p-variation and Chung's LIL of sub-bifractional Brownian motion and applications
  120. Real Analysis
  121. Chebyshev polynomials of the first kind and the univariate Lommel function: Integral representations
  122. Multiple solutions for a class of fourth-order elliptic equations with critical growth
  123. Majorization-type inequalities for (m, M, ψ)-convex functions with applications
  124. The evaluation of a definite integral by the method of brackets illustrating its flexibility
  125. Some new Fejér type inequalities for (h, g; α - m)-convex functions
  126. Some new Hermite-Hadamard type inequalities for product of strongly h-convex functions on ellipsoids and balls
  127. Topology
  128. Unraveling chaos: A topological analysis of simplicial homology groups and their foldings
  129. A generalized fixed-point theorem for set-valued mappings in b-metric spaces
  130. On SI2-convergence in T0-spaces
  131. Generalized quandle polynomials and their applications to stuquandles, stuck links, and RNA folding
Downloaded on 5.2.2026 from https://www.degruyterbrill.com/document/doi/10.1515/math-2024-0128/html
Scroll to top button