Dynamic Matching for Real-Time Ride Sharing

Total Page:16

File Type:pdf, Size:1020Kb

Dynamic Matching for Real-Time Ride Sharing This article was downloaded by: [78.183.135.108] On: 20 November 2020, At: 04:16 Publisher: Institute for Operations Research and the Management Sciences (INFORMS) INFORMS is located in Maryland, USA Stochastic Systems Publication details, including instructions for authors and subscription information: http://pubsonline.informs.org Dynamic Matching for Real-Time Ride Sharing Erhun Özkan, Amy R. Ward To cite this article: Erhun Özkan, Amy R. Ward (2020) Dynamic Matching for Real-Time Ride Sharing. Stochastic Systems 10(1):29-70. https:// doi.org/10.1287/stsy.2019.0037 Full terms and conditions of use: https://pubsonline.informs.org/Publications/Librarians-Portal/PubsOnLine-Terms-and- Conditions This article may be used only for the purposes of research, teaching, and/or private study. Commercial use or systematic downloading (by robots or other automatic processes) is prohibited without explicit Publisher approval, unless otherwise noted. For more information, contact [email protected]. The Publisher does not warrant or guarantee the article’s accuracy, completeness, merchantability, fitness for a particular purpose, or non-infringement. Descriptions of, or references to, products or publications, or inclusion of an advertisement in this article, neither constitutes nor implies a guarantee, endorsement, or support of claims made of that product, publication, or service. Copyright © 2020, The Author(s) Please scroll down for article—it is on subsequent pages With 12,500 members from nearly 90 countries, INFORMS is the largest international association of operations research (O.R.) and analytics professionals and students. INFORMS provides unique networking and learning opportunities for individual professionals, and organizations of all types and sizes, to better understand and use O.R. and analytics tools and methods to transform strategic visions and achieve better outcomes. For more information on INFORMS, its publications, membership, or meetings visit http://www.informs.org STOCHASTIC SYSTEMS Vol. 10, No. 1, March 2020, pp. 29–70 http://pubsonline.informs.org/journal/stsy ISSN 1946-5238 (online) Dynamic Matching for Real-Time Ride Sharing Erhun Özkan,a Amy R. Wardb a College of Administrative Sciences and Economics, Koç University, 34450 Istanbul, Turkey; b Booth School of Business, University of Chicago, Chicago, Illinois 60637 Contact: [email protected], http://orcid.org/0000-0001-6870-9495 (EÖ); [email protected], http://orcid.org/0000-0003-2744-2960 (ARW) Received: July 26, 2018 Abstract. In a ride-sharing system, arriving customers must be matched with available Revised: February 2, 2019 drivers. These decisions affect the overall number of customers matched, because they Accepted: May 10, 2019 impact whether future available drivers will be close to the locations of arriving customers. Published Online in Articles in Advance: A common policy used in practice is the closest driver policy, which offers an arriving February 25, 2020 customer the closest driver. This is an attractive policy because it is simple and easy to implement. However, we expect that parameter-based policies can achieve better per- MSC2010 Subject Classification: 90B22, 60F99, 90C99 formance. We propose matching policies based on a continuous linear program (CLP) that accounts for (i) the differing arrival rates of customers and drivers in different areas of the https://doi.org/10.1287/stsy.2019.0037 city, (ii) how long customers are willing to wait for driver pickup, (iii) how long drivers are willing to wait for a customer, and (iv) the time-varying nature of all the aforementioned Copyright: © 2020 The Author(s) parameters. We prove asymptotic optimality of a forward-looking CLP-based policy in a large market regime and of a myopic linear program–based matching policy when drivers are fully utilized. When pricing affects customer and driver arrival rates and parameters are time homogeneous, we show that asymptotically optimal joint pricing and matching decisions lead to fully utilized drivers under mild conditions. History: Former designation of this paper was SSY-2018-022. Open Access Statement: This work is licensed under a Creative Commons Attribution 4.0 International License. You are free to copy, distribute, transmit and adapt this work, but you must attribute this work as “Stochastic Systems. Copyright © 2020 The Author(s). https://doi.org/10.1287/stsy.2019.0037,used under a Creative Commons Attribution License: https://creativecommons.org/licenses/by/4.0/.” Keywords: ride sharing • dynamic matching • fluid model • asymptotic optimality 1. Introduction We consider the control of a two-sided matching system with multiple item types on both sides arriving randomly to the system with potentially time-varying rates; see Figure 1. The items arriving to the circles must be matched at the time of their arrival, and there is a time-varying probability that the match is acceptable. The items arriving to the queues will wait to be matched, but are impatient, and may leave their queue if left waiting for too long. The goal of the system controller is to maximize the cumulative number of (weighted) matchings in a finite time horizon. Our main motivation for studying the system in Figure 1 is the customer–driver matching in ride-sharing platforms. The N queue locations in Figure 1 represent different areas in the city; the items arriving to the circles are customers, and those arriving to the queues are drivers. Customer types are categorized by factors such as their origin and destination areas and their priority status. Driver types are categorized by their current areas. Customers arrive in the system to request a ride. If the system controller, who is the corresponding ride-sharing company, offers a driver to a customer, then the customer accepts to be matched with the driver with respect to a specific probability that depends on the pickup time of the driver. If a customer must wait too long for pickup, then she may refuse the ride and use another transportation option. If a driver is not matched with a customer for a long time, he can either leave the system or travel to another region (i.e., another queue) to look for customers. Because customers do not want to wait for driver pickup for a long time, the ride-sharing company would like to ensure there is always a nearby driver to offer to an arriving customer. However, maintaining adequate driver supply is difficult. Not only do customers choose when to request a ride, but also drivers choose when to begin work, how long to work, and where to go to search for customers. The result can be dramatic changes in customer demand and driver supply across different locations and over the course of a day, which sometimes results in significant driver shortages (see Hall et al. 2016, figures 1–3). One common operational strategy is to match customers with the closest driver (CD) and to use pricing to incentivize drivers to move to undersupplied locations. However, surges in price can lead to negative 29 Özkan and Ward: Dynamic Matching for Real-Time Ride Sharing 30 Stochastic Systems, 2020, vol. 10, no. 1, pp. 29–70, © 2020 The Author(s) Figure 1. A Two-Sided Matching System with Multiple Item Types on Both Sides publicity (see The Economist 2016, Michallon 2016,White2016). This leads to the question of whether better matching decisions could reduce the need for price surges. An ideal is to solve a joint pricing and matching problem that accounts for the impact of differing customer and driver locations. We do this in a static environment, but that joint problem is very difficult in a time-varying environment. As a first step to making progress in a time-varying environment, we assume customer and driver arrival rates are given and focus on optimizing the matching decisions. The aforementioned time-varying arrival rates could be thought of as the result of a pricing policy as well as other underlying incentives that may be given to drivers or customers, such as demand information sharing or discount coupons, but we do not explicitly model that. The CD policy is a greedy policy, and, therefore, a forward-looking policy is likely to perform better than the CD policy does. The following example illustrates this point. Figure 2 represents a region of a city partitioned into 10 disjoint hexagonal areas (for motivation that ride-sharing companies find such a representation useful see Chen and Sheldon 2015, figure 3). Suppose a customer arrives at area 1 and requests a ride. There are three drivers idle in area 4, and there is a single idle driver in area 3. Moreover, a concert recently ended in area 8, which implies a high potential customer arrival rate in that area. If the destination of the current area 1 customer is far away, the driver assigned to that customer will not return to area 1 for a long time. Then, the system controller has two options: he can offer either one of the drivers in area 4 or the driver in area 3 to the customer in area 1. Under the CD policy, the system controller offers an area 4 driver. However, offering the driver in area 3 saves all drivers in area 4 to match with the potential customers departing the concert in area 8. This prevents the potential future need to offer an area 8 customer a faraway area 3 driver, whom the customer will likely refuse, ending in no match being made. We conclude there is a nontrivial trade-off between offering the closest driver in accordance with the CD policy and offering a farther driver in order to maximize the future number of customers matched. 1.1. Contributions of this Paper We analyze the two-sided matching system depicted in Figure 1 that is motivated by ride-sharing systems. The objective is to maximize the cumulative number of matchings in a finite time horizon.
Recommended publications
  • An Analytic Exact Form of the Unit Step Function
    Mathematics and Statistics 2(7): 235-237, 2014 http://www.hrpub.org DOI: 10.13189/ms.2014.020702 An Analytic Exact Form of the Unit Step Function J. Venetis Section of Mechanics, Faculty of Applied Mathematics and Physical Sciences, National Technical University of Athens *Corresponding Author: [email protected] Copyright © 2014 Horizon Research Publishing All rights reserved. Abstract In this paper, the author obtains an analytic Meanwhile, there are many smooth analytic exact form of the unit step function, which is also known as approximations to the unit step function as it can be seen in Heaviside function and constitutes a fundamental concept of the literature [4,5,6]. Besides, Sullivan et al [7] obtained a the Operational Calculus. Particularly, this function is linear algebraic approximation to this function by means of a equivalently expressed in a closed form as the summation of linear combination of exponential functions. two inverse trigonometric functions. The novelty of this However, the majority of all these approaches lead to work is that the exact representation which is proposed here closed – form representations consisting of non - elementary is not performed in terms of non – elementary special special functions, e.g. Logistic function, Hyperfunction, or functions, e.g. Dirac delta function or Error function and Error function and also most of its algebraic exact forms are also is neither the limit of a function, nor the limit of a expressed in terms generalized integrals or infinitesimal sequence of functions with point wise or uniform terms, something that complicates the related computational convergence. Therefore it may be much more appropriate in procedures.
    [Show full text]
  • Appendix I Integrating Step Functions
    Appendix I Integrating Step Functions In Chapter I, section 1, we were considering step functions of the form (1) where II>"" In were brick functions and AI> ... ,An were real coeffi­ cients. The integral of I was defined by the formula (2) In case of a single real variable, it is almost obvious that the value JI does not depend on the representation (2). In Chapter I, we admitted formula (2) for several variables, relying on analogy only. There are various methods to prove that formula precisely. In this Appendix we are going to give a proof which uses the concept of Heaviside functions. Since the geometrical intuition, above all in multidimensional case, might be decep­ tive, all the given arguments will be purely algebraic. 1. Heaviside functions The Heaviside function H(x) on the real line Rl admits the value 1 for x;;;o °and vanishes elsewhere; it thus can be defined on writing H(x) = {I for x ;;;0O, ° for x<O. By a Heaviside function H(x) in the plane R2, where x actually denotes points x = (~I> ~2) of R2, we understand the function which admits the value 1 for x ;;;0 0, i.e., for ~l ~ 0, ~2;;;o 0, and vanishes elsewhere. In symbols, H(x) = {I for x ;;;0O, (1.1) ° for x to. Note that we cannot use here the notation x < °(which would mean ~l <0, ~2<0) instead of x~O, because then H(x) would not be defined in the whole plane R 2 • Similarly, in Euclidean q-dimensional space R'l, the Heaviside function H(x), where x = (~I>' .
    [Show full text]
  • On the Approximation of the Cut and Step Functions by Logistic and Gompertz Functions
    www.biomathforum.org/biomath/index.php/biomath ORIGINAL ARTICLE On the Approximation of the Cut and Step Functions by Logistic and Gompertz Functions Anton Iliev∗y, Nikolay Kyurkchievy, Svetoslav Markovy ∗Faculty of Mathematics and Informatics Paisii Hilendarski University of Plovdiv, Plovdiv, Bulgaria Email: [email protected] yInstitute of Mathematics and Informatics Bulgarian Academy of Sciences, Sofia, Bulgaria Emails: [email protected], [email protected] Received: , accepted: , published: will be added later Abstract—We study the uniform approximation practically important classes of sigmoid functions. of the sigmoid cut function by smooth sigmoid Two of them are the cut (or ramp) functions and functions such as the logistic and the Gompertz the step functions. Cut functions are continuous functions. The limiting case of the interval-valued but they are not smooth (differentiable) at the two step function is discussed using Hausdorff metric. endpoints of the interval where they increase. Step Various expressions for the error estimates of the corresponding uniform and Hausdorff approxima- functions can be viewed as limiting case of cut tions are obtained. Numerical examples are pre- functions; they are not continuous but they are sented using CAS MATHEMATICA. Hausdorff continuous (H-continuous) [4], [43]. In some applications smooth sigmoid functions are Keywords-cut function; step function; sigmoid preferred, some authors even require smoothness function; logistic function; Gompertz function; squashing function; Hausdorff approximation. in the definition of sigmoid functions. Two famil- iar classes of smooth sigmoid functions are the logistic and the Gompertz functions. There are I. INTRODUCTION situations when one needs to pass from nonsmooth In this paper we discuss some computational, sigmoid functions (e.
    [Show full text]
  • Lecture 2 ELE 301: Signals and Systems
    Lecture 2 ELE 301: Signals and Systems Prof. Paul Cuff Princeton University Fall 2011-12 Cuff (Lecture 2) ELE 301: Signals and Systems Fall 2011-12 1 / 70 Models of Continuous Time Signals Today's topics: Signals I Sinuoidal signals I Exponential signals I Complex exponential signals I Unit step and unit ramp I Impulse functions Systems I Memory I Invertibility I Causality I Stability I Time invariance I Linearity Cuff (Lecture 2) ELE 301: Signals and Systems Fall 2011-12 2 / 70 Sinusoidal Signals A sinusoidal signal is of the form x(t) = cos(!t + θ): where the radian frequency is !, which has the units of radians/s. Also very commonly written as x(t) = A cos(2πft + θ): where f is the frequency in Hertz. We will often refer to ! as the frequency, but it must be kept in mind that it is really the radian frequency, and the frequency is actually f . Cuff (Lecture 2) ELE 301: Signals and Systems Fall 2011-12 3 / 70 The period of the sinuoid is 1 2π T = = f ! with the units of seconds. The phase or phase angle of the signal is θ, given in radians. cos(ωt) cos(ωt θ) − 0 0 -2T -T T 2T t -2T -T T 2T t Cuff (Lecture 2) ELE 301: Signals and Systems Fall 2011-12 4 / 70 Complex Sinusoids The Euler relation defines ejφ = cos φ + j sin φ. A complex sinusoid is Aej(!t+θ) = A cos(!t + θ) + jA sin(!t + θ): e jωt -2T -T 0 T 2T Real sinusoid can be represented as the real part of a complex sinusoid Aej(!t+θ) = A cos(!t + θ) <f g Cuff (Lecture 2) ELE 301: Signals and Systems Fall 2011-12 5 / 70 Exponential Signals An exponential signal is given by x(t) = eσt If σ < 0 this is exponential decay.
    [Show full text]
  • Step and Delta Functions 18.031 Haynes Miller and Jeremy Orloff 1
    Step and Delta Functions 18.031 Haynes Miller and Jeremy Orloff 1 The unit step function 1.1 Definition Let's start with the definition of the unit step function, u(t): ( 0 for t < 0 u(t) = 1 for t > 0 We do not define u(t) at t = 0. Rather, at t = 0 we think of it as in transition between 0 and 1. It is called the unit step function because it takes a unit step at t = 0. It is sometimes called the Heaviside function. The graph of u(t) is simple. u(t) 1 t We will use u(t) as an idealized model of a natural system that goes from 0 to 1 very quickly. In reality it will make a smooth transition, such as the following. 1 t Figure 1. u(t) is an idealized version of this curve But, if the transition happens on a time scale much smaller than the time scale of the phenomenon we care about then the function u(t) is a good approximation. It is also much easier to deal with mathematically. One of our main uses for u(t) will be as a switch. It is clear that multiplying a function f(t) by u(t) gives ( 0 for t < 0 u(t)f(t) = f(t) for t > 0: We say the effect of multiplying by u(t) is that for t < 0 the function f(t) is switched off and for t > 0 it is switched on. 1 18.031 Step and Delta Functions 2 1.2 Integrals of u0(t) From calculus we know that Z Z b u0(t) dt = u(t) + c and u0(t) dt = u(b) − u(a): a For example: Z 5 u0(t) dt = u(5) − u(−2) = 1; −2 Z 3 u0(t) dt = u(3) − u(1) = 0; 1 Z −3 u0(t) dt = u(−3) − u(−5) = 0: −5 In fact, the following rule for the integral of u0(t) over any interval is obvious ( Z b 1 if 0 is inside the interval (a; b) u0(t) = (1) a 0 if 0 is outside the interval [a; b].
    [Show full text]
  • Twisting Algorithm for Controlling F-16 Aircraft
    TWISTING ALGORITHM FOR CONTROLLING F-16 AIRCRAFT WITH PERFORMANCE MARGINS IDENTIFICATION by AKSHAY KULKARNI A THESIS Submitted in partial fulfillment of the requirements For the degree of Master of Science in Engineering In The Department of Electrical and Computer Engineering To The School of Graduate Studies Of The University of Alabama in Huntsville HUNTSVILLE, ALABAMA 2014 In presenting this thesis in partial fulfillment of the requirements for a master's degree from The University of Alabama in Huntsville, I agree that the Library of this University shall make it freely available for inspection. I further agree that permission for extensive copying for scholarly purposes may be granted by my advisor or, in his absence, by the Chair of the Department or the Dean of the School of Graduate Studies. It is also understood that due recognition shall be given to me and to The University of Alabama in Huntsville in any scholarly use which may be made of any material in this thesis. ____________________________ ___________ (Student signature) (Date) ii THESIS APPROVAL FORM Submitted by Akshay Kulkarni in partial fulfillment of the requirements for the degree of Master of Science in Engineering and accepted on behalf of the Faculty of the School of Graduate Studies by the thesis committee. We, the undersigned members of the Graduate Faculty of The University of Alabama in Huntsville, certify that we have advised and/or supervised the candidate on the work described in this thesis. We further certify that we have reviewed the thesis manuscript and approve it in partial fulfillment of the requirements for the degree of Master of Science in Engineering.
    [Show full text]
  • Piecewise-Defined Functions and Periodic Functions
    28 Piecewise-Defined Functions and Periodic Functions At the start of our study of the Laplace transform, it was claimed that the Laplace transform is “particularly useful when dealing with nonhomogeneous equations in which the forcing func- tions are not continuous”. Thus far, however, we’ve done precious little with any discontinuous functions other than step functions. Let us now rectify the situation by looking at the sort of discontinuous functions (and, more generally, “piecewise-defined” functions) that often arise in applications, and develop tools and skills for dealing with these functions. We willalsotakea brieflookat transformsof periodicfunctions other than sines and cosines. As you will see, many of these functions are, themselves, piecewise defined. And finally, we will use some of the material we’ve recently developed to re-examine the issue of resonance in mass/spring systems. 28.1 Piecewise-Defined Functions Piecewise-Defined Functions, Defined When we talk about a “discontinuous function f ” in the context of Laplace transforms, we usually mean f is a piecewise continuous function that is not continuous on the interval (0, ) . ∞ Such a functionwill have jump discontinuitiesat isolatedpoints in this interval. Computationally, however, the real issue is often not so much whether there is a nonzero jump in the graph of f at a point t0 , but whether the formula for computing f (t) is the same on either side of t0 . So we really should be looking at the more general class of “piecewise-defined” functions that, at worst, have jump discontinuities. Just what is a piecewise-defined function? It is any function given by different formulas on different intervals.
    [Show full text]
  • Chapter 9 Integration on Rn
    Integration on Rn 1 Chapter 9 Integration on Rn This chapter represents quite a shift in our thinking. It will appear for a while that we have completely strayed from calculus. In fact, we will not be able to \calculate" anything at all until we get the fundamental theorem of calculus in Section E and the Fubini theorem in Section F. At that time we'll have at our disposal the tremendous tools of di®erentiation and integration and we shall be able to perform prodigious feats. In fact, the rest of the book has this interplay of \di®erential calculus" and \integral calculus" as the underlying theme. The climax will come in Chapter 12 when it all comes together with our tremendous knowledge of manifolds. Exciting things are ahead, and it won't take long! In the preceding chapter we have gained some familiarity with the concept of n-dimensional volume. All our examples, however, were restricted to the simple shapes of n-dimensional parallelograms. We did not discuss volume in anything like a systematic way; instead we chose the elementary \de¯nition" of the volume of a parallelogram as base times altitude. What we need to do now is provide a systematic way to think about volume, so that our \de¯nition" of Chapter 8 actually becomes a theorem. We shall in fact accomplish much more than a good discussion of volume. We shall de¯ne the concept of integration on Rn. Our goal is to analyze a function f D ¡! R; where D is a bounded subset of Rn and f is bounded.
    [Show full text]
  • Derivative and Integral of the Heaviside Step Function
    Derivative and Integral of the Heaviside Step Function Originally appeared at: http://behindtheguesses.blogspot.com/2009/06/derivative-and-integral-of-heaviside.html Eli Lansey | [email protected] June 30, 2009 The Setup HHxL HHxL 1.0 1.0 0.8 0.8 0.6 0.6 0.4 0.4 0.2 0.2 - - - - x -4 -2 2 4 x -1. ´ 10 100 -5. ´ 10 101 5. ´ 10 101 1. ´ 10 100 (a) Large horizontal scale (b) \Zoomed in" Figure 1: The Heaviside step function. Note how it doesn't matter how close we get to x = 0 the function looks exactly the same. The Heaviside step function H(x), sometimes called the Heaviside theta function, appears in many places in physics, see [1] for a brief discussion. Simply put, it is a function whose value is zero for x < 0 and one for x > 0. Explicitly, ( 0 x < 0; H(x) = : (1) 1 x > 0 We won't worry about precisely what its value is at zero for now, since it won't e®ect our discussion, see [2] for a lengthier discussion. Fig. 1 plots H(x). The key point is that crossing zero flips the function from 0 to 1. Derivative { The Dirac Delta Function Say we wanted to take the derivative of H. Recall that a derivative is the slope of the curve at at point. One way of formulating this is dH ¢H = lim : (2) dx ¢x!0 ¢x Now, for any points x < 0 or x > 0, graphically, the derivative is very clear: H is a flat line in those regions, and the slope of a flat line is zero.
    [Show full text]
  • 0.1 Step Functions. Integration of Step Functions
    MA244 Analysis III Assignment 1. 15% of the credit for this module will come from your work on four assignments submitted by a 3pm deadline on the Monday in weeks 4,6,8,10. Each assignment will be marked out of 25 for answers to three randomly chosen 'B' and one 'A' questions. Working through all questions is vital for understanding lecture material and success at the exam. 'A' questions will constitute a base for the first exam problem worth 40% of the final mark, the rest of the problems will be based on 'B' questions. The answers to ALL questions are to be submitted by the deadline of 3pm on Monday 26st Octo- ber 2015. Your work should be stapled together, and you should state legibly at the top your name, your department and the name of your supervisor or your teaching assistant. Your work should be deposited in your supervisor's slot in the pigeonloft if you are a Maths student, or in the dropbox labelled with the course's code, opposite the Maths Undergraduate Office, if you are a non-Maths or a visiting student. 0.1 Step functions. Integration of step functions. 1. A. Construct a function f : [0; 1] ! R such that f is not a step function, but for any 2 (0; 1) the restriction of f to [, 1] is a step function. 2. A. Show that, given any two step functions on the same interval, there is a partition compatible with both of them. 3. A. Prove that an arbitrary linear combination of step functions φ1; φ2; : : : φn 2 S[a; b] is a step function.
    [Show full text]
  • Signals & System
    mywbut.com Module 1: Signals & System Lecture 6: Basic Signals in Detail Basic Signals in detail We now introduce formally some of the basic signals namely 1) The Unit Impulse function. 2) The Unit Step function These signals are of considerable importance in signals and systems analysis. Later in the course we will see these signals as the building blocks for representation of other signals. We will cover both signals in continuous and discrete time. However, these concepts are easily comprehended in Discrete Time domain, so we begin with Discrete Time Unit Impulse and Unit Step function. The Discrete Time Unit Impulse Function: This is the simplest discrete time signal and is defined as The Discrete Time Unit Step Function u[n]: It is defined as Unit step in terms of unit impulse function Having studied the basic signal operations namely Time Shifting, Time Scaling and Time Inversion it is easy to see that 1 mywbut.com Similarly, Summing over we get Looking directly at the Unit Step Function we observe that it can be constructed as a sum of shifted Unit Impulse Functions The unit function can also be expressed as a running sum of the Unit Impulse Function We see that the running sum is 0 for n < 0 and equal to 1 for n >= 0 thus defining the Unit Step Function u[n]. Sifting property Consider the product . The delta function is non zero only at the origin so it follows the signal is the same as . 2 mywbut.com More generally It is important to understand the above expression.
    [Show full text]
  • Delta Functions and All That1 We Can Define the Step Function
    Delta functions and all that1 We can de¯ne the step function (sometimes called the Heaviside step function), θ(x), by θ(x) = 0 for x < 0 (1) = 1 for x > 0 : (2) It is strictly not de¯ned for x = 0 but physicists like to de¯ne it to be symmetric, θ(0) = 1=2. One can think of this discontinuous function as a limit: 1 + tanh(x=a) θ(x) = Lim + ; a!0 2 this is easy to check if one remembers that the hyperbolic tangent assumes the values §1 as x ! §1 respectively. a goes to zero from the positive direction. This limiting procedure is consistent with θ(0) = 1=2. The step function is useful when something is switched on abruptly, say a voltage which is 0 for t < 0 and a constant above. In physical situations the step function is a convenient mathematical approximation. The (Dirac) delta function is strictly not a function but is a so-called distribution or a generalized function. The theory behind this was worked out by Laurent Schwartz who received the Fields Medal, the mathematics equivalent of the Nobel Prize. We will use the delta function carefully, con¯dent that the rigorous aspects have been checked. The delta function, ±(x ¡ a), is de¯ned by the property Z c2 dx f(x) ±(x ¡ a) = f(a) if a 2 (c1; c2) (3) c1 = 0 otherwise (4) for any suitably continuous function.2 Note that if a does not lie in the range of integration then the argument of the delta function does not vanish and therefore 1For a rigorous yet clear exposition see M.
    [Show full text]