# Collinearity of vectors in 2d space

This online calculator determines if 2d space vectors are collinear

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

or

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.

#### Similar calculators

**

**PLANETCALC, Collinearity of vectors in 2d space

## Comments