Instruction
1
In any coordinate system the vector is determined through two points — the beginning and the end. For example, in Cartesian coordinates on the plane vector is denoted as (x1, y1; x2, y2). In space, respectively, each point will have three coordinates, and the vector will appear in the form (x1, y1, z1; x2, y2, z2). Of course, the vector can be identified for a four-dimensional, and for any other space. It will be much harder to imagine, but from the point of view of mathematics all calculations associated with it, will remain the same.
2
The length of the vector is also called its module. If A is a vector, then |A| is its modulus. For example, any real number can be represented as a one-dimensional vector with the beginning at point zero. For example, the number -2 is the vector (0; -2). The module of this vector is equal to the square root of a square the coordinates of its end, that is √((-2)^2) = 2.

In General, if A = (0, x), then |A| = √(x^2). This, in particular, it follows that the module of the vector does not depend on its direction — the numbers 2 and -2 are equal in magnitude.
3
Let's move on to Cartesian coordinates in the plane. In this case, the easiest way to calculate the length of the vector, if its beginning coincides with the beginning of coordinates. The square root can be removed from the sum of the squares of the coordinates of end vector. |0, 0; x, y| = √(x^2 + y^2).For example, if we have a vector A = (0, 0; 3, 4), then its modulus |A| = √(3^2 + 4^2) = 5.

In fact, you calculate the modulus by the formula of Pythagoras the hypotenuse of a right triangle. Coordinate the segments, giving the vector playing the role of the legs, and the vector is the hypotenuse, the square of which is known, is equal to the sum of their squares.
4
When the start vector is not in the reference point coordinate calculation module becomes slightly more time consuming. Square will have to build not the coordinates of the end of the vector, and the difference between the end coordinate and the corresponding coordinate of the beginning. It is easy to notice that if the start coordinate is equal to zero, then the formula becomes previous. You just use here the theorem of Pythagoras — the difference between the coordinates be the lengths of the legs.

If A = (x1, y1; x2, y2), then |A| = √((x2 - x1)^2 + (y2-y1)^2). Suppose that we are given the vectors A = (1, 2; 4, 6). Then its modulus is equal to |A| = √((4 - 1)^2 + (6 - 2)^2) = 5. If you build on the coordinate plane this vector and compare it with the previous one, it is easy to see that they are equal, and that becomes obvious when calculating their length.
5
This formula is universal and it can be easily generalized to the case when the vector is in the plane and in space, or even has more than three coordinates. Its length will remain equal to the square root of the sum of squares of differences of coordinates beginning or end.