Vector equations of a line in 2D & 3D (different forms too): notes and practice questions
- A vector equation of a line defines a path using a starting position and a direction.
- Position Vector: Describes a point's location relative to the origin.
- Direction Vector: Represents the line's direction (like a gradient).
- **Scalar Parameter ( or ):** Multiplier for the direction vector to reach any point on the line.
- Vector Form:
where is a general point, is a fixed point on the line, and is the direction vector.
- Equation from Two Points:
Given position vectors of two points and on the line:
- Parametric Form:
If and :
- Determining if a Point Lies on a Line: Substitute the point's coordinates into the parametric equations; if a single value of satisfies all components, the point lies on the line.
- Finding the Angle Between Two Lines (HL):
For direction vectors and , the acute angle is given by:
- Shortest Distance from a Point to a Line (HL):
1. Let the external point be A and a general point on the line be B (in terms of ).
2. Find the displacement vector .
3. Set the scalar product (where is the line's direction vector).
4. Solve for .
5. Substitute back into and calculate for the distance.
- GDC Tips: Use GDC's system solver for intersecting lines by equating parametric components (using and ). Column vectors are recommended for GDC input.
How it is examined
Short on its own, and normally the setup for AHL 3.12 or for an angle question at AHL 3.13. Note that the direction vector is not unique, so a mark scheme must accept any scalar multiple, and the position vector can be any point on the line. That makes automated marking of "write down a vector equation" harder than it looks.
The vector equation of a line and its parametric form.
The vector equation of a line in two and three dimensions, , where is a direction vector of the line.
Linking questions
- TOK: mathematics and the knower. Why are symbolic representations of three-dimensional objects easier to deal with than visual ones? What does that tell us about our knowledge of mathematics in other dimensions?
Practice questions
19 questions · 1 easy · 11 medium · 7 hardQuestion 1
EasyPaper 1 · calculator5 marksConsider line with the vector equation .
Check if point A passes through line .
Consider line with the vector equation .
Determine a vector perpendicular to both lines and .
If a point passes through a line, then it should satisfy its vector equation.
When finding a vector perpendicular to other vectors use vector product.
Question 2
MediumPaper 1 · calculator10 marksA high-tech drone is launched from a control tower at coordinates (1.5, 2.0, 0.8) relative to the base of the tower at the origin O. The x direction is due east, the y direction is due north, and the z direction is vertically upwards.
All distances are measured in kilometres.
The drone travels with a constant velocity, and its direction of travel is given by the vector .
Assuming the drone travels in a straight line, write down an equation for the line along which it travels.
The drone is programmed to land on a designated pad at ground level (where ).
(i) Find the value of the parameter when the drone reaches ground level.
The drone is programmed to land on a designated pad at ground level (where ).
(ii) Determine the coordinates of the landing pad.
Calculate the distance the drone travels from its initial position to the landing pad.
Recall the general form of a vector equation of a line: , where is a position vector of a point on the line and is the direction vector.
The z-component of the drone's position vector must be equal to the ground level. Set the z-component of your line equation to 0 and solve for .
Substitute the value of found in part (b.i) back into the vector equation of the line to find the coordinates of the landing pad.
Find the displacement vector from the initial position to the landing pad, then calculate its magnitude. The distance formula is .
Question 3
HardPaper 2 · calculator19 marks(a) A space probe, 'Voyager Alpha', is launched from a space station. The position of the probe at time days after launch is given by the vector
Distances are measured in thousands of kilometres.
Find the position vector of the probe days after launch.
(b) A second space probe, 'Explorer Beta', is launched from a different station. The position vector of this probe is given by the vector
Determine if the two flight paths intersect and, if so, state the point of intersection.
(c) The two probes were launched at the same time, so .
State, with a reason, whether the two probes actually collide.
(d) Calculate the distance between the two space stations (the initial launch points).
(e) Calculate the shortest distance that ever exists between the two probes and the time when this occurs. Assume days.
Substitute the given time value into the vector equation for the probe's position.
Equate the components of the two position vectors to form a system of linear equations. Solve for and using two of the equations, then check if these values satisfy the third equation.
Consider the results from part (b). For a collision to occur, the paths must intersect AND the probes must be at the intersection point at the same time.
The initial launch points are the constant vectors in the position equations (when or ). Use the 3D distance formula.
Form a vector representing the difference in position of the two probes at time (since they launched simultaneously, ). Find the magnitude squared of this difference vector, then differentiate with respect to and set to zero to find the minimum. Remember to consider the domain .
Question 4
MediumPaper 1 · calculator7 marksThe paths of two automated guided vehicles (AGVs), and , in a large warehouse are modelled by the following vector equations, where is a constant:
It is known that the paths of the AGVs are perpendicular.
(a) Find the possible value(s) for .
(b) In the case that , determine whether the lines intersect.
For two lines to be perpendicular, the dot product of their direction vectors must be zero. Set up the dot product using the given direction vectors and solve the resulting equation for .
Substitute the appropriate value of (the negative one) into both line equations. Then, equate the corresponding components to form a system of three linear equations with two unknowns ( and ). Attempt to solve this system.
Question 5
HardPaper 2 · calculator13 marks(a) The position of a reconnaissance drone, relative to a control tower, is given by the vector equation , where is the position vector in metres and is the time in minutes.
Write down the position vector of the drone when and when .
(b) Calculate the speed of the drone.
(c) Find an expression for the distance of the drone from the origin at time .
(d) Hence find the minimum distance of the drone from the origin and the time at which it occurs.
Substitute the given values of into the vector equation to find the corresponding position vectors.
The velocity vector is the direction vector in the position equation. The speed is the magnitude of the velocity vector.
First, write the position vector in terms of its components at time . Then, use the distance formula from the origin, which is the magnitude of the position vector.
To minimize the distance, you can minimize the square of the distance. This will result in a quadratic function. You can find the minimum of a quadratic function by taking its derivative and setting it to zero, or by using the formula for the vertex of a parabola.
Question 6
MediumPaper 1 · calculator9 marksA surveillance drone D is flying with a constant velocity, , measured in kilometres per hour, where
.
At time the drone is at a point A(50, 20) relative to an origin O, where distances are
measured in kilometres.
Find the position vector of the drone at time hours.
A protected bird's nest is located at a point N(99, 2).
Find the value of when the drone will be closest to the bird's nest.
An environmental sensor will trigger if the drone flies within 18 kilometres of the nest.
State whether the sensor will trigger. Give a reason for your answer.
Recall that the position vector of an object moving with constant velocity is given by , where is the initial position vector and is the velocity vector.
The drone is closest to the nest when the vector connecting the nest to the drone is perpendicular to the drone's velocity vector. This means their dot product is zero.
Calculate the minimum distance between the drone and the nest using the value of found in part (b), then compare it to the given trigger distance.
Question 7
HardPaper 2 · calculator14 marksA drone A takes off from a control tower at 10:00. It flies north-east at a horizontal speed of and climbs at a rate of . At 10:00, it is at a height of directly above the control tower.
Find an expression for the displacement of drone A from the control tower at time hours after 10:00. Assume the control tower is at the origin (0,0,0) and the positive y-axis points North, and the positive x-axis points East.
At 10:30, a second drone B is directly above the control tower. It flies on a bearing of at a horizontal speed of and descends at a rate of .
Find an expression for the displacement of drone B from the control tower hours after 10:00.
Find the distance the two drones are apart when they have the same height.
Start by defining the initial position vector and the velocity vector of drone A. Remember that North-East implies equal components in the x and y directions for the horizontal velocity.
Remember that drone B starts its motion at 10:30, so its time variable will be different from . Bearings are measured clockwise from North (positive y-axis).
First, equate the z-components of the displacement vectors from parts (a) and (b) to find the time when their heights are equal. Then, substitute this time back into both displacement vectors to find their positions, and finally calculate the distance between these two points.
Question 8
MediumPaper 1 · calculator5 marksAt 10:00 am, a reconnaissance drone is located 2 km East and 6 km North of a central control tower. A coordinate system is established with the control tower at the origin. The drone maintains a constant velocity of kilometres per hour (km h), where the components represent velocity in the East-West and North-South directions, respectively.
Write down an expression for the position vector of the drone, hours after 10:00 am.
Find the time at which the bearing of the drone from the control tower is 180°.
Recall the formula for position vector with constant velocity: .
A bearing of 180° means the object is directly South of the origin. What does this imply about its East-West position component?
Question 9
HardPaper 2 · calculator15 marksThe position of a drone, D, seconds after leaving a control tower T, is given by
, .
The units of distance are metres.
Write down the coordinates of the control tower T.
Four seconds after leaving T, D is at point P.
Find the displacement vector .
Find the distance .
A second drone, D, leaves the control tower T at the same time as D. D is moving in the direction of the vector .
Find the angle between the initial flight paths of Drone 1 and Drone 2.
The drone D has a speed of m s.
Find the distance between Drone 1 and Drone 2 when seconds.
The constant vector in the position equation represents the initial position when .
The displacement vector from T to P is given by the time multiplied by the direction vector of D.
The distance is the magnitude of the displacement vector found in part (b.i). Use the formula .
Use the scalar product formula for the angle between two vectors: . The direction vectors are for D and for D.
First, find the position of D at . Then, determine the velocity vector of D by scaling its direction vector with its speed. Calculate the position of D at . Finally, find the magnitude of the vector connecting the positions of D and D.
Question 10
MediumPaper 1 · calculator7 marksA civil engineer is designing a new road. A preliminary section of the road is modelled by a straight line with equation .
Find the vectors and such that the equation of the line can be expressed in vector form in terms of and/or .
Before construction, a ground transformation is applied to the design. This transformation is described by the matrix .
Calculate the value of .
The preliminary road section (where ) undergoes the transformation described by matrix .
Show that the equation of the resulting transformed path does not depend on or .
Recall that is a position vector to a point on the line, and is a direction vector of the line. Consider simple points on the line .
The determinant of a 2x2 matrix is given by .
Apply the transformation matrix to a general point on the line . Let the new coordinates be . Then find a relationship between and that eliminates , , and .
Question 11
HardPaper 2 · calculator17 marksA deep-sea research submersible, 'Nautilus', is being tracked relative to an underwater research station, 'Triton Base'. The coordinates represent the submersible's displacement in kilometres, where is east, is north, and is vertical displacement (positive upwards, so negative for depths below sea level).
At 10:00 AM, the submersible is detected at a position 60 km east and 24 km north of Triton Base, and at a depth of 15 km below sea level. Its velocity is given as kmh. Let be the length of time in hours from 10:00 AM.
Write down a vector equation for the displacement, , of the submersible in terms of .
If the submersible continued to travel with the given velocity,
verify that it would pass directly over Triton Base (the point );
state the depth of the submersible at this point;
find the time at which it would pass directly over Triton Base.
When the submersible is at a depth of 18 km below sea level, it continues to move horizontally on the same bearing but adjusts its vertical velocity so that it will dock precisely at Triton Base .
Find the time at which the submersible is at a depth of 18 km below sea level.
Find the direct distance of the submersible from Triton Base at this point.
Given that the velocity of the submersible, after the adjustment of the vertical velocity, is kmh, find the value of .
Recall the formula for a position vector given an initial position and a constant velocity: . Ensure all components (x, y, z) are correctly represented, especially the sign for depth.
For the submersible to pass directly over Triton Base, its and coordinates must simultaneously be zero. Set the and components of your vector equation from part (a) to zero and solve for . If the values of are the same, it passes directly over the base.
Use the time found in part (b.i) and substitute it into the -component of the displacement vector to find the depth.
Convert the time in hours from part (b.i) into a clock time, given the starting time of 10:00 AM.
Set the -component of the displacement vector equal to km (since it's 18 km below sea level) and solve for . Then convert this to a clock time.
First, find the full position vector of the submersible at the time found in part (c.i). Then, calculate the magnitude of this position vector to find the direct distance from the origin (Triton Base).
The submersible adjusts its vertical velocity at the time found in part (c.i). From this adjusted point, it needs to reach at the same time its and coordinates reach zero (as it continues on the same horizontal bearing). Calculate the time remaining for the horizontal movement and the required change in over that time to find the new vertical velocity component .
Question 12
MediumPaper 1 · calculator7 marksThe flight path of drone A can be modelled by the vector equation , where represents time in minutes.
The flight path of drone B can be modelled by the vector equation , where represents time in minutes.
The two drones intersect at a point P. Find the coordinates of P.
Find the acute angle between the flight paths of the two drones.
To find the intersection point, set the corresponding components of the two vector equations equal to each other. This will give you a system of linear equations in terms of the parameters 's' and 't'. Solve this system to find the values of 's' and 't', then substitute one of them back into its respective vector equation to find the coordinates of the intersection point.
The angle between two lines can be found using the dot product of their direction vectors. Remember that the formula for the angle between two vectors and is . If the calculated angle is obtuse, subtract it from radians or to find the acute angle.
Question 13
HardPaper 1 · calculator7 marksA robotics engineer is programming a swarm of drones. The initial paths of the drones are given by a family of lines, , with equation , where is a real parameter and .
A control signal applies a linear transformation to the coordinates of every drone, described by the matrix .
The new path of a drone is the line .
(a) Find a vector equation for the line in terms of .
(b) Find the determinant of .
(c) Show that all the drones will end up moving along the same path, by showing that the equation of the transformed line does not depend on .
A vector equation of a line is of the form , where is a position vector of a point on the line and is a direction vector. How can you find a point and the direction from the Cartesian equation ?
The determinant of a 2x2 matrix is calculated as .
You can approach this in several ways. One way is to transform the vector equation from part (a) using the matrix . Another way is to transform two general points from the line . A third way is to consider the relationship between the coordinates of a transformed point and the original point .
Question 14
MediumPaper 1 · calculator7 marks(a) A drone is programmed to fly along a straight path . Its position at time (in minutes) can be modelled by the vector equation , where the coordinates are in metres. A stationary sensor is located at the point .
Find the coordinates of the point on the drone's path that is closest to the sensor .
(b) Find a vector that is perpendicular to both the drone's path and the line segment connecting point to the sensor .
To find the point on the line closest to the sensor, consider the vector connecting a general point on the line to the sensor. This vector must be perpendicular to the direction vector of the line at the closest point. Use the scalar product to express this condition.
To find a vector perpendicular to two given vectors, you can use the vector product (cross product). You will need the direction vector of the drone's path and the vector from point P to sensor S.
Question 15
HardPaper 2 · calculator9 marksTwo drones, Alpha and Beta, are flying in a designated airspace. Their positions at time hours, , are given by the position vectors and respectively, relative to a control tower (all lengths are in kilometres).
Show that the two drones would collide at a point P and write down the coordinates of P.
To avoid a collision, Drone Beta adjusts its velocity so that its position vector is now given by .
Find the value of when Drone Beta, with its adjusted path, passes through point P.
Find the value of when the two drones (Drone Alpha and the adjusted Drone Beta) are closest together.
Find the distance between the two drones at this time.
For a collision to occur, the position vectors of both drones must be equal at the same time . Equate the corresponding components of and to find the time of collision and then substitute this time back into either position vector to find the coordinates of P. Remember to check for consistency across all components.
Set the adjusted position vector of Drone Beta equal to the coordinates of point P found in part (a). Solve for .
Define a vector representing the difference in positions of the two drones. Then find the squared magnitude of this vector, which represents the squared distance between them. To find the minimum distance, differentiate the squared distance with respect to and set the derivative to zero. Solve for .
Substitute the value of found in part (c) into the distance formula (or squared distance formula) to calculate the minimum distance.
Question 16
MediumPaper 2 · calculator9 marksA drone, 'SkyRanger 1', is flying along a path that can be modelled by the line with equation , where is a time parameter in minutes. A ground control station detects SkyRanger 1 at a specific point A with coordinates .
(a) Calculate the value of .
A second drone, 'AeroScout 2', is dispatched. Its flight path is modelled by the line with equation , where is a time parameter in minutes. AeroScout 2 is designed to intercept SkyRanger 1 at point A and its path is perpendicular to the path of SkyRanger 1.
(b) Determine the values of , , and .
For a point to lie on a line, its coordinates must satisfy the vector equation of the line for a specific value of the parameter . Equate the given coordinates of point A with the components of the line equation to find , then use to find .
Use the result from part (a) for point A. For perpendicular lines, the dot product of their direction vectors is zero. For intersection, the point A must satisfy the equation of line . This will allow you to set up a system of equations to solve for and .
Question 17
MediumPaper 2 · calculator12 marksA rectangular prism (cuboid) is used as a building block. It has one vertex at the origin O(0,0,0). Its dimensions are 6 units along the x-axis, 4 units along the y-axis, and 3 units along the z-axis. The vertices are given by O(0,0,0), A(6,0,0), B(6,4,0), C(0,4,0), D(0,0,3), E(6,0,3), F(6,4,3), and G(0,4,3).
Find the surface area of the cuboid.
Find the length of the space diagonal [OF].
The space diagonals [OF] and [CE] intersect at the point M.
Find the coordinates of M.
Find the acute angle between the diagonals [OF] and [CE] at their intersection point M.
Recall the formula for the surface area of a cuboid given its length, width, and height.
The space diagonal [OF] connects the origin O(0,0,0) to the vertex F(6,4,3). Use the 3D distance formula.
Write vector equations for both lines OF and CE. Set the corresponding components equal to find the parameters, then substitute back to find the intersection point.
Use the dot product formula for the angle between two vectors. The direction vectors of the diagonals are needed.
Question 18
MediumPaper 1 · calculator7 marks(a) A reconnaissance drone is launched from a base station at point relative to an origin , where lengths are measured in metres and time, , is measured in seconds. It flies in a straight line with vector equation
Find the speed of the reconnaissance drone (in m/s).
(b) A patrol drone is dispatched from a different location with position vector , relative to . It flies with a constant velocity vector of to intercept the reconnaissance drone.
Write down the vector equation for , that models the flight of the patrol drone.
(c) Find the position vector at which the patrol drone intercepts the reconnaissance drone.
The speed of the drone is the magnitude of its velocity vector. The velocity vector is the direction vector in the vector equation of the line.
A vector equation of a line is given by , where is a position vector on the line and is the direction vector (velocity vector in this case).
At the point of interception, the position vectors of both drones must be equal. Equate the components of the two vector equations and solve for the time . Then substitute the value of back into either vector equation to find the position vector.
Question 19
MediumPaper 2 · calculator14 marksA drone is being tracked in a 3D coordinate system. At time , its position is at point A. At a later time , its position is at point B.
Find the distance the drone travelled from A to B.
Another drone's flight path is modelled by the line with vector equation . A control tower observes this drone at point C which lies on line .
Find the value of .
Using the value of found in part (b), the position of point C is .
Show that .
Find the angle between the drone's flight segment and the segment . Give your answer in degrees to one decimal place.
Find the area of the triangle formed by the points A, B, and C. Give your answer to three significant figures.
The distance between two points and in 3D space is given by the magnitude of the displacement vector connecting them: .
Since point C lies on line L, its coordinates must satisfy the vector equation of the line for some value of the parameter . Equate the corresponding components.
A vector from point A to point C is found by subtracting the position vector of A from the position vector of C: .
The angle between two vectors and can be found using the scalar (dot) product formula: .
The area of a triangle with two sides represented by vectors and can be found using the magnitude of their cross product: Area . Alternatively, you can use the formula .
No question on this page matches those filters. Try another difficulty or paper.
Every Vector equations of a line in 2D & 3D (different forms too) question, marked for you
Every answer is marked mark by mark, IB-style, and the AI tutor helps when you are stuck.
Where marks are lost
- Using your own wrong value after failing a "show that." All follow through is withdrawn for the rest of that question.