Minimizing Distance Between Two Moving Objects

  • Thread starter Thread starter Rct33
  • Start date Start date
  • Tags Tags
    Approach
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
11 replies · 3K views
Rct33
Messages
16
Reaction score
0

Homework Statement


The problem describes an aircraft taking off from a point on a runway with constant speed [itex]V_{1}[/itex], climbing at a constant angle [itex]\alpha[/itex], at the point of takeoff, a car drives towards the aircraft a distance [itex]a[/itex] away with speed [itex]V_{2}[/itex]. I simply have to find the closest distance between the two objects

The Attempt at a Solution


The x component of the distance is given by [itex](a-(V_{1}\cos(\alpha)+V_{2}))t[/itex]
The y component of the distance is given by [itex]V_{1}\sin(\alpha)[/itex]

Therefore the distance is given by [itex]\sqrt{((a-(V_{1}\cos(\alpha)+V_{2}))t)^2+(V_{2}\sin(\alpha))^2}[/itex]

Which I need to minimise, expanding the brackets and simplifying as much as I can gives the distance as:
[itex]\sqrt{a^2-2aV_{2}t-2aV_{1}t\cos(\alpha)+V_{1}^2t^2+V_{2}^2t^2+2V_{1}V_{2}t^2\cos(\alpha)}[/itex]

Kinda have no idea what to do next or if I even went in the right direction so any pointers would be great, thanks
 
Physics news on Phys.org
Looks like you have the right idea, but you may want to check your brackets (e.g. are you sure that you meant to have ##a \cdot t - \cdots## rather than just ##a - \cdots## in the x-component)?

So you have an expression for the distance d(t) as a function of time. Now, in general, how do you minimise a function?

To make life easier for yourself, note that d(t)² has a minimum wherever d(t) has a minimum - i.e. you can forget about the square root and minimise ##v_x^2 + v_y^2## instead.

(PS I would call the vertical component z, not y, but that's probably a matter of personal preference).
 
  • Like
Likes   Reactions: 1 person
There are a few typos along the way, but your final expression is right so I presume they're transcription errors. You need to find the smallest value of that expression as time varies. What does that suggest in calculus terms?
Of course, the smallest value of the distance occurs at the same time as the smallest value of the square of the distance, so that should simplify things a little.
 
  • Like
Likes   Reactions: 1 person
haruspex said:
There are a few typos along the way, but your final expression is right so I presume they're transcription errors. You need to find the smallest value of that expression as time varies. What does that suggest in calculus terms?
Of course, the smallest value of the distance occurs at the same time as the smallest value of the square of the distance, so that should simplify things a little.

As follow up to haruspex, the thing under the square root sign is a quadratic. The minimum or maximum of a quadratic occurs at t = -B/2A.
 
  • Like
Likes   Reactions: 1 person
Chestermiller said:
As follow up to haruspex, the thing under the square root sign is a quadratic. The minimum or maximum of a quadratic occurs at t = -B/2A.

So [itex]t=\frac{aV_{2}+aV_{1}\cos(\alpha)}{V_{2}^2+2V_{2}V{1}\cos(\alpha)+V_{1}^2}[/itex]?

Would I have to plug that into [itex]\sqrt{a^2-2aV_{2}t-2aV_{1}t\cos(\alpha)+V_{1}^2t^2+V_{2}^2t^2+2V_{1}V_{2}t^2\cos(\alpha)}[/itex] to get the distance? Seems awfully complicated
 
Rct33 said:
So [itex]t=\frac{aV_{2}+aV_{1}\cos(\alpha)}{V_{2}^2+2V_{2}V{1}\cos(\alpha)+V_{1}^2}[/itex]?

Would I have to plug that into [itex]\sqrt{a^2-2aV_{2}t-2aV_{1}t\cos(\alpha)+V_{1}^2t^2+V_{2}^2t^2+2V_{1}V_{2}t^2\cos(\alpha)}[/itex] to get the distance? Seems awfully complicated
It might help to solve it in the abstract first. Suppose d2= Ax2+Bx+C. It's minimised at x=-B/2A, giving d2=C-B2/4A.
 
  • Like
Likes   Reactions: 1 person
haruspex said:
It might help to solve it in the abstract first. Suppose d2= Ax2+Bx+C. It's minimised at x=-B/2A, giving d2=C-B2/4A.

Well it still ain't pretty, but I have d, thanks a lot for your help
 
Chestermiller said:
It should be prettier than you are implying. Are you sure you manipulated it into the most favorable final form. I got the following result:
[tex]d=\frac{aV_1\sin \alpha}{\sqrt{A}}[/tex]

Do you get that result from simplifying
[tex]a^2+\frac{(2aV_{2}+2aV_{1}\cos(\alpha))^2}{4(V_{2}^2+2V_{2}V{1}\cos( \alpha)+V_{1}^2)}[/tex]?
 
Chestermiller said:
No, from simplifying
[tex]a^2-\frac{(2aV_{2}+2aV_{1}\cos(\alpha))^2}{4(V_{2}^2+2V_{2}V{1}\cos( \alpha)+V_{1}^2)}[/tex]

is b not equal to [tex]-2aV_{2}-2aV_{1}\cos(\alpha)[/tex]? Thats why I canceled the negative in d2=C-B2/4A