Understanding distances, derivatives, and integrals help?

AI Thread Summary
The discussion revolves around calculating the minimum distance between two trains moving at right angles from a common station. Train A departs west at 50 km/h at 10 AM, while Train B leaves south at 60 km/h one hour later. The minimum distance is derived using the Pythagorean theorem, leading to the equation s^2 = (50t)^2 + (60(t-1))^2. Setting the derivative of this equation to zero helps find critical points, indicating where the distance is minimized. The conversation also touches on confusion regarding derivatives and integrals, emphasizing the importance of understanding these concepts in calculus for solving optimization problems.
Monkey D. Luffy
Messages
16
Reaction score
0

Homework Statement


Two railroad tracks intersect at right angles at station O. At 10AM the train A, moving west with constant speed of 50 km/h, leaves the station O. One hour later train B, moving south with the constant speed of 60 km/h, passes through the station O. Find minimum distance between these trains

Homework Equations


dx/dt
dy/dt

The Attempt at a Solution


I got up to the point where i formulated two equations for the trains:
Xa= 50t
Yb= 60t -60

From here i was lost as to how to figure out the minimum distance because today before i attempted the problem, in a tutorial class we learned that minimum distance is (Yb-Xa) in this case and i do not understand how to do it that way. So i searched for a way to do it online and got this as an answer:

Let x be the position of train A, let y be the position of train B, and let O be the origin. West will be the positive x direction and south will be the positive y direction. We are given that (dx/dt)=50 and (dy/dt)=60. Train A starts at time t=0, so its position is x=50t. Train B starts at time t=1, so its position is y=60(t-1) when t is greater than or equal to 1. (y should equal 0 when t is 1 hour.) The formula we need to minimize is the distance between the trains given by the pythagorean theorem. We denote the distance between the trains s, and write s^2=x^2+y^2. The mimimum will be at a critical point where the derivative is equal to 0, so we differentiate with regards to t. 2s(ds/dt)=2x(dx/dt)+2y(dy/dt). We are looking for the point at which (ds/dt)=0, so we need to find: 0=2x(dx/dt)+2y(dy/dt). We can divide by 2 and not change a thing (0/2=0). 0=x(dx/dt)+y(dy/dt). Now we substitute our equations for x and y, and our numbers for (dx/dt) and (dy/dt). 0=(50t)(50)+(60t-60)(60). Simplify: 0=2500t+3600t-3600. Add the t terms: 0=6100t-3600. Add 3600 to both sides: 3600=6100t. This gives us t=0.59. Now we know the time at which the shortest distance was at, so now we find the distance. x=50(0.59)=29.51km and y=60(0.59-1)=-24.6km. Now we use s^2=(29.51)^2+(-26.6)^2=39.73km. The shortest distancw between the trains was 39.73km.

I understand a lot of it but i do not get when this person said the derivative is equal to 0, this is the equation:
2x(dx/dt)+2y(dy/dt)
why would it not just be Xa-Yb still? why do we multiply the X and Y equations with their derivatives? i am very confused by the notation used here for derivatives as well as the method and why these steps (after the one i just listed) was taken... Could anyone help me please? Also, i know i am asking a lot but could you also explain the integrals notation? since its a derivative taken backwards, i thought it would be simple enough except i don't get what it means when you "take the integral with respect to something else."

Thank you so much guys and the class is principles of physics so i thought this would be the place to create this forum.
 
Physics news on Phys.org
Monkey D. Luffy said:

Homework Statement


Two railroad tracks intersect at right angles at station O. At 10AM the train A, moving west with constant speed of 50 km/h, leaves the station O. One hour later train B, moving south with the constant speed of 60 km/h, passes through the station O. Find minimum distance between these trains

Homework Equations


dx/dt
dy/dt

The Attempt at a Solution


I got up to the point where i formulated two equations for the trains:
Xa= 50t
Yb= 60t -60

From here i was lost as to how to figure out the minimum distance because today before i attempted the problem, in a tutorial class we learned that minimum distance is (Yb-Xa) in this case and i do not understand how to do it that way. So i searched for a way to do it online and got this as an answer:

Let x be the position of train A, let y be the position of train B, and let O be the origin. West will be the positive x direction and south will be the positive y direction. We are given that (dx/dt)=50 and (dy/dt)=60. Train A starts at time t=0, so its position is x=50t. Train B starts at time t=1, so its position is y=60(t-1) when t is greater than or equal to 1. (y should equal 0 when t is 1 hour.) The formula we need to minimize is the distance between the trains given by the pythagorean theorem. We denote the distance between the trains s, and write s^2=x^2+y^2. The mimimum will be at a critical point where the derivative is equal to 0, so we differentiate with regards to t. 2s(ds/dt)=2x(dx/dt)+2y(dy/dt). We are looking for the point at which (ds/dt)=0, so we need to find: 0=2x(dx/dt)+2y(dy/dt). We can divide by 2 and not change a thing (0/2=0). 0=x(dx/dt)+y(dy/dt). Now we substitute our equations for x and y, and our numbers for (dx/dt) and (dy/dt). 0=(50t)(50)+(60t-60)(60). Simplify: 0=2500t+3600t-3600. Add the t terms: 0=6100t-3600. Add 3600 to both sides: 3600=6100t. This gives us t=0.59. Now we know the time at which the shortest distance was at, so now we find the distance. x=50(0.59)=29.51km and y=60(0.59-1)=-24.6km. Now we use s^2=(29.51)^2+(-26.6)^2=39.73km. The shortest distancw between the trains was 39.73km.

I understand a lot of it but i do not get when this person said the derivative is equal to 0, this is the equation:
2x(dx/dt)+2y(dy/dt)
why would it not just be Xa-Yb still? why do we multiply the X and Y equations with their derivatives? i am very confused by the notation used here for derivatives as well as the method and why these steps (after the one i just listed) was taken... Could anyone help me please? Also, i know i am asking a lot but could you also explain the integrals notation? since its a derivative taken backwards, i thought it would be simple enough except i don't get what it means when you "take the integral with respect to something else."

Thank you so much guys and the class is principles of physics so i thought this would be the place to create this forum.

Whoever did the analysis was doing it the hard way. It is easier to evaluate ##s^2## before taking the derivative: ##s^2 = (50 t)^2 + (60 t - 60)^2 = 6100\, t^2 - 7200\, t + 3600##. Now ## ds^2/dt = 12200 \, t - 7200##. This equals 0 when ##t = 36/61 \doteq 0.590## (hours). At that time the squared distance between the trains is obtained by substituting ##t = 36/61## into the expression for ##s^2##, and that simplifies to ##s^2_{\min} = 90 000/61## (km^2). The minimum distance is ##s_{\min} = \sqrt{90 000/61} \doteq 38.41## km. This is a bit different from the answer you gave above. The differences are likely due to excessive roundoff that the author above performed. It is better to keep more figures during the calculation, then round off the answer after all the work is finished. (In this case it makes quite a difference--- more than 1 km in the final answer.)
 
Ray Vickson said:
Whoever did the analysis was doing it the hard way. It is easier to evaluate ##s^2## before taking the derivative: ##s^2 = (50 t)^2 + (60 t - 60)^2 = 6100\, t^2 - 7200\, t + 3600##. Now ## ds^2/dt = 12200 \, t - 7200##. This equals 0 when ##t = 36/61 \doteq 0.590## (hours). At that time the squared distance between the trains is obtained by substituting ##t = 36/61## into the expression for ##s^2##, and that simplifies to ##s^2_{\min} = 90 000/61## (km^2). The minimum distance is ##s_{\min} = \sqrt{90 000/61} \doteq 38.41## km. This is a bit different from the answer you gave above. The differences are likely due to excessive roundoff that the author above performed. It is better to keep more figures during the calculation, then round off the answer after all the work is finished. (In this case it makes quite a difference--- more than 1 km in the final answer.)
OHHH i see! thanks i see your way of doing it and it makes a lot more sense now! my only remaining question is why we take the derivative and set it to 0, like what does setting it to 0 have to do with anything? i have done optimization before but it was usually for a dog running on a beach then swimming to get a stick in the water or something along those lines. in that situation, optimization gave us the fastest time to fetch the stick. why does it now give us "closest distance"?
 
CWatters said:
I'm not sure if that's where you are stuck but it should be covered in your course work. For example see..

http://www.themathpage.com/acalc/max.htm
https://www.mathsisfun.com/calculus/maxima-minima.html
ah see i understand derivatives pretty decently and your links brought back some ideas i remember practicing in Grade 12 Calculus, but now its integrals and the notation that confuses me. for example let's say we have -pdV/T what does that notation mean? (Im just using an example we had in class, one that confused me then as well because this is the first time i am doing integrals)
 
I multiplied the values first without the error limit. Got 19.38. rounded it off to 2 significant figures since the given data has 2 significant figures. So = 19. For error I used the above formula. It comes out about 1.48. Now my question is. Should I write the answer as 19±1.5 (rounding 1.48 to 2 significant figures) OR should I write it as 19±1. So in short, should the error have same number of significant figures as the mean value or should it have the same number of decimal places as...
Thread 'A cylinder connected to a hanging mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...
Back
Top