The vector calculator allows the calculation of the coordinates of a vector from the coordinates of two points online.

The vector calculator allows to **determine the coordinates of a vector from two points**, it applies to
points in the plane and space. The vector calculator returns the calculation steps.

- Calculate the coordinates of a vector from two points in the plane
- Calculate the coordinates of a vector from two points in space
- Calculate the coordinates of a vector from 2 points in a system of any dimension The vector calculator is used according to the same principle for any dimension of systems.

Let (O, `vec (i)`, `vec (j)`) a system, A and B two points which are respective coordinates (`x_a`,`y_(a)`) and (`x_(b)`,`y_(b)`) in the system (O,`vec(i)`,`vec(j)`) .

The coordinates of the vector `vec(AB)` are (`x_(b)`-`x_(a)`,`y_(b)`-`y_(a)`) in the system (O,`vec(i)`,`vec(j)`).

The vector calculator is able to calculate numeric coordinates or symbolic coordinates.

Let A(1;2) B(3;5) to calculate the coordinates of the vector `vec(AB)`, enter vector_coordinates(`[1;2];[3;5]`).

Let A(a;b) B(2*a;`b/2`) to calculate the coordinates of the vector `vec(AB)`, enter vector_coordinates(`[a;b];[2*a;b/2]`).

Let (O,`vec(i)`,`vec(j)`,`vec(k)`) a system, A and B two points which are respective coordinates (`x_a`,`y_(a)`,`z_(a)`) and (`x_(b)`,`y_(b)`,`z_(a)`) in the system (O,`vec(i)`,`vec(j)`,`vec(k)`) .

The coordinates of the vector `vec(AB)` are (`x_(b)`-`x_(a)`,`y_(b)`-`y_(a)`,`z_(b)`-`z_(a)`) in the system (O,`vec(i)`,`vec(j)`,`vec(k)`).

The vector calculator allows to calculate numeric coordinates or symbolic coordinates.

Let A(1;2;1) B(3;5;2) to calculate the coordinates of the vector `vec(AB)`, enter vector_coordinates(`[1;2;1];[3;5;2]`) , the results [2;3;1] is returned.

Let A(a;b,c) B(2*a;2-b,c+1) to calculate the coordinates of the vector `vec(AB)`, enter vector_coordinates(`[a;b;c];[2*a;2-b;c+1]`) , the result [a;2-2*b;1] is returned.

vector_coordinates(point;point)

vector_coordinates(`[1;2;1];[5;5;6]`) returns [4;3;5]

See also

- Vector calculator : vector_calculator. The vector calculator allows to do calculations with vectors using coordinates.
- Calculating the coordinates of a vector from two points. : vector_coordinates. The vector calculator allows the calculation of the coordinates of a vector from the coordinates of two points online.
- Determinant calculator : determinant. The determinant function calculates online the determinant of vectors or the determinant of a matrix.
- Calculating the difference of two vectors : vector_difference. The vector_difference function is used to calculate the difference of two vectors online.
- Calculating the norm of a vector : vector_norm. The vector calculator allows the calculation of the norm of a vector online.
- Calculus scalar triple product : scalar_triple_product. The scalar triple product calculator allows online calculation of scalar triple product.
- Dot product calculator : dot_product. The dot product calculator allows the calculation of the dot product of two vectors online from their coordinates.
- Product of a vector by a number : product_vector_number. The vector calculator allows to calculate the product of a vector by a number online.
- Cross product calculator : cross_product. The vector calculator allows the calculation of the cross product of two vectors online from their coordinates.
- Calculating the sum of two vectors : vector_sum. The vector calculator allows the calculation of the sum of two vectors online.