This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/8259/. Also, please do not modify any references to the original work (if any) contained in this content.
This online calculator can find collinear 2d vectors in a given set of vectors. Enter vector coordinates x and y, separated by space, one line per vector. The calculator will find if any of them are collinear. You can find the description of the method with formulas below the calculator
How to find if vectors are collinear.
Collinear vectors are the vectors parallel to one line or lying on one line. Such vectors are linearly dependent, and you can express one vector through another as
Hence the most obvious way to check if two 2d vectors with coordinates are collinear is to check the equality
However, this can't be applied if any of the coordinates is zero.
Happily, there is another, more elegant criteria of vectors collinearity: The determinant of the matrix of vector coordinates should be equal to zero
Why? If determinant is equal to zero, hence the matrix rank is 1, which means that only one column in the matrix is independent, while another one is linearly dependent on it, which is essentially the condition of collinearity of vectors.
This expression is used by the calculator to check vectors for collinearity. Vectors are taken in pairs, and each set of collinear vectors is placed on the separate line in the result list.