🎉 75% of content is free forever — Unlock Premium from $10/mo →
CW
NEWSLIVESearch All Content
đŸ’ŧ Servicesâ„šī¸ Aboutâœ‰ī¸ ContactView Pricing Plansfrom $10

Vectors Introduction

CBSE Class 12 MathsVector AlgebrađŸŸĸ Free Lesson

A vector carries two pieces of information at once — how much, and which way — and almost every rule in Vector Algebra is a way of combining those two numbers. Magnitude alone cannot tell a force of 5 units east from a force of 5 units north, which is why the component form becomes the working language of the chapter: it converts direction arithmetic into ordinary arithmetic that can be added, scaled and divided on the page.

Free Vectors: Why Position Does Not Matter

Two vectors are equal when their magnitudes and directions agree even if they are drawn in different corners of the diagram, and that is the whole content of the word free. It is what allows a displacement to be translated without changing it, and it is why a position vector is a special case: it measures from the origin, so the reference point is part of the data. Equal magnitude alone says nothing. The vectors and both have length , yet they point differently and cannot be swapped for one another. The practical consequence is that component comparison settles every equality question: two vectors are equal exactly when all three components agree, and a vector that fails in one component fails completely.

Unit Vector

Dividing by the magnitude is the only step, and it applies to every component at once. The result keeps the direction and normalises the length to one, which is why unit vectors are the currency of direction comparisons: two vectors pointing the same way produce the identical unit vector, whatever their original lengths.

Zero Vector

Adding Vectors Component by Component

Addition happens one component at a time, which is the triangle law of geometry written in coordinates. For and the sum is , whose magnitude is . The arithmetic already teaches the central warning of the topic: magnitudes do not add. Here and , so , yet the sum measures only about , because the two vectors are not parallel and partially cancel. Subtraction is the same operation with the signs reversed, giving . When the components cancel exactly the result is the zero vector, the unique vector with no direction, and that is why dividing by it is never allowed.

Example: Find Magnitude and Unit Vector

Find the magnitude and unit vector of .

Direction Cosines

Direction Ratios and Direction Cosines Together

Direction ratios are any triple proportional to the direction cosines, and they are read straight off the components: for the ratios are , , , and dividing by the magnitude converts them into the cosines , , . The conversion runs in both directions. Given the cosines , , , the direction ratios are , , , describing a vector that lies in the -plane and leans towards the positive -axis. Because the squares of the three cosines always total one, only two of them are free: a question that supplies two has already fixed the third up to sign, and the sign is settled by the quadrant the vector points into rather than by algebra.

Example: Direction Cosines

Find the direction cosines of .

Types of Vectors

The definitions become a tool once each one is paired with a test that can be executed on paper.

TermDefinitionTest you write downWorked instance
Magnitudelength of the arrowsquare root of the sum of squared components gives
Unit vectormagnitude one, same directiondivide every component by the magnitude
Equal vectorssame magnitude and directionall three components equal drawn anywhere
Negative vectorsame length, opposite directionnegate every component
Collinear vectorsparallel to a single lineone is a scalar multiple of the other
Zero vectormagnitude zeroevery component is zero

To test collinearity in an exam, write componentwise, solve for in one row, and then confirm that the same governs the other two rows. If the component ratios disagree, the vectors are not parallel, and a single mismatched ratio is a complete counterexample.

Checking Vectors in Python

Both routines above can be reproduced numerically, which is the quickest way to catch a slip in a square root or a dropped sign before the answer is copied out.

python
import numpy as np

v = np.array([3.0, -4.0, 12.0])
w = np.array([-1.0, 2.0, 2.0])

norm = np.linalg.norm(v)
print("magnitude       :", norm)
print("unit vector     :", np.round(v / norm, 6))
print("sum             :", v + w)
print("magnitude of sum:", np.linalg.norm(v + w))
print("collinear check :", np.allclose(v, 2 * np.array([1.5, -2.0, 6.0])))

The printed magnitude is , the unit vector matches , and the magnitude of the sum comes back near — the number that already shows why lengths are not additive.

python
import numpy as np

def direction_cosines(a):
    u = np.array(a, dtype=float) / np.linalg.norm(a)
    total = float(np.sum(u ** 2))
    print(f"cosines {np.round(u, 6)}  sum of squares {total:.12f}")
    return u

direction_cosines([2, -3, 6])
direction_cosines([3, -4, 0])
direction_cosines([5, 5, 5])

Every call prints a sum of squares equal to , which is the identity verified on three unrelated directions; the normalisation happens first, so even the raw triple comes out unit length.

What the Exam Asks

One-mark items request the magnitude of a stated vector, the unit vector along a given direction, or the direction cosines of a vector pointing along a coordinate axis — the axis cases deserve recall because they collapse to a with two zeros, the sign of the set by the axis direction. Three-mark items typically ask for the unit vector along the sum or the difference of two given vectors, where the marks split cleanly between the component arithmetic, the magnitude of the result, and the final division. Another recurring form hands you direction cosines and asks for a vector of prescribed magnitude: form the unit vector from the cosines, then scale it by the required length. Errors concentrate in two places — the square root that must include all three components, and the lost sign of a negative component when dividing to build the unit vector.

Common Mistakes

Calling two vectors equal because their magnitudes match

Fix: Both magnitude and direction must agree; 3i - 4j + 12k and -3i + 4j - 12k share the length 13 but are negatives of each other, not equals.

Dividing only some components by the magnitude when forming a unit vector

Fix: Every component is divided by the same magnitude, so the unit vector of 3i - 4j + 12k is 3/13 i minus 4/13 j plus 12/13 k.

Skipping the check that the direction cosines square to one

Fix: Add l squared, m squared and n squared after computing them; for the ratios 2, -3, 6 the magnitude is 7 and the sum is 4/49 plus 9/49 plus 36/49, which is 1.

Key Takeaways

  • A vector is magnitude plus direction, free vectors are compared by their components, and position vectors differ only by measuring from the origin
  • Magnitude is the square root of the sum of squared components, and componentwise addition never adds magnitudes because non-parallel vectors partly cancel
  • The unit vector divides every component by the magnitude, while the zero vector is the one vector with no direction at all
  • Direction cosines are the components of the unit vector and always satisfy l squared plus m squared plus n squared equals one, and direction ratios are any proportional triple
CW

ChatWhole Learn Editorial Team

Written by experienced data scientists, software engineers, and educators. All content is reviewed by industry professionals to ensure accuracy and relevance.

Last reviewed: 2026-10-15

—
☆☆☆☆☆
0 ratings

Rate & Feedback

Need Expert CBSE Class 12 Help?

Get personalized tutoring, project support, or professional consulting.

Advertisement