LightMySky
به انگلیسی

The Dot Product: Angles and Projections

One product of two vectors returns a number that encodes the angle between them. It tests perpendicularity and splits one vector into parts along and across another.

شروع یادگیری این موضوعبه حساب کاربری نیازی نیست. پیشرفت در همین مرورگر ذخیره می‌شود.

کارهایی که یادگیرنده بعد از این درس می‌تواند انجام دهد

  • Find the angle between two vectors from their dot product
  • Decide perpendicularity from a dot product of zero
  • Resolve a vector into components parallel and perpendicular to another

۱ · بخوان

The dot product turns two vectors into one number: multiply matching components and add. For (2, 5) and (4, 1) you get 8 + 5 = 13. The same number equals the length of the first vector times the length of the second times the cosine of the angle between them. So divide the dot by both lengths to get the cosine, then take the inverse cosine. A positive dot means an acute angle, zero means a right angle, and negative means obtuse.

Try it together

A zero dot product from two nonzero vectors means the vectors are perpendicular. Check (3, 1) and (-1, 3): 3 times -1 plus 1 times 3 is 0, so they meet at a right angle. By contrast, (3, 1) and (1, 3) dot to 3 + 3 = 6, so their angle is acute.

u = (2, 1)unit v = (3/5, 4/5)u dot unit v = 2along part = (6/5, 8/5)across = (4/5, -3/5)
Split (2, 1) against the direction (3, 4): make a unit direction, dot for the component, scale it, then subtract to get the part across.

To find how much of a vector u runs along a direction v, divide v by its length, then dot u with that unit vector. The direction (3, 4) has length 5, so its unit vector is (3/5, 4/5), and (2, 1) has component 6/5 + 4/5 = 2 along it. The projection vector is the component times the unit vector: (6/5, 8/5). The shortcut (u dot v over v dot v) times v gives the same vector: 10/25 times (3, 4).

Try it together

The part across the direction is what is left. For (2, 1) and the direction (3, 4), subtract the projection: (2, 1) minus (6/5, 8/5) is (4/5, -3/5). Check it: (4/5, -3/5) dotted with (3, 4) is 12/5 - 12/5 = 0, so this part is perpendicular.

Good to know

For angles, find the dot from components, divide by both lengths to get the cosine, then take the inverse cosine. If the dot is zero and neither vector is zero, the angle is 90 degrees.

Multiply matching parts and add, read the angle from the cosine, and split vectors with projection.

The lesson and quiz items were written for this dataset. The lesson sections and quiz item q5 were later revised.

Extra items x1 to x8 were written for this dataset. The rewritten readings were written for this dataset. Videos are from Khan Academy.

۲ · ببین

به انگلیسی

دور از صفحه‌نمایش

چاپ کاربرگکاغذ A4، با یک صفحهٔ جواب‌ها برای بزرگ‌ترها. بدون صفحه‌نمایش، بدون اینترنت.

جایگاه این موضوع

این موضوع به کجا میرسه

شغل‌هایی که به این مهارت وابسته هستند. یکی رو دنبال کن تا ببینی روی چی ساخته شده.

سپس تمرین

۱۶ سؤال پشت این درس منتظرند، هر کدام با پاسخ توضیح‌داده‌شده. هر پاسخ آسمان را پر می‌کند: ستاره‌ها هنگام یادگیری روشن می‌شوند و وقتی زمان برگشتن است کمرنگ می‌شوند.

شروع یادگیری این موضوع