Vectors
Vectors
Vectors
Topic
Vectors
Presented By
Irfan Ali Bozdar
Lecturer
grayscale images) or RGB colour data. We can store the data for each
image such as the picture shown below, we will end up with a vector 1024
entries long containing the brightness values for each pixel. The
conversion works both ways: We can take any 1024 entry vector and
Geometrically, the sum of two vectors in the plane is represented as the diagonal of
a parallelogram having u and v as its adjacent sides, as shown in above Figure. In
the next example on next slide, one of the vectors you will add is the vector (0, 0)
called the zero vector. The zero vector is denoted by 0.
05/27/2023 Irfan Ali Bozdar 16
Adding Two Vectors in the Plane
Find the sum of the following vectors.
(a ) u (1, 4), v (2, 2) u v = (1+ 2, 4 + (-2)) = (3, 2)
(b) u (3, 2), v (3, 2) u v = (3 + (-3), 2 + 2) = (0, 0)
(c) u (2, 1), v (0, 0) u v = (2 + 0, 1+ 0) = (2, 1)
1 1 5
(a) v 2, 5 1,
2 2 2
(b) u v = 3, 4 2, 5 5, 1
1 1 5 13
(c ) vu = 2, 5 3, 4 1, 3, 4 2,
2 2 2 2