I Is it possible to solve for “t?”

  • I
  • Thread starter Thread starter Devin-M
  • Start date Start date
  • #51
Devin-M said:
hmm... i thought there was no exact solution for t when A and B are both rational... (or t is irrational)
It's got nothing to do with being irrational, it is simply not helpful to talk about this task as 'endless'.

It is true that it is not possible to write down an 'exact' solution to the problem, but neither is it possible to write down the 'exact' value of 1/3 (a rational number) in the decimal number system, would you refer to that as endless?

There are things in mathematics which are 'endless', such as searching for the limit of the sum ## 1 + \frac12 + \frac13 + \frac 14 ... ##, but that is not the situation we have here.
 
  • Like
Likes Devin-M
Mathematics news on Phys.org
  • #52
pbuk said:
It is true that it is not possible to write down an 'exact' solution to the problem, but neither is it possible to write down the 'exact' value of 1/3 (a rational number) in the decimal number system, would you refer to that as endless?
Excellent point that seems to get to the heart of what the OP is asking about.
I can solve the equation ##3x = 1## algebraically to get the exact answer, but it will take an "endless" number of digits to write the exact value as a decimal fraction.

But so what? Rational or irrational makes just about zero difference here.

My suspicion is that what the OP is trying to get at is that the object can slide down the tube in a finite amount of time, but writing all of the decimal digits would take an infinite amount of time. I could be wrong, but if not, this is not something to be concerned about.
 
Last edited:
  • Like
Likes Devin-M
  • #53
Devin-M said:
I added an extra set of parenthesis:

A=−(B/(2((pi−t)+sin(t))))(1−cos(t))

When B and t are 1, A should be -0.077...
Devin-M said:
Just to confirm, would it be accurate to make the following statement—

“Whenever t & B are rational, A is irrational. Whenever A & B are rational, t is irrational.”

?

I suppose I thought that, when A & B are rational (each can be expressed as a ratio between integers) that, since the formula can’t be rearranged algebraically to solve for t, that t might not be able to be expressed as a ratio between integers and hence t would be “irrational” though I’m not sure.

I was imagining, if t is irrational, it leading to a scenario where someone with a fast computer solves t to very many digits, and from t and B calculates r, and from r, g and t, calculates the travel time and says “this is the quickest route.” But then someone else calculates to more digits, and finds an even faster time. Could this lead to a scenario where one can’t find the “quickest” route because someone with a faster computer and more time can always calculate t to more digits than the person before (more digits of t affecting and altering the proposed “quickest” cycloid generating radius), so as time goes on ever faster routes can be found ad nauseum?
 
  • #54
Devin-M said:
I was imagining, if t is irrational, it leading to a scenario where someone with a fast computer solves t to very many digits, and from t and B calculates r, and from r, g and t, calculates the travel time and says “this is the quickest route.” But then someone else calculates to more digits, and finds an even faster time. Could this lead to a scenario where one can’t find the “quickest” route because someone with a faster computer and more time can always calculate t to more digits than the person before (more digits of t affecting and altering the proposed “quickest” cycloid generating radius), so as time goes on ever faster routes can be found ad nauseum?

So, two points:

(1) I think that what others are trying to say is that even if the "exact solution" for t is a number with infinitely many digits, the problem you seem to be worried about holds for any such number. For example, maybe I know the answer is 1/3 (a rational number). If I have to write that out as a decimal, I know exactly how to do that - start with 0.33 and keep adding 3's on the right. So it would take me an infinite amount of time to write it down exactly, but not nearly an infinite amount of time to write it out to a reasonable degree of precision.

Apply the same reasoning to a number like ##\pi## (an irrational number). If you give me a radius, I can calculate the circumference ##2\pi r## of a circle to arbitrarily many digits, depending on how many digits of ##\pi## I want to compute and use. No, it will never have infinitely many digits, but there's never going to be an application in which you need to know infinitely many digits. Knowing the value of the circumference that's more precise than any of your measuring devices, for example, is more than enough. More digits than that become redundant unless you're going to build a better tape measure.

(2) Both in the circle example and in your example of an extremal trajectory, using more digits will not radically change your final answer. Rather, you should expect that if you keep computing with more and more precision, your circumference or trajectory will be converging to some particular thing. No, you won't be able to say what it is with infinitely many digits, but you'll have, for example, a trajectory that changes so little as you introduce more digits for t that you very quickly stop being able to measure the resulting differences in travel time. Think of computing with t to 10 digits, and then with 15, and getting two trajectories. They will probably be similar to the point that a stopwatch could not measure the difference in time between taking each path, and indeed they're probably similar enough that no instrument could chart a course that knows how to distinguish between them. Furthermore, a computer would take very little time to do either of these calculations.

In fact, you'll find that you waste much more time trying to calculate to infinite digits than to just travel on the trajectory that's good to 10 digits, even while your measurable time spent on each of these paths would not be different.

Am I understanding correctly that you think there's some paradox in taking infinite time to calculate a trajectory that minimizes time? I'm not sure whether you just find this kind of ironic or whether it really bothers you mathematically. Hope this helps!
 
  • Like
Likes Devin-M
  • #55
Devin-M said:
I suppose I thought that, when A & B are rational (each can be expressed as a ratio between integers) that, since the formula can’t be rearranged algebraically to solve for t, that t might not be able to be expressed as a ratio between integers and hence t would be “irrational” though I’m not sure.
Nearly all numbers are irrational but they don't seem to worry about it and nor should you :biggrin:

Devin-M said:
I was imagining, if t is irrational, it leading to a scenario where someone with a fast computer solves t to very many digits, and from t and B calculates r, and from r, g and t, calculates the travel time and says “this is the quickest route.” But then someone else calculates to more digits, and finds an even faster time. Could this lead to a scenario where one can’t find the “quickest” route because someone with a faster computer and more time can always calculate t to more digits than the person before (more digits of t affecting and altering the proposed “quickest” cycloid generating radius), so as time goes on ever faster routes can be found ad nauseum?
No, there is only one fastest route.

Bear in mind that you have used the approximate value of 9.8 m/s2 for g: there is no point specifying your solution to more than 3 significant figures because it will change if use use a different value of g (note that g varies by about 0.05 m/s2 between the equator and the poles and there are also local variations due to altitude and geophysical anomalies).
 
  • Like
Likes Devin-M and FactChecker
  • #56
I assume the Implicit Funcion Theorem could give a definitive answer on the possibility of isolating t?
 
  • Like
Likes Devin-M
  • #57
Not my area of expertise but won't the Implicit Function Theorem just give us existence not construction? We don't have a problem with existence - we don't even have a problem with calculation; this is simple root finding for a (in the region of interest) monotonic function so we can achieve arbitrary precision in logarithmic time.
 
  • Like
Likes Devin-M and FactChecker
  • #58
WWGD said:
I assume the Implicit Funcion Theorem could give a definitive answer on the possibility of isolating t?
I don't think so. I agree with @pbuk that this theorem just talks about the existence of a function. From the wiki page, https://en.wikipedia.org/wiki/Implicit_function_theorem
The implicit function theorem gives a sufficient condition to ensure that there is such a function.
pbuk said:
Not my area of expertise but won't the Implicit Function Theorem just give us existence not construction?
That's how it seems to me.
 
  • Like
Likes Devin-M
  • #59
Mark44 said:
I don't think so. I agree with @pbuk that this theorem just talks about the existence of a function. From the wiki page, https://en.wikipedia.org/wiki/Implicit_function_theorem

That's how it seems to me.
Agreed, but maybe a 'no', not possible to represent even locally, would shed some light. Let me look at the theorem again see if I can find a constructive corollary of some sort.
 
  • Like
Likes Devin-M
  • #60
It is probably worth a summary as there have been a few diversions and dead ends on the way.

We are trying to find the shortest journey time between points ## A ## and ## B ## at the same elevation for an object under the influence of gravity constrained without friction to a path. The object has initial velocity of ## v_0 ## in the initial direction of travel, and arrives at B with equal speed.

By other work referenced, we know that the solution is part of a cycloid defined by
$$ \begin{align*} x &= r (t - \sin t) \tag 1 \\
y &= r (1 - \cos t) \tag 2 \end{align*} $$
at point ## A ## we must have
$$ mgy_A = 0.5mv_0^2 \implies y_A = \frac{v_0^2}{2g} \tag 3 $$
and we know the distance ## X ## between ## A ## and ## B ## and that ## x_A = x_B ## so
$$ 2 x_A + X = 2 \pi r \implies X = 2 (\pi r - x_A) \tag 4 $$

We now have two unknowns, ## t_0 ## (the value of the parameter t at X) and ## r ## (the generating radius). There are a number of ways of proceding: the OP (if I remember rightly) has estimated ## t_0 ## and used (2) and (3) to find the corresponding ## r ##; substituted this into (1) and (4) to find the resulting ## X ## and reduced the error by bisection.
 
  • Like
Likes Devin-M
  • #61
2 comments...
pbuk said:
By other work referenced, we know that the solution is part of a cycloid defined by
I believe that equations 1 & 2 specify a cycloid that proceeds above the x-axis from the origin, but the needed path is an upside-down or inverted cycloid that proceeds below the x-axis from the origin.
pbuk said:
we know the distance X between A and B and that xA=xB so
I believe you meant yA=yB instead of xA=xB
 
Last edited:
  • #62
If I solve for t and r to 5 decimal places in 9.8m/s^2 gravity where the horizontal distance between the start and endpoint is 1 meter and the initial velocity is 1m/s I get the following parametric graph:

Parametric Graph: https://www.desmos.com/calculator/0k2dfjrnbw

C88057B2-4352-4673-BC4D-8ACA0635D583.jpeg

Excel Calculator: https://u.pcloud.link/publink/show?code=kZq8VHXZIECHjF10TLJpQhMs7l1WEROKqDt7

b5f80103-2237-4b6b-b75f-b99a3e5fd367-jpeg.jpg


...& travel time of 0.60214 seconds.
 
  • #63
pbuk said:
and we know the distance X between A and B and that xA=xB so
(4)2xA+X=2πr⟹X=2(πr−xA)

We now have two unknowns, t0 (the value of the parameter t at X)

There may be an error in equation 4... I think the equation is true for a complete cycloid when you know the horizontal distance between the cusps (except 2xA should simply be xA), but isn’t true when the cycloid is truncated by a certain distance in the y-axis when you know the horizontal distance between the truncated cusps.

I believe xA + X = 2pi * r only when the cycloid hasn’t been trimmed in the y-axis by specifying a range for t other than 0<=t<=2pi

M6le1.gif
 
Last edited:
  • #64
Devin-M said:
I believe that equations 1 & 2 specify a cycloid that proceeds above the x-axis from the origin, but the needed path is an upside-down or inverted cycloid that proceeds below the x-axis from the origin.
You can flip the sign of equation (2) if you want and work with negative values of ## y ## (and g) everywhere, but the maths is the same if we keep equation (2) as it is and measure ## y ## downwards (in other words flip your drawing upside down).

Devin-M said:
I believe you meant yA=yB instead of xA=xB
I had the right picture in my head and the conclusion is right but of course ## x_A \ne x_B ##. The workings should have been $$ x_B = x_A + X = 2 \pi r - x_A \implies X = 2 (\pi r - x_A) \tag 4 $$
 
  • #65
Devin-M said:
There may be an error in equation 4... I think the equation is true for a complete cycloid when you know the horizontal distance between the cusps (except 2xA should simply be xA), but isn’t true when the cycloid is truncated by a certain distance in the y-axis when you know the horizontal distance between the truncated cusps.

I believe xA + X = 2pi * r only when the cycloid hasn’t been trimmed in the y-axis by specifying a range for t other than 0<=t<=2pi

View attachment 273021
No, for a complete cycloid the horizontal distance is simply ## 2 \pi r ##.

Setting ## x = x_A, t = t_0 ## in equation (1) and substituting it into equation (4) you get
$$ X = 2 (\pi r - r (t_0 - \sin t_0)) \implies r = \frac{X}{2(\pi - t_0 + \sin t_0)} $$ which is exactly what you have in cell C14: =(C3/(2*(PI()-C162+SIN(C162)))).
 
  • #66
Apologies if I missed this, but how did we prove that the optimal path is a cycloid? When I tried to solve the variational problem, I ended up with a differential equation$$y'^2 y''(v_0^2 - 2gy) = (1+y'^2)((v_0^2 - 2gy)y'' - g)$$that I don't know how to solve. Although I can try the cycloid ansatz and see if it works
 
Last edited by a moderator:
  • #67
etotheipi said:
Apologies if I missed this, but how did we prove that the optimal path is a cycloid?
That was my first question too, but if you think about it then it must be so because all we are doing by giving the particle an initial velocity is considering its position at some point along the solution to a different Brachistochrone problem with a higher stationary origin. The potential energy difference at that origin must equal the new kinetic energy.

Also the OP gave a reference:
Devin-M said:
I got that one from pg 116:
http://classicalmechanics.lib.rochester.edu/pdf/vpcm.pdf

Edit: this does of course assume familiarity with the classic Brachistochrone problem and it's cycloid solution as set out by Bernoulli and by Newton.
 
Last edited:
  • Like
Likes etotheipi
  • #68
Thanks, interesting problem! As a sanity check, I let ##v_0 = 0## in my differential equation and then trialled$$(x,y)= \left( a(\theta - \sin{\theta}), a(1-\cos{\theta}) \right), \quad y' = \frac{\sin{\theta}}{1-\cos{\theta}},\quad y'' = \frac{-1}{a(1-\cos^2{\theta})}$$ and that satisfies the equation. For non-zero ##v_0##, I think it will be solved by something of the form ##(x,y)= \left( a(\theta - \sin{\theta}) - b, a(1-\cos{\theta}) - c \right)##
 
  • #69
etotheipi said:
For non-zero ##v_0##, I think it will be solved by something of the form ##(x,y)= \left( a(\theta - \sin{\theta}) - b, a(1-\cos{\theta}) - c \right)##
You have three unknowns there (a, b, c) but only 2 constraints (initial velocity and distance). So the correct equations are (1) and (2) in my post a few up.
 
  • #70
pbuk said:
You have three unknowns there (a, b, c) but only 2 constraints (initial velocity and distance). So the correct equations are (1) and (2) in my post a few up.

But I think ##c## is functionally dependent upon ##b##, in order to constrain that trajectory intersects the origin.
 
  • #71
pbuk said:
$$ \begin{align*} x &= r (t - \sin t) \tag 1 \\
y &= r (1 - \cos t) \tag 2 \end{align*} $$
To which we can add ## t = [ t_0, 2 \pi - t_0] ## from the context.
 
  • #72
etotheipi said:
But I think ##c## is functionally dependent upon ##b##, in order to constrain that trajectory intersects the origin.
Well clearly, [edit: I think actually ## c = f(a, b) ##] so how does this add to what has already been said :wink: ?
 
  • #73
I'm not sure that it is a particularly interesting problem anyway - the particle must start with a velocity that is almost vertical (for any significant distance to travel) and what is the easiest way to attain that velocity? Drop it from a height - and then you are back to the classic Brachistrochrone problem.
 
  • #74
pbuk said:
the particle must start with a velocity that is almost vertical (for any significant distance to travel)
The optimal path approaches horizontal when the initial velocity is significant, even over a large distance...
 
  • #75
Devin-M said:
The optimal path approaches horizontal when the initial velocity is significant, even over a large distance...
Put the formula =ATAN(C8/(2*PI()*C14-C3))*180/PI() somewhere in the spreadsheet you linked: that is (approximately) the angle to the vertical in degrees. Over 86° with the example data!
 
  • #76
If you put a high enough initial velocity such as 1000 or more m/s as the initial velocity and graph r & the range for t, the path can be almost a straight horizontal line, but not quite.
 
  • #77
That's Mach 3.
 
  • #78
The part I find interesting is when the distance is 5000m and the initial velocity 9m/s, the optimal path is more than 10x quicker than the flat route.
 
  • #79
Devin-M said:
The part I find interesting is when the distance is 5000m and the initial velocity 9m/s, the optimal path is more than 10x quicker than the flat route.
Ignoring air resistance and tyre friction at up to 400 mph.
 
  • #80
Right, it would be something more like a magnetically levitated hyperloop carriage in a near vacuum.
 
  • #81
Devin-M said:
Right, it would be something more like a magnetically levitated hyperloop carriage in a near vacuum.
Yes I thought this is where we were going, which is why I said the maths is not very interesting. Either
  • The initial velocity is low (just enough to pull out of the station) in which case the solution is not significantly different from zero velocity; or
  • The initial horizontal velocity is high and there is little to be gained from a cycloid path which is not significantly different from a straight line.
In either case the practical engineering challenges make the theoretical maths of the truncated cycloid irrelevant.
 
  • Like
Likes jbriggs444
  • #82
True but unless you can actually calculate the brachistochrone w/ initial velocity then it’s impossible to compare the optimal route with the flat route. If the initial velocity is 0 then you simply won’t be leaving the station on the flat route. Also if the brachistochrone starts with 0 velocity, you won’t make it to the end of the route due to friction. But with the Brachistochrone with initial velocity, as long as the friction force * distance is less than the initial kinetic energy, then the brachistochrone between 2 horizontal points is “traversable.”
 
  • #83
Devin-M said:
True but unless you can actually calculate the brachistochrone w/ initial velocity then it’s impossible to compare the optimal route with the flat route. If the initial velocity is 0 then you simply won’t be leaving the station on the flat route. Also if the brachistochrone starts with 0 velocity, you won’t make it to the end of the route due to friction. But with the Brachistochrone with initial velocity, as long as the friction force * distance is less than the initial kinetic energy, then the brachistochrone between 2 horizontal points is “traversable.”
Ah, but friction forces are not constant, they mostly vary in proportion to the square of the velocity and even with low coefficients of friction this means that the solution to the relevant differential equation is no longer a cycloid.
 
  • #84
True again but if friction forces are very low to negligible the answer is close. With null flux coil levitation the friction force decreases significantly with increasing velocity.
 
  • #85
We are now way off the topic of General Maths here: to continue you could start a thread in the Engineering forum something like:

I have found that the fastest theoretical path for an underground transport system is a part of a cycloid. What are the engineering concerns that might make this not relevant from a practical point of view?
 
  • #87
Oooo, well the problem would be even more interesting with friction! I'm not sure how best to solve that! I imagine, you consider a trajectory ##\left(x(t), y(x(t))\right)##, and then the frictional force at any position is going to be$$\boldsymbol{F} = -\frac{\mu v^2}{\rho} \boldsymbol{t} = -\mu v^2 \frac{(1+y'^2)^{\frac{3}{2}}}{y''} \boldsymbol{t}$$Let ##E = \frac{1}{2} (\dot{x}^2 + \dot{y}^2) + gy##, then$$\dot{E} = \dot{x} \ddot{x} + \dot{y}(\ddot{y} + g) = -\mu (\dot{x}^2 + \dot{y}^2)^\frac{3}{2} \left[\frac{(1+y'^2)^{\frac{3}{2}}}{y''} \right]_{x=x(t)}$$I'm not sure how we can re-cast such a differential equation in ##t## into one without any time dependence that we could then solve with variational methods?
 
  • #89
Well, it would seem I screwed up a little bit! ☺ My assumption was that, in the equation defining the friction$$F = \mu R_n = \mu m \left[g\cos{\theta} + \frac{v^2}{\rho} \right]$$that the ##g\cos{\theta}## could be neglected, whilst in fact the article has done the exact opposite and said the ##v^2 / \rho## can be neglected! The other key part that I didn't see was$$\frac{dv}{dt} = v \frac{dv}{ds} = \frac{1}{2} \frac{d}{ds} (v^2)$$Still end up with a horrible equation, but surprisingly nice solution to the variation problem!
 
  • #90
etotheipi said:
Oooo, well the problem would be even more interesting with friction! I'm not sure how best to solve that! I imagine, you consider a trajectory ##\left(x(t), y(x(t))\right)##, and then the frictional force at any position is going to be$$\boldsymbol{F} = -\frac{\mu v^2}{\rho} \boldsymbol{t} = -\mu v^2 \frac{(1+y'^2)^{\frac{3}{2}}}{y''} \boldsymbol{t}$$Let ##E = \frac{1}{2} (\dot{x}^2 + \dot{y}^2) + gy##, then$$\dot{E} = \dot{x} \ddot{x} + \dot{y}(\ddot{y} + g) = -\mu (\dot{x}^2 + \dot{y}^2)^\frac{3}{2} \left[\frac{(1+y'^2)^{\frac{3}{2}}}{y''} \right]_{x=x(t)}$$I'm not sure how we can re-cast such a differential equation in ##t## into one without any time dependence that we could then solve with variational methods?
I don't think you can. In any case the mathematical solution is useless, this is an engineering problem and yopu need to non-neglect all the neglected variables.

The resulting problem is only solvable (but trivially solvable) by computational methods.
 
  • #91
pbuk said:
I don't think you can. In any case the mathematical solution is useless, this is an engineering problem and yopu need to non-neglect all the neglected variables.

The resulting problem is only solvable (but trivially solvable) by computational methods.

There is nice approximate form of solution starting on bottom of 332 here:
https://www.jstor.org/stable/2974953?seq=5#metadata_info_tab_contents

Also, I think this is not an engineering problem, but quite a purely mathematical problem!
 
  • #92
There's tons of open sourced info about this in Musk's hyperloop project, no need to pursue it further here.
 
  • #93
pbuk said:
There's tons of open sourced info about this in Musk's hyperloop project, no need to pursue it further here.
... where still the mathematical formula should be discussed, and not the physical system which led to it.

If someone wants to open a new thread about Hyperloop, please feel free to do so. Contact a mentor if you want some of the late posts here to be moved into the new thread in order to get it started.
This one will be closed.
 
  • Like
Likes pbuk
Back
Top