17
$\begingroup$

You notice a stop-light ahead of you and it is currently red. You can't run the red light, so you will have to brake, but braking wastes energy and you want to be as fuel efficient as possible. What braking strategy maximizes efficiency?

Let's set down some notation and move slowly toward a well-defined question. Suppose you are currently a distance $d$ from the stop-light, and suppose that the stop-light is on a timer whereby it switches from red to green after $T$ seconds. You know the value of $T$, but you don't know how far in the cycle the stop-light is right now -- perhaps it will turn green in 1 second or perhaps in $T$ seconds. So if $t$ is the amount of time until it actually turns green, then $t$ is a random variable uniformly distributed on $[0,T]$.

Your initial speed is $v$, so that if you don't slow down you'll be at the light in $\frac{d}{v}$ seconds. If $t<\frac{d}{v}$ then ``you win" by not slowing down, because the light will turn green before you get to it and you will have lost no energy to heat. So if $T\leq\frac{d}{v}$ then clearly the best strategy is not to slow down. Thus we may suppose $T>\frac{d}{v}$. We assume no friction.

I'm looking for a strategy for applying the brake minimally, not knowing the status of the stop-light's cycle. Perhaps we apply the brakes uniformly to end up stopped at the light, or perhaps we do not apply the brakes at all until we are almost to the stop-light, or perhaps we apply the brakes at the very beginning and coast at that reduced speed until we get very close to the light. What strategy minimizes the expected brake usage?

More precisely, I'm looking for a non-increasing differentiable function (for the car's velocity in terms of its distance to the stop-light) $$f\colon[0,d]\to{\mathbb R}_{\geq 0}$$ such that $f(d)=v$, $f(0)=0$, and such that if you solve the differential equation to find velocity in terms of time, then the expected value of that velocity at time $t$ is maximized.

$\endgroup$
9
  • $\begingroup$ I'd also like to see a version with nonzero friction, because it's not obvious to me that there's a straightforward translation between the two. Also, I notice that you implicitly assume that the light won't turn green then back to red (after, say, G seconds). With appropriate visibility and short lights this is quite possible! Of course we need not consider the chance that the light will turn green, then red, then green by working mod T + G. $\endgroup$
    – Charles
    Commented Jul 25, 2010 at 19:25
  • 1
    $\begingroup$ Willie, the title was designed to give the idea and motivation for the question. Don't you think it's fairly clear that minimal braking stands in for maximal efficiency (in the absence of friction)? $\endgroup$ Commented Jul 25, 2010 at 19:30
  • 5
    $\begingroup$ This seems to be the same question: mathoverflow.net/questions/1108/… $\endgroup$
    – user6979
    Commented Jul 25, 2010 at 19:32
  • 1
    $\begingroup$ No. For one, I drive a Prius. Secondly, fuel efficiency actually depends quite a bit on engine/car speed in the physical world. So only in an idealized situation would the two concepts coincide. Thirdly, it is a bit strange to speak of car braking in the absence of friction. $\endgroup$ Commented Jul 25, 2010 at 19:35
  • 1
    $\begingroup$ Rahul: The questions are similar, but not identical. For one thing, the one you link to is interested in saving time rather than energy. $\endgroup$ Commented Jul 25, 2010 at 23:46

1 Answer 1

5
$\begingroup$

I think the problem would have been more naturally stated in the context of bicycles. In any case, the answer is as follows:

You are looking for an optimal velocity function $v: [0, T] \to \mathbb{R}_{\geq 0}$ satisfying some conditions. Each such function represents the strategy, "if the light is still red at time $t$, travel at speed $v(t)$; when the light turns green, coast." One of the conditions on $v$ is that you may not run the red light. In terms of the function $v$, this condition may be written as $\int_0^T v(t) \, dt \leq d$.

The quantity you wish to compute is the expected speed at which you will pass through the light after it turns green. By the givens (uniform distribution, the nature of our strategy), this expected speed is precisely the average value of $v(t)$, i.e., it is $\frac{1}{T} \int_0^T v(t) \, dt$.

Putting the last two paragraphs together, we see that the optimal expected speed is $\frac{d}{T}$. Moreover, this expected speed is achieved for any choice $v(t)$ with the property $\int_0^T v(t) \, dt = d$, i.e., for any strategy that will get you to the stoplight within time $T$.

Added in edit: I agree with Willie Wong that maximizing the expected kinetic energy with which you pass through the light should be more physically relevant to, say, a bicyclist coasting on a shallow down-hill.

$\endgroup$
2
  • 2
    $\begingroup$ Two points: (a) a pedantic one. First sentence in third paragraph, "expcted" should be "expected" and "red" should be "hopefully turning green" (b) a more natural/physical assumption (not the one OP asks, though) is not to maximize the expected speed at which you pass through the light, but to minimize the energy loss due to braking. So you need to fix $\int_0^T vdt = d$, $v(0) = v_0$ and function $v$ non-increasing while maximizing $\int_0^Tv^2dt$, then the optimum is sudden brake when you hit the red light. (Hence my earlier [deleted] comment about acceleration constraint.) $\endgroup$ Commented Jul 26, 2010 at 11:40
  • 1
    $\begingroup$ Thanks for the comment! I've corrected the typos, and I agree with the rest of your comment. $\endgroup$
    – JBL
    Commented Jul 26, 2010 at 11:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .