The graphical method of adding vectors helps us in visualizing the vectors and the resultant vector, but it is sometimes tedious and has limited accuracy. It is much easier to add vectors by combining their respective components. Consider two vectors A and B in x-y plane with components Ax, Ay and Bx, By:

A = Ax+ Ay

B = Bx+ By

Let R be their sum. We have

R = A + B = (Ax+ Ay)+(Bx+ By)          (i)

since vectors obey the commutative and associative laws. We can arrange and regroup the vectors in Eq. (i) as is convenient to us:

R = (Ax+ Bx)+ (Ay+ By)

Since R = Rx+ Ry

We have, Rx = Ax + Bx , Ry = Ay + By.

Thus each component of the resultant vector R is the sum of the corresponding components of A and B.

In three dimensions, we have

A = Ax+ Ay + Az

B = Bx+ By + Bz

R = A + B = Rx+ Ry + Rz

With

Rx = Ax + Bx

Ry = Ay + By

Rz = Az + Bz

This method can be extended to addition and subtraction of any number of vectors. For example, if vectors a, b and c are given as

a = ax+ ay + az

b = bx+ by + bz

c = cx+ cy + cz

then, a vector T = a + b - c has components:

Tx = ax + bx - cx

Ty = ay + by - cy

Tz = az + bz - cz