Considering the initial position of ship A as origin, so the velocity and position of ship will be
→vA=(30^i+50^j) and
→rA=(0^i+0^j)
Now, as given in the question, velocity and position of Ship B will be,
→vB=−10^i and
→rB=(80^i+150^j)
Hence, the given situation can be represented graphically as
After time t, coordinates of ships B and A are (80 - 10t, 150) and (30t, 50t).
So, distance between A and B after time t is
d =
√(x2−x1)2+(y2−y1)2
d =
√(80−10t−30t)2+(150−50t)2
⇒d2=(80−40t)2+(150−50t)2
Distance is minimum when
ddt(d)2=0
After differentiating, we get
⇒ddt[(80−40t)2+(150−50t)2]=0
⇒2(80−40t)(−40)+2(150−50t)(−50)=0
⇒ -3200 + 1600t - 7500 + 2500t = 0
⇒4100t=10700⇒t=107004100 = 2.6 h