Skip to content

Vectors in axes

Vectors in axes

Axes in space

xyzP(3,4,3)(3,4,0)O

Three mutually perpendicular axes meet at the origin O\displaystyle O: the x\displaystyle x-axis (towards us), the y\displaystyle y-axis (to the right) and the z\displaystyle z-axis (up).

  • Every point has three coordinates: P(3,4,3)\displaystyle P(3,4,3) – go 3 along x\displaystyle x, 4 along y\displaystyle y and 3 up.
  • The coordinate planes: the xy\displaystyle xy plane (where z=0\displaystyle {z}={0}), the xz\displaystyle xz plane (y=0\displaystyle {y}={0}), the yz\displaystyle yz plane (x=0\displaystyle {x}={0}).
  • The position vector of P\displaystyle P is OP→=(3,4,3)\displaystyle {\overrightarrow{OP}}={(3,4,3)}. If i‾\displaystyle \underline{i}, j‾\displaystyle \underline{j}, k‾\displaystyle \underline{k} are vectors of length 1 along the axes, OP→=3i‾+4j‾+3k‾\displaystyle {\overrightarrow{OP}}={3\underline{i}+4\underline{j}+3\underline{k}} – the unique representation of OP→\displaystyle \overrightarrow{OP} by them.

A vector whose tail is at the origin describes a point, so the same coordinates describe both a vector and a point.

Operations in coordinates

Since u‾=u1i‾+u2j‾+u3k‾\displaystyle {\underline{u}}={u_1\underline{i}+u_2\underline{j}+u_3\underline{k}}, the operations are done coordinate by coordinate:

  • (u1,u2,u3)+(v1,v2,v3)=(u1+v1, u2+v2, u3+v3)\displaystyle {(u_1,u_2,u_3)+(v_1,v_2,v_3)}={(u_1+v_1,\ u_2+v_2,\ u_3+v_3)}, and t(u1,u2,u3)=(tu1,tu2,tu3)\displaystyle {t(u_1,u_2,u_3)}={(tu_1,tu_2,tu_3)};
  • a vector between two points – the end minus the start: AB→=B−A\displaystyle {\overrightarrow{AB}}={B-A};
  • length: ∣u‾∣=u12+u22+u32\displaystyle {|\underline{u}|}={\sqrt{u_1^2+u_2^2+u_3^2}} (Pythagoras twice, as in the box’s diagonal);
  • a point M\displaystyle M dividing AB\displaystyle AB in the ratio m:n\displaystyle m:n: M=nA+mBm+n\displaystyle {M}={\frac{nA+mB}{m+n}}; the midpoint – A+B2\displaystyle \frac{A+B}{2}.
The scalar product in coordinates

The unit vectors are perpendicular and of length 1: i‾2=j‾2=k‾2=1\displaystyle {\underline{i}^2}={\underline{j}^2}={\underline{k}^2}={1}, and i‾⋅j‾=i‾⋅k‾=j‾⋅k‾=0\displaystyle {\underline{i}\cdot\underline{j}}={\underline{i}\cdot\underline{k}}={\underline{j}\cdot\underline{k}}={0}. Opening the brackets leaves only the products of matching coordinates:

u‾⋅v‾\displaystyle \underline{u}\cdot\underline{v} =\displaystyle = u1v1+u2v2+u3v3\displaystyle u_1v_1+u_2v_2+u_3v_3
Example: a triangle in coordinates

The points A(1,2,3)\displaystyle A(1,2,3), B(4,0,−1)\displaystyle B(4,0,-1), C(2,5,1)\displaystyle C(2,5,1) are given.
Find the angle BAC\displaystyle BAC and the midpoint of the side BC\displaystyle BC.

  • AB→=(3,−2,−4)\displaystyle {\overrightarrow{AB}}={(3,-2,-4)}, AC→=(1,3,−2)\displaystyle {\overrightarrow{AC}}={(1,3,-2)}.
  • AB→⋅AC→=3−6+8=5\displaystyle {\overrightarrow{AB}\cdot\overrightarrow{AC}}={3-6+8}={5}.
  • ∣AB→∣=9+4+16=29\displaystyle {|\overrightarrow{AB}|}={\sqrt{9+4+16}}={\sqrt{29}}, ∣AC→∣=1+9+4=14\displaystyle {|\overrightarrow{AC}|}={\sqrt{1+9+4}}={\sqrt{14}}.
  • cos⁡∠BAC=529⋅14\displaystyle {\cos\angle BAC}={\frac{5}{\sqrt{29}\cdot\sqrt{14}}}, so ∠BAC≈75.63∘\displaystyle \angle BAC\approx75.63^{\circ}.
  • The midpoint of BC\displaystyle BC: (4+22,0+52,−1+12)=(3,52,0)\displaystyle {\left(\frac{4+2}{2},\frac{0+5}{2},\frac{-1+1}{2}\right)}={\left(3,\frac{5}{2},0\right)}.
Exercise 1

u‾=(2,−1,3)\displaystyle {\underline{u}}={(2,-1,3)}, v‾=(1,4,−2)\displaystyle {\underline{v}}={(1,4,-2)}.

a
2u‾−3v‾\displaystyle 2\underline{u}-3\underline{v}

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

    b
    u‾⋅v‾\displaystyle \underline{u}\cdot\underline{v}

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

      c
      ∣u‾∣\displaystyle |\underline{u}|

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

        d
        The angle between u‾\displaystyle \underline{u} and v‾\displaystyle \underline{v}, rounded to two places

          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

          Exercise 2

          The points A(1,0,2)\displaystyle A(1,0,2) and B(4,6,−1)\displaystyle B(4,6,-1) are given.
          Find the point M\displaystyle M on AB\displaystyle AB for which AM:MB=1:2\displaystyle {AM:MB}={1:2}.

            / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

            / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

            Exercise 3

            a‾=(1,2,3)\displaystyle {\underline{a}}={(1,2,3)}, b‾=(4,5,6)\displaystyle {\underline{b}}={(4,5,6)}, c‾=(2,1,0)\displaystyle {\underline{c}}={(2,1,0)}.

            a

            Express c‾\displaystyle \underline{c} as a linear combination of a‾\displaystyle \underline{a} and b‾\displaystyle \underline{b}: solve the vector equation, which is three equations.

              b
              13a‾+13c‾\displaystyle \frac{1}{3}\underline{a}+\frac{1}{3}\underline{c}

                / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

                c
                13b‾−13a‾\displaystyle \frac{1}{3}\underline{b}-\frac{1}{3}\underline{a}

                  / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                  / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

                  d

                  You found two different representations of (1,1,1)\displaystyle (1,1,1) with a‾\displaystyle \underline{a}, b‾\displaystyle \underline{b}, c‾\displaystyle \underline{c}. Does this contradict the uniqueness of a representation? Explain.

                  Exercise 4

                  Find a\displaystyle a for which the vectors (a,2,−1)\displaystyle (a,2,-1) and (3,a,4)\displaystyle (3,a,4) are perpendicular.

                    Exercise 5

                    The points A(2,1,0)\displaystyle A(2,1,0), B(4,3,1)\displaystyle B(4,3,1), C(1,3,−2)\displaystyle C(1,3,-2) are given.

                    a
                    AB→⋅AC→\displaystyle \overrightarrow{AB}\cdot\overrightarrow{AC}

                      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

                      b
                      The area of the triangle ABC\displaystyle ABC

                        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power