Тёмный

Your calculus prof lied to you (probably) 

Dr. Trefor Bazett
Подписаться 412 тыс.
Просмотров 217 тыс.
50% 1

►Visit brilliant.org/TreforBazett/ to get started learning STEM for free, and the first 200 people will get 20% off their annual premium subscription.
Check out my MATH MERCH line in collaboration with Beautiful Equations
►beautifulequations.net/pages/...
What is the indefinite integral of 1/x? The most common answer is ln|x|+C. This is a more satisfying answer than just ln(x)+C without absolute values because the domain of ln|x| and 1/x match (all real numbers except zero). However, this still isn't quite right as the indefinite integral is defined as ALL anti-derivatives. The slightly pedantic full answer is all piecewise defined functions that look like ln(x)+C for x bigger than 0 and ln(-x)+D for x smaller than 0, that is having different constants on both sides of the hole in the domain. This still satisfies a corollary of the Mean Value Theorem that asserts any two anti-derivatives differ by at most a constant provided we are on an open interval, which is what happens on each side of x=0. The animations in this video were made with Geogebra.
0:00 The indefinite integral of 1/x
0:40 Why is ln|x| a better answer than ln(x)?
3:14 Why do we always add +C ?
3:58 What really is an indefinite integral?
5:03The full answer
7:17 The Mean Value Theorem and the +C
8:30 Check out Brilliant.org/TreforBazett
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
SOCIALS:
►Twitter (math based): / treforbazett
►Instagram (photography based): / treforphotography

Опубликовано:

 

13 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 582   
@orangeguy5463
@orangeguy5463 2 года назад
It's very simple: +C isn't constant. It's a locally constant function. This is true for any integral and any domain. Over connected domains, a function is constant iff locally constant. Otherwise it just has to be constant over every connected component. If we think of the motivation of +C in the first place, it's really supposed to be +"something with derivative 0". If we include +C to be the entire family of functions with a derivative of 0, this is everything a priori. Only then we may look for some theorems of calculus to characterize what a derivative of 0 tells us. Really, this discrepancy has nothing to do with logarithms or calculus, it's actually a common idea in linear and abstract algebra. The derivative is a homomorphism (linear transformation) sending some nonzero vectors (functions) to 0, so we can only define its inverse (the indefinite integral) only up to adding something with a derivative of 0.
@riskitonme
@riskitonme 2 года назад
Ye, I love it. Absolute value is piecewise defined and +C can be a piecewise defined function that has derivative zero! So the two are equivalent.
@aryanjoshi3342
@aryanjoshi3342 Год назад
Anytime the value of the locally constant function changes, the derivative at that point is undefined, so the only time that +C can jump to a different constant is when the original function is undefined (like things involving 1/x). is this correct?
@yurkoflisk
@yurkoflisk Год назад
@@aryanjoshi3342 If the definition of indefinite integral is extended in such a way that it includes cases with discontinuous domain, probably yes. Though generally I'd just avoid such cases and, if absolutely needed, consider each needed domain interval separately and use concepts such as 'derivative' and 'integral' only to such domain-restricted functions.
@writerightmathnation9481
@writerightmathnation9481 Год назад
So if a student writes “+C+1” where your grading key has “+C”, you take off a point, right? By “you” here, I mean your grading software or just grader.
@brandongroth4569
@brandongroth4569 2 года назад
While I agree that the domain was handwaved in Calculus, this was likely done for sanity purposes rather than being correct. Can you imagine grading a Calc 1 exam w/ partial fraction decomposition where so many solutions end up being ln|x+k|, yet they would be forced to write a piecewise-defined function for each factor instead? It would be a nightmare for the students and teachers alike.
@DrTrefor
@DrTrefor 2 года назад
Oh absolutely. And to be clear, setting aside the clickbait title, I don't make a big deal of this point to my students either. I do like showing the example as I think it helps solidify the concepts, but for all practical purposes I use ln|x|+C like everyone else:D
@writerightmathnation9481
@writerightmathnation9481 2 года назад
@@DrTrefor I disagree with the idea that it's OK to wave hands as willy nilly as calculus books do. Why don't they at least point out that they're abusing the terminology and the notation, in favor of speed? The Higher level courses, like linear algebra, are harder to grade because no one wants to address these things before the damage is done. One of my engineering colleagues told me he had students who couldn't understand why he asked them to find the derivative of pressure with respect to temperature in the ideal gas law (Pv=NRT), because they said it doesn't depend on x (I think he actually quoted the student as saying "there's no x"). Calculus books wrongly identify expressions with functions and don't teach that that's an abuse of notation and terminology, and then almost never do they use variables other than x or t as independent variables, making it tougher to clean up that mess after it's entrenched in the students' minds. The claim then that (ax)'=a is false, but it's ubiquitous on quizzes and tests as the only correct answer. If a good student writes (ax)'=a'x+ax', the grading key says they're wrong when they're right. Without context the problem is misstated and does more harm than good.
@phiefer3
@phiefer3 2 года назад
@@DrTrefor I get this. In many situations that call for the indefinite integral you end up only needing 'an' antiderivative rather than all of them. Either because you have some initial value that lets you define what the constant C is, or because the problem eventually leads into a definite integral. So in a lot of cases the piecewise definition doesn't really bring anything useful. But even so it's still a good idea to understand when the shorthand doesn't actually include It's a bit of a convenient shorthand that is fine for most situations, but it's still a good idea to keep in mind what it's lacking. Additionally, correct me if I'm wrong, but you could likely correct for this at the end if you really wanted to be complete, by at the end adding a little piecewise definition for C depending on the which interval of the domain x is in. Sort of how like when taking a definite integral it's common to omit the +C entirely since you know it's going to cancel out, but it's still important to remember that that +C is still really there and what it means. Also, if I'm not mistaken you could correct for this at the end (or at any step) if you really wanted to, by adding a piecewise definition for C for each interval of x separated by a point of discontinuity.
@justsomeboyprobablydressed9579
@justsomeboyprobablydressed9579 2 года назад
Also, this issue would crop up for integrating lots of other functions: f(x)=1/x^2, f(x)=3/(x-5)^3, etc. And imagine asking for the "full" answer for the indefinite integral of tan(x).
@rrr00bb1
@rrr00bb1 2 года назад
@@justsomeboyprobablydressed9579 there are so many places where the notation seems slightly buggy. this is an interesting find. the first thing that came to mind is piecewise spline curves.
@md2perpe
@md2perpe 2 года назад
Within the theory of distributions, what is done here is adding multiples of the Heaviside step function H(x) and/or constant functions to the antiderivative: F(x) = ln |x| + A H(x) + B, where A and B are constants. The derivative is then F'(x) = 1/x + A δ(x). Here, 1/x is the principal value distribution and δ is the Dirac delta distribution. So for distributions the only antiderivatives of 1/x are ln |x| + B.
@rarebeeph1783
@rarebeeph1783 2 года назад
but if 1/x is undefined at x=0 and A δ(x) is only nonzero at x=0, shouldn't the A H(x) term remain in the form for the antiderivatives of 1/x, since 1/x should exactly equal 1/x + A δ(x)?
@md2perpe
@md2perpe 2 года назад
@@rarebeeph1783 A distribution isn't defined pointwise, so we cannot say that the distribution 1/x is undefined at x=0. Saying that δ = 0 on ℝ∖{0} is okay, however. Within the theory of distributions, what happens when we add A H(x) to the antiderivative, as is done in the video, is that we add terms A δ(x) to the derivative. Thus, our antiderivatives are not for 1/x but for 1/x + A δ(x). So, the only antiderivatives of (principal value) 1/x are ln |x| + B.
@writerightmathnation9481
@writerightmathnation9481 2 года назад
@@rarebeeph1783 A better way to think of it is in terms of measures. Instead of thinking of the dirac delta as a function of a real variable (because it isn't), you should think of it as a measure concentrated at zero. Moreover, the notation "δ(x)" for such a concept is wholly confusing, mathematically incorrect, and pedagogically vapid. One should denote it only as δ_0 ("delta subscript zero"), and realize that it maps measurable sets to real numbers. If the measurable set E includes the number 0, then δ_0 maps E to 1, and otherwise, it maps E to zero. That way, when one computes the integral, over the measurable set E, of the dirac delta times a real valued function f of one real variable, is either 0 or f(0), according to whether 0 is in the set E or not. For the function f given by the formula f(t)=1/t, 0 is not in the domain of f, so without a richer interpretation of integration as in Lebesgue integration or some other variants on Riemann integration and Improper Riemann integration, you cannot assign a meaning to the integral in question even in this case. A problem with the question at hand is that 0 is not in the domain of the function in question, so integrals of it against the dirac distribution don't really make sense. I guess one can (and perhaps does) extend the theory by extending the notion of these integrals to try to extend the integrand to the closure of its domain, but in this case, one still has the problem that the unboundedness of the function requires one to first extend the real number system to the extended real numbers so that both lazy 8 and its negative are members of the codomain (and perhaps of the domain). In this case, we still cannot make sense of f(0) in a way that is not seen as ad hoc, because the limit from the left and the limit from the right at 0 do not agree. One could instead use the Riemann sphere, I guess, which is the one point compactification of the complex plane, and then one does not include the negative of lazy 8 in the codomain or the domain, and one "defines" 1/0 to be lazy eight, which is the point of compactification, located at a pole of the Riemann Sphere, usually considered to be the "North Pole", diametrically opposite the pole at 0, usually considered to be the "South Pole". In this nice repair of the situation, one would be able to recover the property described for the dirac distribution for bounded functions, namely that the integral of "δ(x)/x" (abusing the notation in the sophomoric way in ODE textbooks), would be interpreted (`calculated'?) as f(0)=\infty.
@ayushyadav5164
@ayushyadav5164 2 года назад
Is that language of gods?
@nevokrien95
@nevokrien95 2 года назад
thats a dam good answer, it just looks at the discontiniouty in the most elegent way possible. I went about it in a dumber way with insisting on the complex derivative to make sense as well
@roderictaylor
@roderictaylor 2 года назад
Nice video. In section 5.4, Stewart's Calculus with Early Transcendentals does say, "We adopt the convention that when a formula for a general indefinite integral is given, it is only valid on an interval." It goes on to say that in a sense the general anti-derivative to 1/x^2 is the piecewise defined function -1/x+C_1 for x0. I prefer the convention that when we take an antiderivative, it's always on an interval. So with this convention integral 1/x dx = ln |x| + C is a shorthand for saying that the general antiderivative of 1/x on (-infinity,0) is ln (-x) + C and the antiderivative of 1/x on (0,infinity) is ln x + C. I also like Spivak's suggestion in his Calculus book, that we could dispense the + C altogether. So instead we ca just remember that the equality sign in that context means equal up to the addition of a constant on an interval.
@JoQeZzZ
@JoQeZzZ Год назад
I'd disagree with removing the + C because then you'll abuse = notation, but I'd be in favour of getting the C to explicitly mean "the set of all functions with derivative 0 over the domain". In this case, the piecewise C and D would quallify, because it's derivative is 0 across the entire domain (since the discontinuity isn't included in the domain) This is something we implicitly do through abuse of notation, but this qualifier would make it formal. In this case the + C would always make the equality valid
@gymnasiematematikmedigor5035
@gymnasiematematikmedigor5035 2 года назад
I guess same story for differential equations. We always define a solution on an INTERVAL. Otherwise, we would be able to come up with many more solutions by constructing piecewise functions as shown in the video.
@diribigal
@diribigal 2 года назад
Certainly those are all the antiderivatives with the same domain as 1/x. But I don't love calling them the "indefinite integral" because a disconnected domain isn't useful for calculating definite integrals (or path/contour integrals). I'd personally rather say something like "indefinite integral means the antiderivatives on a connected component of the domain" and note that it just so happens that with a trick like ln|x|, you basically never have to write them piecewise in calculus.
@DrTrefor
@DrTrefor 2 года назад
I would also be happy with this. It slightly changes the criticism, which is then that most calc textbooks don't put the added qualifiers on what an indefinite integral means that you did here.
@angeldude101
@angeldude101 2 года назад
And of course the "trick" works because |x| is itself piecewise, or with the alternate definition of sqrt(x^2), because sqrt is not a true inverse function because of x^2 isn't 1-1.
@angelmendez-rivera351
@angelmendez-rivera351 2 года назад
Eh. I think the term "indefinite integral" should be retired altogether, as it is more unhelpful and confusing and misleading, than it is useful.
@Noname-67
@Noname-67 2 года назад
Indefinite integral is just a confusing way of saying antiderivative. If it is defined differently, a indefinite integral of f should be all function F satisfy F(b)-F(a) equal integral of f from a to b in the domain
@johanrichter2695
@johanrichter2695 2 года назад
@@Noname-67 That is fine for continuous functions, but for other functions you have to use something more general than the Lebesgue integral if you want to recover the usual class of antiderivatives.
@Zxv975
@Zxv975 2 года назад
I was sceptical clicking on this video due to the clickbait-y title, figuring the "trick" would be something extraneous involving non-principal branches or whatever, but instead I learned an interesting fact about a tangible consequence of dealing with disconnected domains. Fantastic. You could easily apply this logic to other piecewise defined function too with disconnected domains.
@michaelzumpano7318
@michaelzumpano7318 2 года назад
Thank you for using an actual theorem to explain a result. Most math teachers give a geometric example, which is fine, but they stop there. This made it so clear. Praise to Cauchy for his exhaustive precision.
@johnchessant3012
@johnchessant3012 2 года назад
Indeed, integrating 1/z in the complex plane with a branch cut (say) on the positive imaginary axis, we have log(-x) = log(x) - iπ for all x > 0. So, restricting to the real axis gives an 'off-balance' antiderivative of 1/x like the one in the video.
@MattMcIrvin
@MattMcIrvin 2 года назад
Yes! If we take the complex result restricted to the real line, we actually know the difference between the constants on the left and right, and it's imaginary.
@MattMcIrvin
@MattMcIrvin 2 года назад
(confession: I was a graduate student doing particle physics calculations before I figured this out)
@cortexauth4094
@cortexauth4094 2 года назад
This was actually mentioned in Gilbert Strang's Calculus textbook, also the uniqueness thing. And this "abuse" of notation is done in many contexts, like asymptotic growth of functions (representing space or time complexity) in CS texts. I think it's alright if textbooks make it clear which many of them don't sadly
@felipevasconcelos6736
@felipevasconcelos6736 2 года назад
The abuse of notation in asymptotic growth is much more egregious, though. It’s insane that someone would choose “=” to represent anything that’s not equality, or even an equivalence relation.
@itzakehrenberg3449
@itzakehrenberg3449 2 года назад
I'm a math prof and have been making this point to my students for years; glad to see someone else is also.
@valinorean4816
@valinorean4816 2 года назад
or, as another guy said here, since you don't use indef integrals on disconnected domains (to compute definite integrals), you give two separate antiderivatives on two connected parts
@davidn4125
@davidn4125 2 года назад
Wow, I'm a college prof. and I'm just happy to get my students to correctly state on an exam that the antider. of 1/x is ln|x|+c let alone understand that nuance. It's really not worth the effort.
@jonnicholls8256
@jonnicholls8256 2 года назад
Great video, I'm feeling so much more confident explaining ln|x| as the integral of 1/x which I've always done with a lot of hand-waving, appeals to the nature of 1/x as an odd function but not much serious discussion. In the future I'll discuss the domain mismatch between ln(x) and 1/x. My students will appreciate this.
@DrTrefor
@DrTrefor 2 года назад
Awesome!
@archismanrudra9336
@archismanrudra9336 2 года назад
You have this because the real calculus indefinite integral mixes up two complex branches of the same analytic function, which is why you were able to find your 2 constant antiderivative
@TejasTorke
@TejasTorke Год назад
Really found this video helpful. Keep making such content, these are a great help to us
@marcevanstein
@marcevanstein Год назад
Great job pointing out a little subtlety that helps elucidate/remind students of what the +C was all about in the first place.
@Nathan511
@Nathan511 2 года назад
For practical purposes you will be on one branch or the other. The relationship between the branches is of no consequence in all the applications that I know of. I’d be interested to hear if you can think of any. Another neat interpretation is to say that the absolute value is unnecessary if you allow natural log to be complex valued and you allow the constant of integration to be complex. Cool video.
@DrTrefor
@DrTrefor 2 года назад
I'd say the main "practical" point is just reinforcing the normal idea that you can't just integrate between two values, you have to check the domain first to picture you don't have some improper integral. That point is well made in normal calculus exposition, but this helps reinforce it I think.
@danielsebald5639
@danielsebald5639 2 года назад
Not just unnecessary, wrong. d/dz ln|z|=Re(z)/|z|^2
@DJCray8472
@DJCray8472 2 года назад
Correct. But this is correct for all functions who have poles. So for examples f(x) = 1/x^2 -> F(x) = {-1*x^-1 + C für x0}
@DrTrefor
@DrTrefor 2 года назад
Indeed!
@tracyh5751
@tracyh5751 2 года назад
This is not only true for functions with poles, but for any function that is continuous on a disconnected domain. The antiderivative of function f(x)=x, where we restrict the domain to be the nonzero real numbers will have the same problem.
@writerightmathnation9481
@writerightmathnation9481 2 года назад
@@tracyh5751 Better yet, as I indicated in another reply, it is even reasonable to work with totally disconnected domains, like the rational number field, in which the proper way to state the corresponding theorem is the following: Theorem: Let f and g be functions with the same derivative. Then f and g differ by some pseudoconstant function. A function c is locally constant at a point p provided that there's an open neighborhood of p on which c is constant, and we say that a function c is locally constant if it is locally constant at every point in its domain. On a connected domain, every locally constant function is constant. (There's a better result available, by the way, and I'll leave it as an exercise 🙂.) We call a function h a pseudo-constant function if its derivative is zero on its domain. Not all pseudo-constant functions are locally constant, although the converse holds. In fact, Charatonik (r.i.p.) and I studied the notion of an absolute derivative, which is closely related to the notion of a derivative (and in the cases considered in this forum, are computed by finding the absolute value of the derivative), and we constructed functions on totally disconnected spaces (like the rational numbers or a cantor set) that are everywhere differentiable, have zero derivative everywhere (and so are pseudo-constants), but are nowhere locally constant, meaning that if p is a point in the domain and U is an open neighborhood of p, then such a function is not constant on U. The heat of the result is that with a base of clopen sets, one carefully constructs a sequence of functions, each of which is locally constant at less points than the previous sequence member, but approximates the previous sequence member everywhere. This does serious damage to the uniqueness theorem for differential equations, unless one phrases the uniqueness theorem in terms of equivalence classes whose members only differ by a pseudo-constant.
@barometer5156
@barometer5156 2 года назад
I think that ln(x) is a perfectly fine antiderivative to 1/x. We just let x ∈ C (it won't actually matter in the end). Now, we can use euler's identity to define -1 as e^(πi), and say that every -x = e^(πi)*x = e^(πi)*e^ln(x) = e^(πi+ln(x)), so ln(-x) = ln(e^(πi+ln(x))) = πi+ln(x) The complex πi is a constant and would be dropped during differentiation (told you it wouldn't matter), and we can say with confidence that d/dx(ln(x)) = d/dx(ln(-x)), and therefore ∫(1/x)dx = ln(x)+C, no special cases. (edit: well 0 is still not defined but I think we can let that slide)
@thatwhichislearnt751
@thatwhichislearnt751 2 года назад
The passing to the complex plane, with the zero removed or a ray removed, introduces a restriction that doesn’t exist on the reals with the zero removed. The continuity on this larger connected set. That is why you get a result that when restricted to the reals gives you a smaller set of solutions.
@andrewkarsten5268
@andrewkarsten5268 2 года назад
You should be careful doing this if you haven’t taken complex analysis. As the other comment stated, your perspective added restrictions that weren’t previously there, therefore you get a smaller solution set. In order to use ln in the complex plane, you need a lot to get there first
@whatitmeans
@whatitmeans 2 года назад
I believe this is closely related to the fact that uniqueness of solutions is broken when diff. eqs. has a singular point (Non-Lipschitz)... look the example of y'=sqrt(y) in Wiki page for Singular Solution
@juanlemod
@juanlemod 2 года назад
I simply accepted on faith that the indefinite integral of 1/x is ln|x| + C. It has been so ingrained in me. However, I’ve noticed some of my professors don’t use the absolute value occasionally. Right now I’m taking an Analysis course and the second part of my upper-division of my proof-based Linear Algebra course. Ever since Calculus, I always struggled with functions that are defined piece-wise. I don’t know why, but anytime I see one, my heart instantly drops and I immediately assumed right away, before even really understanding it, that this problem is probably going to be very difficult or I’m going to be too dense and stupid to solve it.
@andrewkarsten5268
@andrewkarsten5268 2 года назад
Just take them as the separate functions on the intervals they’re defined on, assuming they’re broken into intervals. Piecewise isn’t hard, it’s more mental struggle than actual math capability struggle. Just try to shake that thought process
@ericy1817
@ericy1817 2 года назад
I mean, depending on your analysis course, ln(x) is sometimes just defined as ln(x) = int_1^x 1/t dt for x in the domain (0, infinity), so there's no more justification really needed to show that the antiderivative of 1/x is ln|x| (or some transformation of ln|x|). From there, you can define its inverse exp(x) and find all the relevant properties of both.
@juanlemod
@juanlemod 2 года назад
@@andrewkarsten5268 I think you have just described me perfectly. It’s more of my low self-confidence in my mathematical abilities stemming from my K-12 education where I would fail most of my math classes every year and make them up in my summer. And here I am, just recently graduating with a mathematics degree..
@juanlemod
@juanlemod 2 года назад
@@ericy1817 I think you may be correct because I think that is how my professor defined, if I remember correctly. The good news is that I think I passed my analysis course. I’m still waiting for the final grades to be posted, but I think I did sufficiently well to pass with a passing grade. Honestly, even though I more than likely passed, I feel like I didn’t master the material the level I would have liked. I felt like I barely scrapped by because I didn’t have sufficient time to study or learn the material since I learn at such a slow pace given my learning disabilities. I love math, even though I consider myself to be terrible and slow at it.
@luismijangos7844
@luismijangos7844 Год назад
Amazing! I opened the video very skeptically and my mind was blown!!!!!
@JohnSmith-ut5th
@JohnSmith-ut5th 2 года назад
You can do this for *any* function with asymptotes, not just 1/x.
@j.felixh.fernandes6301
@j.felixh.fernandes6301 2 года назад
What software is that, where we can plot those many curves and change the values of slopes and constants and insert the derivatives and all? I have been looking for one just like it.
@leonkayombo4316
@leonkayombo4316 Год назад
DR Trefor must be courageous to say the least. There's need to take responsibility even in mathematics.
@professorje7813
@professorje7813 2 года назад
One has to be flexible with the notation. When one writes the family of antiderivatives of 1/x as ln|x|+C, one has to recognize that since the domain of ln|x|+C is comprised of disjoint intervals, one is free to choose different values for C on each of the intervals. This is implicit in the use of the term "arbitrary" in "arbitrary constant." By and large this discussion is about notation, and how best to use it to avoid unnecessarily cumbersome presentations of families of continuous curves in R^2.
@natepolidoro4565
@natepolidoro4565 2 года назад
So I guess that an indefinite integral gives you a family of functions where the number of constants is equal to the number of connected components of the domain.
@npatony
@npatony 2 года назад
Hi, I’m a current college student in a program that has no math credits, I’m really interested in learning calculus, but haven’t even taken precalc, I don’t have enough credit time available to take one for fun, so what is a good place to start. Every time I look at it I get completely lost and have no idea what a good self study starting point would be.
@CauchyIntegralFormula
@CauchyIntegralFormula 2 года назад
We can generalize this idea with what I like to call a "locally constant" function. The antiderivative of 1/x is ln|x| + C(x), where C(x) is locally constant function, that is, a function for which C'(x) = 0 at every point of its domain. For a function defined only on an interval, the locally constant functions are just the constant functions, but when the domain is disconnected, the locally constant functions may be a different constant on each connected component of the domain
@projectorisrael2870
@projectorisrael2870 Год назад
what is the graphing website you've used? (where you can drag along the curve to show the tangent line)
@mathsoldier3413
@mathsoldier3413 2 года назад
Thanks , where can I get the same shirts that you have
@AJ-et3vf
@AJ-et3vf 2 года назад
Awesome video! Thank you!
@schizoframia4874
@schizoframia4874 2 года назад
And just to be clear: I can’t cut a peice of a parabola (a,b), translate it to a peicewise function, and shift the parabola by D on the interval (a,b).
@kelrugemschildhand1831
@kelrugemschildhand1831 2 года назад
More general, one integrates a continuous function defined over a one-dimensional manifold with more than one connected component. The statement about the set of all antiderivatives is then individually for each connected component :) So, it is actually quite common in differential geometry to be aware of that, while I agree that this detail is often omitted in first semesters :D
@bogdanskout3326
@bogdanskout3326 2 года назад
Excellent video. What's the software you're using for plotting? Thanks.
@DrTrefor
@DrTrefor 2 года назад
Geogebra!
@GreenMeansGOF
@GreenMeansGOF 2 года назад
So is it the same thing with integral of sec^2(x) where instead of tan(x)+C now we have a bunch of offset tangent curves?
@DrTrefor
@DrTrefor 2 года назад
Exactly! 1/x is just the simplest example
@FareSkwareGamesFSG
@FareSkwareGamesFSG 2 года назад
More generally, is that corollary of the MVT applicable on all open connected domains?
@DrTrefor
@DrTrefor 2 года назад
in 1 dimension, yes. But we can just call them open intervals (open connected has a sort of 2D or more connotation)
@orangebottle7061
@orangebottle7061 2 года назад
Not an open domain..but it's completely satisfied in the existing domain its has (-infinity, 0) or ( 0, infinity)....so that MVT is totally satisfied in specific domain intervals..all we need to specify that particular intervals when ever the question arises
@Cannongabang
@Cannongabang Год назад
Another important aspect is that these definitions should be "useful" hence if integrated in an interval (a,b) they should make sense (satisfying the fundamental theorem of integral calculus). You cannot integrate 1/x over an interval which contains 0 as an inside point, hence this is never an issue.
@localidiot4078
@localidiot4078 Год назад
is this piecewise function still differentiable? there is a vertical slope at x=0? and couldn't we say this is true if we have a 3 piecewise function, at -inf to -1, -1 to 0, and 0 to +inf? we can set every c to a different value and its the same. this doesn't feel meaningful at all. what is this suppose to tell us? i haven't taken calc yet, i just know enough to do bezier curves. what is the significance of this?
@kolokolo2365
@kolokolo2365 2 года назад
what is the definition of the addition of two integrals ?
@jigyansudash5403
@jigyansudash5403 2 года назад
New ideas collected! Thanks.
@yawdebrah9730
@yawdebrah9730 Год назад
Dr Trefor, please can you make a video about Homotopy perturbation method and address the part where the Homotopy is created for the differential equation especially when the equation contains a constant variable which isn’t a multiple of any variable
@nektariosorfanoudakis2270
@nektariosorfanoudakis2270 2 года назад
We need to go to the projective line, and take the continuous extension of f(x)=1/x there (f(0) should be the "point of infinity"), then integrate, but I forgot how to do it. Does area even make sense anymore? :(
@JCCyC
@JCCyC 2 года назад
Dude. That bugged me when I first learned Calculus. And I'm sure I was not the only one.
@HA7DN
@HA7DN 2 года назад
Oh yeah, learned this when studying differental equations in uni maths, when you have mutiple soultions to a differnetial equations, and you can split the domain, you can combine the solutions in any way you like.
@josephmathes
@josephmathes 2 года назад
If I understand correctly, there's nothing about this argument that's specific to ln|x| and 1/x. You could apply it to any function with any discontinuities
@robertslayerofmonsters1302
@robertslayerofmonsters1302 2 года назад
Or even without discontinuities. Take for example f(x) = |x|, which is everywhere continuous, though not differentiable at x=0. The derivative of |x| is x/|x| for any non-zero x, but this is also the derivative of any piece-wise defined function such as f(x) = |x|+C1 if x>0 and f(x) = |x|+C2 if x
@redaabakhti768
@redaabakhti768 2 года назад
Well played sir. Well played
@pygmalionsrobot1896
@pygmalionsrobot1896 Год назад
Quite excellent, thanks for this.
@frankjohnson123
@frankjohnson123 2 года назад
I quite liked this video. I agree with some of the comments that very rarely will the typical restriction of the family of antiderivatives matter for practical applications; however, I think "complexifying" the answer in this case actually gives more insight as to how you should treat disconnected domains and makes the whole thing feel less hand-wavy.
@strangeWaters
@strangeWaters 2 года назад
Random question, it possible to adjoin a formal log of a negative # or does that not work for some reason?
@epicmorphism2240
@epicmorphism2240 2 года назад
It works, absolutely.
@schweinmachtbree1013
@schweinmachtbree1013 2 года назад
negative numbers (but not 0) have a logarithm in the complex numbers, but the complication is that they have infinitely many logarithms: if z is a logarithm of -x then so is z + 2i pi*k for any integer k. one says that the complex logarithm is a multi-valued function with infinitely many branches
@glennscott7423
@glennscott7423 2 года назад
As a calculus teacher, I am happy to say that this is covered in our textbook and I do talk about it in class... and then we just say +C anyway because of MVT corollary that was mentioned in this video.
@carultch
@carultch Год назад
Do you know of any examples of functions with vertical asymptotes and convergent integrals on both sides, whose most obvious choice for an antiderivative has a jump discontinuity? I'm trying to find a function that motivates the need to split the integral at the vertical asymptote and carry out two improper integrals. Every example I come up with, usually has continuity that is salvaged when taking the anti-derivative, and you can get away with ignoring the vertical asymptote, and still get the correct answer.
@vx7482
@vx7482 2 года назад
Can u tell me the name of these books plz ?
@adb012
@adb012 2 года назад
Does this really make sense? Would you do the same with 1/x^2? Or tan (x) with an infinite-parts piece-wise antiderivative function for the infinitely many real numbers at which tan(x) is not defined, and an infinite numbers of arbitrary constants, one for each part?
@schweinmachtbree1013
@schweinmachtbree1013 2 года назад
you're spot on
@DrTrefor
@DrTrefor 2 года назад
Exactly. The specific choice of 1/x was just as an example, any function whose domain is a disjoint union of intervals has the same issue.
@adb012
@adb012 2 года назад
@@DrTrefor ... Wow, interesting. I was about to ask how you deal with calculation of areas that include the point of discontinuity (if the area remains convergent) but then I realized that you need to break the integral in the same intervals at each point of discontinuity anyway. So for example if you want the are under 1/x^2 between -2 and 3 you have to find the area between -2 and 0 plus the area between 0 and 3; you cannot do it in one step. So using different arbitrary integration constants for each segment would not affect the result.
@kriswillems5661
@kriswillems5661 2 года назад
Same for the integral 1/x^2, you can use a different C for positive and negative values of x.
@darsanaudayakumar2654
@darsanaudayakumar2654 2 года назад
Hello sir...thank you for these wonderful videos sir! could please give us the idea of dual convex problem graphically ?
@JCCyC
@JCCyC 2 года назад
The same annoyance happens every time there is a discontinuity. Get me the antiderivative of tan(x).
@Zxv975
@Zxv975 2 года назад
I was sceptical clicking on this video due to the clickbait-y title, figuring the "trick" would be something extraneous involving non-principal branches or whatever, but instead I learned an interesting fact about a tangible consequence of dealing with disconnected domains. Fantastic.
@xrhsthsuserxrhsths
@xrhsthsuserxrhsths 2 года назад
So all antiderivative equivalence classes are defined in connected components of the domain and then they are added, right?
@DrTrefor
@DrTrefor 2 года назад
Exactly
@yohanguy8216
@yohanguy8216 2 года назад
How does it deal with complex numbers?
@nathanborak2172
@nathanborak2172 2 года назад
You're a tricky guy, Trefor. A real tricky guy.
@xyzain_1827
@xyzain_1827 2 года назад
Well, thats 10 mins of my life I will never get back.
@Darkbob-ew1lk
@Darkbob-ew1lk 2 года назад
Does somebody know which programm he is using to display the graphics?
@DrTrefor
@DrTrefor 2 года назад
Just powerpoint!
@DebashishGhoshOfficial
@DebashishGhoshOfficial 2 года назад
One of the rare videos with a real aha! moment
@probamatica7918
@probamatica7918 2 года назад
I like this example! but I am wondering in which problem could be useful... normally one works only on one side, either positive or negative. do you (or someone reading this) know a problem were both sides are important? 🤔
@rafal3744
@rafal3744 2 года назад
Where i can get this function drawing program?
@DrTrefor
@DrTrefor 2 года назад
Geogebra! It’s free and awesome
@rafal3744
@rafal3744 2 года назад
@@DrTrefor thank you, maybe you also know program for xyz axes for drowing?
@jameshart2622
@jameshart2622 2 года назад
Ah, this is why I always lift the problem into the complex plane before working things out. You get a branch cut, of course, and need to skirt around it, but otherwise it generally works.
@Boxland_
@Boxland_ 2 года назад
So the indefinite integral of tan(x) can be written as a piecewise function composed of infinitely many unique functions?
@DrTrefor
@DrTrefor 2 года назад
Exactly! 1/x is just a template function here
@SmallSpoonBrigade
@SmallSpoonBrigade 2 года назад
Pretty much anything that has infinity is going to require you to split it there, otherwise the integral would likely just be infinity. But, if you do split it, you get a couple of improper integrals that may be finite, depending upon the specifics..
@JackFate76
@JackFate76 2 года назад
That’s OK. I lied to him too.
@lexyeevee
@lexyeevee 2 года назад
i suppose as long as we're nitpicking, you could also define f(0) = E without changing the derivative
@DrTrefor
@DrTrefor 2 года назад
In this case, the function wouldn’t be differentiable at 0
@lexyeevee
@lexyeevee 2 года назад
@@DrTrefor yeah, so the value at 0 wouldn't affect the derivative. right?
@YuriyNasretdinov
@YuriyNasretdinov 2 года назад
Thanks for the video! In our lectures I distinctly remember that we were told that indefinite integral of 1/x is just ln(x) + C, without the module, and I always just assumed that this just means that x > 0 as well. However much later we were basically given the same formula for integral of 1/z and it would be just ln(z) + C in a complex plane, with no limitations except z=0. And as someone shown in the comments, it is a correct formula as the difference between ln(z) and ln(-z) is just i*PI. So I guess the moral of the story is that everyone is taught slightly differently and there aren't necessarily any problems with someone's "textbook" explanation after all...
@cryora
@cryora 2 года назад
ln(z) = ln(|z|exp(iarg(z)))= ln|z| + iarg(z) Absolute value becomes complex modulus and the phase factor is added to the constant. If you can have two different constants on the real line for the positive and negative domains, how do you ensure it's continuous when extending to the complex plane?
@YuriyNasretdinov
@YuriyNasretdinov 2 года назад
@@cryora it's not continuous on real plane though. The value of ln(0) is undefined, so the fact that constants are different doesn't matter
@cryora
@cryora 2 года назад
@@YuriyNasretdinov I mean continuous on the complex plane except z=0. If you have two different constants for x0 on the real line, there must be intermediate values when you go off the real line and into the imaginary axis.
@benjaminshropshire2900
@benjaminshropshire2900 2 года назад
Does it have meaning to talk about the definite integral of 1/x over a span that crosses zero? If you take a definite integral to be the "area under the curve" and assume that the limits of 1/x as X->0 from each side are equal and opposite and then conclude that implies those two limits sum to zero, then I think there should be a well defined definite integral for any span that doesn't end at zero inclusive. Furthermore that definite integral can be found in the normal way by using the classic definition for the indefinite integral of 1/x.
@carultch
@carultch Год назад
Only when the integral converges as you approach the asymptote, does it even make sense to talk about a definite integral crossing a vertical asymptote. The integral of 1/x diverges on both sides, so you can't integrate it across the singularity. For instance, the integral of 1/(x-1)^(1/3), from 0 to 9. The indefinite integral is 3/2*(x - 1)^(2/3) + C. Or more accurately per this video, it should be 3/2*(x - 1)^(2/3) + C + D*H(x-1), where H is the Heaviside step function, and D is another arbitrary constant. Keeping it simple and using the conventional answer for the indefinite integral, you can evaluate it across the two bounds. You will get the same answer as you would if you split the integral in two segments, and add the two segments together. The reason is that the real valued versions of (x-1)^(2/3) will connect to each other with continuity on both sides of x=1, and form a cusp at x=1, instead of a vertical asymptote.
@nedeljkostefanovic1980
@nedeljkostefanovic1980 2 года назад
Calculus textbooks are fine. The antiderivative is defined on connected domains only. Indefinite integral over R without 0 is undefined.
@tendurrr
@tendurrr 2 года назад
I really like the "hippo" on your shirt. That must be the longest hippo for sure
@dannierockz
@dannierockz 2 года назад
I just graduated from UC and realized that we missed each other by one year ... Go Bearcats :)
@DrTrefor
@DrTrefor 2 года назад
Go bearcats!
@cattymionepotter1939
@cattymionepotter1939 Год назад
One question: you could define an antiderivative of a polynomial also piecewise (then one piece for x=0) and do it like you did at around 6:30, couldn't you? I don't get why this "issue" would only apply if you have a point in the middle where the functions aren't defined.
@atreidesson
@atreidesson Год назад
Oh, we've covered this at school, and also that'd be good to mention the tangent as example, I think
@melonenlord2723
@melonenlord2723 2 года назад
So we can do this with every function that has a pole like here for x=0? Split it up into different intervals with its own constant? Without a pole it wouldn't work right? Else there would be a point where the derivative can't be calculated, where the function jumps between two intervals.
@DrTrefor
@DrTrefor 2 года назад
Yup!
@sunruiheng4255
@sunruiheng4255 2 года назад
Nice! I'm wondering, how come the same doesn't apply for every antiderivative? For example, the antiderivative for f'(x) = 1: f(x) = { x + C1, x=n } This doesn't seem to be the same as the usual g(x) = x + C Are x + C1 and x + C2 considered the same by the corollary of MVT, making f(x) and g(x) the same? That feels strange to me.
@DrTrefor
@DrTrefor 2 года назад
The problem here is that the derivative is not defined at x=n in your definition, so it can't be an anti-derivative on all of R.
@tracyh5751
@tracyh5751 2 года назад
The problem with a piecewise approach to functions with only one interval in the domain is that the two pieces will have to be continuous where the two intervals meet. But in order for that to happen, the constants for the two pieces will have to be the same. This is kind of what breaks down with the antiderivative of 1/x. There is no need to force continuity at x = 0, because the function 1/x isn't even defined there.
@sunruiheng4255
@sunruiheng4255 2 года назад
@@tracyh5751 Thanks for the explanation! I didn’t know a piecewise function had to be continuous with a single interval.That would answer my question well, but how come that’s the case? I mean if I really wanted to make such a function like the f(x) I wrote, would that just be not allowed?
@writerightmathnation9481
@writerightmathnation9481 2 года назад
@@sunruiheng4255 The problem is at the endpoints. When we say that a function is differentiable on its domain, we mean something specific in terms of limits, and the way those limits are computed is what calculus books refer to as "two sided" limits. In hither level real analysis courses, one may (and that they do, by the way) define "derivative from the left" only in terms of a limit from the left, and similarly on the right, fit functions of one real variable. Then one of these can be used on your example, because the relevant result ("differentiability implies continuity") can be weakened to "left differentiability implies left continuity", and then (a variant of) your system of constants can be pasted together over the entire domain in such a way as to constitute one "left pseudo-constant", meaning that the function is left differentiable everywhere (but perhaps not right differentiable everywhere), so that adding it to the identity function didn't change the left derivative anywhere, i.e. yielding another function that's a (left) anti-derivative of the constant function 1. (Actually, I didn't check carefully whether one needs to weaken to left differentiability to fix your example or right differentiability, so please adjust accordingly.) This direction of the discussion has a natural extension to multi-variable functions, in which directional derivatives are considered, but that's a good deal trickier, until you start learning measure theory, and then you only concern yourself with differences between functions on sets of positive measure. For the example in the video, the function domain certainly has positive measure, so the pseudo-constant need only have zero derivative on a set whose complement has zero measure, and the example Dr. Bazett described certainly fits the bill, but your example isn't quite there because your attempt to build a pseudo-constant (without you calling it that...) doesn't yield a function that's almost everywhere (except on a set of measure zero) constant. A lot of variation is available, as long as you're willing to weaken some things here and there and be quite careful, which this video points out is apparently not quite the goal of calculus text authors.
@phiefer3
@phiefer3 2 года назад
@@sunruiheng4255 I believe the reasoning would be that your derivative function is continuous at the boundary point between the 2 intervals, this would require the antiderivative to also be continuous there as well. If in your example you made C1 and C2 be different then the function would not be continuous at n, and as a result the derivative of this piecewise function would not be defined at n, so the derivative in that case would be f'(x) = 1; x /= n I think this is what Dr. Trefor Bazett meant in his response. Yes, you defined x=n in your antiderivative, but he said that x=n would not be defined in the derivative (due to the discontinuity of the antiderivative). And additionally yes, you could make a piecewise function like the f(x) in your initial post if you wanted, there's nothing wrong with that. The only issue here is that the derivative of such a function would not be f'(x) = 1, and therefore it's not an antiderivative of f'(x) = 1.
@chedddargoblin
@chedddargoblin 2 года назад
Can’t we do this with any function that has a discontinuous interval? If f(x) is the antiderivative of f’(x) on (-inf,a) and (a,inf) then you can make a piecewise solution like f(x)+C xa?
@DrTrefor
@DrTrefor 2 года назад
Yup!
@andyonions7864
@andyonions7864 2 года назад
The sum of the squares of the shorter two sides of a right angle triangle are equal to the square of the hippopotamus.
@JonathanMandrake
@JonathanMandrake 2 года назад
I feel like it's much more sensible to define the function F only for positive (or, if necessary, nonnegative) numbers, since you can't even integrate over 0, so either way you get one or two integrals from 0 to some x, and only the sign needs to be determined.
@DrTrefor
@DrTrefor 2 года назад
While it’s true you can’t do a proper integral over 0, with absolute values you can still integrate from say -2 ti -1
@ieatgarbage8771
@ieatgarbage8771 2 года назад
Oh yea i asked my math teacher about this like 8 months ago and he just said “yea that’s right” and moved on. My thought process was just that infinity minus infinity is required to integrate from -1 to 1, and that’s indeterminate, so it could just be any value, and there’s not much information you could get from integrating on that interval anyways
@chriszablocki2460
@chriszablocki2460 2 года назад
I just assume everybody is lying to me, anyway. I'm rarely pleasantly surprised and wrong. 🤔
@sheungmingchoi6804
@sheungmingchoi6804 2 года назад
This is an illustrative example about the need to handle calculus with care. Ignoring conditions behind methods/formulae could lead to invalid/meaningless results.
@Kokurorokuko
@Kokurorokuko 2 года назад
Very interesting. But that works for any indefinite integral, doesn't it? integral of 2xdx is x², but it can also be system of x² + 1 for x 0.
@DrTrefor
@DrTrefor 2 года назад
I’m that case it wouldn’t be differentiable at 0
@noway2831
@noway2831 Год назад
Imo the complex-valued logarithm solves a lot of these problems. ln(-x) = i pi + ln(x) (principal branch) and i pi is a constant function (assuming your domain does not include zero)
@Czeckie
@Czeckie 2 года назад
frankly, asking for the antiderivative on a disconnected domain is not a well-posed question. If we were in C then we can discuss the nature of the point singularity and this basic example is already connected to such involved ideas like analytic continuation and monodromy.
@Amy-mo9ki
@Amy-mo9ki Год назад
Thank you! I learned!
@leefisher6366
@leefisher6366 2 года назад
0:09 - Yes, I was taught this. In particular when X=cabin, the integral of an inverted cabin is a log cabin. Sorry, I was forgetting the C. Log cabin plus sea... a house boat.
@martind2520
@martind2520 2 года назад
What about the antiderivative of 1/z, where z is a complex number?
@magic8ball237
@magic8ball237 Год назад
this is also the case for integral of 1/x^2 right? We can move the pieces of the resulting -1/x similarly to how we did it here. If this reasoning doesn't hit a wall somewhere, then we have a BUNCH of functions where the anti-derivative has at least two degrees of freedom.
@DrTrefor
@DrTrefor Год назад
exactly! Any time the domain is disconnected like this it works
@masonskiekonto590
@masonskiekonto590 Год назад
Couldn't the same argument be made about ANY functions with discontinuity in the domains? That is, if a function is continuous on open intervals then each interval can have a unique constant and the derivative would still match the whole domain. In this sense, it's not that ln|x| is technically incorrect, but every function with discontinuity is, as well as ln|x|.
@polymathmaktaba9092
@polymathmaktaba9092 2 года назад
The same could be done to any function. Anti derivative of f(x)=1 is then not x+C either, because you could break it up anywhere and shift the parts up or down...
@sjth2497
@sjth2497 2 года назад
But then the anti derivative won't be continuous at the point where you change constants so you won't be able to take a derivative there. This doesn't matter for integrating 1/x or any 1/x^k (k >= 1) as they're not defined at zero so do not need to be differentiable there. So as long as we have a hole to take advantage of, we can put in a split and make it so that the resulting non-differentiable point lines up with the original undefined point.
@polymathmaktaba9092
@polymathmaktaba9092 2 года назад
@@sjth2497 oh right. Thanks for the correction.
@captainchicky3744
@captainchicky3744 2 года назад
I can use the same argument by splitting a discontinuous antiderivative at its discontinuity into a piecewise and then adding different constants 🤷‍♂️
@marshallsweatherhiking1820
@marshallsweatherhiking1820 Год назад
In general, whenever you have a finite number of discontinuities you can use a different C for each continuous part of the domain. If the number of discontinuities is infinite then you have an even bigger family of antiderivatives.
@Seltyk
@Seltyk 2 года назад
This sounds like making calculus complicated just for the sake of being technically correct. Wouldn't a sane person just write two integrals, one for +x and one for -x?
@gregsouza7564
@gregsouza7564 2 года назад
ln(-x) is equal to ln(x) +i*pi i*pi is a constant, you don't need abs val
@Kuratius
@Kuratius Год назад
Another cool thing is the constants don't have to be real. Try -2*i*arctan(exp(ix)) and integral of sec(x) for example. Though I've been told that asking a student on an exam if the former is an antiderivative of the latter amounts to torture.
@Szynkaa
@Szynkaa 2 года назад
that's amazing, and i feel little ashamed i didn't notice it before. For me math has to be as strict as possible, so i dont care if it will be now more messy for me, i will start taking care of these indefinite integrals of functions that have some "breaks" in domain
Далее
Why hyperbolic functions are actually really nice
16:03
so you want a VERY HARD math question?!
13:51
Просмотров 1 млн
5 counterexamples every calculus student should know
15:51
The Problem of Traffic: A Mathematical Modeling Journey
34:09
The mystery of 0.577 - Numberphile
10:03
Просмотров 2 млн
The Bernoulli Integral is ridiculous
10:00
Просмотров 683 тыс.
Why is calculus so ... EASY ?
38:32
Просмотров 1,5 млн
An Exact Formula for the Primes: Willans' Formula
14:47
The reason you should shuffle 7 times
19:27
Просмотров 82 тыс.
The Dirichlet Integral is destroyed by Feynman's Trick
8:15