
Students who did well in calculus are often thrown by this course, and students who struggled with calculus sometimes find it suits them. Both are normal. This guide explains why, using what universities say about their own courses, and shows a few ideas in code.
We are the engineering team at DoMyProgrammingHomework.io. We are engineers, not mathematicians. Every quote is from a university page we read on December 3, 2026, and we ran the code with NumPy on Python 3.13.
Why it feels different
Princeton’s mathematics department describes the experience more honestly than most:
- “It takes time to digest the new ideas and methods and you can feel quite lost in the meantime.”
- “The calculations are relatively simple once you understand what you need to compute”.
- “in 202 the challenge is often in seeing how to start the problem”.
That is the heart of it. In calculus, most problems tell you which technique to use. In linear algebra the question is often about an idea: whether a set of vectors spans a space, what a matrix does to every point at once. Princeton again: “many students find it difficult in a new way that can be rather disconcerting”.
Stanford names the shift in thinking. It involves “the importance of precise definitions, and the utility of thinking in terms of properties rather than explicit numbers”.
There is also a lot of new vocabulary at once. Stanford’s own course FAQ asks the question for its students: “There are so many new terms and concepts to absorb. How can I handle it?”
There are two kinds of linear algebra course
This matters more than anything else on this page. Find out which one you are in.
| University | The computational course | The proof-based course |
|---|---|---|
| MIT | 18.06: “emphasizing topics useful in other disciplines” | 18.700: “More emphasis on theory and proofs than in 18.06.” |
| Stanford | Math 51: “emphasizes computations alongside an intuitive understanding of key ideas.” | Math 113: “Includes an introduction to proof-writing.” |
| UC Berkeley | Math 54, Linear Algebra & Differential Equations | Math 110, Abstract Linear Algebra |
| UT Austin | M 340L: “Techniques of matrix calculations and applications of linear algebra.” | M 341: “Some emphasis on rigor and proofs.” |
| Illinois | MATH 257: “linear algebra concepts with computational tools” | MATH 416: “Rigorous proof-oriented course in linear algebra.” |
| Princeton | MAT 202, Linear Algebra with Applications | MAT 217: “with an emphasis on proof rather than applications.” |
| Georgia Tech | MATH 1554 | MATH 1564: “taught at a sophisticated and abstract level.” |
| Harvard | Math 21b | Math 22a: “Students are taught techniques of proof and mathematical reasoning.” |
| Cornell | MATH 2940, Linear Algebra for Engineers | MATH 2210: “students will be required to produce some proofs in their homework and on exams.” |
| Michigan | Math 214: “Focus on applications to computer science, data science, etc.” | Math 217: “Learn both linear algebra and how to write proofs in one course” |
The proof-based version is often a student’s first course in writing proofs, on top of the new subject. Princeton says of one of its courses: “It will be a first introduction to mathematical proofs for most students.” Its advice for proof courses in general: “The transition from concrete calculations to abstract mathematical thinking is very challenging for most students.”
Computer science degrees usually accept the computational version. If proofs are the part you fear, we wrote about them in is discrete math hard?
How much time it takes
| University | What it says |
|---|---|
| Princeton, MAT 202 | “you should be ready to spend at least 10 hours per week working outside of class.” |
| Illinois, MATH 257 | “students are expected to dedicate 9 hours per week to learning course content.” |
| MIT, 18.06 | “MIT expects its students to spend about 150 hours on this course.” |
Those figures agree with each other. Ten hours a week across a term is about 150 hours.
Three ideas, shown in code
The computer does the arithmetic instantly. That is why the course is about ideas.
Solving a system of equations. Two equations, two unknowns: 2x + y = 5 and x + 3y = 10.
import numpy as np
A = np.array([[2, 1],
[1, 3]])
b = np.array([5, 10])
x = np.linalg.solve(A, b)
print(x)
print(A @ x)[1. 3.]
[ 5. 10.]So x is 1 and y is 3, and multiplying back gives the right-hand side. The course asks what the computer can’t tell you: when does a system like this have no solution, or infinitely many?
Order matters. With ordinary numbers, 2 times 3 equals 3 times 2. With matrices it usually doesn’t.
import numpy as np
A = np.array([[1, 2],
[0, 1]])
B = np.array([[0, 1],
[1, 0]])
print(A @ B)
print(B @ A)[[2 1]
[1 0]]
[[0 1]
[1 2]]Two different answers. A habit you have had since primary school stops working, and that is typical of the course.
A matrix is an action. This matrix turns any point a quarter of the way round the origin.
import numpy as np
quarter_turn = np.array([[0, -1],
[1, 0]])
point = np.array([3, 1])
print(quarter_turn @ point)[-1 3]Seeing a matrix as something that moves space, not as a grid of numbers, is the picture the course is trying to build. UC Berkeley’s machine learning course says why it matters later: “It’s not enough to know how to work with matrix algebra equations; it’s equally important to have a geometric intuition for what it all means.”
Why computer science students take it
| University | The requirement |
|---|---|
| UT Austin | “M 340L Matrices and Matrix Calculations” or “M 341 Linear Algebra and Matrix Theory” |
| Texas A&M | “MATH 304 Linear Algebra”, with a grade of C or better |
| Purdue | Students must complete “a course in linear algebra (MA 26500 or MA 35100)” |
| Washington | Calculus and “MATH 208”, Matrix Algebra with Applications |
| Michigan, engineering | “Mathematics 115, 116, and 214” |
| UC Berkeley | Math 54 or Math 56 |
| MIT | Linear algebra is one choice in a list of math subjects |
| Maryland | Required for the data science, machine learning and quantum information specializations |
The reason is what comes after. These are prerequisite lines from real courses.
- Machine learning, MIT: “6.3900 Introduction to Machine Learning Prereq: (6.1000 or 6.1210) and (18.03 or 18.06)”.
- Machine learning, Stanford CS229: “familiarity with multivariable calculus and linear algebra”.
- Machine learning, Carnegie Mellon: students are expected to have “a pre-existing working knowledge of probability, calculus, linear algebra, and algorithms”.
- Computer graphics, MIT: 6.4400 Computer Graphics lists 18.06, or the newer linear algebra and optimization subject, as a prerequisite.
- Computer vision, Cornell: prerequisites include “MATH 2310 or MATH 2940”, its linear algebra courses.
The 2023 curriculum guidelines from the computing societies say the same about the field as a whole. Artificial intelligence, machine learning, robotics and data science “call for a renewed focus on probability, statistics, and linear algebra”.
Berkeley’s machine learning instructor is blunt about arriving without it. If you lack “a solid intuitive understanding of linear algebra, probability, and gradients”, then: “I strongly recommend not taking CS 189.”
So the grade matters less than what you keep. A student who scrapes through and forgets it is likely to meet the same material again at the start of a machine learning course.
Will you use a computer in the course?
It depends on the course, so check.
- Illinois, MATH 257: “The course integrates Python-based computation throughout”.
- MIT, 18.06: the catalog says it “Uses linear algebra software.” A recent offering used Julia as “just a “fancy calculator””.
- Stanford, Math 51: “There is no programming anywhere in the course.”
- Princeton, MAT 202: “no computational technology or internet resources are allowed on homework or exams in this class.”
Where your course allows it, checking your hand work with a few lines of NumPy is a good habit. You find out at once whether you were right. Where it is banned on homework, as at Princeton, follow the rule and save the code for your own practice problems.
How to get through it
- Do the homework properlyMIT: “The homeworks are essential in learning linear algebra.”
- Learn definitions word for wordThe proofs and the exam questions are built from them. Stanford calls precise definitions part of the new way of thinking.
- Start problems before you feel readyPrinceton: “The abstract ideas get clearer as you work with them longer and apply them in more concrete scenarios.”
- Use office hours and other peoplePrinceton: “Go to office hours, work with others, attend the review sessions.”
- Work old examsPrinceton: “you need to work through a lot of extra problems from past exams and quizzes.”
- Draw itFor two and three dimensions, sketch what the matrix does. This one is our advice, not a quote.
Feeling lost early is expected. Princeton’s line for its proof courses applies here too: “Do not get discouraged if your progress is slow.”
Free official material
- MIT OpenCourseWare, 18.06. The full course, with lecture videos, problem sets and exams with solutions. The lectures are “of Professor Gilbert Strang teaching 18.06” and “were recorded live in the Fall of 1999.”
- MIT OpenCourseWare, 18.06SC. A version “designed for independent study”, where “Each session has a video lecture on the topic, accompanied by a lecture summary.”
- Georgia Tech, Interactive Linear Algebra. A free online textbook by Dan Margalit and Joseph Rabinoff, published under a free documentation license.
Do you need calculus first?
Most of the courses above list calculus as a prerequisite. The subject itself doesn’t depend on it. MIT’s self-study course says “knowledge of calculus is not required to learn the subject”, and the computing societies’ guidelines note that “linear algebra can be taught as an applied course without a calculus prerequisite”.
What you do need, in MIT’s words, is to “be comfortable with vectors, matrices, and three-dimensional coordinate systems.”
Where we can help
We work on the programming side: assignments in NumPy and MATLAB, and the machine learning projects that sit on top of linear algebra. Send us the assignment, and a senior engineer writes or fixes it, tests it and explains the code line by line. See MATLAB homework help, Python homework help, machine learning homework help and data science homework help. We don’t take proof-based math problem sets.
If you are deciding how much math you want in a degree, see computer science vs information technology and computer science vs data science.
Questions students ask
Is linear algebra hard?
It is hard in a different way from calculus. The calculations are simple, but the course is abstract, and the difficulty is in understanding what a question asks. Princeton tells its students the class is quite abstract and algebraic and that they can feel quite lost while the ideas sink in.
Is linear algebra harder than calculus?
It is different, not simply harder. Princeton says many students find it difficult in a new way, because the challenge is seeing how to start a problem and not carrying out a long calculation. A proof-based version is harder than a computational one.
Do you need calculus for linear algebra?
Most university courses list calculus as a prerequisite, but the subject does not depend on it. MIT’s self-study course says knowledge of calculus is not required to learn the subject, and the computing curriculum guidelines say it can be taught without a calculus prerequisite.
Do computer science majors need linear algebra?
Usually. UT Austin, Texas A&M, Purdue, Washington and Michigan all name a linear algebra course in their computer science requirements. At MIT it is one choice in a list, and at Maryland it is required for certain specializations.
Is linear algebra needed for machine learning?
Yes. Machine learning courses at MIT, Stanford, Carnegie Mellon and UC Berkeley all list linear algebra as a prerequisite or expected background. Berkeley’s instructor recommends not taking the course without a solid intuitive understanding of it.
How many hours a week does linear algebra take?
About 9 or 10 outside class. Princeton tells students to be ready to spend at least 10 hours a week, Illinois says 9 hours a week for its 3-credit course, and MIT expects about 150 hours over the whole course.
What is the difference between computational and proof-based linear algebra?
The computational course teaches matrix methods and their applications. The proof-based course covers similar topics in the general setting of vector spaces and asks you to write proofs. MIT describes its proof-based subject as having more emphasis on theory and proofs than its standard one.
Sources
- MIT: mathematics subjects, electrical engineering and computer science subjects, computer science degree chart, OpenCourseWare 18.06 and OpenCourseWare 18.06SC
- Princeton mathematics: MAT 202, MAT 204, MAT 217 and proof-based courses
- Stanford: Math 51, Math 113, Math 104 vs Math 113, the Math 51 course site and CS229
- UC Berkeley: Math 54, Math 110, computer science lower-division requirements and CS 189
- UT Austin catalog: mathematics courses and computer science degree
- University of Illinois: MATH 257, MATH 416 and the MATH 257 syllabus
- Georgia Tech: MATH 1554, MATH 1564 and Interactive Linear Algebra
- Harvard mathematics: Math 21b and Math 22a
- Cornell class roster: MATH 2210, MATH 2940 and CS 4670
- University of Michigan: map of starting math courses and computer science sample schedule
- Computer science requirements: Texas A&M, Purdue, Washington and Maryland
- Carnegie Mellon 10-301 and 10-601
- ACM, IEEE-CS and AAAI Computer Science Curricula 2023: body of knowledge
The University of Michigan’s main course pages and Carnegie Mellon’s catalog would not load, so Michigan is quoted from its advising map. The MIT line about Julia is from the course’s Fall 2022 materials.
Upload the prompt and see a predicted budget in under a minute. A senior engineer confirms the final price.


