Vectors AI HL
A vector has a size and a direction, and most vector questions come down to three moves: subtract position vectors to get a displacement, find a magnitude, or use the scalar product to find an angle. The same moves give the vector equation of a line, the point where two lines meet and the closest approach of two moving objects. Work through the sections in order, because the line section uses the earlier work, and enter the components carefully on the calculator.
Formulas at a glance
The magnitude, the scalar product, the size of the vector product and the vector equation of a line are in the formula booklet, which writes the parameter as where this page uses . Unit vectors, the components of the vector product, the area of a triangle and are not, so learn them.
Magnitude of a vector
In the bookletUnit vector in the direction of a vector
Not in the bookletScalar product and the angle between two vectors
In the bookletScalar product from components
Not in the bookletSize of the vector product
In the bookletComponents of the vector product
Not in the bookletArea of a triangle from two side vectors
Not in the bookletVector equation of a line
In the bookletParametric form of a line
In the bookletPosition with constant velocity
Not in the bookletPosition from a velocity that varies with time
Not in the bookletWhich method to use
Decide first what the question asks for: a length, an angle, an area or a line. Then choose the tool that gives it directly, and write the vectors as components before using the calculator.
| The question has | Use | Notes |
|---|---|---|
| Two points, and the vector or the distance between them is wanted | Subtract the position vectors, end minus start, then find the magnitude | The order matters: |
| A direction, and a vector of a given length in that direction is wanted | Divide by the magnitude to get the unit vector, then multiply by the length | A speed in a direction gives a velocity in this way |
| Forces, displacements or velocities that act together | Add the vectors component by component to get the resultant | The magnitude of the resultant is not the sum of the magnitudes |
| The angle between two vectors or two lines | , then inverse cosine | A negative cosine means an obtuse angle; the acute angle between lines uses the positive value |
| A question whether two vectors are perpendicular | Check whether the scalar product is zero | No magnitudes or angles are needed |
| The area of a triangle or a parallelogram from vectors | The size of the vector product of two sides from the same vertex, halved for a triangle | The vector product is a vector, but the area is its magnitude |
| A line through two points, or a point and a direction | Direction , then | Any point on the line can be , and any non-zero multiple of is a direction |
| Two lines, and where they meet | Give the lines different parameters, equate the components and solve | In three dimensions check all three equations, because the lines may be skew |
| Two moving objects, and when or how close they come | Find the vector between them at time , then minimise its magnitude with the graph | At the closest approach the vector between them is perpendicular to the relative velocity |
| A velocity that changes with time, and the position, speed or highest point is wanted | Integrate each component for the position; the speed is the magnitude of the velocity; set one component to zero for a turning or highest point | The starting position fixes the constant of integration in each component |
Section 1 of 3 AHL3.10
Vector basics
A vector has both magnitude and direction, and in component form it is written as a column such as or as . Vectors are added, subtracted and multiplied by scalars one component at a time, and the magnitude comes from Pythagoras' theorem. A unit vector has magnitude and is found by dividing a vector by its magnitude.
Magnitude and unit vectors
Magnitude of a vector
The vector's length - Pythagoras' theorem extended to three components. Drop the term for a 2D vector.
✓ In the formula bookletUnit vector
Divide every component by the magnitude to rescale a vector to length without changing its direction.
Not in the bookletVector product and area
The vector product is a vector at right angles to both and , and is the area of a triangle with sides and . Its components are in the next section.
Key terms
What is the difference between a scalar and a vector?
A scalar has size only, while a vector has both size and direction. Distance and speed are scalars, and displacement and velocity are vectors.
e.g. A speed of 5 m/s is a scalar, but a velocity of 5 m/s due north is a vector.
What are the base vectors , and ?
They are unit vectors along the , and axes, so any vector can be written as a combination of them. The numbers in front of them are the components.
e.g. .
How do you find the vector between two points?
Subtract the position vector of the start from the position vector of the end, so . The order matters because .
e.g. For and , and .
What happens when a vector is multiplied by a scalar?
Every component is multiplied by the scalar, so the length is multiplied by the absolute value of the scalar. A negative scalar also reverses the direction.
e.g. , while .
Worked example, step by step
The question Calculator needed [6 marks]
A drone is at the point and flies in a straight line towards the point . Coordinates are in metres, measured from a fixed origin .
(a) Find the displacement vector .
(b) Find the distance .
(c) The drone flies from towards at a constant speed of 6 m/s. Find its velocity vector, giving each component to three significant figures.
Worked solution: worked example
Answer: (a) (b) m (c) m/s
Step 1 - Find the displacement.
Subtract the position vector of the start from that of the end: M1 - Subtract the position vectors, end minus start A1 -
Why? The displacement points from to , so the start is subtracted from the end. Reversing the order would give , which points the other way.
Step 2 - Find the distance.
The distance is the magnitude of the displacement: On the calculator, enter the square root of and read the value. M1 - A1 - m
Why? The square of a negative component is positive, so the sign of does not matter here. Keep the unrounded value, , for the next step.
Step 3 - Find the unit vector in the direction of the flight.
Divide each component by the magnitude:
Why? A unit vector has magnitude 1 and carries only the direction. Multiplying it by a speed gives a velocity of exactly that speed.
Step 4 - Scale to the speed.
The velocity is the speed times the unit vector, so Enter each component as divided by , and so on, using the stored magnitude. M1 - Multiply the unit vector in the direction of by the speed 6 A1 - m/s
Why? The direction is the direction of and the size is 6 m/s. Using the unrounded unit vector avoids rounding the components twice.
Step 5 - Check the speed.
, which is to the accuracy of the rounded components.
Why? The magnitude of the velocity must equal the speed. A different value would show that a component was scaled by the wrong factor.
M1 Subtract the position vectors, end minus start
A1
M1
A1 m
M1 Multiply the unit vector in the direction of by the speed 6
A1 m/s
Now you try: enter your answers to be marked
These are real practice questions. Type your answer in each box and press Mark it. The worked solution and mark scheme appear straight away, and your first attempt is the one that counts. Use the keyboard for powers, roots and trig, and the working box for your notes.
Worked solution: practice question 1
Find the magnitude of the resultant.
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 11 marks
Calculator steps: Magnitude, dot product and angle between vectors, Enter a calculation on the home screen
Common mistakes
- Treating magnitude as a vector. is a single number (a scalar) - don't write it in component form or try to add it directly to another vector.
- Dividing only one component when finding a unit vector. Every component must be divided by the same magnitude , not just the first one - a partial rescale changes the vector's direction as well as its length.
- Rounding the magnitude too early. If is used again in the same question (for a unit vector, a speed, or a further calculation), keep it exact or unrounded until the final answer - early rounding compounds into an inaccurate final value.
Section 2 of 3 AHL3.13
Dot product and angles
The scalar product of two vectors is a single number, found either by multiplying matching components and adding or from . Equating the two forms gives the angle between the vectors, and a scalar product of zero shows that two non-zero vectors are perpendicular. It also gives the component of one vector in the direction of another.
The scalar product formula
Scalar product / angle between vectors
In components, is found by multiplying matching entries and adding the results. Rearrange for to find the angle between two vectors.
✓ In the formula bookletPerpendicularity test
Two non-zero vectors and are perpendicular exactly when . This follows straight from the formula above, since - no need to find either magnitude first.
Vector (cross) product
The result is a vector at right angles to both and , and its size is , the area of the parallelogram with sides and . The area of a triangle with those sides is . The booklet gives only the size, so learn the components. The calculator can find the components, and the order matters because .
Key terms
What does the scalar product of a vector with itself give?
Since the angle between a vector and itself is , . This gives a quick way to find a magnitude.
e.g. For , , so .
How do you find the angle between two vectors?
Rearrange the definition to , then use inverse cosine. Find the scalar product and both magnitudes first.
e.g. For and , , so .
What does the sign of the scalar product tell you?
For non-zero vectors, a positive scalar product means the angle between them is acute, a negative one means it is obtuse, and zero means it is a right angle. The sign matches the sign of .
e.g. , which is negative, so the angle between the vectors is obtuse.
What is the component of one vector in the direction of another?
The component of in the direction of is . It measures how much of lies along .
e.g. For and , and , so the component is .
Worked example, step by step
The question Calculator needed (degree mode) [5 marks]
A triangular shade sail has its corners fixed at the points , and , with coordinates in metres.
(a) Find the angle at the corner , in degrees.
(b) Find the area of the sail.
Worked solution: worked example
Answer: (a) (b) m
Step 1 - Write the two sides from .
A1 - and
Why? The angle at is the angle between the two sides that start at , so both vectors must point away from .
Step 2 - Use the scalar product.
, and , so M1 - Use with their vectors
Why? Rearranging gives the cosine of the angle. The scalar product is positive, so the angle is acute.
Step 3 - Find the angle.
With the calculator in degree mode, . A1 -
Why? The answer is wanted in degrees, so check the angle mode before using inverse cosine. In radian mode the calculator would give 1.24.
Step 4 - Find the vector product.
and its magnitude is . M1 - Find
Why? The size of the vector product of two sides is the area of the parallelogram they span, and the sail is half of that parallelogram.
Step 5 - Halve for the triangle.
As a check, . A1 - m
Why? Two different routes, the vector product and one half of , agree, which confirms both the angle and the area.
A1 and
M1 Use with their vectors
A1
M1 Find
A1 m
Now you try: enter your answers to be marked
Worked solution: practice question 1
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 7 marks
Calculator steps: Magnitude, dot product and angle between vectors
Common mistakes
- Treating the dot product as a vector. is always a single number (a scalar) - it's the cross product, not the dot product, that produces another vector.
- Overcomplicating the perpendicularity test. There's no need to find , , or the angle itself to show two vectors are perpendicular - just show directly from the components.
- Wrong angle mode on the calculator. of a component ratio gives an answer in whatever mode the calculator is set to - check degrees vs radians before evaluating, or a fully correct method still scores the wrong final value.
Section 3 of 3 AHL3.11 AHL3.12
Vector equations of lines
A vector equation of a line has the form , where is the position vector of a point on the line, is a direction vector and is a parameter. To write one, find a point on the line and a direction, which is the difference of two position vectors if two points are given. It works in two and three dimensions.
The line formula
Vector equation of a line
is the position vector of any known point on the line, is a direction vector, and is a scalar parameter. If two points and are given, take as 's position vector and .
✓ In the formula bookletIntersection of two lines
Give each line its own parameter, e.g. for line 1 and for line 2. Equate the - and - (and -) components to get simultaneous equations, solve for and , then check every equation is satisfied with the same pair before stating the point.
Constant velocity
An object that starts at and moves with constant velocity has position at time , so its speed is . To compare two moving objects, find the vector between them at time : its magnitude is the distance, and the least value of that magnitude is the closest approach. They meet only if the same value of gives the same position for both.
Not in the bookletVariable velocity
When the velocity depends on time, for example , integrate each component to get the position, , and differentiate each component to get the acceleration. The speed is . The object is moving horizontally when , which is the highest point of a projectile. Starting at the origin, this velocity gives ; at , where the position is , and the starting speed is .
Not in the bookletKey terms
What is a direction vector?
A direction vector is any non-zero vector parallel to the line. Any non-zero scalar multiple of it is also a direction vector for the same line.
e.g. For the line through and , , and is also a direction vector.
What is a position vector?
The position vector of a point is the vector from the origin to that point, so its components equal the coordinates of the point. The line needs one such vector, , to fix where it passes.
e.g. The point has position vector .
What does the parameter do?
Each value of gives one point on the line, and gives the point with position vector . Negative values of give points on the other side of that point.
e.g. For , the value gives the point .
How do you check whether a point lies on a line?
Equate the point to the vector equation, find from one component, and check that the same works for every other component. If it does not, the point is not on the line.
e.g. For , the point gives from the component, and and match, so it lies on the line.
Worked example, step by step
The question Calculator needed [5 marks]
Two ships leave a harbour area at noon. At time hours after noon, ship has position vector and ship has position vector , where distances are in kilometres and .
(a) Find the vector at time .
(b) Write down an expression for the distance between the ships at time .
(c) Find the least distance between the ships and the time at which it occurs.
Worked solution: worked example
Answer: (a) (b) (c) km at hours
Step 1 - Find the vector from to .
M1 - Subtract the position vectors, A1 -
Why? The vector from to is the position of the end minus the position of the start, both at the same time .
Step 2 - Write the distance.
The distance is the magnitude of : A1 -
Why? The distance changes with , so it is a function of , and its least value is the closest approach.
Step 3 - Minimise on the calculator.
Graph for and use the minimum tool. It gives A1 - hours A1 - km
Why? The least value of a distance function is a minimum point of its graph. The time is the -coordinate and the distance is the -coordinate.
Step 4 - Check by a perpendicularity test.
The relative velocity is . At the closest approach , so and . Then and .
Why? At the closest approach the separation stops getting smaller, so it is at right angles to the direction in which the separation is changing. A zero scalar product confirms this.
M1 Subtract the position vectors,
A1
A1
A1 hours
A1 km
Now you try: enter your answers to be marked
Worked solution: practice question 1
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 16 marks
Calculator steps: Enter a calculation on the home screen, Find a maximum, minimum or zero of a graph (stationary points), Find where two graphs meet (intersection)
Common mistakes
- Using the same parameter letter for both lines. If both equations use , solving "" only finds where the two parametrisations agree, not where the actual lines cross - use for one line and for the other so each can take a different value at the crossing point.
- Assuming crossing paths mean a collision. Solving the position equations only tells you the two lines meet somewhere - it does not mean two moving objects following those lines arrive there at the same time. A genuine collision needs the same time value to satisfy both objects' equations simultaneously.
- Forgetting to verify with all coordinates. In three dimensions, solving two of the three component equations can give values of and that don't actually satisfy the third - always check the -equation (or state that the lines are skew if it fails).
Using your GDC
The exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, with what the screen shows. Pick your calculator.
Magnitude, dot product and angle between vectors
Used in: Vector basics, Dot product and angles
How to find the magnitude, dot product and angle between vectors on a TI-84 Plus CE
Store each vector as a list | |
The TI-84 Plus CE has no vector commands, so a vector is a list of its components. For press 2nd ( ({) 2 , (−) 1 , 3 2nd ) (}) sto▶ 2nd 1 (L1) enter. Do the same for , storing it in L2 (2nd 2). Both lists must have the same number of entries. |
{2,-1,3}→L1 {4,0,-2}→L2 |
Dot product | |
Press 2nd stat (LIST), move to MATH with ▶, and choose 5:sum(. Then press 2nd 1 × 2nd 2 ) enter. This multiplies the two lists term by term and adds the products. . |
sum(L1*L2) 2 |
Magnitude | |
Press 2nd x² (√), then 2nd stat (LIST), MATH, 5:sum(, then 2nd 1 x² ) ) enter. This is . Repeat with 2nd 2 for . and to 3 significant figures. |
√(sum(L1²)) 3.741657387 √(sum(L2²)) 4.472135955 |
Angle between the vectors | |
Check the angle mode first (see switching between degrees and radians): use degree mode for an answer in degrees. Press 2nd cos (cos⁻¹) and type the dot product divided by the product of the magnitudes: sum(L1*L2) ÷ ( √(sum(L1²)) × √(sum(L2²)) ) ), using the same keys as above. Press enter. to 1 decimal place. |
cos⁻¹(sum(L1*L2)/(√(sum( L1²))*√(sum(L2²)))) 83.13543366 |
Cross product | |
The cross product of and is a vector at right angles to both. Its components are . The TI-84 Plus CE has no cross product command, so type each component from list entries. For the first component press 2nd 1 ( 2 ) × 2nd 2 ( 3 ) − 2nd 1 ( 3 ) × 2nd 2 ( 2 ) enter. This is L1(2)*L2(3)-L1(3)*L2(2), where L1(2) is the second entry of L1. Use L1(3)*L2(1)-L1(1)*L2(3) for the second component and L1(1)*L2(2)-L1(2)*L2(1) for the third. |
L1(2)*L2(3)-L1(3)*L2(2) 2 |
For the magnitude, store the three components as a list: press 2nd ( ({), type the three expressions above separated by ,, then 2nd ) (}) sto▶ 2nd 3 (L3) enter. Then press 2nd x² (√), 2nd stat (LIST), MATH, 5:sum(, 2nd 3 x² ) ) enter. and its magnitude is to 3 significant figures. |
√(sum(L3²)) 16.61324773 |
Press 2nd enter (ENTRY) to bring back the last line and edit it, so you do not retype the long angle expression for new vectors.
The full guide: Magnitude, dot product and angle between vectors
Enter a calculation on the home screen
Used in: Vector basics, Vector equations of lines
How to enter a calculation on a TI-84 Plus CE
Type a calculation and press enter | |
Go to the home screen: press 2nd mode (QUIT) from any menu or app. Press clear if the entry line is not empty. |
|
Type the calculation as you would write it, then press enter. For press 3 ( 2 . 4 ) x² − 5 × 1 . 8 enter. The calculator understands a number next to a bracket as a multiplication, so × is not needed in . If a fraction, square root or power template is on the screen, press ▶ to move out of it before you carry on typing. |
3(2.4)²-5*1.8 8.28 |
Use the last answer in the next calculation | |
To increase the answer by 15%, press × 1 . 1 5 enter on a blank line. The calculator puts Ans, the last answer, in front of the operator for you. You can also type Ans yourself, anywhere in a calculation: press 2nd (−) (ANS), for example 2nd (−) (ANS) × 1 . 1 5 enter. , which is to 3 significant figures. |
Ans*1.15 9.522 |
To use an earlier entry or answer, press ▲ to move up through the history, then enter to paste the highlighted one on the entry line. Press 2nd enter (ENTRY) to bring back your last entry and change it. |
|
Ans always holds the last answer that was worked out, so if you do a different calculation in between, Ans changes. Type a number you need later, or keep it on the screen, rather than relying on Ans for many steps.
The full guide: Enter a calculation on the home screen
Find a maximum, minimum or zero of a graph (stationary points)
Used in: Vector equations of lines
How to find a maximum, minimum or zero on a TI-84 Plus CE
Graph the function and use the CALC menu | |
Press Y=, clear any old functions with clear, then type X,T,θ,n ^ 3 − 6 X,T,θ,n x² + 5 X,T,θ,n + 4 next to Y1=. |
Plot1 Plot2 Plot3 \Y1=X^3-6X²+5X+4 \Y2= |
Press window and set Xmin = −2, Xmax = 6, Ymin = −15, Ymax = 10. For a negative number use the (−) key, not the subtraction key. Press graph. The graph should show the turning points and the places where it crosses the x-axis. |
WINDOW Xmin=-2 Xmax=6 Xscl=1 Ymin=-15 Ymax=10 Yscl=1 |
For the local maximum, press 2nd trace (CALC) and choose 4:maximum. Left Bound? appears with the cursor on the graph: use ◀ to move it to the left of the maximum, then press enter. Right Bound? appears: use ▶ to move to the right of the maximum and press enter. Guess? appears: move the cursor close to the maximum, between the two bounds, and press enter. With more than one graph drawn, use ▲ or ▼ first to put the cursor on the right graph. The screen shows Maximum with and . |
|
For the local minimum, press 2nd trace and choose 3:minimum, then set the left bound, the right bound and the guess in the same way, with the bounds either side of the minimum. The screen shows Minimum with and . |
|
For a zero (a place where the graph crosses the x-axis), press 2nd trace and choose 2:zero. Set the left bound on one side of the crossing and the right bound on the other, then give a guess between them. Each search finds one zero, so repeat with the bounds round each of the other crossings. The zero between and is , with . |
|
Put the left and right bounds either side of the point you want, and the guess between them. A bound or guess that is outside the window, or on the wrong side, gives an error or a different point.
The full guide: Find a maximum, minimum or zero of a graph (stationary points)
Find where two graphs meet (intersection)
Used in: Vector equations of lines
How to find where two graphs meet on a TI-84 Plus CE
Graph both and use intersect | |
Press Y=, clear any old functions with clear, then type X,T,θ,n x² − 3 next to Y1=. Press ▼ and type 2 X,T,θ,n + 1 next to Y2=. |
Plot1 Plot2 Plot3 \Y1=X²-3 \Y2=2X+1 \Y3= |
Press window and set Xmin = −3, Xmax = 5, Ymin = −4, Ymax = 10. For a negative number use the (−) key, not the subtraction key. Press graph. Both curves should show, with two crossing points on the screen. |
WINDOW Xmin=-3 Xmax=5 Xscl=1 Ymin=-4 Ymax=10 Yscl=1 |
Press 2nd trace (CALC) and choose 5:intersect. First curve? appears with the cursor on one graph: press enter. Second curve? appears: press enter again. If more than two graphs are drawn, use ▲ or ▼ to put the cursor on the right graph before pressing enter. |
|
Guess? appears. Use ◀ or ▶ to move the cursor close to the right-hand crossing, then press enter. The screen shows Intersection with and . |
|
For the other crossing, repeat 2nd trace 5:intersect, enter, enter, and this time move the guess close to the left-hand crossing before pressing enter. and . |
|
The guess decides which crossing the calculator finds, so give a guess near the point you want. A crossing outside the window cannot be found, so check WINDOW first.
The full guide: Find where two graphs meet (intersection)
See the full list of GDC guides for every calculator task.
Syllabus content covered
| Code | Syllabus content |
|---|---|
| AHL3.10 | Concept of a vector and a scalar. Representation of vectors using directed line segments. Sum and difference of two vectors, multiplication by a scalar, magnitude of a vector from components, unit vectors, base vectors , the resultant as the sum of two or more vectors, position vectors, and rescaling and normalizing vectors. |
| AHL3.11 | Vector equation of a line in two and three dimensions: , where is a direction vector of the line. Convert to parametric form: . |
| AHL3.12 | Vector applications to kinematics. Modelling linear motion with constant velocity in two and three dimensions: . Finding positions, intersections, describing paths, finding times and distances when two objects are closest to each other. Motion with variable velocity in two dimensions, for example . Projectile motion and circular motion are special cases. |
| AHL3.13 | Definition and calculation of the scalar product of two vectors: , where is the angle between two non-zero vectors and ; the angle between two vectors and the acute angle between two lines; perpendicular vectors (). Definition and calculation of the vector product of two vectors: . Use of to find the area of a parallelogram (and hence a triangle). Components of vectors: the component of in the direction of is , and the component perpendicular to is . |
Official IB source: Mathematics: applications and interpretation subject brief (PDF, ibo.org).
Quick questions
How do you find the magnitude of a vector?
For a vector with components (and in 3D), the magnitude is - the vector's length, found using Pythagoras' theorem extended to three dimensions.
What is the formula for the scalar product of two vectors?
, where is the angle between the two vectors. In components, is found by multiplying matching components and adding the results.
What is the vector equation of a line?
, where is the position vector of a known point, is a direction vector, and is a scalar parameter that generates every point on the line as it varies.
What is a unit vector?
A unit vector has magnitude . To rescale any vector into a unit vector in the same direction, divide every component by .
How do you test whether two vectors are perpendicular?
Two non-zero vectors are perpendicular exactly when their scalar product is zero: . This works directly from the components, with no need to find magnitudes or angles first.
How do you find where two lines intersect?
Give each line its own parameter (commonly and ), equate the corresponding , (and ) components, and solve the resulting simultaneous equations. If a consistent solution exists, substitute it back into either line to get the point of intersection.
How do you add two vectors in component form?
Add the matching components. For example, , and subtraction works the same way.
Does the order of the vectors matter in a scalar product?
No, . For example, and .
Is the vector equation of a line unique?
No. Any point on the line can be used for , and any non-zero multiple of the direction vector can be used for . For example, and describe the same line.
What is a position vector?
A position vector is the vector from the origin to a point, so it has the same components as the coordinates of the point. The point has position vector .
Ready to practise properly?
Practice questions on every section, marked instantly like the real exam.