7

I recently came across the following example of a function which is discontinuous at a point:

The cost of a sushi buffet is calculated by weighing your plate, where you are then charged £10 per pound. As part of a promotion, if you manage to fill your plate so that the weight is precisely 1lbs, you get your meal for free.

This is a nice way to motivate a function like $$f(x) = \begin{cases}10\,x\hfil&\text{$x\neq 1$}\\\hfil0\hfil&\text{$x=1$}\end{cases}$$ which are nice for illustrating the idea of a limit to students.

Are there any other real-world examples of functions like this, for the sake of explaining limits? Ideally one where you would actually want the limiting value, and not the assigned value, to motivate the concept further. (Apart from the obvious difference quotient.)

Luke Collins
  • 8,748
  • 1
    Most every college algebra and precalculus text, when discussing piecewise defined functions, has several real world examples where the resulting function is discontinuous at some points. For example, when mailing something that requires more than one stamp or when you go to the post office to mail a package by weight. – Dave L. Renfro Nov 26 '20 at 17:52
  • @DaveL.Renfro But when it comes to limits, these functions only give us one-sided limits, since they do not resume their previous trajectory. – Luke Collins Nov 26 '20 at 18:30
  • I didn't fully catch the "ideally" part at the end. Given my oversight, it might be better to indicate earlier the aspect that you want to emphasize, by replacing "is discontinuous at a point" with "has a removable discontinuity". – Dave L. Renfro Nov 27 '20 at 07:56
  • See my answer here. – Blue Dec 10 '20 at 22:44
  • Many games of the form "guess the number of ___ in ___" satisfy this property. – Rushabh Mehta Dec 17 '20 at 18:42
  • I'm not sure if removable continuities really make sense in many real-life examples, because they have measure 0 and so can usually be ignored. In the sushi buffet example, you're always really going to get a weight like 1.001lb, not exactly 1 lb. Maybe in reality there are some bounds, like beween .99 and 1.01 lbs is free; but then it's no longer a removable discontinuity. – Jair Taylor Dec 17 '20 at 22:00

3 Answers3

1

Suppose there is a carpark that charges \$5 (Singapore dollars) for the first hour and then \$1 for every subsequent half-hour, including parts of half-hours. Thus if you parked for $2.5-\epsilon$ hours you would pay \$8, but parking for $2.51$ hours would incur \$9. $$f(x)=5+\max(0,\lfloor2x-1\rfloor)$$ This function is discontinuous at infinitely many points.

For a two-sided limit, suppose there is a long, straight fence and a slit in that fence at $x=0$. The function is whether you can see beyond the fence – you cannot ($0$), even if you creep up to it (taking the limit), unless you are actually peering through the slit ($1$). $$f(x)=[x=0]$$

Parcly Taxel
  • 103,344
  • 1
    This can be used to explain the left hand limit and the right hand limit, but it cannot help explain the "complete" limit. e.g., $\lim _ {x \rightarrow 1} f(x)$ is DNE instead of a single value. – KingLogic Nov 26 '20 at 18:12
1
  • For each math exercise with a single number as an answer, the function that gives you your grade depending in what you write is full marks if you get the number right, and $0$ if you don't. Students will probably be used to this one.

  • In speedrunning of games, where you have to beat a game the fastest way possible, there are sometimes tricks called pixel perfect, where you have to do an action in a precise pixel or it won't work. Say for example the game is Super Mario Bros, and jumping in a particular pixel will let you beat the stage in 10 seconds, while missing the jump will let you beat it in 20s. The function of how much time you spend in the stage depending in what pixel you jump has a removable discontinuity.

  • Consider two wi-fi routers that give you internet if you're a distance strictly less than 5 meters around them. In your house there is a long hallway of 10 meters, so you put one in each extreme of the hallway. The amount of internet you'll receive in each point will be the amount the routers give except exactly at the middle, where you'll get zero because you're 5 meters away from each one.

Some students (or anyone) could complain that these examples don't have a continuous variable (in the pixels example, or the original weight question if you take into account we can only measure a finite number of possible weights) or that the wi-fi routers don't usually behave like that, or that if you write the answer up to 20 decimals points you'll likely get a full mark in the exercise even if it's not the exact number. And I'd argue they're absolutely right, that's a consequence of living in a real world where space and almost all of our measurements of physical things can be discretized.

AnilCh
  • 1,077
0

The most common example I can think of are characteristic functions. Given sets $A\subset B$, we define $\chi_A:B\to\{0,1\}$ by $$\chi_A(x)=\begin{cases}1&x\in A\\0&x\notin A\end{cases}$$

With an appropriate choice of $A$ as a discrete set in $B$, the characteristic function has a removable discontinuity at every point in $A$.

An actual real-world example is sprinting. In sprinting, we care a lot about initial acceleration, i.e., acceleration off the blocks. However, if we plot acceleration vs time in the sprint, the value of acceleration at time $0$ (the starting gun shot) is $0$, but it immediately jumps to a large value and then maintains a high value for the rest of the race. We don't really care about the fact that the acceleration at the moment the gun is shot is $0$, rather, we care about the initial push.

enter image description here

As a generalization of this idea, you will be able to find other examples in things like acceleration, jerk, etc, since they are not inherently continuous.

Rushabh Mehta
  • 13,663