Handling Vectors in i-j Form

#Vectors in I-j Form
TL;DR
A vector in i-j form, xi^+yj^x\hat{\mathbf{i}} + y\hat{\mathbf{j}}, is handled one part at a time: add, subtract and scale the i-parts and j-parts separately. Its length is x2+y2\sqrt{x^2 + y^2}.
Ruchi Shah·reviewed byMadhukar VLast updated on December 2, 202612 min read

Key Points

  • In vectors in i-j form, i and j are arrows of length 1 along the x- and y-axes, so 3i + 2j means 3 across, then 2 up.
  • Add or subtract column by column: i-parts with i-parts, j-parts with j-parts.
  • A scalar k multiplies both parts: k(xi + yj) = kxi + kyj.
  • The length is √(x² + y²), the direction comes from tan θ = y/x with a quadrant check, and lengths do not simply add.

Why Break a Vector Into i and j at All?

Two friends push a stalled car from different sides, and their pushes do not simply add. They point different ways, and two ropes pulling a box at different angles raise the same question. Drawn to scale, the answer needs a parallelogram and a protractor. In i-j form it needs two additions.

A slanted arrow is awkward, but its across-part and up-part are numbers on two perpendicular axes, and numbers on one axis simply add. Splitting every push into left-right and front-back parts turns geometry into arithmetic.

What Is the i-j Form of a Vector?

The i-j form writes a vector as a number of i^\hat{\mathbf{i}} steps plus a number of j^\hat{\mathbf{j}} steps: v=xi^+yj^\mathbf{v} = x\hat{\mathbf{i}} + y\hat{\mathbf{j}}. i^\hat{\mathbf{i}} and j^\hat{\mathbf{j}} are unit vectors (arrows of length 1) along the positive x- and y-axes, and xx and yy are the components (the across and up amounts), which may be negative or zero. In 3D a third term zk^z\hat{\mathbf{k}} joins them.

So 3i^+2j^3\hat{\mathbf{i}} + 2\hat{\mathbf{j}} means 3 across, then 2 up: the same information as (3,2)(3, 2), with each direction named. The pages on components of a vector and representation of a vector set this up.

the vector 3i plus 2j is three unit steps along x followed by two unit steps along y
A grid with the purple unit arrows i and j at the origin, a blue arrow 3i along the x-axis, a green arrow 2j going up from (3, 0), and the orange vector v = 3i + 2j from the origin to (3, 2). A panel reads v = 3i + 2j = (3, 2), 3 right then 2 up, i-part 3i, j-part 2j.

Every operation on vectors becomes component-wise: match i^\hat{\mathbf{i}} with i^\hat{\mathbf{i}} and j^\hat{\mathbf{j}} with j^\hat{\mathbf{j}}. Because across and up are perpendicular, each vector has exactly one such form, so equal vectors have equal parts. The letters come from William Rowan Hamilton, who carved his ii, jj, kk rules into a Dublin bridge on 16 October 1843; today's vector algebra grew from Josiah Willard Gibbs's Yale notes of 1881 and 1884.

How Do You Add and Subtract Vectors in i-j Form?

Because each vector is just two numbers, adding means combining like components, never mixing the two:

a±b=(a1±b1)i^+(a2±b2)j^\mathbf{a} \pm \mathbf{b} = (a_1 \pm b_1)\hat{\mathbf{i}} + (a_2 \pm b_2)\hat{\mathbf{j}}

Why the columns add separately: two ways to see it

Algebra: (4i^+j^)+(i^+3j^)=5i^+4j^(4\hat{\mathbf{i}} + \hat{\mathbf{j}}) + (\hat{\mathbf{i}} + 3\hat{\mathbf{j}}) = 5\hat{\mathbf{i}} + 4\hat{\mathbf{j}}, gathering like terms as in 4x+x=5x4x + x = 5x.

Picture: walk a\mathbf{a} then b\mathbf{b}, head to tail. Sideways travel is 4+1=54 + 1 = 5 and upward travel 1+3=41 + 3 = 4, in any order: the resultant of addition of vectors.

adding vectors in i-j form adds the across parts and the up parts separately
A grid with a = 4i + j in blue from the origin, b = i + 3j in green from the head of a, and the orange sum a + b from the origin to (5, 4). Bars below the grid show the across-parts 4 and 1 making 5, and bars at the side show the up-parts 1 and 3 making 4.

Subtraction is adding the opposite: a−b=a+(−b)\mathbf{a} - \mathbf{b} = \mathbf{a} + (-\mathbf{b}), with both signs of b\mathbf{b} flipped.

How Do You Multiply a Vector in i-j Form by a Scalar?

A scalar (an ordinary number) kk multiplies every part: k(xi^+yj^)=kxi^+kyj^k(x\hat{\mathbf{i}} + y\hat{\mathbf{j}}) = kx\hat{\mathbf{i}} + ky\hat{\mathbf{j}}. Both legs of the right triangle scale by ∣k∣|k|, so the length does too; a negative kk turns the vector round, and k=0k = 0 gives the zero vector. More on multiplication of a vector by a scalar.

multiplying a vector by k multiplies both of its parts and its length by k
Three strips on the same grid scale. Top: v = 4i − j in orange, length about 4.123. Middle: 2v = 8i − 2j in blue, length about 8.246. Bottom: −½v = −2i + ½j in purple, pointing the opposite way, length about 2.062.

How Do You Find the Magnitude and Direction of a Vector in i-j Form?

The parts are the legs of a right triangle, so Pythagoras' theorem gives the length:

∣v∣=x2+y2|\mathbf{v}| = \sqrt{x^2 + y^2}

Direction: tan⁡θ=yx\tan\theta = \frac{y}{x}, measured from the positive x-axis. A calculator's tan⁡−1\tan^{-1} gives only −90°-90° to 90°90°, so add 180°180° if x<0x < 0, then 360°360° if still negative. Dividing by the length gives the unit vector x∣v∣i^+y∣v∣j^\frac{x}{|\mathbf{v}|}\hat{\mathbf{i}} + \frac{y}{|\mathbf{v}|}\hat{\mathbf{j}}. Going back, length LL at angle θ is Lcos⁡θ i^+Lsin⁡θ j^L\cos\theta\,\hat{\mathbf{i}} + L\sin\theta\,\hat{\mathbf{j}}: 10 N at 30°30° is about 8.66i^+5j^8.66\hat{\mathbf{i}} + 5\hat{\mathbf{j}} N.

In the tool, press "−4i + 3j": the readout shows length 5, direction 143.13°143.13° and unit vector −0.8i^+0.6j^-0.8\hat{\mathbf{i}} + 0.6\hat{\mathbf{j}}, as in Example 6.

Try It Yourself

Use the vector lab to see Handling Vectors in i-j Form at work: drag, change the numbers and watch what happens.

Extending i-j Form to Three Dimensions

Add k^\hat{\mathbf{k}} along the z-axis and every rule gains a column: v=xi^+yj^+zk^\mathbf{v} = x\hat{\mathbf{i}} + y\hat{\mathbf{j}} + z\hat{\mathbf{k}} and ∣v∣=x2+y2+z2|\mathbf{v}| = \sqrt{x^2 + y^2 + z^2}, Pythagoras used twice. It is the idea behind the position vector and direction ratios.

Solving Equations With Vectors in i-j Form

One vector equation is two ordinary equations, one per column. If (p+2)i^+3j^=5i^+(q−1)j^(p + 2)\hat{\mathbf{i}} + 3\hat{\mathbf{j}} = 5\hat{\mathbf{i}} + (q - 1)\hat{\mathbf{j}}, then p=3p = 3 and q=4q = 4. For 2i^+kj^2\hat{\mathbf{i}} + k\hat{\mathbf{j}} to be parallel to 6i^−9j^6\hat{\mathbf{i}} - 9\hat{\mathbf{j}}, the i-parts show a factor of 3, so 3k=−93k = -9 and k=−3k = -3 (see parallel vectors).

When the Simple Rules Need Care

  • Lengths do not add unless the vectors point the same way (the triangle inequality).
  • The zero vector has no direction, so it has no unit vector.
  • Axis vectors: −5j^-5\hat{\mathbf{j}} points at 270°270°, where tan⁡θ=y/x\tan\theta = y/x divides by zero.
  • Units must match before parts are added.

Examples of Handling Vectors in the i-j Form

Example 1

Add a = 3i − 3j, b = i − 4j and c = −2i + 5j.

  1. i-parts: 3+1−2=23 + 1 - 2 = 2.
  2. j-parts: −3−4+5=−2-3 - 4 + 5 = -2.

Answer: 2i^−2j^2\hat{\mathbf{i}} - 2\hat{\mathbf{j}}, of length 22≈2.832\sqrt{2} \approx 2.83.

Example 2

Find p − q for p = 5i + 2j and q = 8i − 3j.

  1. A rushed attempt writes the j-part as 2−3=−12 - 3 = -1.
  2. Predict the sign first: q\mathbf{q} points down, so removing it pushes the answer up.
  3. i-parts: 5−8=−35 - 8 = -3. j-parts: 2−(−3)=52 - (-3) = 5.
subtracting q is the same as adding its opposite, giving minus 3i plus 5j
A grid with p = 5i + 2j in blue, q = 8i − 3j dashed in grey, the opposite −q = −8i + 3j in orange drawn from the head of p, and the green result p − q = −3i + 5j from the origin. A panel works the columns: 5 − 8 = −3 and 2 − (−3) = 5.

Answer: −3i^+5j^-3\hat{\mathbf{i}} + 5\hat{\mathbf{j}}. Adding −q-\mathbf{q} avoids the double negative.

Example 3

Find −½v for v = 4i − j.

  1. i-part: −12×4=−2-\tfrac{1}{2} \times 4 = -2.
  2. j-part: −12×(−1)=12-\tfrac{1}{2} \times (-1) = \tfrac{1}{2}.

Answer: −2i^+12j^-2\hat{\mathbf{i}} + \tfrac{1}{2}\hat{\mathbf{j}}: half the length, opposite way.

Example 4

For a = 2i + j and b = i − 2j, find 2a − 3b.

  1. Scale: 2a=4i^+2j^2\mathbf{a} = 4\hat{\mathbf{i}} + 2\hat{\mathbf{j}} and 3b=3i^−6j^3\mathbf{b} = 3\hat{\mathbf{i}} - 6\hat{\mathbf{j}}.
  2. Subtract columns: 4−3=14 - 3 = 1 and 2−(−6)=82 - (-6) = 8.

Answer: i^+8j^\hat{\mathbf{i}} + 8\hat{\mathbf{j}}.

Example 5

Find the magnitude of w = 6i + 8j.

  1. Square the parts: 36+64=10036 + 64 = 100.
  2. Take the square root.

Answer: 1010.

Example 6

Find the length, direction and unit vector of v = −4i + 3j.

  1. Length: 16+9=5\sqrt{16 + 9} = 5.
  2. Calculator: tan⁡−1(3−4)≈−36.87°\tan^{-1}\left(\tfrac{3}{-4}\right) \approx -36.87°.
  3. x<0x < 0 puts it in the second quadrant, so add 180°180°: 143.13°143.13°.
  4. Unit vector: divide by 5.
the length of minus 4i plus 3j is 5 and its direction is about 143 degrees
A grid with v = −4i + 3j in orange, its blue part −4i along the x-axis and green part 3j going up, forming a right triangle with hypotenuse 5. The angle θ ≈ 143.1 degrees is shaded from the positive x-axis, and the purple unit vector −0.8i + 0.6j reaches the dashed unit circle.

Answer: length 5, direction about 143.13°143.13°, unit vector −0.8i^+0.6j^-0.8\hat{\mathbf{i}} + 0.6\hat{\mathbf{j}}. In 3D the habits are the same: (2i^−3j^+4k^)+(−i^+5j^−2k^)=i^+2j^+2k^(2\hat{\mathbf{i}} - 3\hat{\mathbf{j}} + 4\hat{\mathbf{k}}) + (-\hat{\mathbf{i}} + 5\hat{\mathbf{j}} - 2\hat{\mathbf{k}}) = \hat{\mathbf{i}} + 2\hat{\mathbf{j}} + 2\hat{\mathbf{k}}, length 33.

What Are the Most Common Mistakes With the i-j Form?

Mistake 1: Mixing the i and j columns

Where it slips in: Adding quickly and grabbing the nearest numbers.

Don't do this: (3i^+2j^)+(i^+4j^)=4i^+5j^(3\hat{\mathbf{i}} + 2\hat{\mathbf{j}}) + (\hat{\mathbf{i}} + 4\hat{\mathbf{j}}) = 4\hat{\mathbf{i}} + 5\hat{\mathbf{j}}.

The correct way: Stack i^\hat{\mathbf{i}} under i^\hat{\mathbf{i}} and j^\hat{\mathbf{j}} under j^\hat{\mathbf{j}}: 4i^+6j^4\hat{\mathbf{i}} + 6\hat{\mathbf{j}}.

Mistake 2: Scaling only the first part

Where it slips in: 3(2i^+j^)3(2\hat{\mathbf{i}} + \hat{\mathbf{j}}), where the second term shows no number.

Don't do this: Write 6i^+j^6\hat{\mathbf{i}} + \hat{\mathbf{j}}.

The correct way: 6i^+3j^6\hat{\mathbf{i}} + 3\hat{\mathbf{j}}; the parts must stay in the ratio 2:12 : 1.

Mistake 3: Adding lengths instead of vectors

Where it slips in: Finding ∣a+b∣|\mathbf{a} + \mathbf{b}| from known lengths. The student who memorised the formula but not its meaning adds them.

Don't do this: ∣3i^+4j^∣=3+4=7|3\hat{\mathbf{i}} + 4\hat{\mathbf{j}}| = 3 + 4 = 7.

The correct way: Add first, then measure: 9+16=5\sqrt{9 + 16} = 5.

the length of a sum of vectors is not the sum of their lengths
A right triangle on a grid: blue a = 3i of length 3 along the x-axis, green b = 4j of length 4 going up, and the orange sum a + b of length 5 as the hypotenuse. A panel shows |a| + |b| = 7 crossed out and |a + b| = √(9 + 16) = 5 ticked.

Bookkeeping matters at full scale: NASA lost the Mars Climate Orbiter in 1999 after ground software used English units while the spacecraft used metric.

Where Is the i-j Form Used in Real Problems?

Anything with a size and a direction: forces, velocities, screen positions.

  • Forces. Ropes pulling with 30i^+40j^30\hat{\mathbf{i}} + 40\hat{\mathbf{j}} N and −10i^+20j^-10\hat{\mathbf{i}} + 20\hat{\mathbf{j}} N give a net 20i^+60j^20\hat{\mathbf{i}} + 60\hat{\mathbf{j}} N, of size 4000≈63.2\sqrt{4000} \approx 63.2 N at about 71.6°71.6°. A structure balances when each column sums to zero.
  • Navigation. A plane at 200i^200\hat{\mathbf{i}} km/h in a 30j^30\hat{\mathbf{j}} km/h wind moves at about 202.2202.2 km/h, 8.5°8.5° north of east.
  • Games. Each frame adds velocity to position, column by column; 3D adds a k^\hat{\mathbf{k}} column and nothing else.
the net force of two ropes found by adding their i and j parts
A yellow box at the origin of a grid where one square is 10 newtons. A blue rope force F₁ = 30i + 40j N and a purple rope force F₂ = −10i + 20j N pull from the box, and the green net force F = 20i + 60j N completes the dashed parallelogram. A panel shows the columns 30 + (−10) = 20 and 40 + 20 = 60, |F| = √4000 ≈ 63.2 N at 71.6 degrees to the x-axis.

That is the opening rope problem, solved without a protractor.

Conclusion

  • Handling vectors in the i-j form means treating the i^\hat{\mathbf{i}}-parts and j^\hat{\mathbf{j}}-parts as separate columns; each vector has exactly one such form.
  • Add and subtract like components; scale every part by the scalar.
  • Length is x2+y2\sqrt{x^2 + y^2} (add z2z^2 in 3D); direction comes from tan⁡θ=y/x\tan\theta = y/x with a quadrant check.
  • Stack the parts before you operate, and never add lengths when you mean vectors.

A Practical Next Step

Without a calculator, then check the third in the tool:

  1. Add 7i^−2j^7\hat{\mathbf{i}} - 2\hat{\mathbf{j}} and −3i^+6j^-3\hat{\mathbf{i}} + 6\hat{\mathbf{j}}.
  2. Scale −4i^+3j^-4\hat{\mathbf{i}} + 3\hat{\mathbf{j}} by 2.52.5.
  3. Find the length and direction of 9i^−12j^9\hat{\mathbf{i}} - 12\hat{\mathbf{j}}.

Answer to Question 1: 4i^+4j^4\hat{\mathbf{i}} + 4\hat{\mathbf{j}}.

Answer to Question 2: −10i^+7.5j^-10\hat{\mathbf{i}} + 7.5\hat{\mathbf{j}}.

Answer to Question 3: length 1515; tan⁡−1(−129)≈−53.13°\tan^{-1}\left(\tfrac{-12}{9}\right) \approx -53.13°, plus 360°360° gives about 306.87°306.87°.

If a subtraction sign trips you up, return to Example 2.

To practise vectors with a teacher, explore Bhanzu's geometry tutor, high school math tutor or math tutoring.

Want a live Bhanzu trainer to walk your child through vectors? Book a free demo class, online globally, or in person at our McKinney, TX center.

Read More

Research Behind This Article

  1. OpenStax, Precalculus 2e, Section 8.8: Vectors. openstax.org
  2. J. J. O'Connor and E. F. Robertson, William Rowan Hamilton, MacTutor History of Mathematics, University of St Andrews. mathshistory.st-andrews.ac.uk
  3. J. J. O'Connor and E. F. Robertson, Josiah Willard Gibbs, MacTutor History of Mathematics, University of St Andrews. mathshistory.st-andrews.ac.uk
  4. OpenStax, University Physics Volume 1, Section 2.3: Algebra of Vectors. openstax.org
  5. NASA Science, Mars Climate Orbiter mission page. science.nasa.gov

Quick Quiz: Check Yourself

Three levels, questions with figures, instant feedback with the reason.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What do i and j actually stand for?
Unit vectors: arrows of length 1 along the positive x- and y-axes.
Is i-j form the same as component form?
Yes. Vectors in i-j form carry the same numbers: (3,2)(3, 2) and 3i^+2j^3\hat{\mathbf{i}} + 2\hat{\mathbf{j}} are the same vector.
Why is the length a square root and not just x + y?
The parts are at right angles, so the vector is a hypotenuse: x2+y2\sqrt{x^2 + y^2}.
Can vectors in i-j form have negative components?
Yes. Negative i^\hat{\mathbf{i}} points left; negative j^\hat{\mathbf{j}} points down.
How do I write a vector from its length and angle?
Lcos⁡θ i^+Lsin⁡θ j^L\cos\theta\,\hat{\mathbf{i}} + L\sin\theta\,\hat{\mathbf{j}}.
✍️ Written By
Ruchi Shah
Ruchi Shah
Subject Matter Expert
Ruchi Shah is a mathematics educator and curriculum designer with over 12 years of experience. She joined Bhanzu in 2022 as a full-time Mathematics Trainer, teaching live classes and working with students and parents. She has since moved into curriculum design where she builds curricula, academic planners and learning pathways for different grade levels.
LinkedIn
🔬 Reviewed By
Madhukar V
Math Columnist & Analyst
Book a FREE Demo ClassBook Now →