PrepShorts · Study sheet · Class 12 Mathematics · Chapter 10, Vector AlgebraPrepShorts

Chapter 10 · Vector Algebra

A product that returns a number, and the angle you can extract from it

Two ways to multiply two vectors27 min

This video could not be loaded. Reload the page to try again.

Sign in with Google

27 min.

The idea

Before defining anything, the chapter argues that a second product is even wanted: two numbers make a number and two matrices a matrix, but two functions can be multiplied in two different ways, so — it says — two vectors are as well. That is the only motivating analogy in thirty-nine pages and it earns the module. What follows shows the chapter at its best and its worst within two pages of each other. The best is the component formula, derived at full length from the definition using both properties and one observation: six lines, every step justified in the margin, and the one place in the chapter where a student can watch a definition turn into an algorithm. The worst is that those same two pages carry three printed faults — an observation whose in particular sentence repeats its own general statement word for word, a property that names its scalar with one letter in the prose and another in the formula and prints one member of its chain twice, and a famous inequality attached to a misspelt name. Not one of them changes the mathematics. All three will stop a student who is reading carefully, and that is the student the explanation is for.

What you should be able to do

  • Explain the analogy the chapter uses to justify defining two products
  • State Definition 2 and identify which of its three ingredients is the new one
  • Say what the definition cannot reach, and state the convention that covers it
  • Use the sign of the product to decide whether an angle is acute, right or obtuse
  • Write perpendicularity as a single equation and use it both ways
  • Reproduce the nine products of the three axis unit vectors from two observations
  • Extract the angle between two vectors from the product and the two magnitudes
  • State the two properties of the scalar product and say which section's Property numbers they are
  • Derive the component formula from the definition, using both properties and one observation
  • Prove the two inequalities the chapter names, and say which one is used in the other
  • Turn the equality case of the second inequality into a test for collinearity
  • Decide what can be concluded from a product being zero, and what cannot

Words to know

TermDefinition in one lineFirst introduced
scalar productthe product of two vectors that returns a numberprinted in this chapter (§10.6, Part II p. 355)
dot productthe chapter's bracketed second name for it, from the symbol usedprinted in this chapter (§10.6, Part II p. 355), but split by a parenthesis so the two words never sit adjacent in the text layer — read on that page
angle betweenthe angle at which two vectors meet, measured from zero to a straight angleprinted in this chapter (Definition 2, §10.6.1, Part II p. 356)
perpendicularthe relation two nonzero vectors have exactly when their product is zeroprinted in this chapter (Observation 2, §10.6.1, Part II p. 356)
real numberwhat the product of two vectors is, and the first thing the chapter says about itprinted in this chapter (Observation 1, §10.6.1, Part II p. 356)
commutativethe property that the order of the two vectors does not matterprinted in this chapter (Observation 7, §10.6.1, Part II p. 356)
distributivitythe property that lets the product spread across a sumprinted in this chapter (Property 1, §10.6.1, Part II p. 356)
Cauchy-Schwartz inequalitythe bound on the size of a scalar product, as the chapter spells itprinted in this chapter (Example 19, Part II p. 360), broken across a line end, so read on the printed page — and with the second name misspelt, see the notes
triangle inequalitythe bound on the magnitude of a sumprinted in this chapter (Example 20, Part II p. 360)
pointwiseone of the two ways the chapter says functions can be multipliedprinted in this chapter (§10.6, Part II p. 355)
orthogonalperpendicular, in the word most later mathematics usesan added term; the word appears nowhere in this chapter, which always says perpendicular
inner productthe general name for the operation of which this is one instancean added term, not printed in this chapter — mention it only if the script has room to say it is a name for later

Where people slip up

  • "The scalar product of two vectors is a vector." It is a number, and the chapter's very first observation says so before anything else. Every later error in this section is downstream of forgetting it.
  • "A product of zero means the two vectors are perpendicular." Only if both are nonzero. Exercise 10.3 Q12 is built on exactly this gap, and its answer is that nothing can be concluded. Exercise 10.3 Q14 asks the student to produce the counterexample directly.
  • "The angle between two vectors could be measured either way round." The definition restricts it to the range from zero to a straight angle, which picks one of the two angles at the meeting point. Without the restriction the cosine would not be determined.
  • "A negative answer means I have made a mistake." It means the angle is obtuse. Example 14 produces one on purpose and it is the first negative answer in the section.
  • "The nine products of the three hats are nine facts to memorise." They are two observations applied nine times: each hat has magnitude one, and different hats are perpendicular.
  • "Property 1 in this section is the Property 1 I learnt for addition." It is not. The chapter reuses both labels. Say the section number every time.
  • "The scalar in Property 2 has to sit in a particular place." It may sit outside or on either factor. The printed chain says so, but it says one of the three things twice and uses two different letters for the scalar in one statement, so read it carefully.
  • "The Cauchy inequality and the triangle inequality are unrelated." The proof of the second cites the first by name at the step where it is needed. They are one argument in two halves.
  • "Collinearity has to be checked with components." The Remark on Part II p. 361 checks it with three magnitudes, and Example 21 does exactly that. Both routes work; the magnitude route is the one the chapter chose here.
  • "A product of two vectors with itself has no meaning." A vector against itself gives the square of its magnitude, which is Observation 3's particular case and is used in almost every worked example from Example 17 onwards.
Transcript3,758 words

Before anything gets defined, here is a question worth asking. Why would anyone want a second way to multiply two arrows? Look at multiplication elsewhere. Two numbers multiply to a number. Two matrices multiply to a matrix. You put in two of a thing and get back one of the same thing. But two functions do not behave like that. Multiply them value by value and you get a function. Feed one into the other and you get a function that way too — a completely different one, built by a completely different operation.

So multiplication is not always a single operation. Sometimes there are two, and they are not variations of each other. That is the case with arrows. Two products, genuinely different, and the giveaway is what comes out. One of them hands you back a plain number. That is the one we are doing. Here is the definition. Take two arrows, neither of them nothing. Put their tails together so there is an angle between them.

The product is the length of the first, times the length of the second, times the cosine of that angle. Three ingredients, and only one of them is new — the cosine. And notice what has just happened. Two arrows went in. A length is a number, a cosine is a number, and a number times a number times a number is a number. So the answer is not an arrow. No direction, no parts. One number, positive, negative or nought — and almost every mistake in this topic is downstream of forgetting that sentence.

There is a clause in that definition doing more work than it looks. The angle runs from nothing up to a straight angle. Half a turn, and no further. Why does that matter? Two arrows meeting at a point do not subtend one angle, they subtend two — one going round each way, adding to a full turn. And those two have different cosines. So without the restriction the definition would not name a single number. The first half turn picks exactly one of the two, and that is the whole reason the clause is there.

It also pins the cosine between minus one and one. Over fifteen thousand three hundred and seventy six pairs of arrows on a grid, it never once leaves that range. It reaches one at exactly a hundred and seventy six of them — the pairs lying along one line and pointing the same way. And it reaches minus one at exactly a hundred and seventy six — the pairs along one line pointing opposite ways.

Now the case the definition cannot reach. Suppose one of the two arrows is nothing at all. There is no arrow to lay alongside the other, so there is no angle, and the definition is asking for the cosine of something that does not exist. So the value gets written in by hand. If either arrow is nothing, the product is nought. That is a decision, not a deduction. But it is not an arbitrary decision, and here is the argument nobody makes out loud.

On the grid, two hundred and forty nine pairs carry the empty arrow, and the angle routine refuses at exactly those two hundred and forty nine — as it should, since there is nothing to measure. Every other route to the answer still works there, and every one returns nought, at all two hundred and forty nine. So the value chosen is the only one that agrees with everything else.

Keep this shape in mind. The other product of two arrows is defined the same way — a definition for the live case, and a separate convention for the empty one. The answer is a number, so it has a sign, and the sign carries information. The two lengths are never negative, so the sign of the whole thing is the sign of the cosine — and the cosine changes sign at a right angle.

Under a right angle, positive. At a right angle, nought. Over a right angle, negative. So one number, read for its sign alone, tells you what kind of angle you are looking at. You never need to find the angle itself. And that can be checked against a reading that never mentions the product — the side facing the angle, compared against the other two. The two readings agree at every one of the fifteen thousand three hundred and seventy six live pairs: six thousand six hundred and fifty six under a right angle, two thousand and sixty four at one, and six thousand six hundred and fifty six over.

The middle case deserves its own line, because it is the one you will use most. Two live arrows are perpendicular exactly when their product is nought. Read left to right, that is a test: compute the number, get nought, conclude a right angle. Read right to left, it is a condition: demand a right angle, and you have one equation to solve. Here is the same fact as a picture. Lay the two arrows out as the sides of a parallelogram; the diagonals are the sum and the difference. Those two have equal length exactly when the sides are perpendicular — a statement about lengths, with no product in it anywhere.

And it picks out precisely the same pairs: at all fifteen thousand three hundred and seventy six, the vanishing product and the equal diagonals agree. Now put an arrow against itself. The angle between an arrow and itself is nothing, and the cosine of nothing is one. So the product is the length times the length — the square of the length. Small, and used constantly. Every squared magnitude you meet in the working of these problems came from here.

Now put an arrow against its own negative. The angle is a straight one, the cosine is minus one, and the answer is that square with the sign turned — the genuine particular case of the straight-angle rule, and the one that usually gets skipped. Across a hundred and twenty five arrows both hold every time, while the control — asking for the square unturned against the negative — survives at exactly one arrow, the empty one, where there was no sign to turn.

Now the single most-used fact in everything that follows. Take the three axis arrows, the unit ones pointing along the three directions. There are nine products you can form, taking two at a time in every order — and you do not have to remember nine things, you have to remember two. Each has length one, so each against itself gives one times one times the cosine of nothing, which is one. And different axes are perpendicular, so each against a different one gives nought.

So the nine products form a three-by-three table with ones down the diagonal and noughts everywhere else. Six of the nine vanish, three survive. That table is built here from the geometric definition, not from any formula, and then the formula is asked the same nine questions and gives the same nine answers. It is worth seeing what a wrong table looks like. Pair each slot with the next one round instead, and you get a table that is just as tidy — three ones, six noughts — with its ones off the diagonal. Tidy is not the same as right.

The definition runs one way: give me the angle and I will give you the number. Now run it backwards. Divide both sides by the two lengths, and the cosine of the angle is the product over the two lengths multiplied. That is the working formula for the angle, and it is why the product is worth having at all: it turns an arithmetic quantity into a geometric one. Here it is on a case. Take one, one, minus one, and one, minus one, one. Pair the slots — one, minus one, minus one — and the product is minus one.

Each arrow has squared length three, so each has length root three, and the two multiplied give three. The cosine is minus one third. Negative, so the angle is over a right angle, and nothing has gone wrong. And it is not one of the tidy ones. Double it and the cosine becomes minus seven ninths, neither nought nor minus one, so twice the angle is neither a right angle nor a straight one. The inverse cosine of minus one third is the answer, and that is that.

Compare a tidy one. Lengths one and two with a product of one give a cosine of one half, and three of that angle make a straight angle exactly — so it is a third of a half turn. Two properties, and then we can derive the formula everybody actually uses. The first: the product spreads across a sum. An arrow against a sum of two arrows is the same as the two products added.

That is checked here over nineteen thousand six hundred and eighty three triples, and it holds at every one. The second: a scalar can sit anywhere. Multiply the first arrow by a number, or the second, or multiply the answer by it afterwards, and you get the same thing. Three placements, one value, at every one of seventy eight thousand one hundred and twenty five cases tried. And note what the second property does not say. It does not say you may put the scalar on both arrows. Do that and you have multiplied by the number twice.

That is a real error and not a harmless one — it still gives the right answer at twenty four thousand eight hundred and seventy seven of those cases, which are exactly the ones where the scalar is nought or the product already is. Both of these will get used in the next ninety seconds, and then almost never stated again. Here is the piece worth staying awake for. A definition is about to turn into an algorithm.

Write each arrow in components: some number of the first axis arrow, plus some number of the second, plus some number of the third. Same for the other. Now multiply. Spread across the first sum, spread across the second, and move all six scalars outside. That is both properties, used once each. What is left is nine terms, each a number, times a number, times a product of two axis arrows.

And we have those nine. Six are nought, so six terms disappear. Three are one, so three terms lose their factor entirely. What survives is the first parts multiplied, plus the second parts multiplied, plus the third. That is the formula — pair the slots and add. Six lines, every step justified, and nothing in it that was not already on the board. This is the one place in this subject where you watch a definition become a rule you could hand to a machine.

And it is worth checking rather than believing. The nine-term expansion, run as code with those nine values plugged in, lands on the paired-slot formula at every one of fifteen thousand six hundred and twenty five pairs. Now the formula earns its keep, because everything from here is arithmetic. First case. Take five, minus one, minus three, and one, three, minus five. Show that their sum and their difference are perpendicular.

The sum is six, two, minus eight. The difference is four, minus four, two. Pair the slots: twenty four, less eight, less sixteen. Nought. Perpendicular. Second case, and this is the shape most of the questions take: three arrows, and you want the one multiplier that makes a combination of the first two perpendicular to the third. Take two, two, three; minus one, two, one; and three, one, nought. The first pairs with the third to give eight, the second to give minus one.

Spread the product across the combination and the condition becomes eight, minus the multiplier, equals nought. So the multiplier is eight, and sweeping every whole number from minus twenty to twenty finds that one and no other. The formula also runs the other way, giving you lengths from products. Take the difference of two arrows. Its squared length is the first squared length, plus the second, minus twice the product — a rule that holds at every one of the fifteen thousand six hundred and twenty five pairs, so it is safe to use blind.

So: lengths two and three with a product of four. Four, less eight, plus nine — five. The difference has length root five, somewhere between two and three. Here is a neater one. Take an unknown arrow and a unit arrow, form the sum and the difference, and multiply those together. It is a difference of two squares, and the squares are squared lengths, so the answer is the unknown squared length minus one. That holds at all seven hundred and fifty cases the grid offers.

So if the product comes out eight, the squared length is nine and the length is three. If it comes out twelve, the length is root thirteen. And in each case you throw away the negative root, because a length is never negative — which the machinery here does by refusing a negative input outright rather than returning one. Two named inequalities now, and they are one argument in two halves. The first bounds the product: the size of the product of two arrows is never more than the two lengths multiplied.

You can see why immediately. The product is those two lengths times a cosine, and a cosine is never bigger than one in size. Multiply by at most one and nothing grows. That is the Cauchy–Schwarz inequality, and the whole of its proof is the sentence you just heard, plus a line disposing of the empty arrow, because the argument divides by both lengths. Over the grid it holds at all fifteen thousand six hundred and twenty five pairs.

Now, when is it tight? When the cosine is one in size — which is when the two arrows lie along one line, either way round. Exactly six hundred and one pairs meet the bound, and there are exactly six hundred and one pairs that lie along one line or carry the empty arrow. Insist on strict inequality everywhere instead and you are wrong at those six hundred and one.

The second inequality bounds a sum. The length of the sum of two arrows is never more than the two lengths added. Obvious if you draw it — two sides of a triangle against the third — and the proof is where the first inequality gets spent. Square the sum: the first squared length, plus twice the product, plus the second squared length. The middle term is the only one you cannot control, so cap it. By the first inequality, twice the product is at most twice the two lengths multiplied.

Put that in, and the right-hand side is the first squared length, plus twice the lengths multiplied, plus the second — which is exactly the two lengths added and then squared. So the square of the left is at most the square of the right, and both are lengths, so the left is at most the right. Every step runs cleanly at all fifteen thousand six hundred and twenty five pairs. Skip the capping step and you are right at only four hundred and twenty five.

Which brings us to those four hundred and twenty five. Equality here is stricter than before: not along one line, but along one line pointing the SAME way. Loosen it to either direction and you are wrong at a hundred and seventy six pairs. Now run that equality case backwards, and something rather nice falls out. Take three points. Join the first to the second, the second to the third, and the first to the third. The first two arrows add to the third.

By the inequality, that third length is at most the other two added — and equality means the two arrows point the same way, which from a common point means one straight line. So: if the two shorter joining lengths add exactly to the longest, the three points lie on a line, with the middle one between the other two. A collinearity test made of nothing but three lengths. Over all nineteen thousand six hundred and eighty three triples of points on a small grid, it picks out precisely the triples whose middle point sits on the way from the first to the third. One thousand five hundred and twenty nine do.

And it matters which two you add. Add the two sharing the first point instead and you still agree eighteen thousand and eighty three times — but you are wrong at sixteen hundred. Here it is on numbers. Three points whose joining arrows come out three, minus one, minus two; then six, minus two, minus four; and then nine, minus three, minus six. The squared lengths are fourteen, fifty six and a hundred and twenty six, so the lengths are root fourteen, twice it, and three times it.

One plus two is three. The points are on a line, and the middle one sits a third of the way along. And notice — that argument never touched the product. Only lengths. Now four points, and two joining arrows: one, four, minus one, and minus two, minus eight, two. Pair the slots — minus two, minus thirty two, minus two — and the product is minus thirty six. The squared lengths are eighteen and seventy two, so the lengths are three root two and six root two, and multiplied they give exactly thirty six.

So the cosine is minus thirty six over thirty six. Minus one exactly, and the angle is a straight one. The formula did not break at the extreme; it returned the extreme. Now here is the one line that made all of that unnecessary. The second arrow is minus two times the first. One is a scalar multiple of the other, so they lie along one line, and the multiplier is negative, so they point opposite ways. Straight angle. No product, no lengths, no division.

Both routes are worth having, but the second one is the one you should be looking for first. Two problems now that are the same idea run forwards and backwards, and they are much easier as a pair than separately. Forwards. Three arrows of lengths three, four and five, each one perpendicular to whatever the other two add up to. How long is the sum of all three? Square it: the three squared lengths, plus twice each of the three pairwise products. Group those cross terms by arrow, and each group is exactly one of the three given conditions. All of them vanish.

So the squared length is nine plus sixteen plus twenty five, which is fifty, and the answer is five root two. On the small grid, eight hundred and forty seven triples have that property, and the splitting holds at every one — while asking it of every triple regardless holds at only three thousand three hundred and sixty seven of nineteen thousand six hundred and eighty three. Now backwards. Three arrows of lengths three, four and two, and this time they add to nothing. Find the three pairwise products added together.

Same move. The sum is nothing, so its square is nothing: the three squared lengths, plus twice the thing you want. So twice what you want is minus nine minus sixteen minus four — minus twenty nine — and the answer is minus twenty nine halves. Three hundred and forty three such triples on the grid, and the rule reads the products off the three lengths correctly at every one. Do it with three unit arrows instead and you get minus three halves.

Last idea, and it is the one that catches people. A product comes out nought — what may you conclude? Two quite different reasons it could be nought: either one of the arrows is the empty one, or both are alive and genuinely perpendicular. On the grid, two thousand three hundred and thirteen pairs have a vanishing product. Two hundred and forty nine of those carry the empty arrow. Only the remaining two thousand and sixty four are actually perpendicular.

So a vanishing product means perpendicular only if you already know both arrows are there. Here is the trap built on that gap. You are told an arrow pairs to nought with every arrow there is. It has to be the empty one — and on the grid exactly one arrow does that. Now someone hands you a second condition about that same arrow. It is automatically satisfied, for every partner, all hundred and twenty five of them. It tells you nothing whatever.

Answer "perpendicular" there and you have fallen for it. The honest answer is that nothing can be concluded. One more thing you may not do: cancel. If an arrow pairs to the same number with two others, those two others need not be equal. The three axis arrows already break it — the first pairs to nought with each of the other two, and those two are not the same arrow. Across the grid, thirteen thousand two hundred and forty eight such cases.

So. What is worth keeping. The product of two arrows is a number. Not an arrow. Everything else is downstream of that. It is a length, a length and a cosine, with the angle pinned to the first half turn so that there is only one of it. And where there is no angle to be had, the value is chosen rather than deduced — chosen as the only one that agrees with everything else.

Its sign tells you the kind of angle. Positive, acute. Nought, right. Negative, obtuse, and nothing has gone wrong. Nine products of three axis arrows collapse to ones on a diagonal, and those nine turn the definition into the rule you actually use: pair the slots and add. Not a separate fact — six lines of consequence, and you have watched all six. Two inequalities, and the first is used inside the second. The equality case of the second is a collinearity test made of three lengths.

And a product of nought means one of two things, so before you say perpendicular, check that both arrows are actually there.

Where this fits

Either side of this one

The book

Open in a new tab