If I have 3 vectors, a, b and c in 3D, I can check if they fulfill c=alpha a+beta b (i.e. if they lie in a 2D plane) for some real parameter alpha and beta by checking if (a xx b)*c=0. If I have 3 vectors in n dimensions, is there a similar, general formula to check if c=alpha a+beta b?

Antwan Perez

Antwan Perez

Answered question

2022-10-27

If I have 3 vectors, a, b and c in 3D, I can check if they fulfill c = α a + β b (i.e. if they lie in a 2D plane) for some real parameter α and β by checking if ( a × b ) c = 0. If I have 3 vectors in n dimensions, is there a similar, general formula to check if c = α a + β b?

Answer & Explanation

Lintynx

Lintynx

Beginner2022-10-28Added 11 answers

So I found something but I am not sure if it works. If we build the matrix D = ( a , b ), which has dimensions n × 2, then we can calculate [ D ( D T D ) 1 D T ] c. If this is equal to c, it means that the 3 vectors are coplanar. Does this hold in general?
duandaTed05

duandaTed05

Beginner2022-10-29Added 6 answers

c = α a + β b if and only if
c ( a c ) ( b b ) ( a b ) ( b c ) ( a a ) ( b b ) ( a b ) ( a b ) a ( a a ) ( b c ) ( a b ) ( a c ) ( a a ) ( b b ) ( a b ) ( a b ) b = 0
Note that if the displayed equation holds, then c = α a + β b with
α = ( a c ) ( b b ) ( a b ) ( b c ) ( a a ) ( b b ) ( a b ) ( a b ) , β = ( a a ) ( b c ) ( a b ) ( a c ) ( a a ) ( b b ) ( a b ) ( a b )
Going in the other direction, if c = α a + β b, then
a c = ( a a ) α + ( a b ) β , b c = ( a b ) α + ( b b ) β
is a system of two linear equations in the two unknowns α , β and, if I haven't made any typos or silly errors in algebra, the solution to that system is given by the second display

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?