1. Home
  2. Class 11–12
  3. Physics
  4. CBSE Class 11
  5. Rectangular Components and Unit Vectors

Rectangular Components and Unit Vectors

A drone flies 3 m east, 4 m north and 2 m up. Write its trip as r = 3î + 4ĵ + 2k̂, find how far it is from the start, and add two flights by adding components.

Interactive 3DPhysicsIntermediate10 min read

Drag to rotate · Right-drag to pan · Click, then scroll to zoom · Space play · Left arrowRight arrow step

What's happening

Formula & steps

    Your progress and quiz scores are saved on this device, and in your account once you sign up.

    Try this in the 3D model

    • Press Fly and say the vector out loud as each coloured leg appears.
    • Rotate the scene to look straight down. Which part of the trip can you no longer see?
    • Choose Adding two flights. Add the x, y and z parts yourself before the answer appears.

    Three special arrows

    Choose three axes at right angles: x (east), y (north) and z (up). Along each axis put a vector of size 1:

    Unit vector Points along
    î x
    ĵ y
    k̂ z

    Any vector can now be written as a sum of these. In the 3D model a drone flies 3 m east, 4 m north and 2 m up. Its displacement is

    r⃗=3ı^+4ȷ^+2k^\vec r = 3\hat{\imath} + 4\hat{\jmath} + 2\hat{k}

    The numbers 3, 4 and 2 are the rectangular components of r: the coloured legs of the flight.

    Magnitude from components

    The straight-line distance from the start is found with Pythagoras, used twice:

    ∣A⃗∣=Ax2+Ay2+Az2|\vec A| = \sqrt{A_{x}^{2} + A_{y}^{2} + A_{z}^{2}}

    For the drone: 32+42+22=29≈5.39 m\sqrt{3^{2} + 4^{2} + 2^{2}} = \sqrt{29} \approx 5.39\ \text{m}. In two dimensions the z part is simply zero: ∣A⃗∣=Ax2+Ay2|\vec A| = \sqrt{A_{x}^{2} + A_{y}^{2}}.

    Adding vectors by components

    Drawing triangles gets messy with many vectors. With components, just add like with like:

    A⃗+B⃗=(Ax+Bx)ı^+(Ay+By)ȷ^+(Az+Bz)k^\vec A + \vec B = (A_{x} + B_{x})\hat{\imath} + (A_{y} + B_{y})\hat{\jmath} + (A_{z} + B_{z})\hat{k}

    The drone flies A⃗=3ı^+4ȷ^+2k^\vec A = 3\hat{\imath} + 4\hat{\jmath} + 2\hat{k} and then B⃗=−ı^+2ȷ^+k^\vec B = -\hat{\imath} + 2\hat{\jmath} + \hat{k} (the −1 means 1 m west). In total:

    A⃗+B⃗=(3−1)ı^+(4+2)ȷ^+(2+1)k^=2ı^+6ȷ^+3k^∣A⃗+B⃗∣=4+36+9=7 m\begin{aligned} \vec A + \vec B &= (3 - 1)\hat{\imath} + (4 + 2)\hat{\jmath} + (2 + 1)\hat{k} = 2\hat{\imath} + 6\hat{\jmath} + 3\hat{k} \\ |\vec A + \vec B| &= \sqrt{4 + 36 + 9} = 7\ \text{m} \end{aligned}

    Subtraction works the same way: subtract the x parts, the y parts and the z parts.

    Direction from components

    The angles α, β, γ that A makes with the x, y and z axes come from

    cos⁡α=AxA,cos⁡β=AyA,cos⁡γ=AzA\cos\alpha = \dfrac{A_{x}}{A}, \quad \cos\beta = \dfrac{A_{y}}{A}, \quad \cos\gamma = \dfrac{A_{z}}{A}

    Worked example

    A force F⃗=6ı^−8ȷ^\vec F = 6\hat{\imath} - 8\hat{\jmath} newtons. Find its size and the angle it makes with the x-axis.

    1. ∣F⃗∣=62+(−8)2=100=|\vec F| = \sqrt{6^{2} + (-8)^{2}} = \sqrt{100} = 10 N10\ \text{N}.
    2. cos⁡α=610=0.6\cos\alpha = \dfrac{6}{10} = 0.6, so α≈53∘\alpha \approx 53^{\circ}, measured below the x-axis (the y part is negative).

    Remember: write vectors with î, ĵ, k̂; add like components; find the size with Pythagoras.

    Formulas and where to use them

    Vector in unit-vector form

    A⃗=Axı^+Ayȷ^+Azk^\vec A = A_{x}\hat{\imath} + A_{y}\hat{\jmath} + A_{z}\hat{k}
    where
    Ax, Ay, AzA_{x},\ A_{y},\ A_{z}
    components of A along x, y and z
    ı^, ȷ^, k^\hat{\imath},\ \hat{\jmath},\ \hat{k}
    unit vectors along x, y and z

    Use it when: Writing any vector from its components along x, y and z.

    Magnitude

    ∣A⃗∣=Ax2+Ay2+Az2|\vec A| = \sqrt{A_{x}^{2} + A_{y}^{2} + A_{z}^{2}}
    where
    ∣A⃗∣|\vec A|
    magnitude (size) of A

    Use it when: Finding the size of a vector (straight-line distance, speed, size of a force) from its components.

    Adding and subtracting

    A⃗±B⃗=(Ax±Bx)ı^+(Ay±By)ȷ^+(Az±Bz)k^\vec A \pm \vec B = (A_{x} \pm B_{x})\hat{\imath} + (A_{y} \pm B_{y})\hat{\jmath} + (A_{z} \pm B_{z})\hat{k}
    where
    Bx, By, BzB_{x},\ B_{y},\ B_{z}
    components of B

    Use it when: Adding several vectors quickly, without drawing: add the x parts, the y parts and the z parts separately.

    Direction cosines

    cos⁡α=AxA,cos⁡β=AyA,cos⁡γ=AzA\cos\alpha = \dfrac{A_{x}}{A}, \quad \cos\beta = \dfrac{A_{y}}{A}, \quad \cos\gamma = \dfrac{A_{z}}{A}
    where
    α, β, γ\alpha,\ \beta,\ \gamma
    angles A makes with the x, y and z axes
    AA
    magnitude of A

    Use it when: Finding the angles a vector makes with the x, y and z axes.

    Common mistakes

    • Adding components of different axes. Only x adds to x, y to y and z to z.
    • Forgetting a minus sign. A component pointing west, south or down is negative, e.g. −1 ı^-1\,\hat{\imath}.
    • Adding magnitudes. ∣A⃗+B⃗∣|\vec A + \vec B| is not ∣A⃗∣+∣B⃗∣|\vec A| + |\vec B|; add the components first, then find the magnitude.

    Quick check

    Test yourself — pick an answer to see if you got it.

    1. What is the magnitude of A⃗=3ı^+4ȷ^\vec A = 3\hat{\imath} + 4\hat{\jmath}?

    2. A⃗=2ı^+3ȷ^−k^\vec A = 2\hat{\imath} + 3\hat{\jmath} - \hat{k} and B⃗=ı^−ȷ^+4k^\vec B = \hat{\imath} - \hat{\jmath} + 4\hat{k}. A⃗+B⃗\vec A + \vec B is…

    3. What is the magnitude of ı^\hat{\imath}, ȷ^\hat{\jmath} or k^\hat{k}?

    4. A displacement is r⃗=2ı^+3ȷ^+6k^\vec r = 2\hat{\imath} + 3\hat{\jmath} + 6\hat{k} metres. How far is the end from the start?

    5. A vector 5ȷ^5\hat{\jmath} points…

    Saved on this device.
    Spotted a mistake or a bug in the 3D model?

    Report a mistake

    in Rectangular Components and Unit Vectors. Thank you — every report makes the lesson better for the next reader.

    We'll also include a link to the step of the 3D model you're on and your browser type, so we can reproduce it.