Read the following document on vectors and complete the questions at the end.

**Note:** you can now download PDFs

**Application of Dot Product**

If you had the following two vectors:

u = **[1,1,1,1]**

v = **[1,0,1,1]**

You could generate even parity using dot product. This is calculated by performing arithmetic over GF(2) (this refers to finite field maths where there are just two values 0 and 1).

To perform the multiplication you would use **AND** and for the addition **XOR**

u . v = 1

1 AND 1

XOR

1 AND 0

XOR

1 AND 1

XOR

1 AND 1

Previous LessonNext Lesson