# what is a vector perpendicular to a plane of vectors

I have 3 or 4 vectors connected that forms a plane. How can I find the vector that is perpendicular to this plane?

it can be a unit vector as long as it preserves this direction. each vector is on 300 dimensions.

How to do this calculation in Python.

• take the cross product – shimao Apr 18 '19 at 1:47
• As @shimo said, you need to take the cross product of the vectors. In Python you can do so by using numpy.cross function as shown here. – EhsanK Apr 18 '19 at 2:20
• so the cross product of 2 vectors, i understand, but how about the other 2 that forms the plane together. sorry, am linear algebra newbie, how many times i need to do cross product? – Jay Qadan Apr 18 '19 at 2:30
• I think more clarification is needed as what's the use case that you intersect 4 lines to form a plane? Because, if it's related to linear algebra, you can form a plane only using two lines. If your use case is more like linear programming where you form a convex feasible region from your constraints (each a line in a 2D space), then that's something else. – EhsanK Apr 18 '19 at 3:02