Advanced Mathematics

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 (2,−4,4)(2, -4, 4) is a step: so far along xx, so far along yy, so far along zz. Vectors add component by component, can be stretched by a number, and have a length given by Pythagoras, a2+b2+c2\sqrt{a^2 + b^2 + c^2}. Position vectors turn geometry into algebra: midpoints, ratios and straight lines r=a+td\mathbf{r} = \mathbf{a} + t\mathbf{d} 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 A=(1,2,−1)A = (1, 2, -1) and B=(3,−2,3)B = (3, -2, 3). Find AB→\overrightarrow{AB}, its length, the unit vector in its direction, and the midpoint MM of ABAB.
Show the worked answer
AB→=B−A=(2,−4,4)\overrightarrow{AB} = B - A = (2, -4, 4). Its length is 4+16+16=36=6\sqrt{4 + 16 + 16} = \sqrt{36} = 6. The unit vector is 16(2,−4,4)=(13,−23,23)\frac{1}{6}(2, -4, 4) = \left(\frac{1}{3}, -\frac{2}{3}, \frac{2}{3}\right). The midpoint is 12(A+B)=(2,0,1)\frac{1}{2}(A + B) = (2, 0, 1). The usual slip is computing A−BA - B, which points the other way.

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.

On the way to

Recommended