icon-Vektor Vector Calculation Rules

History of vector calculation

The vector calculus goes back to H. G. Grassmann and parallel to Hamilton. Grassmann published in 1844 the "Lineale Ausdehnungslehre". As a precursor Descartes and Möbius apply. The Irish mathematician William Rowan Hamilton (1805 - 1865) developed the theory of quaternions, which are considered as precursors of the vectors. The term scalar goes back to Hamilton. 1888 the Italian mathematician Giuseppe Peano (1858-1932) developed an axiomatic definition of a vector space.


Quantities that can be represented by a real number. Examples for scalar values are temperature, mass, ...


Vectors, in addition to its value require the specification of a direction. In physics, e.g. Velocity, field strength, ... In general, a vector is not limited to three dimensions. In general it is an n-tuple of real numbers that is often listed as a column vector.

v= v1 v2 vn

Linear Dependence

Two vectors are called linearly dependent or collinear if one can be converted by multiplication by a scalar in the other. The cross product of collinear vectors disappears.


Two vectors are called orthogonal if the dot product of two vectors vanishes. Geometrically, the vectors are perpendicular to each other then that is the angle enclosed by the vectors is 90°.

Unit vector

Vectors of length 1 are called unit vectors. Each vector can be converted by normalizing into the unit vector by the vector is divided by its length.

Multiple products

Multiple products of vectors are not associative in general. That the general rule is that the order in which the products are carried out is relevant.

In general is:




For the double vector product the development applies:


The scalar triple product uvw is equal to the volume of the plane defined by the three vectors parallelepiped. The scalar triple product is positive if the three vectors form a right hand system.

Lagrangesche Identity:


Geometrical approches

Equation of the line through the two points P0 und P1 given by the vectors r0 und r1:


Distance of two points P0 and P1:


Calculation rules for vectors

Multiplication of a vector with a scalar

The multiplication of a vector by a scalar positive λ only changes the length of the vector and not direction. In the multiplication with a scalar, the negative direction of the vector changes in the opposite direction.

λv= λv1 λv2 λvn

For the multiplication of a vector by a scalar λ the distributive law holds.

λv+w = λv+λw

Addition of vectors

The addition of vectors is done in Cartesian coordinates componentwise. The vector addition is commutative and associative.

v+w= v1 v2 vn + w1 w2 wn = v1+w1 v2+w2 vn+wn

Geometrically, the resulting vector can be constructed by one of the vectors is parallel shifted to the other end point of the vector. The connection from the start point of the first vector to the end point of the second vector is the resultant of vector of vector addition.Graphical vector additionvector_calc


Subtraction of vectors

Subtraction of vectors is carried out as by the addition of the components are subtracted.

v-w= v1 v2 vn - w1 w2 wn = v1-w1 v2-w2 vn-wn

Geometrically, the construction similar to the addition of only the vector will be mirrored to the negative sign in the direction.Graphical vector subtractionvector_calc


Dot Product (inner Product) of vectors

The dot product is defined as the product of the components and the sum of these products. The scalar product is not of the order-dependent (commutative). The scalar product name comes from the fact that the result is a scalar and not a vector.

vw= v1 v2 vn w1 w2 wn = v1w1+ v2w2+ + vnwn = i=1nviwi

The scalar product can be interpreted as the product of the geometric projection of a vector in the direction of the other vector. Physically it means that the product is formed only with the Kompnente of the vector that is effective in the direction of another vector.
The scalar product can be expressed geometrically. Here, φ the included angle of the vectors.Graphical inner productvector_calc


vw= |v||w|cosφ

For the scalar product of the distributive law apply

uv+w = uv+uw

and the commutative law

vw = wv

Dot Product calculator for vectors with 3 components.

vw= v1 v2 v3 w1 w2 w3

Input fields for the vector elements.

v1= w1=

v2= w2=

v3= w3=

Length of a vector

The magnitude of a vector geometrically corresponds to the length of the vector.

v= | v1 v2 vn | = v12+v22++vn2 = i=1nvi2

Calculator for the length of a vector with 3 components.

| v | = | v1 v2 v3 |

Input fields for the vector elements.




Cross Product (outer product) of vectors

The vector product is defined in three-dimensional Euclidean vector space as follows.

vw= v1 v2 v3 w1 w2 w3 = v2w3-v3w2 v1w3-v3w1 v1w2-v2w1

The vector product provides as a result a vector which is perpendicular to the plane spanned by the two vectors and the length of which corresponds to the surface area of ​​the clamped parallelogram.
The cross product can be expressed geometrically. Here, φ the included angle of the vectors and n is the vector perpendicular to the surface.

vw= |v||w|sinφn

The vector product is anti-commutative
vw = -wv


Cross Product calculator for vectors with 3 components.

vw= v1 v2 v3 w1 w2 w3

Input fields for the vector elements.

v1= w1=

v2= w2=

v3= w3=

Multiplication of a vector with a matrix

The product of a matrix by a vector is a linear mapping. Explains the multiplication when the number of columns of the matrix is ​​equal to the number of elements of the vector. The result is a vector whose number of components equal to the number of rows of the matrix. That the example a matrix with two rows a vector always maps to a vector with two components.Graphical Matrix-Vector produktvector_calc

Av= a11a12a1m a21a22a2m an1an2anm v1 v2 vm = a11v1+a12v2++a1mvm a21v1+a22v2++a2mvm an1v1+an2v2++anmvm