Skip to content

The scalar product in coordinates

The scalar product in coordinates

The scalar product from the coordinates

The unit vectors are perpendicular to each other and each is 1 long, so i⃗2=j⃗2=k⃗2=1\displaystyle {\vec{i}^2}={\vec{j}^2}={\vec{k}^2}={1}, and i⃗⋅j⃗=i⃗⋅k⃗=j⃗⋅k⃗=0\displaystyle {\vec{i}\cdot\vec{j}}={\vec{i}\cdot\vec{k}}={\vec{j}\cdot\vec{k}}={0}. Multiplying out by the distributive law leaves only the products of matching coordinates:

(x1,y1,z1)⋅(x2,y2,z2)\displaystyle (x_1,y_1,z_1)\cdot(x_2,y_2,z_2) =\displaystyle = x1x2+y1y2+z1z2\displaystyle x_1x_2+y_1y_2+z_1z_2
∣u⃗∣\displaystyle |\vec{u}| =\displaystyle = x2+y2+z2\displaystyle \sqrt{x^2+y^2+z^2}
cos⁡α\displaystyle \cos\alpha =\displaystyle = u⃗⋅v⃗∣u⃗∣⋅∣v⃗∣\displaystyle \frac{\vec{u}\cdot\vec{v}}{|\vec{u}|\cdot|\vec{v}|}
Example: a triangle’s angle and area

ABC

The points A(−1,1,0)\displaystyle A(-1,1,0), B(0,1,1)\displaystyle B(0,1,1), C(−4,3,−1)\displaystyle C(-4,3,-1) are given. Find the angle BAC\displaystyle BAC and the area of the triangle ABC\displaystyle ABC.

  • AB→=(1,0,1)\displaystyle {\overrightarrow{AB}}={(1,0,1)}, AC→=(−3,2,−1)\displaystyle {\overrightarrow{AC}}={(-3,2,-1)}.
  • AB→⋅AC→=−3+0−1=−4\displaystyle {\overrightarrow{AB}\cdot\overrightarrow{AC}}={-3+0-1}={-4}.
  • ∣AB→∣=2\displaystyle {|\overrightarrow{AB}|}={\sqrt{2}}, ∣AC→∣=9+4+1=14\displaystyle {|\overrightarrow{AC}|}={\sqrt{9+4+1}}={\sqrt{14}}.
  • cos⁡∠BAC=−42⋅14\displaystyle {\cos\angle BAC}={\frac{-4}{\sqrt{2}\cdot\sqrt{14}}}, so ∠BAC≈139.11∘\displaystyle \angle BAC\approx139.11^{\circ} – an obtuse angle, since the product is negative.
  • S=12⋅2⋅14⋅sin⁡139.11∘≈1.73\displaystyle {S}={\frac{1}{2}\cdot\sqrt{2}\cdot\sqrt{14}\cdot\sin139.11^{\circ}\approx1.73}.
Exercise 1

The vectors u⃗=(2,−1,3)\displaystyle {\vec{u}}={(2,-1,3)} and v⃗=(1,4,2)\displaystyle {\vec{v}}={(1,4,2)} are given.

a
u⃗⋅v⃗\displaystyle \vec{u}\cdot\vec{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⃗∣\displaystyle |\vec{u}|, exactly

      / – 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
      The angle between u⃗\displaystyle \vec{u} and v⃗\displaystyle \vec{v}, to two decimal 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

        ABC

        The points A(3,−4,1)\displaystyle A(3,-4,1), B(4,1,8)\displaystyle B(4,1,8), C(2,0,7)\displaystyle C(2,0,7) 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 angle BAC\displaystyle BAC, to two decimal 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

            c
            The area of the triangle ABC\displaystyle ABC, to two decimal 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 3

              αABCD

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

              a

              Prove that the quadrilateral ABCD\displaystyle ABCD is a parallelogram.

              b
              The parallelogram’s acute angle, to two decimal 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

                c
                The parallelogram’s area, to two decimal 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 4

                  ABC

                  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

                    What follows about the angle BAC\displaystyle BAC? What kind of triangle is ABC\displaystyle ABC?

                    c
                    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