An Introduction to Linear Algebra

Note

This page is not closely related to the other pages in the linear algebra category. However, the author believes that explaining the essence of linear algebra and tracing the origins and connections of its concepts is necessary to give readers an initial but systematic understanding.

Linear algebra was already used to solve problems involving systems of linear equations thousands of years ago, and it remains widely applicable today.

Linear algebra arose from people's observations. People noticed that many objects have similar properties, such as:

  • Forces can be decomposed and combined.

  • For arbitrary k,x0k,x_0, ksin⁡(x−x0)k \sin (x-x_0) can be decomposed into k1sin⁡x+k2cos⁡xk_1\sin x + k_2\cos x.

These properties are related to the scaling, decomposition, and superposition of the objects being described. Linear algebra abstracts these properties from concrete objects and studies them as an independent subject. In OI, linear algebra can be used directly to solve problems, and it can also be used to optimize algorithms, data structures, and so on. For example:

  • Maintain a linear basis with heavy-light decomposition to find the maximum xor sum on a path.

  • Use the matrix-tree theorem to transform the problem of counting spanning trees of a graph into finding a matrix determinant.

  • Use matrix exponentiation to optimize recurrences.

This content comes from OI Wiki: An Introduction to Linear Algebra. See the original for authors and revision history. AIOJ has adapted the formatting, in-site links, and resource paths.

Content is shared under CC BY-SA 4.0 and SATA license; additional terms are governed by the original notice. Thanks to the OI Wiki authors and contributors; per the SATA terms, please visit the OI Wiki repository and star it to show your support.