9.4.11 Vectors
A variable representing a vector can be typeset using the command:
Example:
![Image: x with a small right arrow above it.](img590.png)
Vectors are often typeset in bold. This can be
done by redefining the \vec
command.
You could use \mathbf
, for example:
![Image: upright bold x centred dot xi equals z](img591.png)
![$ \xi$](img63.png)
\boldsymbol
defined in the amsfonts package):
![As before but x and xi in italic bold](img592.png)
Located (or position) vectors, on the other hand, are usually typeset with a right
arrow, but the default definition of \vec
produces an
arrow that is too small:
![Image: the letters O P with a small right arrow
above them.](img593.png)
\overrightarrow
(Table 9.10):
![Image: as above but with a longer arrow that spans
both letters.](img594.png)
Example:
In the preamble, define \lvec
for a
located vector and \bvec
for a vector variable:
Later in the document:
![Image: the vector u appeas in italic bold and the
letters O P are as above.](img595.png)
Exercise 23: Maths: Vectors and ArraysTry to produce the following:
This book is also available as A4 PDF or 12.8cm x 9.6cm PDF or paperback (ISBN 978-1-909440-00-5).