Adding and scaling vectors · Mathematics Class 11–12 | StemPy Lab
Course 14.1·Lesson 2 of 3
Adding and scaling vectors
Vectors add by the triangle law or the parallelogram law, and in components we add the matching components. Multiplying by a number stretches or flips a vector. The vector from a point A to a point B is found as the position vector of B
Lesson 2 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
add and subtract vectors by the triangle law, the parallelogram law and by components;
multiply a vector by a number, and test whether two vectors are collinear;
find the vector from one point to another, and its magnitude.
A boat on a river
A boat heads straight across a river, north, at 4 m/s. The river flows east at 3 m/s. The boat does not go north, and it does not go east. It goes in a direction between the two. Both movements happen at once, so the real velocity is the sum of the two velocity vectors. We now learn how to add vectors.
The triangle law and the parallelogram law
Put the tail of b at the head of a. The vector from the tail of a to the head of b is the suma+b. This is the triangle law. If we draw a and b from the same point, the diagonal of the parallelogram they make is also a+b. This is the parallelogram law.
Two small drawings side by side. Left, the triangle law: a blue arrow a from the origin, a green arrow b starting at the head of a, and a thick red arrow a + b from the origin to the head of b. Right, the parallelogram law: the blue arrow a and the green arrow b both start at the origin, dashed copies complete a parallelogram, and the thick red diagonal a + b runs from the origin to the far corner.
Adding vectors is commutative, a+b=b+a, and associative, (a+b)+c=a+(b+c). The zero vector does nothing: a+0=a. The difference a−b means a+(−b).
Adding in components
If a=a1i^+a2j^+a3k^ and b=b1i^+b2j^+b3k^, then
a+b=(a1+b1)i^+(a2+b2)j^+(a3+b3)k^.
We add the matching components. We subtract in the same way.
Multiplying by a number
For a real number λ, the vector λa has magnitude ∣λ∣∣a∣. It points the same way as a if λ>0 and the opposite way if λ<0. In components, λa=λa1i^+λa2j^+λa3k^.
Two non-zero vectors are collinear, or parallel, when one is a number times the other, a=λb. Their components are then in the same ratio. The vectors 2i^−4j^+6k^ and −i^+2j^−3k^ are collinear, because the first is −2 times the second. They point in opposite directions.
The size of a sum
The size of a+b depends on the angle between the vectors. If they are at right angles, Pythagoras gives ∣a+b∣2=∣a∣2+∣b∣2. In general, a side of a triangle is never longer than the other two sides together, so
∣a+b∣≤∣a∣+∣b∣.
This is the triangle inequality. The two sides are equal only when the vectors point the same way.
The vector from one point to another
Let A and B have position vectors a and b. Going from A to B means going back from A to O and then on to B, so
AB=b−a.
Remember it as "head minus tail". If A(1,2,3) and B(4,6,15), then AB=3i^+4j^+12k^, and the distance between the points is ∣AB∣=9+16+144=13.
If you walk round a closed path, the displacements add up to the zero vector. For a triangle, AB+BC+CA=0.
A worked example
Let a=i^+2j^+3k^ and b=3i^−j^+2k^. Find a+b, a−b and 3a−2b.
The sum.(1+3)i^+(2−1)j^+(3+2)k^=4i^+j^+5k^. Its size is 42≈6.48.
The difference.−2i^+3j^+k^. Its size is 14≈3.74.
A combination.3a=3i^+6j^+9k^ and 2b=6i^−2j^+4k^, so 3a−2b=−3i^+8j^+5k^.
Now the boat. The velocity over the ground is 3i^+4j^ in metres per second, east and north. Its size is 9+16=5 m/s. The direction is tan−134≈53.13∘ north of east.
Practise with new numbers
Try it in Python
The program adds and subtracts the vectors of the worked example, checks the triangle inequality and adds a closed path.
Common mistakes
Adding the magnitudes.∣a+b∣ is not ∣a∣+∣b∣, except when the vectors point the same way.
Tail minus head. The vector from A to B is B minus A, head minus tail.
Forgetting that a number times a vector is a vector.−3a is three times as long and points the other way.
Joining the wrong ends. In the triangle law the tail of the second vector goes at the head of the first.
Remember these
Add and subtract vectors by components. The triangle law and the parallelogram law give the same result.
∣a+b∣≤∣a∣+∣b∣.
a and b are collinear when a=λb.
AB=b−a.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Let a=2i^−j^+3k^ and b=i^+4j^−k^. Find ∣a+b∣.
With the same vectors, find 2a−3b.
Are 2i^−3j^+5k^ and −6i^+9j^−15k^ collinear? Do they point the same way?
Find AB and its magnitude for A(1,−2,3) and B(−3,2,1).
Two vectors have magnitudes 3 and 4. Can their sum have magnitude 8? What are the smallest and largest possible magnitudes?
References
NCERT, Mathematics Part II for Class XII, Chapter 10, sections on addition of vectors and on multiplication of a vector by a scalar.
OpenStax, University Physics Volume 1, Chapter 2, sections on coordinate systems and components and on algebra of vectors.
Enroll free in Vectors and Their Algebra
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.