Relative Motion of Two Particles

In analyzing most problem so far, we've considered the motion from a stationary frame of reference, external to everything involved in the problem. We will now consider moving our frame of reference to be a particle that is also moving in the problem, which adds another degree of complexity. In its most general form, relative motion states that:
rA/B=rA−rB
Where:
- rA/B is the relative position of A with respect to B
- rA is the position of A relative to a stationary reference
- rB is the position of B relative to the same stationary reference
This equation can be differentiated to be written in terms of velocities or accelerations.
There are 3 types of questions commonly asked here:
- Observing one particle from the perspective of another - both particles move separately
- When one object rests on top of another
- Constrained relative motion - pulley questions
If one (or both) of the particles of interest are undergoing curvilinear motion, then you must convert the components of one particle to match the other. For example, if A is undergoing rectilinear motion and measured along the x-y cartesian coordinates, while particle B is undergoing curvilinear motion and measured using normal-tangential coordinates, then you must either convert the vector of particle A into the same normal-tangential coordinates, or convert the vector of particle B into x-y cartesian coordinates.

Two boats, A and B, leave from point O at the same time t = 0. Their initial velocities are as shown to be 15 and 10 m/s respectively for A and B. You're sitting on boat A, which is accelerating at a rate of 0.5 m/s2, and observing point B. At t = 3 seconds, you observe B to have a velocity of (10 i + 33.8 j) m/s. Determine:
a) The initial relative velocity of A to B
b) Determine the velocity of B relative to a person stand at the dock O at t = 3 seconds
vA=15cos30i^+15sin30j^
vB=10cos60i^+10sin60j^
a) vA∣B=vA−vB=(15cos30−10cos60)i^+(15sin30−10sin60)j^
vA∣B=(8i^−1.16j^) sm
b) first we need velocity of A:
vA=(vA)o=at=15+0.5(3)=16.5 sm
vA=16.5cos30i^ +16.5sin30j^
v B∣A=vB−vA→vB=vB∣A+vA
vB=24.3i^+42j^

You're sitting inside of a car moving at 20 m/s, and decide to throw the core of your apple out the window into a garbage bin that is 15 m in front of the car. Based on the window opening, you'll have to throw the apple core at an angle of 20° relative to the horizontal. Assume that the height of the car's window at the height of the garbage bin opening to be the same. At what velocity do you have to throw the apple core to reach the bin?
vocar=? @ α=20°
v car=20 sm
Δy=0
Δx=15
a = -9.81
vo=sin20 t−4.905t2=0
vo=sin204.905t→4.905vosin20=t
(vocos20+20)t=15
(vocos20+20)(4.905vosin20)=15
(cos20sin20)vo2+(20sin20)vo−15(4.905)=0
vo= 7.86 sm