Professional Documents
Culture Documents
Sodapdf
Sodapdf
Sodapdf
Libali, Bhaktapur
Nepal
Project Work on
Vector
Submitted To:-
I would like to express my sincere gratitude and appreciation to all individuals who
have contributed to the successful completion of this vector project.
First and foremost, I am deeply thankful to my project supervisor, for their guidance,
expertise, and invaluable support throughout the duration of this project. Their
insights, feedback, and encouragement have been instrumental in shaping the direction
and quality of this work.
I would also like to extend my thanks to the faculty and staff of Khwopa Engineering
College for providing the necessary resources, facilities, and academic environment
that enabled me to undertake this project. Their commitment to fostering a conducive
learning and research environment has been crucial to my development as a
researcher.
Finally, I would like to express my heartfelt gratitude to my family and friends for
their unwavering support, encouragement, and understanding throughout this journey.
Their belief in me and their constant motivation have been a source of inspiration and
strength.
While it is not possible to individually name everyone who has played a part in this
project, please accept my deepest appreciation for your contributions. This project
would not have been possible without your support and collaboration.
Thank you all for your involvement, guidance, and encouragement. Your
contributions have been invaluable, and I am sincerely grateful for your assistance in
bringing this vector project to fruition.
Rushal Manandhar
1 |Introduction to Vector
CONTENTS
S.N. Topic Page no.
1. Objectives 4
2. Introduction to Vector 5
3. Vector 5-9
4. Application of Vector 11
2 |Introduction to Vector
OBJECTIVES
1. Gain a deep understanding of vector concepts, properties, and operations,
including vector addition, subtraction, scalar multiplication, dot product, cross
product, and vector projections.
2. Explore different ways to represent and manipulate data using vectors, such as
vectorization of images, text documents, or numerical datasets, enabling efficient
processing and analysis.
The objective of a project involving vectors could vary depending on the field of
study. It might involve applying vector concepts and operations to solve specific
problems, developing algorithms that utilize vectors, or using vector analysis to
analyze and model real-world phenomena. The project's aim could range from
designing efficient computer graphics algorithms to optimizing robotic motion
planning or developing machine learning models.
3 |Introduction to Vector
INTRODUCTION TO VECTOR
Vectors are mathematical objects that represent quantities with both magnitude and
direction. They are fundamental tools used in various fields such as physics,
mathematics, engineering, and computer science. Vectors provide a concise and
powerful way to describe and analyze physical phenomena and mathematical
concepts.
In a geometric sense, vectors can be visualized as arrows in space. The length of the
arrow represents the magnitude or size of the vector, while the direction of the arrow
indicates its orientation. Vectors can exist in two-dimensional space (having two
components) or three-dimensional space (having three components), but they can also
be extended to higher dimensions.
Understanding vectors and their properties is essential for tackling problems involving
physical systems, motion, and mathematical modeling. They provide a powerful tool
set for analyzing and solving complex problems with both magnitude and direction,
making them a cornerstone of mathematical and scientific thinking.
VECTOR
The vectors are defined as an object containing both magnitude and direction. Vector
describes the movement of an object from one point to another. Vector math can be
geometrically pictured by the directed line segment (a). They are used in linear
algebra to represent points, displacements, velocities, forces, and other quantities.
The length of the segment of the directed line is called the magnitude of a vector and
the angle at which the vector is inclined shows the direction of the vector. The starting
point of a vector is called “Tail” and the ending point (having an arrow) is called
“Head.”
A vector is defined as a mathematical structure. It has many applications in the field
of physics and geometry. We know that the location of the points on the coordinate
plane can be represented using the ordered pair such as (x, y). The usage of the vector
is very useful in the simplification process of three-dimensional geometry.
Along with the term vector, we have heard the term scalar. A scalar actually
represents the “real numbers”. In simpler words, a vector of “n” dimensions is an
ordered collection of n elements called “components“.
Examples of Vectors
The most common examples of the vector are Velocity, Acceleration, Force,
Increase/Decrease in Temperature etc. All these quantities have directions and
magnitude both. Therefore, it is necessary to calculate them in their vector form.
Also, speed is a quantity that has magnitude but no direction. This is the basic
difference between speed and velocity.
4 |Introduction to Vector
Vector Notation
As we know already, a vector has both magnitude and direction. In the above figure,
the length of the line AB is the magnitude and head of the arrow points towards the
direction.
Magnitude of a Vector
The magnitude of a vector is shown by vertical lines on both the sides of the given vector
“|a|”. It represents the length of the vector. Mathematically, the magnitude of a vector is
calculated by the help of “Pythagoras Theorem,” i.e.
|a|= √(x2+y2)
Unit Vector
A unit vector has a length (or magnitude) equal to one, which is basically used to
show the direction of any vector. A unit vector is equal to the ratio of a vector and its
magnitude. Symbolically, it is represented by a cap or hat (^).
If a is vector of arbitrary length and its magnitude is ||a||, then the unit vector is given
by:
Zero Vector
A vector with zero magnitudes is called a zero vector. The coordinates of zero vector
are given by (0,0,0) and it is usually represented by 0 with an arrow (→) at the top or
just 0.
The sum of any vector with zero vector is equal to the vector itself, i.e., if ‘a’ is any
vector, then;
0+a = a
Note: There is no unit vector for zero vector and it cannot be normalised.
Operations on Vectors
5 |Introduction to Vector
In maths, we have learned the different operations we perform on numbers. Let us
learn here the vector operation such as Addition, Subtraction, Multiplication on
vectors.
Addition of Vectors
The two vectors a and b can be added giving the sum to be a + b. This requires joining
them head to tail.
We can translate the vector b till its tail meets the head of a. The line segment that is
directed from the tail of vector a to the head of vector b is the vector “a + b”.
A reverse vector (-a) which is opposite of ‘a’ has a similar magnitude as ‘a’ but
pointed in the opposite direction.
First, we find the reverse vector.
Then add them as the usual addition.
Such as if we want to find vector b – a
6 |Introduction to Vector
Then, b – a = b + (-a)
• S(a+b) = Sa + Sb
• (S+T)a = Sa + Ta
• a.1 = a
• a.0 = 0
• a.(-1) = -a
The major application of the scalar triple product can be seen while determining
the volume of a parallelepiped, which is equal to the absolute value of |(a×b)⋅c|,
where a, b and c are the vectors denoting the sides of parallelepiped respectively.
Hence,
Volume of parallelepiped = ∥a×b∥ ∥c∥ |cosϕ|=|(a×b)⋅c|
Vector Multiplication
Basically, there are two types of vector multiplication:
• Cross product
• Dot product
7 |Introduction to Vector
The mathematical value of a cross product-
where,
| a | is the magnitude of vector a.
| b | is the magnitude of vector b.
θ is the angle between two vectors a & b.
1. Horizontal Component
2. Vertical Component
Breaking a vector into its x and y components in the vector space is the most common
way for solving vectors.
4. Robotics: Vectors are crucial in robotics for modeling and controlling the motion
of robotic systems. They describe the position and orientation of objects, the
movement of robot arms, and the forces exerted by actuators.
9 |Application of Vector
EXAMPLES OF APPLICATION OF VECTOR
IN REAL LIFE
In video games, we use vectors to represent the velocity of players, but also to control
where they are aiming, or what they can see (where they are facing). All of this with
one vector. We also need a point to keep track of the player’s position at all times.
In this case, the player’s position will be the origin for our velocity and rotation vector.
Let’s say we have an enemy AI that needs to shoot all the boxes he encounters.
Imagine the AI has a velocity and direction vector of (1,0) and he’s standing at the
origin of the map, so (0,0). He finds a box at position (2,3), so we want to rotate him so
he can point at the box and shoot it, but we need to calculate the angle between where
he’s aiming, and where he wants to actually aim to hit the box.
10 |Application of
Vector
CONCLUSION
11 |Application of
Vector
REFERENCES
1. Byjus.com
2. Google
3. https://medium.com/analytics-vidhya/what-is-a-vector-5c86fc2b57c1
12 |Application of
Vector