12.3 Dot Product and the Angle Between Two Vectors (Wk 1)

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play

1/8

encourage image

There are no tags or description

Looks like no tags are added yet.

9 Terms

1
New cards

Define the dot product (3D and 2D) and compute the notes’ example.

  • For v⃗=⟨v1,v2,v3⟩\vec v=\langle v_1,v_2,v_3\rangle and w⃗=⟨w1,w2,w3⟩\vec w=\langle w_1,w_2,w_3\rangle, the dot product is the scalar (real number)
    v⃗⋅w⃗=v1w1+v2w2+v3w3\vec v\cdot\vec w=v_1w_1+v_2w_2+v_3w_3

  • 2D case: for v⃗=⟨v1,v2⟩\vec v=\langle v_1,v_2\rangle and w⃗=⟨w1,w2⟩\vec w=\langle w_1,w_2\rangle, v⃗⋅w⃗=v1w1+v2w2\vec v\cdot\vec w=v_1w_1+v_2w_2.

  • Example: ⟨2,3,1⟩⋅⟨−4,2,5⟩=2(−4)+3(2)+1(5)=−8+6+5=3\langle2,3,1\rangle\cdot\langle-4,2,5\rangle=2(-4)+3(2)+1(5)=-8+6+5=3.


2
New cards

What is v⃗⋅v⃗\vec v\cdot\vec v, and what are the algebraic properties of the dot product (Theorem 1)?

  • If v⃗=w⃗\vec v=\vec w (3D case): v⃗⋅v⃗=v12+v22+v32=∥v⃗∥2\vec v\cdot\vec v=v_1^2+v_2^2+v_3^2=\|\vec v\|^2.

  • Theorem 1:

    1. 0⃗⋅v⃗=v⃗⋅0⃗=0\vec 0\cdot\vec v=\vec v\cdot\vec 0=0

    2. v⃗⋅w⃗=w⃗⋅v⃗\vec v\cdot\vec w=\vec w\cdot\vec v (commutative)

    3. u⃗⋅(v⃗+w⃗)=u⃗⋅v⃗+u⃗⋅w⃗\vec u\cdot(\vec v+\vec w)=\vec u\cdot\vec v+\vec u\cdot\vec w and (v⃗+w⃗)⋅u⃗=v⃗⋅u⃗+w⃗⋅u⃗(\vec v+\vec w)\cdot\vec u=\vec v\cdot\vec u+\vec w\cdot\vec u (distributive)

    4. v⃗⋅v⃗=∥v⃗∥2\vec v\cdot\vec v=\|\vec v\|^2


3
New cards

How is the angle between two vectors defined, and why can you use θ\theta or 2π−θ2\pi-\theta when computing its cosine?

  • For any non-zero v⃗,w⃗\vec v,\vec w, the angle between them is chosen to satisfy 0≤θ≤π0\le\theta\le\pi.

  • The other angle around is 2π−θ2\pi-\theta. Since cos⁡θ=cos⁡(2π−θ)\cos\theta=\cos(2\pi-\theta), to compute the “cosine of the angle” both θ\theta and 2π−θ2\pi-\theta (or θ+2π\theta+2\pi) are OK.


4
New cards

State the dot product–angle theorem and prove it.

  • Theorem: let θ\theta be the angle between non-zero v⃗,w⃗\vec v,\vec w. Then
    v⃗⋅w⃗=∥v⃗∥ ∥w⃗∥cos⁡θorcos⁡θ=v⃗⋅w⃗∥v⃗∥ ∥w⃗∥\vec v\cdot\vec w=\|\vec v\|\,\|\vec w\|\cos\theta\qquad\text{or}\qquad\cos\theta=\frac{\vec v\cdot\vec w}{\|\vec v\|\,\|\vec w\|}

  • Proof:

    1. By the law of cosines (sides a,ba,b with included angle θ\theta, opposite side cc): c2=a2+b2−2abcos⁡θc^2=a^2+b^2-2ab\cos\theta.

    2. In vector notation (triangle with sides v⃗\vec v, w⃗\vec w and w⃗−v⃗\vec w-\vec v):
      ∥w⃗−v⃗∥2=∥v⃗∥2+∥w⃗∥2−2∥v⃗∥∥w⃗∥cos⁡θ(∗)\|\vec w-\vec v\|^2=\|\vec v\|^2+\|\vec w\|^2-2\|\vec v\|\|\vec w\|\cos\theta\quad(*)

    3. Recall ∥v⃗∥2=v⃗⋅v⃗\|\vec v\|^2=\vec v\cdot\vec v and ∥w⃗∥2=w⃗⋅w⃗\|\vec w\|^2=\vec w\cdot\vec w. Expand the left side:
      ∥w⃗−v⃗∥2=(w⃗−v⃗)⋅(w⃗−v⃗)=w⃗⋅w⃗−w⃗⋅v⃗−v⃗⋅w⃗+v⃗⋅v⃗=w⃗⋅w⃗+v⃗⋅v⃗−2v⃗⋅w⃗\|\vec w-\vec v\|^2=(\vec w-\vec v)\cdot(\vec w-\vec v)=\vec w\cdot\vec w-\vec w\cdot\vec v-\vec v\cdot\vec w+\vec v\cdot\vec v=\vec w\cdot\vec w+\vec v\cdot\vec v-2\vec v\cdot\vec w The middle terms combine because v⃗⋅w⃗=w⃗⋅v⃗\vec v\cdot\vec w=\vec w\cdot\vec v.

    4. Plug into (∗)(*): w⃗⋅w⃗+v⃗⋅v⃗−2v⃗⋅w⃗=v⃗⋅v⃗+w⃗⋅w⃗−2∥v⃗∥∥w⃗∥cos⁡θ\vec w\cdot\vec w+\vec v\cdot\vec v-2\vec v\cdot\vec w=\vec v\cdot\vec v+\vec w\cdot\vec w-2\|\vec v\|\|\vec w\|\cos\theta.

    5. Cancel w⃗⋅w⃗\vec w\cdot\vec w and v⃗⋅v⃗\vec v\cdot\vec v on both sides, then divide by −2-2:
      v⃗⋅w⃗=∥v⃗∥∥w⃗∥cos⁡θ\vec v\cdot\vec w=\|\vec v\|\|\vec w\|\cos\theta


5
New cards

Define perpendicular (orthogonal) vectors and state the orthogonality criterion.

  • Special case θ=π2\theta=\frac{\pi}{2}. Two non-zero vectors v⃗,w⃗\vec v,\vec w are perpendicular or orthogonal if the angle θ=π2\theta=\frac{\pi}{2}. Write v⃗⊥w⃗\vec v\perp\vec w.

  • Convention: 0⃗⊥v⃗\vec 0\perp\vec v for any vector v⃗\vec v.

  • Criterion: v⃗⊥w⃗\vec v\perp\vec w if and only if v⃗⋅w⃗=0\vec v\cdot\vec w=0.


6
New cards

How do you tell from the dot product whether the angle is acute or obtuse?

  • θ\theta is acute iff cos⁡θ>0\cos\theta>0 iff v⃗⋅w⃗>0\vec v\cdot\vec w>0.

  • θ\theta is obtuse iff cos⁡θ<0\cos\theta<0 iff v⃗⋅w⃗<0\vec v\cdot\vec w<0.


7
New cards

What is an orthogonal decomposition of u⃗\vec u with respect to v⃗\vec v? Derive the coefficient λ\lambda.

  • Setup: u⃗,v⃗\vec u,\vec v are two vectors with v⃗\vec v non-zero.

  • Goal: find u⃗=u⃗1+u⃗2\vec u=\vec u_1+\vec u_2 with u⃗1∥v⃗\vec u_1\parallel\vec v and u⃗2⊥v⃗\vec u_2\perp\vec v. Also written u⃗=u⃗∥v⃗+u⃗⊥v⃗\vec u=\vec u_{\parallel\vec v}+\vec u_{\perp\vec v}.

  • Derivation:

    1. Since u⃗1∥v⃗\vec u_1\parallel\vec v, there is λ∈R\lambda\in\mathbb{R} with u⃗1=λv⃗\vec u_1=\lambda\vec v.

    2. Dot both sides of u⃗=u⃗1+u⃗2\vec u=\vec u_1+\vec u_2 with v⃗\vec v:
      u⃗⋅v⃗=(u⃗1+u⃗2)⋅v⃗=u⃗1⋅v⃗+u⃗2⋅v⃗=u⃗1⋅v⃗=λv⃗⋅v⃗=λ∥v⃗∥2\vec u\cdot\vec v=(\vec u_1+\vec u_2)\cdot\vec v=\vec u_1\cdot\vec v+\vec u_2\cdot\vec v=\vec u_1\cdot\vec v=\lambda\vec v\cdot\vec v=\lambda\|\vec v\|^2 The term u⃗2⋅v⃗=0\vec u_2\cdot\vec v=0 because u⃗2⊥v⃗\vec u_2\perp\vec v.

    3. Therefore λ=u⃗⋅v⃗v⃗⋅v⃗\lambda=\dfrac{\vec u\cdot\vec v}{\vec v\cdot\vec v},  u⃗1=u⃗⋅v⃗v⃗⋅v⃗v⃗\ \vec u_1=\dfrac{\vec u\cdot\vec v}{\vec v\cdot\vec v}\vec v,  u⃗2=u⃗−u⃗1\ \vec u_2=\vec u-\vec u_1.


8
New cards

State the orthogonal decomposition formula and conclusion.

  • given two vectors u⃗,v⃗\vec u,\vec v, there exist u⃗∥v⃗\vec u_{\parallel\vec v} and u⃗⊥v⃗\vec u_{\perp\vec v} with u⃗=u⃗∥v⃗+u⃗⊥v⃗\vec u=\vec u_{\parallel\vec v}+\vec u_{\perp\vec v}. Here u⃗∥v⃗\vec u_{\parallel\vec v} is parallel to v⃗\vec v and u⃗⊥v⃗\vec u_{\perp\vec v} is orthogonal to v⃗\vec v. This is the (orthogonal) decomposition of u⃗\vec u with respect to v⃗\vec v.

  • Formula:
    u⃗∥v⃗=u⃗⋅v⃗v⃗⋅v⃗ v⃗,u⃗⊥v⃗=u⃗−u⃗∥v⃗\vec u_{\parallel\vec v}=\frac{\vec u\cdot\vec v}{\vec v\cdot\vec v}\,\vec v,\qquad \vec u_{\perp\vec v}=\vec u-\vec u_{\parallel\vec v}


9
New cards

Worked example: find the decomposition of u⃗=⟨5,1,−3⟩\vec u=\langle5,1,-3\rangle with respect to v⃗=⟨4,4,2⟩\vec v=\langle4,4,2\rangle.

  1. u⃗⋅v⃗=5(4)+1(4)+(−3)(2)=20+4−6=18\vec u\cdot\vec v=5(4)+1(4)+(-3)(2)=20+4-6=18.

  2. v⃗⋅v⃗=42+42+22=16+16+4=36\vec v\cdot\vec v=4^2+4^2+2^2=16+16+4=36.

  3. u⃗∥v⃗=1836v⃗=12⟨4,4,2⟩=⟨2,2,1⟩\vec u_{\parallel\vec v}=\dfrac{18}{36}\vec v=\dfrac12\langle4,4,2\rangle=\langle2,2,1\rangle (the projection along v⃗\vec v).

  4. u⃗⊥v⃗=u⃗−u⃗∥v⃗=⟨5,1,−3⟩−⟨2,2,1⟩=⟨3,−1,−4⟩\vec u_{\perp\vec v}=\vec u-\vec u_{\parallel\vec v}=\langle5,1,-3\rangle-\langle2,2,1\rangle=\langle3,-1,-4\rangle (orthogonal to v⃗\vec v).

  5. Result: u⃗=⟨2,2,1⟩+⟨3,−1,−4⟩\vec u=\langle2,2,1\rangle+\langle3,-1,-4\rangle.