Vectors
Quantities with both size and direction, written as columns of numbers, added head to tail and scaled by numbers.
Ready to learn
A vector such as is a step: so far along , so far along , so far along . Vectors add component by component, can be stretched by a number, and have a length given by Pythagoras, . Position vectors turn geometry into algebra: midpoints, ratios and straight lines become short calculations. Vectors lead to the dot and cross products, matrices, and gradients.
Where it shows up: In machine learning every input, word embedding and set of weights is a vector, and in quantum mechanics a state is a vector.
How to hold it: In your head
See a vector as a step with a size and a direction, and turn midpoints, ratios and lines into short vector sums.
What knowing it looks like
- Add, subtract and scale vectors, and find a vector's length and the unit vector in its direction.
- Use position vectors to find a midpoint or the point dividing a segment in a given ratio.
- Write the vector equation of the line through two points and decide whether a given point lies on it.
Test yourself
Let and . Find , its length, the unit vector in its direction, and the midpoint of .
Show the worked answer
Learn it with an AI
Copy this prompt into any AI assistant. It will take you through step by step at your level and finish with the test above.
Be my maths tutor. I'm learning "Vectors" (Bridge tier): Quantities with both size and direction, written as columns of numbers, added head to tail and scaled by numbers.
Teach it Socratically: first ask what I already know; then explain the core idea with one concrete example and why it's true; then give me three problems, one at a time, easy to hard. Wait for my answer, check every step, and point out mistakes without giving the answer away.
Finish by testing me with this: Let $A = (1, 2, -1)$ and $B = (3, -2, 3)$. Find $\overrightarrow{AB}$, its length, the unit vector in its direction, and the midpoint $M$ of $AB$.
Use LaTeX for formulas. When you say where it's used later (machine learning, quantum mechanics), be specific.Needs first
Nothing needed first: start any time.
Picks up from the children's map: Pythagoras' Theorem · Trigonometry basics · Transformations
Leads to
- Dot and Cross ProductsTwo ways to multiply vectors: the dot product gives a number that measures alignment; the cross product gives a vector perpendicular to both.Core · Multivariable & Vector Calculus
- Partial Derivatives and the GradientDerivatives of a function of several variables, taken one variable at a time, and the gradient vector that collects them.Undergraduate I · Multivariable & Vector Calculus
- Matrices as TransformationsA matrix is a rule that moves every vector in a straight-line-preserving way; its columns say where the basis vectors land.Core · Linear Algebra
- Motion with CalculusPosition, velocity and acceleration as a function and its first two derivatives, along a line or as vectors in space.Core · Physics
On the way to
Recommended
- OpenStax CalculusOpenStax, Rice University · BookA free, peer-reviewed calculus textbook in three volumes, from limits through series to vectors and multiple integrals, with worked examples and answers.
- Khan Academy: Multivariable CalculusKhan Academy · CourseFree, ad-free videos and exercises on partial derivatives, gradients, multiple integrals, divergence, curl and Stokes' theorem, taught largely by Grant Sanderson of 3Blue1Brown.
- Mathematics for Machine LearningDeisenroth, Faisal and Ong (Cambridge University Press) · BookA free book that gathers exactly the linear algebra, vector calculus, probability and optimisation machine learning uses, then applies them to regression, PCA and classification.
- 宋浩老师官方宋浩(山东财经大学) · Videos · 中文Full university courses in calculus, linear algebra and probability by a Shandong University of Finance and Economics lecturer, clear and good-humoured; a new calculus series came out in October 2026.