Introduction#
Course Objectives#
In this course, we will learn the basics of Linear Algebra by being hands-on using the open source SageMath software. Only basic math knowledge required to follow this course!!
I created this workshop as revision notes while I was learning Linear Algebra, but it may be useful for students who prefer to get hands-on with concepts before jumping deep into theory.
If you like this project, please give it a star on Github.
How to run the notebooks#
View: to view the notebooks, you can start here
Interact: If you would like an interactive environment to experiment with the notebook code, you can run then online for free here
Notes for the interactive environment:
it may take about 5 mins to launch the environment
notebook state is not persisted - anything you add is lost when the notebook session closes
the notebooks have an inactivity timeout of 10 mins after which the session closes
Feedback#
If after following this workshop you feel that the objectives haven’t been achieved, please email me with your feedback.
Pre-requisites#
You should have basic Python knowledge and be familiar with using Jupyter Notebooks. If not, the following free hands-on workshops are recommended:
Contents#
Notebook |
Description |
|---|---|
Learn the fundamentals of working with vectors, including vector addition, scalar multiplication, and vector operations in geometric and algebraic contexts. |
|
Explore matrices, their properties, and operations such as addition, multiplication, and inversion. Understand how matrices are used to represent linear transformations. |
|
Learn about the Gaussian elimination method for solving systems of linear equations and transforming matrices into reduced row-echelon form. |
|
Investigate solution sets of linear systems, including unique solutions, infinite solutions and no solutions. |
|
Study vector spaces, their properties, and examples from various fields. Explore concepts such as linear independence, spanning sets, and basis vectors. |
|
Understand the concept of linear dependence and independence among vectors and its implications for vector spaces and systems of equations. |
|
Study the span of a set of vectors, which represents all possible linear combinations of those vectors. Understand its connection to subspaces and basis vectors. |
|
Learn about basis vectors, which form the building blocks for vector spaces. Understand how basis vectors can be used to represent other vectors uniquely. |
|
Explore subspaces of vector spaces, including their definitions, properties, and examples, such as column spaces, row spaces, and null spaces. |
|
Investigate homogeneous linear systems, which have solutions that form vector spaces. Understand their relationship to null spaces and the nullity of matrices. |
|
Explore spaces of matrices, including their properties, dimensions, and relationships to vector spaces. |
|
Study linear transformations, which are functions that preserve vector addition and scalar multiplication. Understand their properties and geometric interpretations. |
|
Investigate the relationship between the null space and the column space of a matrix, as well as their dimensions and properties. |
|
Explore projections of vectors onto subspaces, including orthogonal and non-orthogonal projections. Understand their applications in various fields. |
|
Study orthogonality between vectors and subspaces, including orthogonal complements and orthogonal bases. Understand its significance in geometry and linear algebra. |
|
Define determinants, explain their geometric interpretation, and show how to compute them. Understand their role in determining properties of matrices and their applications. |
|
Introduce the concept of eigenvalues and eigenvectors, their geometric interpretation, and their computation. Understand their significance in diagonalizing matrices and solving systems of differential equations. |
|
LU Decomposition, QR Decomposition, Cholesky Decomposition, Eigendecomposition |
|
Singular Values, Singular Vectors, Applications of SVD, Principal Component Analysis |
|
Least Squares, Distance, Transpose. |
|
SageMath linear algebra quick reference, and tutorials. |