Introduction to Vectors
Linear Algebra begins with one of the most powerful ideas in mathematics: vectors.
Vectors allow us to represent direction, magnitude, movement, force, and data in a precise mathematical way. They form the backbone of physics, engineering, data science, machine learning, and computer graphics.
Why Vectors Are Important
Many real-world quantities are not described by a single number. They require both size and direction.
Vectors give us a clean way to model such quantities.
- Velocity (speed + direction)
- Force (strength + direction)
- Displacement
- Data points in machine learning
Scalar vs Vector
Before understanding vectors, we must clearly distinguish them from scalars.
| Scalar | Vector |
| Has magnitude only | Has magnitude and direction |
| Examples: mass, temperature | Examples: velocity, force |
| Single number | Multiple components |
This difference is fundamental in physics and mathematics.
What Is a Vector?
A vector is a quantity that has:
- Magnitude – how big it is
- Direction – which way it points
Vectors are often represented as arrows.
Geometric Representation of Vectors
Geometrically, a vector is drawn as an arrow:
- Length of arrow → magnitude
- Arrow direction → direction
The starting point does not matter — only the direction and length do.
Algebraic Representation of Vectors
In coordinate form, a vector is written as:
v = (x, y)
This means the vector moves x units horizontally and y units vertically.
In 3D space:
v = (x, y, z)
Position Vectors
A position vector starts at the origin and points to a specific point.
If a point is at (3, 4), its position vector is:
v = (3, 4)
Position vectors are heavily used in geometry and physics.
Magnitude (Length) of a Vector
The magnitude of a vector tells us its length.
For a vector v = (x, y), the magnitude is:
|v| = √(x² + y²)
This comes from the Pythagorean theorem.
Direction of a Vector
The direction of a vector describes where it points.
Direction is often measured using angles with respect to axes.
In applications like navigation and physics, direction is just as important as magnitude.
Vectors in Real Life
Vectors appear everywhere in daily life.
- Wind speed and direction
- Airplane navigation
- Forces acting on objects
- Motion of vehicles
Without vectors, these cannot be modeled accurately.
Vectors in Physics
Physics is built on vectors.
- Force vectors
- Velocity and acceleration
- Electric and magnetic fields
Most physical laws are written using vector equations.
Vectors in Computer Science & AI
In machine learning, data is represented as vectors.
- Feature vectors
- Word embeddings
- Image pixel vectors
Every AI model processes vectors internally.
Vectors in Data Science
Each data point is a vector of features.
For example:
- Age, income, score → one vector
- Height, weight, BMI → another vector
Linear algebra enables comparisons and predictions.
Vectors in Competitive Exams
Exams commonly test:
- Definition of vectors
- Magnitude and direction
- Vector representation
Clear understanding avoids careless mistakes.
Common Mistakes to Avoid
Students often confuse vectors with scalars.
- Ignoring direction
- Using magnitude only
- Wrong component interpretation
Practice Questions
Q1. What makes a vector different from a scalar?
Q2. Find the magnitude of v = (3, 4)
Q3. Give one real-life example of a vector
Quick Quiz
Q1. Does a vector have direction?
Q2. Are vectors used in machine learning?
Quick Recap
- Vectors have magnitude and direction
- They represent real-world quantities
- Scalars have magnitude only
- Vectors are fundamental to linear algebra
- Essential for physics, AI, and data science
With vectors introduced, you are now ready to learn vector operations, the next building block of linear algebra.