# Linear Algebra for Data Science final exam review

Source: https://helio.education/finals/linear-algebra-data

[Final exam review](https://helio.education/finals)

# Linear Algebra for Data Science final exam review

The topics, worked on a live board with an AI tutor.

[Start my review](https://helio.education/signup?next=%2Fhome%3Fcourse%3Dmath.linear-algebra-data)

## Units

1. Vectors, dot products and norms Vectors as arrows and data Vector addition and scaling Linear combinations and span [The dot product](https://helio.education/subjects/math/linear-algebra-data/dot-product) Norms and distance Practice Cara studied 2 hours and slept 8. Write her vector in the order (studied, slept).Answer (2, 8) Hint: Studied comes first Keep u = (3, 1) km but change the second leg to (2, 2) km. Find the net displacement.Answer (5, 3) km Hint: Add east to east first
2. Matrices as transformations Matrix-vector multiplication [Linear transformations](https://helio.education/subjects/math/linear-algebra-data/linear-transformations) [Rotations, reflections and projections](https://helio.education/subjects/math/linear-algebra-data/geometric-transformations) Practice Compute Ax for A = [[1, 2], [3, 4]] and x = (2, −1) by columns.Answer (0, 2) Hint: 2(1, 3) − (2, 4) Is S(x, y) = (2x, y²) linear? Test it on one vector.Answer No; S(0, 2) = (0, 4) but 2S(0, 1) = (0, 2) Hint: Double the input (0, 1) [Linear transformations](https://helio.education/subjects/math/linear-algebra-data/linear-transformations)
3. Matrix multiplication [Multiplication as composition](https://helio.education/subjects/math/linear-algebra-data/multiplication-composition) Four views of the product [Transpose and special matrices](https://helio.education/subjects/math/linear-algebra-data/transpose-special-matrices) Practice Send e₁ and e₂ through R first and then H, and write the two columns of the trip.Answer (1, 1) and (−1, 0) Hint: R sends e₁ to (0, 1), then H sends (0, 1) to (1, 1) [Multiplication as composition](https://helio.education/subjects/math/linear-algebra-data/multiplication-composition) Find the entry in row 1, column 2 of [[2, 1], [0, 3]] times [[1, 4], [2, 0]].Answer 8 Hint: (2, 1) · (4, 0)
4. Linear systems and elimination [Row and column pictures](https://helio.education/subjects/math/linear-algebra-data/row-column-pictures) [Gaussian elimination](https://helio.education/subjects/math/linear-algebra-data/gaussian-elimination) [Reduced row echelon form](https://helio.education/subjects/math/linear-algebra-data/rref-solutions) [LU factorization](https://helio.education/subjects/math/linear-algebra-data/lu-factorization) Practice Solve x + y = 5 and x − y = 1 and say where the lines cross.Answer (3, 2) Hint: Add the equations [Row and column pictures](https://helio.education/subjects/math/linear-algebra-data/row-column-pictures) Solve x + y = 5, 3x + 2y = 12 by subtracting 3 times row 1 from row 2.Answer y = 3 and x = 2 Hint: Row 2 becomes (0, −1 | −3) [Gaussian elimination](https://helio.education/subjects/math/linear-algebra-data/gaussian-elimination)
5. Rank and inverses What exams ask Every solver, regression and change of coordinates in data work needs A⁻¹ to exist, and one quick test tells you before you compute anything whether a system has exactly one answer. Rank [The inverse matrix](https://helio.education/subjects/math/linear-algebra-data/matrix-inverse) [When a matrix is invertible](https://helio.education/subjects/math/linear-algebra-data/invertibility) Numerical conditioning Practice Find the rank of [[1, 2, 3], [2, 4, 6], [1, 0, 1]].Answer 2 Hint: Row 2 − 2 · row 1 is zero, and row 3 − row 1 = (0, −2, −2) Check that [[3, 1], [5, 2]] and [[2, −1], [−5, 3]] are inverses.Answer 3 · 2 + 1 · (−5) = 1, 3 · (−1) + 1 · 3 = 0, 5 · 2 + 2 · (−5) = 0, 5 · (−1) + 2 · 3 = 1, so the product is I Hint: Multiply row by column [The inverse matrix](https://helio.education/subjects/math/linear-algebra-data/matrix-inverse)
6. Vector spaces and subspaces [Vector spaces](https://helio.education/subjects/math/linear-algebra-data/vector-space-axioms) [Column space and null space](https://helio.education/subjects/math/linear-algebra-data/column-null-space) The four fundamental subspaces Practice Is the set of (x, y) with xy = 0 a subspace of ℝ²? Test (1, 0) and (0, 1).Answer No; both are in it but (1, 0) + (0, 1) = (1, 1) has xy = 1 Hint: It is the union of the two axes [Vector spaces](https://helio.education/subjects/math/linear-algebra-data/vector-space-axioms) For A = [[1, 3], [2, 6]], is b = (2, 5) in C(A)?Answer No; outputs are multiples of (1, 2) and (2, 5) is not Hint: Compare the two entries [Column space and null space](https://helio.education/subjects/math/linear-algebra-data/column-null-space)
7. Bases and dimension [Linear independence](https://helio.education/subjects/math/linear-algebra-data/linear-independence) [Basis and dimension](https://helio.education/subjects/math/linear-algebra-data/basis-dimension) [Coordinates and change of basis](https://helio.education/subjects/math/linear-algebra-data/change-of-basis) [The rank-nullity theorem](https://helio.education/subjects/math/linear-algebra-data/rank-nullity) Practice Are (1, 1) and (1, −1) independent?Answer Yes; c₁ + c₂ = 0 and c₁ − c₂ = 0 give c₁ = c₂ = 0 Hint: Add and subtract the two equations [Linear independence](https://helio.education/subjects/math/linear-algebra-data/linear-independence) Do (1, 2) and (3, 4) form a basis of ℝ²?Answer Yes; they are independent, since 1·4 − 2·3 = −2 ≠ 0 Hint: Neither is a multiple of the other [Basis and dimension](https://helio.education/subjects/math/linear-algebra-data/basis-dimension)
8. Orthogonality and projections [Orthogonal vectors and subspaces](https://helio.education/subjects/math/linear-algebra-data/orthogonal-subspaces) Projection onto a line [Projection onto a subspace](https://helio.education/subjects/math/linear-algebra-data/projection-subspace) [Gram-Schmidt and QR](https://helio.education/subjects/math/linear-algebra-data/gram-schmidt-qr) Practice Find a vector orthogonal to (3, −2) and give the dot product that proves it.Answer (2, 3), since 3·2 + (−2)·3 = 0 Hint: Swap the entries and change one sign [Orthogonal vectors and subspaces](https://helio.education/subjects/math/linear-algebra-data/orthogonal-subspaces) Project b = (3, 4) onto a = (1, 1) and give the error.Answer p = (7/2, 7/2) and e = (−1/2, 1/2) Hint: a·b = 7, a·a = 2
9. Least squares [The normal equations](https://helio.education/subjects/math/linear-algebra-data/normal-equations-la) [Fitting lines and curves](https://helio.education/subjects/math/linear-algebra-data/fitting-lines-curves) Least squares in practice Practice Write A and b for the points (0, 1), (1, 1), (2, 4) and test whether Ax = b is solvable.Answer A = [[1, 0], [1, 1], [1, 2]], b = (1, 1, 4); not solvable, since C = 1 and C + D = 1 give D = 0 but then C + 2D = 1 ≠ 4 Hint: Use rows 1 and 2 first [The normal equations](https://helio.education/subjects/math/linear-algebra-data/normal-equations-la) Fit y = C + Dx to (0, 2), (1, 3), (2, 7).Answer y = 1.5 + 2.5x Hint: 3C + 3D = 12 and 3C + 5D = 17 [Fitting lines and curves](https://helio.education/subjects/math/linear-algebra-data/fitting-lines-curves)
10. Eigenvalues and diagonalization [Eigenvalues and eigenvectors](https://helio.education/subjects/math/linear-algebra-data/eigen-definition) [The characteristic polynomial](https://helio.education/subjects/math/linear-algebra-data/characteristic-polynomial) [Diagonalizing a matrix](https://helio.education/subjects/math/linear-algebra-data/diagonalizing) [Symmetric matrices and the spectral theorem](https://helio.education/subjects/math/linear-algebra-data/spectral-theorem) [Positive definite matrices](https://helio.education/subjects/math/linear-algebra-data/positive-definite) Practice For A = [[2, 1], [1, 2]], check that (2, 1) is not an eigenvector.Answer A(2, 1) = (5, 4), not a multiple of (2, 1) Hint: Compare the ratios 5/2 and 4/1 [Eigenvalues and eigenvectors](https://helio.education/subjects/math/linear-algebra-data/eigen-definition) Find the characteristic polynomial and eigenvalues of [[5, 2], [2, 2]].Answer λ² − 7λ + 6 = (λ − 1)(λ − 6), so λ = 1 and λ = 6 Hint: Trace 7, determinant 10 − 4 = 6 [The characteristic polynomial](https://helio.education/subjects/math/linear-algebra-data/characteristic-polynomial)
- Singular value decomposition: Practice: (1, 0) and (0, 1); σ = 3 and 2: Hint: Lengths are never negative, so −3 gives 3: AᵀA = [[5, 4], [4, 5]]; σ = 3 and 1; V = (1/√2)[[1, −1], [1, 1]]: Hint: Trace 10, determinant 9
- Principal component analysis: Practice: Means 4 and 7; rows (−2, 0), (0, −2), (2, 2): Hint: Each column of the result sums to zero: 5 and 1: Hint: uᵀCu with C = [[5, 4], [4, 5]]

[The whole course](https://helio.education/subjects/math/linear-algebra-data)

## Questions

### What does the Linear Algebra for Data Science review cover?

Every unit of the course, 12 in all. Pick one and Helio teaches it on the board, then asks you questions. Vectors, dot products and norms; Matrices as transformations; Matrix multiplication; Linear systems and elimination; Rank and inverses; Vector spaces and subspaces; Bases and dimension; Orthogonality and projections; Least squares; Eigenvalues and diagonalization; Singular value decomposition; Principal component analysis.

### Can it help the week before my final?

Yes. Pick a topic, and Helio explains it, checks you and goes over what you miss.

### Is it the same as my class?

It follows the usual topics of Linear Algebra for Data Science. For anything else on your syllabus, type the topic and Helio teaches that too.

### How much is free?

30 minutes a month for one learner, with no card. Starter is free for 7 days with a card: cancel in time and pay nothing.

## More courses

- [Introductory Statistics](https://helio.education/finals/intro-statistics)
- [Probability](https://helio.education/finals/probability)
- [Statistical Inference](https://helio.education/finals/statistical-inference)
- [Regression Analysis](https://helio.education/finals/regression-analysis)
- [Introduction to Data Science](https://helio.education/finals/intro-data-science)
- [Mathematical Statistics](https://helio.education/finals/mathematical-statistics)

[Final exam review](https://helio.education/finals)

## A tutor you can talk to

30 minutes every month. No card.

[Start my review](https://helio.education/signup?next=%2Fhome%3Fcourse%3Dmath.linear-algebra-data)

---

# Helio at a glance

> Helio is an AI tutor you talk to, in math, science, English and history. It draws each step on a board and checks the math.

## Key facts

- 187 courses, from first sums to college math.
- What is Helio, and who is it for? An AI tutor you talk to, and it draws each step on a board. It’s for kids in school, college students and adults.
- How is Helio different from a chatbot? You talk, and it draws each step on a board. Course lessons follow a plan made ahead, and every math step is checked.
- How much is free? 30 minutes a month for one learner, with no card. Starter is free for 7 days with a card: cancel in time and pay nothing.
- Which subjects does Helio teach? Math, science, reading and writing, history and computer science. Math goes deepest, and every math step is checked.
- Which language are lessons in? English, Spanish, French, Arabic, Hindi and many more. Pick one in settings, or just speak it.
- What do I need? A phone, tablet or computer with a mic, and a quiet spot.
- How long is a session? Most lessons take 15 to 20 minutes.
- Can my child type instead of talking? Yes. They can type, or choose to write their answers on the board.
- Can Helio help with homework? Yes. Take a photo of up to ten pages, and work through the problems together.
- Does Helio just give the answer? No. It teaches the steps, then hands over the pen.
- Is Helio always right? Not always. Outside math it can be wrong, so ask why.
- Is my child's voice recorded? No. Speech becomes text, and the sound is not saved.
- What can I see as a parent? What your child knows, in plain words, and a replay of each lesson.
- How does my child sign in? With a code and secret words. Children do not need an email.
- Can a whole class use Helio? Yes. Students join a class with a code, and the teacher sees who is stuck.
- Does Helio work with Clever or ClassLink? Not yet. A class code works everywhere, and students need no email.
- The website is in English, Español, Português, Français, Deutsch, Italiano, العربية, עברית, Türkçe, Română, Русский, हिन्दी, 中文, 日本語, 한국어 and Tiếng Việt.
- Helio is made by Surf Platforms Inc. in San Jose, California. Contact: support@helio.education
- To start: make an account at https://helio.education/signup and pick a course or bring homework. Schools start at https://helio.education/schools.

## Plans

- Helio Free: $0. 30 minutes a month, for one learner.
- Helio Starter: $15 a month, or $160 a year. 2 hours a month, for one learner.
- Helio Plus: $50 a month, or $500 a year. 5 hours a month, for one learner.
- Helio Pro: $100 a month, or $1,000 a year. 10 hours a month, shared by up to 3 learners.
- Helio Ultra: $200 a month, or $2,000 a year. 20 hours a month, shared by up to 5 learners.
