Vectors in 3D space – sum, dot product, angle
MathematicsVectors & Coordinate GeometryAges 17–18
How do you mainly use this simulation?
Use it with your class: students open it from a link or a QR code, with no account needed.
An Oxyz coordinate system rotates with the mouse or a finger, showing two vectors u and v with given coordinates. The simulation draws the coordinate box of each vector and the parallelogram for the sum u + v, and computes lengths, the dot product u·v = x₁x₂ + y₁y₂ + z₁z₂, and the angle between the vectors; drag the coordinate sliders to see when u ⊥ v or when they point the same way. The 2D | 3D switch opens an Oxyz system built with three.js showing u, v, their sum and difference, the coordinate boxes and the angle arc; you can rotate and zoom it, and the numbers stay the same. The Vector product option adds u × v, perpendicular to both by the right-hand rule, the parallelogram and triangle areas |u × v| and ½|u × v|, the plane through O, U and V, physics examples (torque, work) and three self-checking tasks. The Points tab places P and Q in any of the eight octants with their coordinate boxes and sign patterns, computes PQ = √((x₂ − x₁)² + (y₂ − y₁)² + (z₂ − z₁)²) and finds the point R dividing PQ internally or externally in the ratio m : n (the midpoint when m = n), with a table of records and three tasks.
Lesson: Vectors in space, coordinate systems, coordinate expressions for vector operations
What it shows
In an Oxyz system a vector is given by three coordinates, the signed edges of its coordinate box, and its length is √(x² + y² + z²). The sum u + v is the diagonal of the parallelogram on u and v, and u·v = x₁x₂ + y₁y₂ + z₁z₂ is zero exactly when the vectors are perpendicular. The vector product u × v is perpendicular to both. The three coordinate planes cut space into eight octants, each with its own sign pattern. The distance PQ follows from Pythagoras twice, and the point R with PR : RQ = m : n comes from the section formula.
How to use
Set the coordinates of u and v and turn on Coordinate box. Drag the background to rotate the view; Reset view returns to the start, and 3D gives a zoomable view with the same numbers. Tick Vector product u × v for the right-hand rule. On the Points tab, move P and Q into different octants, read PQ, choose m, n and Internal or External, and press Record to add a row to the table.
Parameters you can change
- u: x-coordinate x₁ -5–5
- u: y-coordinate y₁ -5–5
- u: z-coordinate z₁ -5–5
- v: x-coordinate x₂ -5–5
- v: y-coordinate y₂ -5–5
- v: z-coordinate z₂ -5–5
- Vector product u × v
- Area Parallelogram, Triangle
- Screen Vectors, Points
- P: x-coordinate x₁ -5–5
- P: y-coordinate y₁ -5–5
- P: z-coordinate z₁ -5–5
- Q: x-coordinate x₂ -5–5
- Q: y-coordinate y₂ -5–5
- Q: z-coordinate z₂ -5–5
- Ratio part m 1–6
- Ratio part n 1–6
- Division Internal, External
- Octant signs
Questions to explore
- With u = (3; 1; 2), find a vector v perpendicular to u. How can you check it without the picture?
- How is the length of a vector calculated from its three coordinates, and does the coordinate box confirm it?
- Two vectors look perpendicular on the screen. Why might they not be, and how do you decide?
- Where does the point dividing PQ externally in the ratio m : n lie when m > n, and when m < n?