5 counterexamples every calculus student should know

  Рет қаралды 98,275

Dr. Trefor Bazett

Dr. Trefor Bazett

10 ай бұрын

You can play around with these counterexamples in this MAPLE LEARN document: learn.maplesoft.com/d/AGHGFLK... My thanks to Maple Learn for sponsoring today's video.
Claim 1: Discontinuities are isolated
Counterexample: The dirichlet function (1 for rationals, 0 for irrationals) is discontinuous everywhere
Claim 2: The derivative of a differentiable function is continuous
Counterexample: x^2sin(1/x) when x is nonzero, 0 when x=0
Claim 3: A positive derivative at a point implies the function is increasing on some neighbourhood of the point
Counterexample: x/2 + x^2 sin(1/x) (and 0 when x=0)
Claim 4: If a function has a limit at infinity and is differentiable, then it's derivative has a limit at infinity.
Counterexample: sin(x^2)/x
Claim 4: If f(x) is the limit of a sequence of continuous function f_n(x), then f(x) is also continuous
Counterexample: x^n
0:00 The Dirichlet Function
Differentiable doesn't imply continuous derivatives
Positive derivative doesn't imply increasing
Functions and derivatives can have different asymptotics
Limits of sequences don't have to be nice
Check out my MATH MERCH line in collaboration with Beautiful Equations
►beautifulequations.net/pages/...
COURSE PLAYLISTS:
►DISCRETE MATH: • Discrete Math (Full Co...
►LINEAR ALGEBRA: • Linear Algebra (Full C...
►CALCULUS I: • Calculus I (Limits, De...
► CALCULUS II: • Calculus II (Integrati...
►MULTIVARIABLE CALCULUS (Calc III): • Calculus III: Multivar...
►VECTOR CALCULUS (Calc IV) • Calculus IV: Vector Ca...
►DIFFERENTIAL EQUATIONS: • Ordinary Differential ...
►LAPLACE TRANSFORM: • Laplace Transforms and...
►GAME THEORY: • Game Theory
OTHER PLAYLISTS:
► Learning Math Series
• 5 Tips To Make Math Pr...
►Cool Math Series:
• Cool Math Series
BECOME A MEMBER:
►Join: / @drtrefor
MATH BOOKS I LOVE (affilliate link):
► www.amazon.com/shop/treforbazett
SOCIALS:
►Twitter (math based): / treforbazett
►Instagram (photography based): / treforphotography

Пікірлер: 258
@DrTrefor
@DrTrefor 10 ай бұрын
Small clarification! At 8:10 the theorem either requires saying f(x) is continuous or that f'(x) is positive at the endpoints as well. As stated it allows for a discontinuity right at the end points. :)
@caspermadlener4191
@caspermadlener4191 10 ай бұрын
The first interval should be [a,b] instead of (a,b), or the second interval should be the other way around. Or both [a,b).
@WhitTiger465
@WhitTiger465 10 ай бұрын
​@@caspermadlener4191жхэхх
@leonblattmann1118
@leonblattmann1118 10 ай бұрын
On the second point: Although derivatives don't need to be continuous, they have the intermediate value property we know from continuous functions: the image of an intervall is an intervall. I recently learned about this and I find it quite interesting, it's called Darboux' Theorem
@DrTrefor
@DrTrefor 10 ай бұрын
Oh that's a good point, I kinda wish I said that. It's not as nice as continuous, but it still has some nice properties.
@nnnam3
@nnnam3 10 ай бұрын
imagine an exam with 20 multiple choices questions like these ones
@DrTrefor
@DrTrefor 10 ай бұрын
Haha don’t give my ideas for my poor calc students:D
@curtiswfranks
@curtiswfranks 10 ай бұрын
That is just a normal math exam. Except that they are not multiple choice.
@broccoloodle
@broccoloodle 10 ай бұрын
That's exactly my graduate course in analysis looks like 😢
@leif1075
@leif1075 10 ай бұрын
​@DrTrefor Thanks for sharing all your videos, Dr Trefor. I really hope you can respond to my other questions on other videos whenever you can. Thanks very much.
@leif1075
@leif1075 10 ай бұрын
​@@broccoloodleHow do you deal with that course, if I may ask?
@JacksonBockus
@JacksonBockus 10 ай бұрын
What’s wilder to me than the fact that a function can be discontinuous everywhere is that it can be continuous at only a single point, something that really shows the disconnect between the intuitive meaning of continuity and the rigorous mathematical definition.
@ericwiddison7523
@ericwiddison7523 10 ай бұрын
This is great stuff. Counterexamples like these are an essential part of understanding mathematics. Whether I learn a new concept, one of the first steps is to try to identify edge cases, which either barely meet the definition or barely miss it.
@carstenmeyer7786
@carstenmeyer7786 10 ай бұрын
Great counterexamples! Another interesting modification of the fifth example is the "Takagi Curve" -- a function that is continuous everywhere, but nowhere differentiable. The idea is that the Takagi-Curve has (increasingly small) spikes everywhere -- they change the slope of the curve by integers values, leading to non-convergent difference quotients everywhere.
@NickKravitz
@NickKravitz 10 ай бұрын
An interesting corollary of the Dirichlet function is that it integrates to zero over any interval. While it is true you can find an irrational between any rationals and vice versa, the cardinality of the sets are not equal. If you were to plot all rationals with yellow and all irrationals as cyan (as in the sample plot) for all possible real values, the plot would be all cyan.
@carstenmeyer7786
@carstenmeyer7786 10 ай бұрын
Good remark! Sadly, you need to know "Lebesgue-Integration" to find that result. Good old "Riemann-Integration" is not enough...
@friedrichhayek4862
@friedrichhayek4862 10 ай бұрын
@@carstenmeyer7786 Riemmann Integration is enought after correcting Riemann"s mistake of using a uniform limit instead of a pointwise limit in his definition
@smiley_1000
@smiley_1000 10 ай бұрын
​@@friedrichhayek4862What uniform limit are you referring to? The definition I'm familiar with is that, if we consider the infimum of the integrals of all step functions larger than the given function and the supremum of the integrals of all step functions smaller than the given function, if these two values coincide, that is the Riemann integral of the function.
@friedrichhayek4862
@friedrichhayek4862 10 ай бұрын
@@smiley_1000 The "common" definition of the Riemann Integral is an uniform limit as showed in page 2 of return to the Riemann integral by Robert G. Bartle and in the next paragraph, article that shows how fixing such error makes it the superior integral.
@smiley_1000
@smiley_1000 10 ай бұрын
@@friedrichhayek4862 The definitions given in the article don't really involve uniform or pointwise limits of functions as usually understood. But I certainly find the more general definition that they give interesting.
@barutjeh
@barutjeh 10 ай бұрын
Another neat modification of the Dirichlet functie: f(x) is 0 for irrationals and f(x) = 1/q if x is rational, where x = p/q is the simplified fraction (and let's say q>0). It's discontinuous on the rationals, but continuous on the irrationals. The latter claim seems weird, but it's pretty easy to prove. For any irrational x and any epsilon>0, we know that: 1. There are only finite rational numbers p/q for which f(p/q) = 1/q > epsilon. 2. The irrational number x is some distance away from all those finite rational numbers. From those two facts it follows that there must be some positive number delta, such that if |x-y|
@DrTrefor
@DrTrefor 10 ай бұрын
love this
@tomkerruish2982
@tomkerruish2982 10 ай бұрын
This is known as Thomae's function and by many other names.
@andrewharrison8436
@andrewharrison8436 10 ай бұрын
Nice, must remember this one - very sneaky.
@drachefly
@drachefly 10 ай бұрын
Wow, that last one was simpler than what popped into my head for it - the finite Fourier series approximations of the square wave.
@ZaksLab
@ZaksLab 10 ай бұрын
Cool topic! My favorite math professor from a past life (Dmitry Fuchs) was a master of counterexamples . . . real analysis for a full year with that guy, and counterexamples were strong with that one! I think I still emphasize counterexamples more than most while I teach physics because of that experience. I'm taking notes here, because I still teach first year calculus as well . . . .
@stapler942
@stapler942 10 ай бұрын
My learning is continuous, and hopefully my knowledge remains an increasing function.
@geraldsnodd
@geraldsnodd 10 ай бұрын
Feels good to see a calculus video once in a while. Can you take up a cool topic related to discrete math in the next video?
@dmitryvolovich4357
@dmitryvolovich4357 10 ай бұрын
For the claim as stated at 9:13, there's a much simpler counterexample: since you allow f'(x)=0, the function -x^3 is one counterexample
@MartinPuskin
@MartinPuskin 9 ай бұрын
Or just any constant function, you know?
@uklu
@uklu 8 ай бұрын
​@@MartinPuskinconstant functions are increasing, just not strictly increasing
@atlas4074
@atlas4074 10 ай бұрын
I'll add another: If f is differentiable on a closed and bounded interval, then f' is integrable on that interval. False, see Volterra's function. The construction uses x²sin(1/x) and a variant of the Cantor set. Despite having a bounded derivative, the derivative is not integrable. The book *Counterexamples in Analysis* contains many strange functions but most of the counter examples require some background in advanced calculus to mistakenly conjecture. Edit: corrected a misstatement of the false conjecture. First I said 'f differentiable ⇒ f is integrable' when it should've been what it is now.
@DrTrefor
@DrTrefor 10 ай бұрын
That's a really cool one, thanks for sharing.
@friedrichhayek4862
@friedrichhayek4862 10 ай бұрын
@@DrTrefor That is false, you only had to use a pointwise limit instead of a uniform one when taking the Riemann Integral
@castagnos509
@castagnos509 10 ай бұрын
When you say that, you are working with the riemann integral, and thats completly true. However, if you work with the generalized riemann integral, also known as the Kurzweil Henstock integral, every f' is integrable.
@leif1075
@leif1075 9 ай бұрын
​@DrTrefor Hey Dr. Trevor. I really hope you can respond to my other questions when you can. Thanks very much.
@michatarnowski580
@michatarnowski580 10 ай бұрын
I learned basic calc over a decade ago, including basic real analysis, but I still didn't know the example with positive derivative without an increasing neighbourhood. Thanks a lot, I can add it to my lecture notes that I can publish one day.
@michatarnowski580
@michatarnowski580 10 ай бұрын
But does continuity of the nonzero derivative guarantee (imply) a neighbourhood with monotonicity?
@LumenPlacidum
@LumenPlacidum 10 ай бұрын
Same@@michatarnowski580
@michatarnowski580
@michatarnowski580 10 ай бұрын
I asked other people and they convinced me that yes, this implies a neighbourhood with monotonicity. If a derivative is positive, then its continuity implies that it's also positive in some neighbourhood, and this implies that the original function is increasing there.
@98danielray
@98danielray 10 ай бұрын
​@@michatarnowski580only if strictly increasing. if the derivative is equal to zero in, e.g., x^3 at 0, then the function may not be non-decreasing.
@michatarnowski580
@michatarnowski580 10 ай бұрын
I don't feel I understand it; do you mean that it may be increasing?
@trenchmarian
@trenchmarian 10 ай бұрын
super interesting video , and maybe even useful on top ! well done
@ianfowler9340
@ianfowler9340 10 ай бұрын
Here's a function (courtesy of Michael Penn) that behaves very strangely at x = 0. f(x) = e^(1/x) / [ 1 + e^(1/x) ] Usually students encountering functions that have a "jump" discontinuity at x=a are contrived. For values x>= a we have a nice g(x) and for x
@Ninja20704
@Ninja20704 10 ай бұрын
tan^-1 (1/x) is another such example where we have a jump discontinuity that doesn’t require piecewise.
@carstenmeyer7786
@carstenmeyer7786 10 ай бұрын
I'd argue "f" needs to be piece-wise defined as well, since right now it is not defined at "x = 0" (even if both the left and the right limit to zero exist).
@WaluigiisthekingASmith
@WaluigiisthekingASmith 10 ай бұрын
I would argue this is just "inheriting" the weirdness of 1/x. In particular 1/x is not connected.
@ianfowler9340
@ianfowler9340 10 ай бұрын
@@carstenmeyer7786 I see your point as it can be defined piece-wise but I would argue that it doesn't have to be. The piece-wise nature is built into the single equation.
@__christopher__
@__christopher__ 10 ай бұрын
@@ianfowler9340 You can also get a step function without an undefined point in the step. For example, f(x) = lim_{n->infinity} tan(nx). Yes, it involves a limit. But then, technically the exponential function involves a limit as well, it's just hidden away in the notation.
@fadynakhla8175
@fadynakhla8175 10 ай бұрын
Last counterexample is nice for introducing the concept of uniform convergence
@klausklausen4301
@klausklausen4301 9 ай бұрын
Another thing that might be intuitive is the following claim: If f'=0 then f is a constant function. This is wrong though as you mightve guessed. And here is the counter example: Let I_1 and I_2 be two disjoint and open intervals in R and then let f be a function that's defined on the union of I_1 and I_2, f(x) = 1 for x in I_1 and f(x) = -1 for x in I_2
@pacolibre5411
@pacolibre5411 10 ай бұрын
One of my favorite counterexamples is the Fresnel Integral. In calc 2, you learn the Divergence theorem for series. If the terms don’t approach 0, the series diverges. However, the same cannot be said for improper integrals. cos(x^2) does not have a limit as x approaches infinity. It bounces between 1 and -1. You might expect then the integral from 0 to infinity to do the same thing. However, the width of the oscillations approaches 0, meaning the integral actually converges (to sqrt(pi/8))
@lumina_
@lumina_ 2 ай бұрын
cool! thanks for sharing
@HyperFocusMarshmallow
@HyperFocusMarshmallow 10 ай бұрын
Great video concept!
@blacklistnr1
@blacklistnr1 10 ай бұрын
@1:58 There's an asterisk here, for all practical purposes that graph IS a continuous straight line at 1, say if you graph it on a pc. But if you consider the infinities involved it's a straight line at 0, since there's so many irrational numbers
@__christopher__
@__christopher__ 10 ай бұрын
A nice variant of the Dirichlet function is the function that is 1/q for rational numbers whose totally cancelled form (with positive denominator) is p/q, and 0 for all irrational values. That function is continuous on all irrational numbers, but discontinuous on all rational numbers. I wonder if there's also a function which is differentiable only at irrational numbers. Or a function that's differentiable everywhere, but whose derivative is continuous only at irrational numbers.
@DrTrefor
@DrTrefor 10 ай бұрын
love this one
@MK-13337
@MK-13337 10 ай бұрын
For the convergence bit you should specify that you mean pointwise convergence, although the same is true for L^p convergence, but the counterexample is different.
@farhatali3634
@farhatali3634 10 ай бұрын
That was an awesome video. Thanks for all your effort and sharing with us.
@DrTrefor
@DrTrefor 10 ай бұрын
Glad you enjoyed it!
@ahmadtariq3960
@ahmadtariq3960 10 ай бұрын
Last counter example also shows set of all continuous function on [0, 1] is not closed set
@aurel5981
@aurel5981 10 ай бұрын
Students often believe that f'(x)>0 means f is strictly increasing on an interval. You may want to restrict the condition to f'(a)>0 in the third theorem, exploiting the counterexample at its full potential, otherwise with only f'(a)>=0 the counterexample f(x)=-x^3 works, making the theorem less powerful.
@mickyj0101
@mickyj0101 9 ай бұрын
I came looking to see if anyone had mentioned f(x)=-x^3 because that's the first thing that popped into my head as well.
@mathiasg.7163
@mathiasg.7163 9 ай бұрын
yeah man, that's what i was about to say.. thought i am really dumb as he continued to explain this complicated example.
@douglasstrother6584
@douglasstrother6584 10 ай бұрын
I recall that the first two counter-examples were Friday afternoon end-of-lecture send-off problems in my Freshman calculus course.
@marcevanstein
@marcevanstein 10 ай бұрын
Great video! I love counterexamples; such a great way to help get a sense of the whole terrain of a concept. And there were definitely some there I'd never heard of, like the one that has a positive derivative but is not increasing around the point!
@DrTrefor
@DrTrefor 10 ай бұрын
Glad you enjoyed it!
@adb012
@adb012 10 ай бұрын
@@DrTrefor ... I am still utterly confused about this one. I mean, your explanation was perfect and I understood it, but it created a paradox in my brain. My conflict is this: 1) The derivative at 0 is 1/2 2) You showed that no matter how small the interval I take around 0, I will always find points inside the interval for which the derivative is -1/2. 3) But from 1 and the definition of derivative (lim |Δx->0| Δy/Δx) and the ε-δ definition of limit, it turns out that any small but non-zero value of ε I must always be able to find an non-zero-length interval 0±δ such as for all x in that interval, Δy/Δx remains always no more than ε away from 1/2. How do 1 and 2 not make 3 impossible? I mean you may ask "and how you conclude that 1 and 2 make 3 impossible", and I don't know. Probably I cant because 1 and 2 do not make 3 impossible. But it feels so obvious!!! So let me ask you in the opposite way (and yea, I know, I am reversing the burden of proof, but bear with me): How is it possible to have infinite intervals arbitrarily close to x=0 where Δy/Δx=-1/2 but then be able to find a δ where, in 0±δ, ε will always be as small as I want, when I will always have pair of points within 0±δ where Δy/Δx will jump from -1/2 to 0 (let alone to +1/2)?
@98danielray
@98danielray 10 ай бұрын
​@@adb012notice the ratios are different depending on where you take the derivative. so if you take it at x0>0, the ratio you will be getting delta y/delta x will be (f(x0)-f(x))/(x0-x). at 0, that ratio is (f(0)-f(x))/(-x), so even though the delta intervals can intersect, the ratio you will be taking around the points where it is equal 1/2 and -1/2 may be different.
@allinballsout1
@allinballsout1 10 ай бұрын
Thank you!
@michatarnowski580
@michatarnowski580 10 ай бұрын
There could be more counterexamples, e.g. the Thomae’s function which is continuous almost everywhere, but still discontinuous, or a Darboux function (i.e. with the intermediate value property) with discontinuity, e.g. the Conway function, which doesn't even have a limit anywhere.
@jonny5955
@jonny5955 10 ай бұрын
Blew my mind with the discontinuous derivatives.
@hydropage2855
@hydropage2855 3 ай бұрын
I instantly knew I was about to see the dirichlet function
@EMAngel2718
@EMAngel2718 10 ай бұрын
Something that I think is worth noting here is that all of the examples you provided that were about derivatives involved something going to infinity, usually a sinusoidal frequency. Might it be the case thay when you don't have anything going to infinity those intuitions do hold true?
@mtaur4113
@mtaur4113 10 ай бұрын
A differentiable function on (a,b) doesn't have to have a continuous derivative, but Darboux's Theorem says that the derivative must have the intermediate value property. Example 2's derivative attains the value 0 at 0, and any interval [0,a] sees this derivative attaining all the intermediate values as required.
@tomkerruish2982
@tomkerruish2982 10 ай бұрын
Two other good counterexamples are Thomae's function (aka the popcorn function, the raindrop function, etc.) and the Cantor function (aka the Devil's staircase and other (less picturesque) names). The first is a function which is continuous at every irrational and discontinuous at every rational; the second is continuous everywhere and has zero derivative almost everywhere, yet is not constant.
@noahgilbertson7530
@noahgilbertson7530 10 ай бұрын
super useful reminders to get me started on my first semester ❤
@DrTrefor
@DrTrefor 10 ай бұрын
Good luck!!
@swordofstrife1174
@swordofstrife1174 10 ай бұрын
This reminds me of my first Real Analysis class!
@MrConverse
@MrConverse 10 ай бұрын
9:33, x *over 2. Hope it helps. Great video!
@earendilthebright5402
@earendilthebright5402 10 ай бұрын
7:54 you can think of this as much the same as the difference between "Weather" and "Climate"
@mokhtarmougai5088
@mokhtarmougai5088 10 ай бұрын
I really liked the video and I hope you make it a serie plz :)
@DrTrefor
@DrTrefor 10 ай бұрын
Thank you! I think I should:D
@mokhtarmougai5088
@mokhtarmougai5088 10 ай бұрын
I'll be waiting for it. Thanks @@DrTrefor
@Bolpat
@Bolpat 10 ай бұрын
Topology has much, much more of this stuff. It's amazing.
@kevinviel6177
@kevinviel6177 10 ай бұрын
Wait a minute, for the first example, one could "create" an infinite number of discontinuities by simply multiply the RHS by 1 in various forms of (x-y)/(x-y) for any y in (-infinity, infinity) (real numbers, the topic of the graph). One could then get creative for an infinite more points.
@James2210
@James2210 10 ай бұрын
I like the example of x^x for isolated discontinuities better. There are a lot of values where it's undefined but for example (-1/3)^(-1/3) is -cbrt(3)
@sergiomai1213
@sergiomai1213 10 ай бұрын
You must extend the function x^x to complex numbers C. With z^z we get all values
@andrewkepert923
@andrewkepert923 10 ай бұрын
My favourites are the two-variable functions like f(x,y)=x^ay^b/(x²+y²)^c and f(x,y)=x^ay^b/(x⁴+y²)^c [both with f(0,0)=0] for well-chosen values of a,b,c. For instance f(x,y)=xy/(x²+y²) has partial derivatives at every point, yet is not itself continuous, so is not differentiable: f(a,a)=1/2 except when a=0. f(x,y)=x²y/(x⁴+y²)^(3/4) at the point (0,0) the directional derivatives in every direction are equal to 0 and f is continuous, yet f is not differentiable. f(x,y)=x³y/(x²+y²) has second derivatives at 0 that defy Clairaut’s theorem. All these examples demonstrate the need for care when doing the fundamentals of multivariate calculus. It’s harder to set up than single-variable calculus.
@andrewkepert923
@andrewkepert923 10 ай бұрын
Slight lie in the above - my favourites are the examples (counterexamples?) that require Baire category theorem to “construct”.
@harrywiggins1
@harrywiggins1 10 ай бұрын
cool video! what software do you use to draw the graphs?
@DrTrefor
@DrTrefor 10 ай бұрын
This is all done in Maple Learn
@dnaiel
@dnaiel 10 ай бұрын
my favorite example for the claim that “if a function is differentiable, its derivative is continuous” is the cube root function. at zero, its derivative approaches infinity!
@DrTrefor
@DrTrefor 10 ай бұрын
I actually wouldn’t call this function differentiable at 0 because of that vertical tangent you mention
@dnaiel
@dnaiel 10 ай бұрын
@@DrTrefor ah wait that’s true
@ShaolinMonkster
@ShaolinMonkster 10 ай бұрын
one of the best videos
@tiny_frog_
@tiny_frog_ 10 ай бұрын
Is the final claim true if the sequence of functions uniformly converges to f(x)?
@decare696
@decare696 10 ай бұрын
The last one is just for pointwisw convergence. I wonder if some version of rhe claim is true for other notions of convergence (maybe L1?)
@BriceMarnier
@BriceMarnier 10 ай бұрын
@1:15 about graphing Dirichlet function : Considering both rationals and irrationnals are dense in R, then no matter the zoom level or how fine you decide to draw your dots (there is no line to draw for this function...), the graph would cover both lines {y=0} and {y=1} entirely any way. Admittedly, this wouldn't help much to explain the function is discontinuous everywhere, but it would be a typical example of a misleading graphical representation.
@aristo7051
@aristo7051 10 ай бұрын
Really good video
@octaviocarpinetti4326
@octaviocarpinetti4326 10 ай бұрын
I would add, 0 for x=0, e^(-1/x^2) otherwise. The function that is C infinite (aka smooth) but it doesn't have a convergent taylor polynomial. This function is instructive since in calculus, you'll probably be shown how taylor of sine and cosine or exponential, approach the functions. It's important to note that taylor's theorem doesn't establish that there is a convergence for n->inf. But it states that there is a local convergence, that is, error goes to zero as you approach the value in which it is centered.
@__christopher__
@__christopher__ 10 ай бұрын
Actually it does have a convergent Taylor polynomial. It's just that the Taylor polynomial at 0 doesn't converge to the function in any neighbourhood of 0 (rather, it converges to the constant zero function).
@ianfowler9340
@ianfowler9340 10 ай бұрын
I first ran into this kind of thing in 3rd year real analysis. So hard to get a solid non-rigorous basic understanding of what continuity really means. Every real number is associated with one and only one point on the real number line - and vice-versa. But the point itself has ZERO dimension. It's like it doesn't even exist, just some weird abstract concept. Yes, there are rigorous proofs in real analysis that deal with continuity. But for myself, I have come to realize that getting a real (haha) solid core understanding of continuity will always remain somewhat elusive.
@General12th
@General12th 10 ай бұрын
Hi Dr. Bazett! So good!
@DrTrefor
@DrTrefor 10 ай бұрын
Hey, thanks!
@filipbezjak3447
@filipbezjak3447 9 ай бұрын
The first function that you've shown is continuous, as it is a ratio of two continuous functions
@XclusiveScienceSecrets
@XclusiveScienceSecrets Ай бұрын
Perhaps the most counterintuitive thing about mathematical analysis is that differential calculus still allows for a major improvement despite more than three hundred years of development. This improvement is elementary, but so fundamental that allows us to solve some physical problems. For example, the problem of reconciling general relativity and quantum mechanics. You can see the proof video at my place.
@andrewharrison8436
@andrewharrison8436 10 ай бұрын
Your first counter example (discontinuous everywhere) can be integrated* - which is still mindblowing 54 years after I was first shown it. The can of worms it opens is, of course, the size difference between countable and uncountable sets. * the area under the curve is zero.
@StudentDriverINOUTBRK
@StudentDriverINOUTBRK 9 күн бұрын
How can continuity nowhere be integrated? Isn't that the function that is nonintegratable in Riemann integration>?
@andrewharrison8436
@andrewharrison8436 3 күн бұрын
@@StudentDriverINOUTBRK Integration can be thought of as approximation by rectangles and taking a limit. If the rectangles are different widths then it still makes sense to just add the areas. If the rectangles overlap then the sum of the areas can only exceed the area under the function. So how does this apply to the function that is 1 on the rationals and zero on the irreationals? Definitely discontinuous on every interval. Step 1 note that the rationals can be put in a sequence based on the sum of the numerator and denominator: 1/1; 1/2, 2/1; 1/3, 3/1; 1/4, 2/3, 3/2, 4/1; 1/5... Step 2 show that the integral is less than k by surrounding the first rational by an interval of length k/2, the next by one of k/4 then k/8 etc. The total length of all the intervals is k and there are lots of overlaps. Since the height of the rectangles is 1 and k can be made arbitrarily small the integral must be zero. It's a lovely proof but the conclusion is definitely upsetting.
@BorisNVM
@BorisNVM 10 ай бұрын
integral of cos(x²) over all x, converges, could you believe it?
@luismijangos7844
@luismijangos7844 10 ай бұрын
Amazing!
@vadimromansky8235
@vadimromansky8235 10 ай бұрын
gelbaum and olmsted "counterexamples in analysis" - great book
@aminafzal41
@aminafzal41 9 ай бұрын
Can you make tutorials video on mathematica.
@JavSusLar
@JavSusLar 10 ай бұрын
7:42 shouldn't the definition exclude the equal sign, leaving only the "less than"? Otherwise, it would apply to constant functions.
@rikmulder183
@rikmulder183 10 ай бұрын
Wouldn't the third claim also be disproven by f(x)=-x^3 at f(0)?
@naiko1744
@naiko1744 5 ай бұрын
Everyone saying that the first function is continuous is wrong. Remember that a function is continuous in a point iif the limit as x approaches the point exists. A limit exists only if, for any small error range epsilon, we can get close enough to the point so that every value of the function closer to the point is within that error range. In this case, the minimum error range we can satisfy is +-1, in the sense that if we zoom in on a point, there's no successor or predecessor to it. There doesn't exist the rational/irrational right after a point, there's infinite values, some going to 0, some to 1, our limit doesn't exist, and therefore neither the continuity.
@treush8471
@treush8471 10 ай бұрын
On fact you can create fonction that are discontinu on Q and continu on R\Q and you can also proof that you can’t create a function continue on Q and discontinu on R\Q
@MateuszMalinowski
@MateuszMalinowski 10 ай бұрын
Thanks!
@DrTrefor
@DrTrefor 10 ай бұрын
Hey thanks so much!!
@trayaksh_7261
@trayaksh_7261 10 ай бұрын
0:49 how can be cancel (x-1) bcz at x=1 it is zero, and we can cancel two numbers only if they are nonzero
@DrTrefor
@DrTrefor 10 ай бұрын
That’s right. My (verbal) argument was that we can cancel them AWAY from x=1 but AT x=1 we can’t and it leaves the hole in the graph
@Ninja20704
@Ninja20704 10 ай бұрын
If we wanted to find the limit as x->1, then we can cancel because when we take a limit we do not want x to be exactly 1.
@trayaksh_7261
@trayaksh_7261 10 ай бұрын
@@DrTrefor got it 👍..btw vdo is too good...I'm waiting for the next one
@SURok695
@SURok695 5 ай бұрын
Isn't x^n convergent on (-1;1) and diverges on both end points?
@yplayergames7934
@yplayergames7934 10 ай бұрын
I won't lie I love the joke on his t-shirt
@douglasstrother6584
@douglasstrother6584 10 ай бұрын
It *is* geektaculuar.
@skatethe4881
@skatethe4881 10 ай бұрын
Could you perhaps define levels of continuity based on probability density for the first counterexample? For any finite interval, either rationals or irrationals have a certain level of continuity that is well-defined in most examples over these number types.
@skatethe4881
@skatethe4881 10 ай бұрын
You're just mapping two separate continuous functions, per definition.
@skatethe4881
@skatethe4881 10 ай бұрын
And obviously, combining them into a step function is discontinuous, any finite step function is discontinuous.
@skatethe4881
@skatethe4881 10 ай бұрын
All of the complexity comes from combining them into a step function and has little to do with the independent functions.
@skatethe4881
@skatethe4881 10 ай бұрын
You're actually stepping between two graphs and just displaying it on one graph.
@pedrosso0
@pedrosso0 10 ай бұрын
10:30 although, you're making a choice to use the right derivative there instead of the symmetrical derivative. If you use the symmetrical derivative it's indeed equal to 0 Regardless, I'd like a definition of "increasing" other than just derivative
@WaluigiisthekingASmith
@WaluigiisthekingASmith 10 ай бұрын
The derivative is definitely 1/2??? Anyway if you want a formal definition of increasing, theres some open interval around the point a such that for all x>y f(x)>f(y)
@reesespieces5386
@reesespieces5386 9 ай бұрын
Just a minor problem, you defined f to be increasing on an interval wrong. The way it is in the video would be non-decreasing but in order for it to be increasing, you would need a strict inequality
@DentArturDent
@DentArturDent 9 ай бұрын
In the last example this sequence doesn't have limit at x=-1, because the function value in this point make a sequence 1,-1,1,-1,1,-1...
@ieatgarbage8771
@ieatgarbage8771 10 ай бұрын
My fave discontinuous function is (-1)^x. It’s not piecewise, but it is kinda cheating by only taking place in the real numbers. In complex numbers, this actually has continuous sections
@-minushyphen1two379
@-minushyphen1two379 10 ай бұрын
Its domain is the integers, so it is a continuous function with the subspace topology of the integers(which is the discrete topology). f(x) = 1/x is continuous as well
@MichaelRothwell1
@MichaelRothwell1 10 ай бұрын
Nice! This is my favourite discontinuous everywhere function.
@zdog1566
@zdog1566 10 ай бұрын
Counterexamples in analysis is a great book
@jamesfreitag7275
@jamesfreitag7275 10 ай бұрын
Excellent video see you at 8:30 on Thursday
@DrTrefor
@DrTrefor 10 ай бұрын
haha see you!
@user-ky5dy5hl4d
@user-ky5dy5hl4d 5 ай бұрын
The statement that the function can be positive at 0 is a bit strange because we can write zero (0) as so: +0 or -0. So, I can say that at 0 the function is negative. And a derivative of the function exists at 0 but I can't understand why it can exist at 0. And what happens when we take the second derivative of the function that exists at 0? Is it contninuous or not then?
@chengkaigoh5101
@chengkaigoh5101 10 ай бұрын
For example 1,given the fact that there’s always a rational/irrational between 2 numbers,but .9 repeating and 1 are identical so there’s no number in between,is there something that will relate to these
@JoeThomas-lu6fy
@JoeThomas-lu6fy 9 ай бұрын
0.9 recurring and 1 aren't two numbers.
@GnaneswararaoPotnuru
@GnaneswararaoPotnuru 10 ай бұрын
Sir, I had a doubt . Can i say tan(x) is continous in it's domain because the points at which the graph is breaking are not in the domain, so why to consider those points. my exact doubt is why to call the missed discontinuous points (points which are not in domain like (2n+1)π÷2 in case of tanx) as discontinuous.
@MichaelRothwell1
@MichaelRothwell1 10 ай бұрын
For historical reasons, when the domain of a function is a proper subset of R, some people consider the points outside the domain to be points of discontinuity. To take a simple example, f(x)=1/x, this function is continuous on its domain, but not continuous on R. I suppose this is related to the intuitive idea that a continuous function is one whose graph you can draw without taking your pencil off the paper.
@svenerikmorsing5645
@svenerikmorsing5645 10 ай бұрын
And sqrt(x) is continuous!
@thepuzzlemaker2159
@thepuzzlemaker2159 10 ай бұрын
What program/website is that at 7:12?
@zhangruoran
@zhangruoran 10 ай бұрын
13:40 and 14:00, what are the differences between the two claims?
@DrTrefor
@DrTrefor 10 ай бұрын
Originally we were talking about whether the DERIVATIVE would have the same nice properties as the original function, then we switched to asking whether the LIMIT OF A SEQUENCE of functions would have those same nice properties.
@zhangruoran
@zhangruoran 10 ай бұрын
@@DrTrefor Thanks for answering. I was just confused since they were written exactly in the same way.
@Rodhern
@Rodhern 10 ай бұрын
It was probably an unintentional 'spoiler' created by video editing.
@hansolo318
@hansolo318 10 ай бұрын
Its important to note that the theorem at 8:08 shows the function would be a monotonically increasing/non-decreasing/weakly increasing function, not strictly increasing. Using the term "increasing" to describe it is ambiguous and possibly misleading, since the term can mean either completely disparate things. Great video otherwise.
@eofirdavid
@eofirdavid 10 ай бұрын
These are all good sources for counter examples that every calculus student should understand. However, if you are a calculus student, and you are asked to find some example\counter example, please don't start with these functions. There were too many times when I asked the students for an example in some calculus problem and I was given a combination of the functions appearing in this video, where a simple linear or constant function (not to mention the zero function) were enough.
@jursamaj
@jursamaj Ай бұрын
1:00 I know they can be useful for some things, but I've never considered such composites to be real functions. And given that they break so many things, I feel justified.
@Skellborn
@Skellborn 10 ай бұрын
Small question: How can i see, that between every irrational number there is a rational and vice versa? Doesnt that mean, that they go like: ration, irrational, rational, irrational? If so, how can it be, that one set is countably infinite and one is not? As it would then be possible to give a surjective image (not sure if this is the correct english terminology) between the two sets.... right? As in: Order all rationals (which is possible), the image of the rational number is the irrational left to it
@DrTrefor
@DrTrefor 10 ай бұрын
It's tricky. The thing about saying rational, irrational, rational, etc is that it implies there is a concept of a "next" number. But there isn't! There is no "next" number after 1.
@-minushyphen1two379
@-minushyphen1two379 10 ай бұрын
To see that between every two irrational numbers there is a rational, consider this: let those two numbers be a and b, and suppose a < b. Then b - a > 0, and 1/(b - a) > 0. There must be an integer n larger than 1/(b-a). So, n > 1/(b-a) > 0, which means b - a > 1/n > 0, and bn - an > 1. Since there’s a distance more than 1 between bn and an, there must be an integer between them. Call it p. Then bn > p > an. Divide by n to get b > p/n > a, and we have produced a rational between a and b.
@WaluigiisthekingASmith
@WaluigiisthekingASmith 10 ай бұрын
The important thing is, theres also a rational number between all pairs of irrational numbers an vice versa. In fact, there are infinitely many.
@Skellborn
@Skellborn 10 ай бұрын
@@DrTrefor Thanks alot for the reply :-) That makes sense on the one hand (the two irrationals arent neighbours in the sense of being next to each other, but in the sense of, there is enough space between them, to contain a rational, right?) but still leaves some room for more questions: If there is a rational between every irrational, is there more than one? If so, there are infinitly many, right? If so, i see the problem, if there is only one, i'm still having trouble... :)
@-minushyphen1two379
@-minushyphen1two379 10 ай бұрын
@@Skellborn There is at least one. It doesn’t say there is exactly one. In fact there are infinitely many
@Rodhern
@Rodhern 10 ай бұрын
Ah yes, brings back memories. Very good video indeed. My old mathematics teacher used to say "A mistake so common that it was given its own name - partial limit" (it was not in English, so I cannot translate entirely accurate, but I think you get the idea). In a time before computers were introduced and lecture notes were handwritten imagine this problem: "Consider f(x,y) = y/x for x>0, y>0, and describe the behaviour of f in a (small) neighbourhood of (x,y)=(0,0) (i.e. for small positive x and y)." The most lazy of students would make 'short work' and answer something like this: "For every (fixed) x as y gets close to zero the result f(x,y) is close to zero. And so f(x,y) will be close to zero, as long as the (x,y)-point is close enough to zero." (for some reason not handing in homework was a cardinal sin, whereas anyone can make mistakes in their work). Did this old logic failure go away with today's easy ability to plot figures, or do you still encounter it occasionally with modern students?
@carstenmeyer7786
@carstenmeyer7786 10 ай бұрын
It takes some work to plot the function, and find the correct zoom settings to note the relevant behavior. I'll leave it to you to extrapolate the results ;)
@Rodhern
@Rodhern 10 ай бұрын
@@carstenmeyer7786 😀
@WaluigiisthekingASmith
@WaluigiisthekingASmith 10 ай бұрын
Thats fun because you can get literally any behavior. If you let y=kx then the limit is k no matter what k is.
@michatarnowski580
@michatarnowski580 10 ай бұрын
But does continuity of the nonzero derivative guarantee (imply) a neighbourhood with monotonicity?
@michatarnowski580
@michatarnowski580 10 ай бұрын
I asked other people and they convinced me that yes, this implies a neighbourhood with monotonicity. If a derivative is positive, then its continuity implies that it's also positive in some neighbourhood, and this implies that the original function is increasing there.
@1.4142
@1.4142 10 ай бұрын
Wikipedia's list of pathological objects is great
@galzajc1257
@galzajc1257 10 ай бұрын
The most unexpected example, that i noticed was the exercise, that we had the first year: what is the electrostatic pressure on the sphere with given charge. Sounds obvious, just use gauses law for E field? WRONG!!! And i think all of us got that wrong. Then assistent showed us how to get the right result if you differentiate the electrostatic energy as a function of radius. Which ok, but it doesn't explain why using gaus gets the wrong result. And assistant told us explaination, that involved the sphere having some thicknes. But that did't feel right eather, cause you don't need thickness for theoretical problems to be consistant. Then on my way home i figured out what was wrong. Gauses law is okay right above the sphere. But directly on the surface of the sphere it is different. It's cause you can imagine going just the most tiny distance above the sphere. Like for any arbiury small region on the sphere surface imagine going so close to the sphere, that even this small region seems flat and infinite. In that case that small tiny region contributes the same E field as infinite plane would. And if you step on the surface, you have to subtract that. So in the end it's like infinitely small region but it contributes 1/2 the whole E above the surface. Which is not that surprising, cause you're also infinitely close to it. But you don't think of that when you first see the problem.
@billcook4768
@billcook4768 10 ай бұрын
Someday you gotta do a video on the Weierstrass function, and why is pissed people off.
@DrTrefor
@DrTrefor 10 ай бұрын
haha I have had a short on this half finished for like 3 months:D
@byteeater7662
@byteeater7662 8 ай бұрын
The first function is continuous, though. By definition, a function is continuous iff it's continuous at each point of its domain. It cannot be discontinuous (or continuous) at 1, any more than at @DrTrefor, because neither 1, nor @DrTrefor belongs to its domain. A better example would be 0^x for nonnegative x, or 0^|x| for real x.
@Noam_.Menashe
@Noam_.Menashe 10 ай бұрын
Wouldn't the absolute value be a better-simpler counter-example to number 2?
@DrTrefor
@DrTrefor 10 ай бұрын
|x| is a great counterexample to the claim that continuous implies differentiable. However, I'm trying to show that that differentiable doesn't imply the derivative is continuous.
@Ninja20704
@Ninja20704 10 ай бұрын
The derivative of |x| is not continuous (jump at x=0) so it would not be the correct counter-example to use.
@psiwavee
@psiwavee 10 ай бұрын
Hello Mr bazett I love your videos but could you please improve the mic quality no problems otherwise great videos I love you
@hectorurdiales4570
@hectorurdiales4570 9 ай бұрын
Is that true that in between two irrationals there is always a rational? It doesn't seem obvious at least
@jacksonrocks4259
@jacksonrocks4259 10 ай бұрын
3:33 how is it continuous at zero? How does it even make sense for something to be continuous at a point and not an interval?
@jacksonrocks4259
@jacksonrocks4259 10 ай бұрын
Because as you get arbitrarily close to zero, x is zero? So both 0 and an arbitrarily close irrational number output zero?
@DrTrefor
@DrTrefor 10 ай бұрын
Take any uncertainty in height you want. 1/100 or 1/1000 etc. As long as I look in the domain between (-1/1000 and 1/1000), all those points are within 1/1000 of 0. So this gives the definition of the limit being 0 at that point.
@mirkotorresani9615
@mirkotorresani9615 10 ай бұрын
Continuity is defined firstly at points. f if continuous at a interval if is continuous at all points in the interval
@yanntal954
@yanntal954 10 ай бұрын
8:45 why not take for example f(x) = -x^3?
@WaluigiisthekingASmith
@WaluigiisthekingASmith 10 ай бұрын
Because it's derivative is negative
@yanntal954
@yanntal954 10 ай бұрын
Yeah I meant -x^3
@akashpremrajan9285
@akashpremrajan9285 10 ай бұрын
The theorem at 8:35 is indeed wrong. You are assuming f is continuous at the end points a and b. If f is not continuous at those points, then f need not be increasing all throughout [a, b].
@akashpremrajan9285
@akashpremrajan9285 10 ай бұрын
In fact it could be discontinuous at precisely the end points.
@DrTrefor
@DrTrefor 10 ай бұрын
ah yes of course, i forgot to add the assumption of continuity, thank you
@brachypelmasmith
@brachypelmasmith 10 ай бұрын
why is it continuous at zero? Can't I always get another irrational next to it?
@DrTrefor
@DrTrefor 10 ай бұрын
Yes, but the height of those gets closer and closer to zero
@arantheo8607
@arantheo8607 10 ай бұрын
It was from Calculus M. Spivak that I got a better view about such examples , not exactly from my textbooks
Why hyperbolic functions are actually really nice
16:03
Dr. Trefor Bazett
Рет қаралды 126 М.
This Integral is Nuts
23:03
Flammable Maths
Рет қаралды 59 М.
Они так быстро убрались!
01:00
Аришнев
Рет қаралды 2,3 МЛН
UNO!
00:18
БРУНО
Рет қаралды 3,1 МЛН
A teacher captured the cutest moment at the nursery #shorts
00:33
Fabiosa Stories
Рет қаралды 55 МЛН
What Lies Between a Function and Its Derivative? | Fractional Calculus
25:27
Researchers thought this was a bug (Borwein integrals)
17:26
3Blue1Brown
Рет қаралды 3,4 МЛН
solving equations but they get increasingly awesome
10:44
blackpenredpen
Рет қаралды 1,1 МЛН
Why complete chaos is impossible || Ramsey Theory
23:00
Dr. Trefor Bazett
Рет қаралды 39 М.
Why are there no 3 dimensional "complex numbers"?
36:51
Michael Penn
Рет қаралды 277 М.
The Math of Bubbles // Minimal Surfaces & the Calculus of Variations #SoME3
17:27
Mathematicians Use Numbers Differently From The Rest of Us
33:06
Veritasium
Рет қаралды 6 МЛН
Math Symbol Tier List
19:48
Mr. P Solver
Рет қаралды 176 М.
Они так быстро убрались!
01:00
Аришнев
Рет қаралды 2,3 МЛН