The law of cosine is norm(b−a)2=norm(b)^2+norm(a)^2−2 norm(b)norm(a)cos theta . Is there a way to prove this when vectors a,b have more than 3 components? For 3 or less components one can prove it using geometry but what about higher dimensions?

divamannyxv

divamannyxv

Open question

2022-08-21

The law of cosine is
b a 2 = b 2 + a 2 2 b a cos θ
Is there a way to prove this when vectors a,b have more than 3 components?
For 3 or less components one can prove it using geometry but what about higher dimensions?

Answer & Explanation

Lina Watson

Lina Watson

Beginner2022-08-22Added 9 answers

This is obviously trivially independent of the dimension.. If you square the difference b-a you get the square of b minus the square of a, minus 2 times the the inner product of a and b.
If you want a geometric interpretation, imagine you want to find a circle circumference. You need to approximate its lenght by regular polygons whose sides you relate to the radius using the inner product and if you use cosine in its definition and take as angle to be in radians you get the correct approximation and in the limit you get 2 pi which you can again approximate using archimedes method.
Yareli Bowman

Yareli Bowman

Beginner2022-08-23Added 1 answers

In any dimension, the norm is related to the scalar product by :
a 2 = a a
and the angle θ between two vectors a,b is defined by :
a b = a b cos θ
Therefore, :
a b 2 = ( a b ) ( a b ) = a a a b b a + b b = a 2 + b 2 2 a b = a 2 + b 2 2 a b cos θ

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?