Resultant of Two Vectors in the Plane

January 28, 2026

Problem

Two vectors: A = 5 units at 30° and B = 8 units at 120°. Find and visualize their resultant vector.

Explanation

We are given two vectors in polar form:

  • Vector A: magnitude A=5|\vec A| = 5 at angle 3030^\circ
  • Vector B: magnitude B=8|\vec B| = 8 at angle 120120^\circ

We want their resultant vector:

R=A+B.\vec R = \vec A + \vec B.

1. Convert each vector to components

For a vector with magnitude rr and angle θ\theta (in degrees, measured from +x axis):

x=rcosθ,y=rsinθ.x = r\cos\theta, \quad y = r\sin\theta.

Vector A

Ax=5cos30,Ay=5sin30.A_x = 5 \cos 30^\circ, \quad A_y = 5 \sin 30^\circ.

Using exact values:

  • cos30=3/20.866\cos 30^\circ = \sqrt{3}/2 \approx 0.866
  • sin30=1/2=0.5\sin 30^\circ = 1/2 = 0.5

So:

Ax=50.8664.33,Ay=50.5=2.5.A_x = 5 \cdot 0.866 \approx 4.33, \quad A_y = 5 \cdot 0.5 = 2.5.

Vector B

Bx=8cos120,By=8sin120.B_x = 8 \cos 120^\circ, \quad B_y = 8 \sin 120^\circ.

Using:

  • cos120=1/2=0.5\cos 120^\circ = -1/2 = -0.5
  • sin120=3/20.866\sin 120^\circ = \sqrt{3}/2 \approx 0.866

So:

Bx=8(0.5)=4,By=80.8666.93.B_x = 8 \cdot (-0.5) = -4, \quad B_y = 8 \cdot 0.866 \approx 6.93.

2. Add the components

The resultant components:

Rx=Ax+Bx,Ry=Ay+By.R_x = A_x + B_x, \quad R_y = A_y + B_y.

Plugging in values:

Rx=4.33+(4)0.33,Ry=2.5+6.939.43.R_x = 4.33 + (-4) \approx 0.33,\\ R_y = 2.5 + 6.93 \approx 9.43.

So the resultant vector in component form is approximately:

R(0.33,  9.43).\vec R \approx (0.33,\; 9.43).

3. Magnitude and direction of the resultant

Magnitude:

R=Rx2+Ry20.332+9.4320.11+88.9489.059.43.|\vec R| = \sqrt{R_x^2 + R_y^2} \approx \sqrt{0.33^2 + 9.43^2} \approx \sqrt{0.11 + 88.94} \approx \sqrt{89.05} \approx 9.43.

Direction (angle from +x axis):

θR=tan1(RyRx)tan1(9.430.33)88.\theta_R = \tan^{-1}\left(\frac{R_y}{R_x}\right) \approx \tan^{-1}\left(\frac{9.43}{0.33}\right) \approx 88^\circ.

So the resultant is almost vertical, with a small positive x-component:

R9.4 units at 88.\boxed{|\vec R| \approx 9.4 \text{ units at } 88^\circ.}

4. What the visualization shows

The interactive canvas illustrates:

  1. Vector A (cyan): drawn from the origin at angle θA\theta_A with length proportional to its magnitude.
  2. Vector B (pink): also from the origin at angle θB\theta_B.
  3. Resultant vector R (yellow): the sum A+B\vec A + \vec B, drawn from the origin to the tip of the parallelogram/triangle formed by A and B.
  4. A faint dynamic grid to provide coordinate context.

You can adjust:

  • The magnitude and angle of each vector and see how:
    • Their components change.
    • The resultant direction and length updates in real time.

Mathematically, the visualization implements:

Ax=Acos(θA),Ay=Asin(θA),Bx=Bcos(θB),By=Bsin(θB),Rx=Ax+Bx,Ry=Ay+By.\begin{aligned} A_x &= |A|\cos(\theta_A), & A_y &= |A|\sin(\theta_A),\\ B_x &= |B|\cos(\theta_B), & B_y &= |B|\sin(\theta_B),\\ R_x &= A_x + B_x, & R_y &= A_y + B_y. \end{aligned}

Then it draws the three vectors on a Cartesian plane (transformed to canvas coordinates) with a dark-slate background and neon colors, and slight animation to keep the scene visually alive.

Interactive Visualization

Parameters

5.00
30.00
8.00
120.00
25.00
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Resultant of Two Vectors in the Plane | MathSpin