Minimizing Distance Between Two Moving Objects

  • Thread starter Thread starter Rct33
  • Start date Start date
  • Tags Tags
    Approach
AI Thread Summary
The discussion focuses on minimizing the distance between an aircraft taking off and a car approaching it. The distance is expressed as a function of time, incorporating both the x and y components of motion. Participants suggest using calculus to find the minimum distance, noting that the square of the distance can simplify calculations. They emphasize the importance of correctly identifying the quadratic form of the distance equation to determine the time at which the minimum occurs. The conversation concludes with a confirmation of the derived distance formula, highlighting the need for careful algebraic manipulation.
Rct33
Messages
16
Reaction score
0

Homework Statement


The problem describes an aircraft taking off from a point on a runway with constant speed V_{1}, climbing at a constant angle \alpha, at the point of takeoff, a car drives towards the aircraft a distance a away with speed V_{2}. 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 (a-(V_{1}\cos(\alpha)+V_{2}))t
The y component of the distance is given by V_{1}\sin(\alpha)

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

Which I need to minimise, expanding the brackets and simplifying as much as I can gives the distance as:
\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)}

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 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 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 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 t=\frac{aV_{2}+aV_{1}\cos(\alpha)}{V_{2}^2+2V_{2}V{1}\cos(\alpha)+V_{1}^2}?

Would I have to plug that into \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)} to get the distance? Seems awfully complicated
 
Rct33 said:
So t=\frac{aV_{2}+aV_{1}\cos(\alpha)}{V_{2}^2+2V_{2}V{1}\cos(\alpha)+V_{1}^2}?

Would I have to plug that into \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)} 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 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
 
Rct33 said:
Well it still ain't pretty, but I have d, thanks a lot for your help
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:
d=\frac{aV_1\sin \alpha}{\sqrt{A}}
 
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:
d=\frac{aV_1\sin \alpha}{\sqrt{A}}

Do you get that result from simplifying
a^2+\frac{(2aV_{2}+2aV_{1}\cos(\alpha))^2}{4(V_{2}^2+2V_{2}V{1}\cos( \alpha)+V_{1}^2)}?
 
  • #10
Rct33 said:
Do you get that result from simplifying
a^2+\frac{(2aV_{2}+2aV_{1}\cos(\alpha))^2}{4(V_{2}^2+2V_{2}V{1}\cos( \alpha)+V_{1}^2)}?
No, from simplifying
a^2-\frac{(2aV_{2}+2aV_{1}\cos(\alpha))^2}{4(V_{2}^2+2V_{2}V{1}\cos( \alpha)+V_{1}^2)}
 
  • #11
Chestermiller said:
No, from simplifying
a^2-\frac{(2aV_{2}+2aV_{1}\cos(\alpha))^2}{4(V_{2}^2+2V_{2}V{1}\cos( \alpha)+V_{1}^2)}

is b not equal to -2aV_{2}-2aV_{1}\cos(\alpha)? Thats why I canceled the negative in d2=C-B2/4A
 
  • #12
Rct33 said:
is b not equal to -2aV_{2}-2aV_{1}\cos(\alpha)? Thats why I canceled the negative in d2=C-B2/4A

Please reconsider your algebra. It's a B2, which is positive.
 
  • Like
Likes 1 person
Back
Top