Jupyter Notebooks for a Linear Algebra Course

Versión en español

Each Notebook is a study guide for one section of the book. It tells you which video to watch and what to read, and it proposes exercises to do on the computer with the Python module NAcAL. NAcAL uses the same notation as the book and the lectures. The book is in Spanish.

The links in the tables open each Notebook in the browser with MyBinder. Nothing needs to be installed. MyBinder is a free service: it takes a moment to start and it sometimes fails. Further down you can read how to work on your own computer.

To try code from the book or from the slides there is a blank Notebook. At the end it has a reminder of the most frequent commands.

Revised lectures

These Notebooks have been revised against the book, the videos and the class material.

Lecture 1. Vectors and matrices (notation and operations)

Sections of the book Videos Notebook
1.1 Vectors 1 Open Lecc01-Secc1.1-Eng.ipynb
1.2 Sums of vectors and products of vectors by scalars
1.3 Vectors as data
2 3 4 5 6 7 8 Open Lecc01-Secc1.2-Eng.ipynb
1.4 Matrices 9 10 11 12 Open Lecc01-Secc1.4-Eng.ipynb
1.5 Sum of matrices and product of matrices by scalars
1.6 Extension of the matrix notation and the rewriting rules
13 14
the others, not published yet
Open Lecc01-Secc1.5-Eng.ipynb

When you finish the Notebooks of the lecture, do on paper the problems for Lecture 1 of the class material. Use NAcAL to check the calculations.

Lecture 2. Linear combinations

Sections of the book Videos Notebook
2.1 Dot product none yet Open Lecc02-Secc2.1-Eng.ipynb
2.2 Matrix times vector none yet Open Lecc02-Secc2.2-Eng.ipynb
2.3 Vector times matrix none yet Open Lecc02-Secc2.3-Eng.ipynb
Drawing vectors in the plane. It is for the last three problems of the lecture.   Open DrawingVectors-Eng.ipynb
3D graphics of the slides for the lecture. The figures can be rotated in the browser. In the Notebook you can change the data.   Open Graphics3D-Lecc02-Eng.ipynb

When you finish the Notebooks of the lecture, do on paper the problems for Lecture 2 of the class material. Use NAcAL to check the calculations.

Lecture 3. Matrix multiplication

Sections of the book Videos Notebook
3.1 Product of matrices none yet Open Lecc03-Secc3.1-Eng.ipynb
3.2 New rewriting rules. Problems of the lecture none yet Open Lecc03-Secc3.2-Eng.ipynb
3.A Products of triangular matrices (appendix) none yet Open Lecc03-Secc3.A-Eng.ipynb
3.B and 3.C Submatrices and the product as a sum of products of submatrices (appendices) none yet Open Lecc03-Secc3.B-Eng.ipynb
3.D and 3.F Trace and powers of a matrix (appendices) none yet Open Lecc03-Secc3.D-Eng.ipynb

The last three Notebooks accompany the appendices. They are not needed to start Lecture 4.

When you finish the Notebook for Section 3.2, do on paper the problems for Lecture 3 of the class material. Use NAcAL to check the calculations.

Lecture 4. Elementary operations and elimination methods

Sections of the book Videos Notebook
4.1 Elementary operations and elementary matrices none yet Open Lecc04-Secc4.1-Eng.ipynb
4.2 Column elimination. Problems of the lecture none yet Open Lecc04-Secc4.2-Eng.ipynb
4.A Elementary row operations (appendix) none yet Open Lecc04-Secc4.A-Eng.ipynb
4.B The mirror of an elementary operation (appendix) none yet Open Lecc04-Secc4.B-Eng.ipynb

The last two Notebooks accompany the appendices. The one for Section 4.A can be left until Section 5.2. The one for Section 4.B can be left until Lecture 17.

When you finish the Notebook for Section 4.2, do on paper the problems for Lecture 4 of the class material. Use NAcAL to check the calculations.

Lecture 5: old Notebook

This Notebook is older than the revision. It works, but it does not follow the order of the book yet and it does not link the videos. It will be replaced.

Lecture Notebook
5. Inverse of a matrix. Rank of a matrix Lecc05-Secc5.1-Eng.ipynb

Lecture 6: 3D figure

Lecture 6 does not have Notebooks for its sections yet. It has this one, with a figure that the slides link to.

What it has Notebook
A plane and a line through the origin in R3. The figure can be rotated in the browser. In the Notebook you can change the data. Open Graphics3D-Lecc06-Eng.ipynb

The following lectures do not have a Notebook yet.

How to work on your own computer (recommended)

  1. Install Python.
  2. Install Jupyter, NAcAL and the drawing modules that some Notebooks use. In a terminal: pip install jupyterlab nacal matplotlib plotly
  3. Download the whole repository, or only the Notebooks you want.
  4. Open a terminal in the folder of the Notebooks and run jupyter lab. A browser window will open with the Notebooks.

If you only want to read the Notebooks, without running them, you can read their text here.

Author: Marcos Bujosa

Created: 2026-11-30 lun 23:23

Validate