r/hatethissmug • u/Impressive-Ad7184 • 9h ago
Thing I hate when math classes teach that functions like these are discontinuous
All of these functions are continuous since continuity is only defined on domain points. Equivalently, every open set in R has an open preimage (assuming the subspace topology); for example, in the first one, any open set has either empty preimage, or the preimage is (0,infty), (-infty,0), or the whole domain, all of which are open.
Like of course one doesn't have to be super rigorous when talking about continuity, but one should at least refrain from spreading false information
188
Upvotes



167
u/HappiestIguana 9h ago
I teach calc
For one semester, I tried to be more rigorous about the definition of continuity
Yeah it didn't work out. It only confused the students
23
u/AxisW1 9h ago
So continuity doesn’t just mean you can map every intermediate x value? Explain, please?
37
u/bonebranch 9h ago
Career mathematician, so I get where you're coming from. (You also forgot: is sqrt continuous at x = 0?) At the same time, people are gonna be like "but graph broken, so discontinuous there" and for the people who are just taking Calc I to be better at using computers to do things instead of thinking about topology and stuff, that's just the more meaningful idea of continuity.
I mean, hell, most Calc I courses I've taught basically don't emphasize the epsilon-delta definition of limits, and this is the definition that's standard in a lot of textbooks used for this course, so good luck getting this changed. Best we can do is maybe not put these kinds of questions on the test, but that basically kills the discussion of infinite essential discontinuities.
(There's also a whole discussion to be had about finding the domain of a function. Now that was a hill I would've died on ten years ago, but nowadays I no longer really give a shit.)
16
u/GarlicSphere 8h ago
Well, tbf - on basic courses, continuity is mostly taught and understood as "continuity on R" (so short for "well defined and continuous on R", but no one can be bothered to write it), which these function obviously are not.
5
u/Edannan80 5h ago
I mean... this feels like an old man shaking their fist at the sky. MOST math is taught as a series of "This is true." only to later be revealed as "Weeeeelllll... it actually isn't."
We teach positive integers first. Then we eventually introduce negative numbers. Then fractions. Then irrational numbers. Then x/y slope. Then imaginary numbers. Then derivatives/integrals. Then multiple infinities.(May have exact order wrong. It's been a while)
Discontinuity and defined points feels like another in a long line of "Well TECHNICALLY we just taught you that as a simple case."
4
u/_SpaceSLOTH_29 6h ago edited 6h ago
Hold up a sec, English isnt my first language, and also not the language ive used to study math with so a lot of these explanations confuse me.
Is it possible to explain this in layman's terms
As far as i know continuous was if:
which would mean that these pictures of the graphs werent continuous (removal, jump or asimptotal/infinite discontinuity), which kinda says otherwise than what i was taught. Would very much appreciate an explanation T-T.
6
u/Confident_Delay5805 9h ago
Math is smug
3
u/PANIC_EXCEPTION 8h ago edited 8h ago
Trying to explain why this is true without giving people a real analysis textbook is a pain in the ass, but the OP is indeed correct.
If, for example, on the first graph, the y=-1 portion was defined to be any x ≤ 0 rather than x < 0, then this function is indeed discontinuous. Because your function can now take any real number as input, and you can prove that there exists a point in your domain where the epsilon-delta definition of continuity at a point is not true.
In this case, however, no point within R\{0} is discontinuous. There is no such thing as a maximum point of (-infinity, 0) or minimum point of (0, infinity). Any point x within either interval always has some point that is closer to zero. That point x' can be arbitrarily close to it, by some distance delta>0, where |x' - x|≤delta. Let y=f(x). For any given epsilon>0, define the interval [y-epsilon, y+epsilon]. Does there exist some delta>0 such that, for any x' in the closed interval [x-delta, x+delta] that is a subset of the domain of f (if not, delta is invalid), such that f(x') is in [y-epsilon, y+epsilon]? For the two-hole case, yes. For the one-hole case, a counterexample at x=0 exists for epsilon < 2.
2
u/OutrageousPair2300 9h ago
Some definitions of continuity only apply to points where the x-values are within the range of values where the function is defined. So if a function isn't defined at a point, that point doesn't count for purposes of determining whether the function is continuous or not.
So it all comes down to which definition you use.
2
u/Generos_0815 8h ago
I see what you mean, but for f(x)=1/x you could use f:R->R U {inf, -inf} And choose whats 1/0 maps to. Then it is discontinous. Or subsets of the Riemann number sphere, where there is only one value at inf whith can be used to fill the gap. then 1/x is continuous everywhere.
As you said it depends on the domain but also on the codomain and possible values to assign.
2
u/Sakadachi 4h ago
Continuity of real functions outside of connected domains is super confusing at the graphical level of understanding. In school I would just insist that continuity only makes sense on connected domains. Then it doesnt even make sense to call any of these discontinues; the question never arises. But the pieces are all continues as desired. The middle one has a continuous extension to a connected domain.
2
u/Dr0110111001101111 2h ago
Proper sources, like AP exams, will be very clear about these situations by asking about continuity on a given interval rather than whether the function is continuous, which implies the domain
4
u/headsmanjaeger 9h ago
Actually it’s discontinuous at x=0 because ift stops continuing. Hope this helps
3
u/NoRoll1539 9h ago
what ☹️
1
u/Qingyap 9h ago
I'm confused here.
Are there like different kinds of definitions of continuity?
1
u/afunkylittleguy 8h ago
I mean I think it would be correct to say that all of these functions are not continuous over the real numbers. They are continuous over their domains, but I don't believe it's necessary for a point to be in a function's domain in order to even talk about continuity at that point at all (it will be discontinuous, of course). In that case, it feels more like an issue of ambiguous terminology.
1
u/Krill_Seeker 6h ago
why must i find topology on this subreddit of all places i'm trying to escape it
1
u/pietro-zzi 6h ago
Are math classes that straight up lie?
1
u/Capable_Accident2606 6h ago
To be honest all of these examples can be corrected by just defining f(0) = 0 but I agree in general, textbooks shouldn't spread misinformation
1
u/no1rezefan 5h ago
we were taught that if the x⁰ value doesn't have a limit value, or it's limit isn't equal to the y⁰, the function is discontinious at that x⁰ both in highschool and math I class at uni
(limit x->x⁰+ f(x) ≠ limitx->x⁰- f(x)) and
limx->x⁰ ≠ f(x⁰) makes a function discontinious I mean. I dont know exact english math terms so I might've worded it weirdly
1
u/SSBBGhost 5h ago
I dont even think mathematicians are super rigorous about this because you have the concept of removal discontinuities but technically theyre not discontinuities because the function isnt defined there.
Maybe we just say yea functions can be continuous everywhere while also having a discontinuity, and thats not a contradiction.
1
u/slinkymcman 5h ago
Are these functions, I always considered these equations
1
u/LL-ShockBlade 3h ago
You are right but at the level where these examples are shown it would be pretty difficult to not get the students completely lost
1
u/Traditional_Town6475 3h ago
Yeah, they’re terrible examples. It’s not even hard to fix all of these examples to be genuine examples. In the first one, pick an end point. In the second, just define at 0 the value of the function to be 0. And in the third one, just pick some value to assign to 0.
1
u/SpaceBearOne 3h ago
I get your point but, for most practical uses of such functions (such as the Heaviside step function in signals and systems), the function is defined over the entire set of real numbers. For most practical purposes, the function is continuous.
1
u/Secret-Suit3571 3h ago
We have topology to define all kinds of continuity. You can say that a sequence of numbers is a continuous fonction from N to R with the discrete topology. But the question you must ask is : is there any application of seeing something as continuous?
For exemple, seeing a sequence u as a continuous fonction allows us to prove that if it's postive and converges, it reaches a maximum. (Because if you compactify N then u(N compactified) is a compact since u is continuous).
1
u/Rub1k_ 2h ago
What country are you from? Because where I'm from (Italy) at high school I was taught the proper definition of continuity. The fact that such a fundamental math notion is being misrepresented is actually insane. This isn't even "dumbing it down" for the sake of simplicity, it's straight up incorrect. These teachers should at least be specific that what they're explaining is "continuity in R".
1
u/Eisenfuss19 2h ago
I mean I know that tan(x) is continuous, but it is confusing.
1
u/LowSouthern8712 1h ago
the only discontinuity here is that vertical asymptote vioating my personal space tbh
1
u/-Ambriae- 1h ago
In France we have the distinction: continue vs continue presque partout (cpp)
cpp meaning the measure of the points where the function is discontinuous is 0 (for example when using Lebesgue measure)
Also, a valid definition of continuity is: a function is continuous if it’s continuous at every point, ie for a function A -> B, forall x in A, lim_{y->x}f(y) = f(x)
All of these functions are, according to this definition, cpp but not strictly speaking continuous
1
u/BurnerAccount2718282 1h ago
I’m in the second year of university and they’re still saying this, my quantum mechanics class still counts these as discontinuous
1
u/TransViv 49m ago edited 40m ago
while true, those facts do not matter. Because in those math classes they have not rigorously defined what a function is and they are actually treating every single one of these as partial functions defined on the reals.
1
u/MikeUsesNotion 39m ago
Does the open circle mean anything? If in the first image, the open circle means on the left ...,0) and on the right (0,..., then that means the function isn't defined at x=0 which would mean it isn't continuous.
1
u/Gishky 31m ago
well whats its value at 0?
1
u/Herohades 29m ago
I don't want to sound like I'm ragging on OP here, but this is exactly why people have such a hard time with math courses. Is it technically true that, under the most rigorous definition, these aren't discontinuities? Sure. Is that the point being made when we cover them in Calc 1? Not in the slightest. The point is to show students that you can get a lot of information from a functions derivative, not to list off a hundred formal definitions for things they won't actually be using. But I've seen and worked with so many professors, especially in the collegiate sphere, who insist on being so overly formal at the expense of actually getting to the important information.
Teach for the class you're actually teaching, not to avoid getting "Um actually..."-ed.
1
u/auntanniesalligator 28m ago
I tutor calc but never took real analysis (applied math major, not “regular math”) and this stuff trips me up sometimes.
Very often “continuous” is described informally to students as “you can scratch the graph without ever having to lift your pencil” which exactly misses this point about only considering points in the domain.
I think part of the issue is that the formal limit vs function value definition only defines continuity for a single point. It’s the definition of a continuous function that requires emphasizing the function must be continuous at every point in its donain. And also that a point of discontinuity must be in the domain so that discontinuous does not mean the same thing as “not continuous”
So in your above examples, it’s correct to say the function is continuous and it is correct to say that the function is not continuous at x=0 (a true statement for any x-value not in the domain of a function), but it is false to say it is that it is discontinuous at x=0.
1
u/soicancurate 19m ago
Is a function considered continuous if the derivative is non-continuous/ not smooth?
I guess I’m realizing I may be conflating 2 ideas
1
u/666Emil666 16m ago
I don't know why so many people are disagreeing with you, this is an extremely complaint of college calc and analysis teacher against middle school.
It also points to a fundamental lack of understanding, how are you even gonna claim that a function is discontinuous on a point where it is not defined? This would also make the definition of removable discontinuities harder.
Most of it stems from old calculus being kind of informal, and middle school failing to catch up. What they are describing is that the topology made by these graphs is disconnected and /or not path connected
1
u/SlightlyIronicBanana 9h ago
Do you know what continuous means?
1
u/gorenoiseythrowaway 9h ago
Teaching that continuity is applied to R instead of whatever the function's domain is is just simpler
1
u/deranton 5h ago
Counterexamples like these are an exercise in mathematical rigor. If you are studying maths, rigor is important. It's also important to be able to distinguish between interesting counterexamples and "pathological" ones. It really depends on how these are presented, but this can be genuinely useful for your understanding.
1
u/GKP_light 3h ago
if there is a hole in the domain of definition, it is not continuous.
x/x is not continuous :
lim[x->0] x/x != 0/0, as 0/0 is not defined.
1
u/QuasiLinearEquation 3h ago
This isn't to say that the definition of continuity learned in calculus is wrong, btw. The difference is the distinction of whether or not we consider continuity on the function's domain or if we consider it over all of R. I think in calculus continuity is usually treated as the latter, right?
1
u/728446 1h ago
Maybe next we can teach kindergarteners Peano.
Shit like this is why no one is going to care when you are replaced by computers.
0
u/Deebyddeebys 8h ago
I think you deserve to burn to death and have your will forged to donate all of your money to building data centers on top of orphanages