Resolving vectors and unit vectors · Physics Class 11–12 | StemPy Lab
Course 3.1·Lesson 3 of 3
Resolving vectors and unit vectors
We split a vector into an x part and a y part: Ax=Acosθ
Lesson 3 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
A pull that does two jobs
You pull a suitcase along an airport floor by its handle. The handle slopes up towards your hand. Part of your pull moves the suitcase forward. Another part tries to lift it. How much of each?
To answer, we split the pull into two parts: one along the floor and one straight up. This is called resolving the vector, and the parts are its components. It is the most useful idea in this chapter, because it turns every vector problem into two simple problems along two straight lines.
Finding the two parts
Put the tail of A at the origin. Let it make the angle θ with the +x axis. Drop a line from its head down to the x axis. You get a right triangle, and its two short sides are the components.
A graph with an x axis and a y axis. A blue vector A starts at the origin and points up and to the right, making an angle theta with the x axis. Dashed lines from its head go down to the x axis and across to the y axis. An orange arrow along the x axis shows the component A x, which is A cos theta. A green arrow along the y axis shows the component A y, which is A sin theta.
Ax=Acosθ
Ay=Asinθ
Why cos for x? The x part is the side next to the angle θ, and cos goes with the side next to the angle. This is only true when θ is measured from the x axis. If a question gives the angle from the vertical, the jobs swap: the y part takes the cos.
Going back from the parts to the whole vector:
A=Ax2+Ay2
tanθ=AxAy
Signs and quarters
Components carry signs. A part that points along −x is negative. Move the slider round the full circle and watch.
Here is the trap. tanθ is the same for (3,4) and (−3,−4), because 34=−3−4. But one arrow points up and to the right, and the other points down and to the left. A calculator's tan−1 gives 53.1∘ for both.
So always do two steps:
Find the angle with the x axis from tan−1AxAy.
Use the signs of Ax and Ay to place the arrow in its quarter.
Example.A=−3i^+4j^. The size is 9+16=5. The angle with the x axis is tan−13km4km=53.1∘. The x part is negative and the y part is positive, so the arrow points up and to the left. Its angle from +x is 180∘−53.1∘=126.9∘.
In Python, math.atan2(Ay, Ax) looks at both signs and does step 2 for you.
Unit vectors along the axes
We give the two axes their own unit vectors: i^ (read "i hat") along +x, and j^ along +y. Each has size 1.
A graph with an x axis and a y axis. A short red arrow of length one along the x axis is the unit vector i hat, and a short green arrow of length one along the y axis is the unit vector j hat. A long blue arrow r goes from the origin to a point, with dashed lines to the two axes, and it is written as r equals x times i hat plus y times j hat.
Now any vector in the plane can be written with its two parts:
A=Axi^+Ayj^
For example, r=4i^+3j^ means "go 4 along x, then 3 along y". Its size is 16+9=5. In three dimensions we add k^ along z.
Adding vectors the easy way
With components, adding needs no drawing at all. If A=Axi^+Ayj^ and B=Bxi^+Byj^, then
A+B=(Ax+Bx)i^+(Ay+By)j^
Add the x parts. Add the y parts. Keep them apart. Subtraction and multiplying by a number work the same way, one part at a time.
Worked example. A hiker walks 6km east, then 4km north, then 5km towards the south-west (225∘ from east). Where does she end up?
Split each walk. East: (6,0). North: (0,4). South-west: (5cos225∘,5sin225∘)=(−3.54,−3.54).
Add the parts. Rx=6km+0km−3.54km=2.46km and Ry=0km+4km−3.54km=0.46km.
Put them back together. R=(2.46km)2+(0.46km)2=2.51km, at tan−12.46km0.46km=10.7∘ north of east.
Check: both totals are positive, so she ends up to the north-east of the start. That fits the small angle.
Back to the suitcase. A pull of 80N along a handle at 40∘ to the floor has a forward part of 80Ncos40∘=61.3N and a lifting part of 80Nsin40∘=51.4N. Notice that 61.3N+51.4N is more than 80N. Parts at right angles do not add as plain numbers.
Practise with new numbers
Try it in Python
The program adds the three walks of the worked example by components.
Remember these
Ax=Acosθ and Ay=Asinθ, when θ is measured from the +x axis.
A=Axi^+Ayj^, A=Ax2+Ay2, and the signs of the parts give the quarter.
To add vectors, add their x parts and their y parts separately.
Check yourself
Try each one on your own first. If you are stuck, open a hint. When you have an answer, check it with Show the answer.
A vector of size 10 makes 30∘ with the +x axis. What are its parts?
A=3i^+4j^ and B=i^−2j^. Find A+B, its size, and A−B.
In which direction does C=−i^−j^ point, as an angle from +x?
A boy pulls a sledge with a rope at 60∘ above the ground, with a force of 50N. How much of the pull moves the sledge forward?
Enroll free in Vectors: Adding, Subtracting and Resolving
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.