Gauss's magic shoelace area formula and its calculus companion

  Рет қаралды 199,501

Mathologer

Mathologer

Күн бұрын

Пікірлер: 435
@Mathologer
@Mathologer 7 жыл бұрын
I actually stumbled across this beauty a couple of years ago while pondering some mathematics relating the the real lacing of shoes :)
@jonathanfowler2932
@jonathanfowler2932 7 жыл бұрын
Mathologer That's pretty funny. I'd be interested to know what maths you were doing related to tying shoelaces.
@Mathologer
@Mathologer 7 жыл бұрын
First one in the second row :) www.qedcat.com/books.html
@jonathanfowler2932
@jonathanfowler2932 7 жыл бұрын
Mathologer Thanks! :D
@sansamman4619
@sansamman4619 7 жыл бұрын
it's flower....
@bendalton4123
@bendalton4123 7 жыл бұрын
Mathologer Great video. It's very concerning to me that US math education in K-12 does not require the rigor of mathematical proofs any longer. It seems that we are only teaching the utility of mathematics and not it's beauty.
@AlexRuiz-dj8nj
@AlexRuiz-dj8nj 6 ай бұрын
I really have been amazed by this demonstration. I am a student from Spain and have done a work regarding this problem. By taking some examples and taking them to practice, I have discovered something. Its actually a doubt. It is explained than when we move in the clockwise direction, the area of the triangle obtained is negative. Thus, when xi > xi+1 the area will be positive, whereas when xi < xi+1 the area will be negative. However, if we demonstrate the working of a polygon whose vertices are (8,10) (2,14) (-6,12) (-4,4) (4,2) [Just for giving an example of it], we obtain a different result. When searching for the area of the triangle(-6,12) (-4,4) (0,0), it gives that the area is positive even when xi < xi+1. Now my question comes, ¿when does the "counter-clockwise direction" concept work? When looking for "how" it works, it is simple to understand that when a triangle overlaps another one, its area is subtracted. But how can we express in a "mathematical" way its functioning.
@amicloud_yt
@amicloud_yt 7 жыл бұрын
Consider my mind blown. I've seen the integral that was discussed but I never knew the maths behind it! What an awesome piece of math and a great explanation.
@ryankoepke5525
@ryankoepke5525 7 жыл бұрын
Im constantly blown away by how awesome calculus is! I love this place and how you explain complex ideas in such simple ways. I appreciate you guys for the joy I get from this.
@sanchousf
@sanchousf 7 жыл бұрын
Nice. Also you can use triple product (determinant of 3x3 matrix) divided by 6 to calculate volume
@Mathologer
@Mathologer 7 жыл бұрын
Absolutely :)
@pmxi
@pmxi 2 жыл бұрын
does this extend into further dimensions?
@completeandunabridged.4606
@completeandunabridged.4606 7 жыл бұрын
Couldn't you split up any shape that intersects itself into other shapes then use the shoelace formula?
@Mathologer
@Mathologer 7 жыл бұрын
Sure :)
@completeandunabridged.4606
@completeandunabridged.4606 7 жыл бұрын
Mathologer Nice ;)
@anon6514
@anon6514 7 жыл бұрын
As long as you can figure out what the functions for the sub-shapes are.
@completeandunabridged.4606
@completeandunabridged.4606 7 жыл бұрын
But all you need to do is find out the co-ordinates. With the cat shape Mathologer didn't figure out the functions for the cat, so why should you do so with the sub-shapes?
@anon6514
@anon6514 7 жыл бұрын
When they were line segments, yes. But with the deltoid, there was a function for the x coordinate of a given point and a function for the y coordinate. If I took the deltoid and arbitrarily cut a line through it, You would either need a new function for the new shape, or put further constraints on t. If they're line segments, you only need to know the coordinates of the point of intersection.
@sebastiangutierrez6424
@sebastiangutierrez6424 7 жыл бұрын
There's no better way to start my day than watching the new episode of Mathloger!!! You did a great job, as always. Is there any way to get your T-shirts ??? By the way I would love to see a collaboration between you and 3 blue one brown, you guys are really good for explaining super nice math to everyone !
@ReubenMason99
@ReubenMason99 7 жыл бұрын
That would be amazinh
@sebastianportalatin5658
@sebastianportalatin5658 7 жыл бұрын
I think they already did... Well, kinda. 3Blue1Brown didn't actually get into the video, but I they did collaborate.
@scitwi9164
@scitwi9164 7 жыл бұрын
When I first saw the shoelace of coordinates, I instantly thought *determinants* , and immediately after: areas of parallelograms, and then halves of them = triangles connecting each pair of coordinates - the triangles the entire shape can be built of. It also reminds me of a clever device once used by geometers and map makers, called the *planimeter* . It was made of an arm with a roller which drove a little wheel with a scale. The user was supposed to track the contour of the area with the stylus attached to the end of the arm, and then the roller accounted for the area described, depending on the angle of the arm of the device and the speed it was drawn on the paper. When the user traced the entire closed contour, the planimeter's wheel displayed the area inside that contour. The principle of operation of this device was based on the extension of this shoelace formula, called *Green's Theorem* , which uses calculus to convert contour integrals to area integrals of the region inside that contour and vice versa, basing exactly on the same principles. Nevertheless, that shoelace trick is a cool way to speed up the calculations and avoid mistakes, so thanks for that ;)
@PrincessEev
@PrincessEev 7 жыл бұрын
What a nice birthday gift for me. ^_^ I started using this formula back in high school geometry just to annoy the teacher and save time; I never expected to start using its cousins later on (e.g. determinants, cross-products - which don't really involve the 1/2 but I always thought in terms of the shoelace formula), even in college. I just realized I never considered its derivation despite using or considering it so much; so yeah, thanks for the birthday gift. :p Keep up the good work. I love your videos. :D
@certainlynotthebestpianist5638
@certainlynotthebestpianist5638 7 жыл бұрын
Happy birthday from me too then :)
@bobdarbo7801
@bobdarbo7801 7 жыл бұрын
Daniel Chaviers happy birthday
@RealMikeDobbs
@RealMikeDobbs 7 жыл бұрын
This video is so well done, you completely blew my mind! I've seen a number of explanations of this formula over the years, but never one so clearly laid out and so intuitive. Bravo!
@Mathologer
@Mathologer 7 жыл бұрын
Glad this worked for you :)
@hansulrichkeller6651
@hansulrichkeller6651 Жыл бұрын
Liked both your perfect explanations to the shoelace formula and its continuous counterpart! It's great to listen to you!
@tom7
@tom7 6 жыл бұрын
Very good one! I had never seen (or completely blocked out) this formula before.
@stuffedk
@stuffedk 7 жыл бұрын
If a curve intersects itself, I think the area after the intersect will be counted as negative.
@martinepstein9826
@martinepstein9826 7 жыл бұрын
I agree. So the formula should work for the shape as a whole as long as you switch direction when you reach an intersection so that you're still going counterclockwise around the interior.
@certainlynotthebestpianist5638
@certainlynotthebestpianist5638 7 жыл бұрын
And to get rid of this problem you should simply proceed to the next point not by intersecting, but by bouncing - then only the problematic point will make a not-quite-intersection
@blavek
@blavek 7 жыл бұрын
I don't think that you can just bounce to the next point you still must account for the intersecting point otherwise you you are creating a different and in this case external triangle which would be added to the area. So yes you need to bounce as you put it but you also must know the point of intersection to to change your rotation.
@wesleymays1931
@wesleymays1931 2 жыл бұрын
But then, how do you decide which pieces of the self-intersecting shape are negative? Is it just whichever one (or ones) would result in a positive area? If there's multiple sets of pieces which do that, which one is the "correct" set?
@pauselab5569
@pauselab5569 6 ай бұрын
@@certainlynotthebestpianist5638 you could use the same method as riemman integrating curves and just redefine the function between intersections.
@jonathanfowler2932
@jonathanfowler2932 7 жыл бұрын
This is fucking awesome. I can't believe I've never heard of this before!
@nujuat
@nujuat 7 жыл бұрын
Jonathan Fowler same
@thebackyardmovies
@thebackyardmovies 7 жыл бұрын
What'll really blow your mind is that you can do a similar thing for triangulated 3d objects. Ie. you can break up the shape into tetrahedra and calculate the volume of each and therefore know the volume of the entire object
@galgrunfeld9954
@galgrunfeld9954 7 жыл бұрын
thebackyardmovies It's probably possible to do it to any hyperpolygon of dimension k
@Tehom1
@Tehom1 7 жыл бұрын
thebackyardmovies The shoelace volume calculation works, but it's worth noting that you can't neccesarily tetrahedronalize a volume, though you can always triangulate an area (in both cases assuming it has linear boundaries). It still works because you can handle negative volumes.
@brunoandrades5530
@brunoandrades5530 6 жыл бұрын
Same
@ksheer
@ksheer 7 жыл бұрын
love all your videos! it has helped me revive my interest in mathematics since after uni!
@Mathologer
@Mathologer 7 жыл бұрын
That's great ;)
@drgatsis
@drgatsis 2 жыл бұрын
This brings back nice memories! Thanks so much :) If first came across the formula doing math contests in middle school. Then derived it when after learning coordinate geometry in high school. Finally came full circle in uni with Gauss.
@jonathanb1897
@jonathanb1897 7 жыл бұрын
Very interesting and fascinating video. Guess I've never seen such a relatively easy formula with such a beautiful​ visual proof. Well done!!
@caroldefreese5499
@caroldefreese5499 7 жыл бұрын
What an excellent video-- you've done a masterful job of using visuals to move from the strict procedure of the shoelace formula to the geometric concepts behind the formula. Loved it!
@johankotze42
@johankotze42 4 жыл бұрын
Good day. I find this fascinating, and I have actually used this in an actual, practical application in an open cast mine. If you go clockwise, the sign is negative but the absolute value is the same. I used this to determine from location data (GPS) whether a truck was loaded to the left of a rope shovel, or to the right. The input is three coordinates (x and y) for a shovel, it's dig-point and the place where the truck was when loaded. It has an enurmous impact on shovel tonnes per hour if the shovel loads one truck left and the next right and so on. It gives the next truck time to position itself on the other side, meaning there is less shovel time wasted by the truck positioning itself.
@richardschreier3866
@richardschreier3866 7 жыл бұрын
Another delightful nugget of knowledge infused with insight and garnished with fun. Thanks Mathologer!
@dong8912
@dong8912 3 жыл бұрын
7 years ago I was taught how to apply the shoelace formula in coordinate geometry class, but was never shown why it actually works. Cant believe i missed out on such a gorgeous explanation and proof that explains why the formula works :)
@martinhaub6828
@martinhaub6828 7 жыл бұрын
When I taught computer programming, using this method (in the CRC book) was a always a favorite of students who were delighted to learn something most of their math teachers didn't even know. The animations sure make the "why" easier to understand.
@Mathologer
@Mathologer 7 жыл бұрын
It's a shame that this method is not more widely taught :)
@alexeisaular2844
@alexeisaular2844 7 жыл бұрын
excelent video, I know the shoelace formula from some weeks ago and I have my interest in knowing where this comes from and your video comes from heaven with the answer
@gameryl3900
@gameryl3900 2 жыл бұрын
Great video! You make the shoelace method so easy to understand. Thank you!
@origamikatakana
@origamikatakana 7 жыл бұрын
This is amazing! I understood all of the math that comes together to prove the formula already, but you put it all together in a way that explains it very nicely.
@pyrophysics2945
@pyrophysics2945 7 жыл бұрын
I Gauss the shoelace formula is pretty cool
@sansamman4619
@sansamman4619 7 жыл бұрын
hehepothesis hehe, get it :D!
@joelhaggis5054
@joelhaggis5054 7 жыл бұрын
Please stop
@abstractapproach634
@abstractapproach634 6 жыл бұрын
@@joelhaggis5054 Eulereally don't have a sense of humor do you? Rieman calm, either you Cantor won't recognize how Godel damn good that pun was. Maybe you have Tychonoff your glasses or maybe Urysohn drugs. Either way you should edit your comment a Titze bit, to be more polite. Nashtag mathematician puns.
@aphraxiaojun1145
@aphraxiaojun1145 3 жыл бұрын
@@abstractapproach634 This comment shouldnt exsist, its to complex
@danildmitriev5884
@danildmitriev5884 7 жыл бұрын
A clear and intuitive explanation of an amazingly useful and beautiful formula - it's just perfect! I also liked how you show the connection between calculating areas and matrices :) I presume that most students, when first encountering linear algebra, think that it's not that intuitive, useful or even simply neat. However, this video manages to show how even pretty basic stuff from linear algebra is connected to something we are used to from childhood. And it gives one extra bit to a general understanding of how deeply interconnected mathematics is. Fascinating :)
@louisthurston3067
@louisthurston3067 6 жыл бұрын
This one I truly loved. The explanation as cross product made it clear why it works
@KaasGrater
@KaasGrater 7 жыл бұрын
Very nice video. The solution to the self intersecting curve is that the second curve is evaluated in the clockwise direction so the area is counted negatively. Thus area = area anti-clockwise - area clockwise.
@Mathologer
@Mathologer 7 жыл бұрын
Exactly :)
@thesinglemathnerd
@thesinglemathnerd 7 жыл бұрын
This is the most beautiful thing I have ever seen in the world of mathematics
@diana-
@diana- 3 жыл бұрын
Thanks! You turn Maths into Magic with your intriguing logic. Much appreciated!
@Adam-rt2ir
@Adam-rt2ir 7 жыл бұрын
that integral formula is also the consequence of Green's theorem
@Mathologer
@Mathologer 7 жыл бұрын
Yes, that's how it is usually presented and that's also the way I was taught this formula first :)
@alkankondo89
@alkankondo89 7 жыл бұрын
Thank you both for this insight. I have been casually reviewing some vector Calculus material and just happened to be going over Green's Theorem yesterday.
@sliver170
@sliver170 7 жыл бұрын
I'm glad to see it taught this way. I never fundamentally understood the area formula for closed curves until now, and I've known it for about 7 years. You're never done learning!
@alkankondo89
@alkankondo89 7 жыл бұрын
+Eli Berkowitz Thanks for your proof! It took a couple days for me find time to sit down with a clear head and read through it carefully, but I appreciate how carefully you laid it out and took time to explain each step.
@sibsbubbles
@sibsbubbles 5 жыл бұрын
Ah! I was wondering this after I saw the special integrand...vaguely stirring up some Calc III memories of areas and parametric functions; always enjoyed the 3D shapes and graphing those. Cool to see this explained this way. Made a lot more sense.
@MrGiuse72
@MrGiuse72 3 жыл бұрын
Hi ! I had been playing with the shoelace formula derivation and geometrical meaning for 3 days.....did grasp only a few aspects but most of them still seemed evasive.... THIS LESSON is so satisfaying !! THANKYOU VERY MUCH .....the only thing I just feel a bit beaten by not being aneble to come throough these topics on my own.
@Tehom1
@Tehom1 7 жыл бұрын
Self-intersecting curves: ISTM the shoelace formula is a little more robust than that. The reason it doesn't agree with the apparent area of the self-intersecting curve as colored at 3:20 is that the coloring is, well, wrong, or at least hard to justify. There's no point at the "X" between the fish head and fish tail. So - let's pick one of the X-crossing lines, say the top of the head/bottom of the tail. Since there's no point at the X crossing, the inside vs outside direction of the line shouldn't change. But it does. Walking along the line, the inside of the fish head becomes the outside of the tail. The coloring, of course does not keep up with that switch. It would be hard to draw if it did. If you try to make it consistent, the outside of the fish (the common-sense outside) should stay white and the tail should be the negative of the inside color, whatever the negative of a color is. The shoelace formula gives exactly that result: tail is negative. So it holds up. What if we do put a point at the X? Then the fish coloring becomes more reasonable, but the shoelace formula runs into a problem - or rather, an ambiguity. There are two ways for the curve to go around both the head and the tail. We always start counterclockwise from the head. We can then go clockwise around the tail or counterclockwise. If we go clockwise, the tail is negative area again. So the formula gives two different answers, and they can't both be right. The problem is that our point at X is doing too many things; it's joining too many lines. To remove the ambiguity, we can say that X is really two points in the same position, or N points if N lines are crossing or 2N line segments are intersecting. Then we insist that the common-sense coloring area and the shoelace formula agree about which line segments meet at which points, and voila, they agree again. The common-sense coloring area may have to be negative in some places if we choose poorly, but it will agree with the formula. This idea comes up in computer graphics, but you probably knew that.
@benjaminnewlon7865
@benjaminnewlon7865 5 жыл бұрын
SPOILERS!!
@anoopramakrishna
@anoopramakrishna 7 жыл бұрын
Really interesting. The best part was that you answered every question that came to mind as I was watching! I tried to solve for the area of the triangle with vertex at the origin by breaking the triangle into two parts, each with base along one of the two coordinate axes, and taking the difference of the two triangles just to convince myself that the visual method you showed really matches :), of course, it works!
@Mathologer
@Mathologer 7 жыл бұрын
:)
@georgeorourke7156
@georgeorourke7156 7 жыл бұрын
Great pedagogy - your videos are a pleasure to watch because of the clarity with witch you expalin things. By the way the fellow's name to the left is Gauss; he is a 5 years old Weimaraner Retriever. He lives with a German Short Haired Pointer call Newton, also 5. Together they claim that F = MA (Fulfillmennt = Mathematics x Acuity) which I agree with and so must you.
@moonie11027
@moonie11027 7 жыл бұрын
Thank you for explaining the reason behind parallelogram's area being equal to the determinant of two vectors. In my school we were just forced to memorize it without understanding why it's true.
@xatnu
@xatnu 7 жыл бұрын
It was a fun excercise to find the contour integral for the area from the polygonal approximations. Thanks for the mental stimulation, I look forward to the next video :)
@anandarunakumar6819
@anandarunakumar6819 Жыл бұрын
Nicely demonstrated. It serves as a great supplement to Theorema Egregium and Gauss Bonnet theorem of simple closed curves on surfaces!
@guilemaigre14
@guilemaigre14 7 жыл бұрын
For the twist, with your visualisation trick, we can see that the area in the tail will be counted as negative area. So you won't get the right answer when summing it up. In the end, it is because the tail is counted clockwise, and not anticlockwise.
@skpathak5804
@skpathak5804 5 жыл бұрын
We
@andersyu4464
@andersyu4464 5 жыл бұрын
T
@RozzmanLists
@RozzmanLists 5 жыл бұрын
Dear Sir, you have the most beautiful style of explaining mathematical connections and relations. Very clear, very easy to follow and to top it all: very entertaining! Thank you for your videos :-)
@davidrheault7896
@davidrheault7896 7 жыл бұрын
I love your animations. I wish I could have done the same kind of thing on my channel You are brilliant and very creative at finding new ways of explaining things
@excellent1112
@excellent1112 3 жыл бұрын
If the loop self-intersects, then the shoelace formula gives the area of each "sub-loop", where the area of the "sub-loops" that run counter-clockwise are counted as positive, and the area of the "sub-loops" that run clockwise are counted as negative.
@theboombody
@theboombody 2 жыл бұрын
The Wikipedia article on this theorem is surprisingly missing a lot of justification. Your video filled in a lot of the blanks. So thank you. The part starting at 4:30 was incredibly helpful to me.
@michalbreznicky7460
@michalbreznicky7460 5 жыл бұрын
People familiar with basic CGI algorithms would likely come up with a different variation of the proof that doesn't need the generalised formula for the triangle area. TL;DR: Instead of (0,0) assume a point at (-inf, 0). A simple algorithm for a polygon flood fill works as follows: * Remember a number for each pixel on your screen, initialise that number to zero for every pixel. * For each segment (x(j),y(j)) -> (x(j+1),y(j+1)) do this: * If y(j) < y(j+1), then add 1 to all pixels to the left of that segment (i.e. all pixels with y(j) < y < y(j+1), 0 < x < line(y)). * If y(j) > y(j+1), subtract 1 from all pixels to the left of that segment. At the end, each pixel will have a value of 0 if it is outside the polygon, and a value of 1 if it is inside. This is because a pixel that has an odd number of segments to its right must necessarily be inside, and one with an even number of lines to its right must be outside. (Side-note #1: In fact, you don't need to remember an integer for each pixel, you need just one bit to store the parity. Side note #2: The algorithm can thus be implemented as a repeated line-wise XOR. The video memory is stored line-by-line, which makes the algorithm efficient). To finish the proof: In each step, the area to the left of a line-segment corresponds to a quadrilateral that can be obtained by gluing together a triangle with an area of y((j+1)-y(j))*(x(j+1)-x(j))/2 and a rectangle with an area of (y(j+1)-y(j))*x(j). When you sum this over j and simplify, you get the shoe-lace formula. Incidentally, each quadrilateral can be considered a truncated triangle with a third point at (-inf, 0).
@NikolajLepka
@NikolajLepka 7 жыл бұрын
my intuition tells me that the intersection causes the direction of the sweep to flip, which means the tail of the fish would be subtracted from the body of the fish, leaving the area of a triangle; and similarly the left hand side of the infinity symbol would just cancel out the right hand side, leaving an area of 0
@brucebehymer3400
@brucebehymer3400 7 жыл бұрын
Yes, at least in general the area inside the curve to the left of the intersection become negative. Using the sweeping radius illustration shows this. So, the result is the difference between the two closed areas.
@briankaplan4456
@briankaplan4456 6 жыл бұрын
thats true i made a mistake doing this formula by going out of order making the shape intersecting and every time i got the answer 0
@AlanKey86
@AlanKey86 7 жыл бұрын
The animations are fantastic. Great video!
@gatn71
@gatn71 7 жыл бұрын
That is amazing. Never heard of this formula before and very easy to follow.
@Mathologer
@Mathologer 7 жыл бұрын
:)
@AbuSayed-er9vs
@AbuSayed-er9vs 7 жыл бұрын
Mathloger I really love you so much to bring me one more pretty cool tool to find area of curves without using integration (at least directly).I know two more tool which are 1) Pick's theorem and 2) Monto Carlo methods.Please make a video with collecting all cool tricks to find area of curves without integration.
@ivandrofly
@ivandrofly 3 жыл бұрын
this is the best explanation so far...
@masterspark9880
@masterspark9880 Жыл бұрын
Ooooh that’s why determinants are calculating like that! It always felt so arbitrary to me and only now it makes sense
@MrChewbee
@MrChewbee 7 жыл бұрын
You mathematicians are cheaters in the youtube game. Indeed, we need to watch several times your videos to understand it generating youtube money. Smart Guys!
@columbus8myhw
@columbus8myhw 7 жыл бұрын
Hm, if I watch "History of Japan" hundreds of times, does Bill Wurtz get a hundred times the money?
@MrChewbee
@MrChewbee 7 жыл бұрын
I do not know, but now I'm gonna watch it^^
@alexhansen7074
@alexhansen7074 7 жыл бұрын
columbus8myhw Depends on what advertisement you end up watching each time. The algorithms are pretty fascinating. But, on average, the revenue generated from watching 100 times should be roughly equal to 100 times the amount generated from a single view.
@scooterandbutch
@scooterandbutch 5 жыл бұрын
@@galoomba5559 100 times 0 is still 0, so yes it would be exactly a hundred times the worth
@falcotron739
@falcotron739 5 жыл бұрын
Let's say there's some math you don't know, and I want to profit off that fact. I could start a casino (if it's probability you don't know), or a real estate surveying scam (if it's geometry), or whatever… or I could create and monetize a Mathologer video. The only difference is that the casino is cheating you to steal your wealth, while Mathologer is cheating the universe to create wealth out of nothing. His profit comes from KZbin, their profit comes from advertisers, and the advertisers' profit is a lot more diffused and complicated but it must be there (they're getting a definite eyeball when they paid for just a likely eyeball-if that's not profitable, then advertising wouldn't exist), so everybody wins. Well, everybody wins unless we're connected to an economic anti-universe, where all of our value production counts as value destruction to them, and vice-versa. In which case, any patriotic citizen of our universe should try to make Mathologer as much money as possible, because screw those anti-universe guys.
@electronicfeelings5832
@electronicfeelings5832 6 жыл бұрын
I really like that finding the area of a polygon can be translated as calculating the determinant of N 2 by 2 matrices.
@earthbind83
@earthbind83 7 жыл бұрын
Nice explanation! I admit I was too lazy to try to understand everything regarding integrals, because at school we never worked with curves where x and y depend on t (much less using such functions in combination with geometry), but I like that you put difficult parts into your videos as well.
@ryanyang3347
@ryanyang3347 4 жыл бұрын
That's cool. I've always wondered why shoelace work. We can let the area of a triangle with vertices (0,0), (a,b), (c,d) = area of triangle with vertices (0,0) , (1,0), (0,1) times determinant of a,c,b,d using the geometric interpretation of the matrix. which gives 1/2 * det(a,c,b,d)
@emlmm88
@emlmm88 7 жыл бұрын
Please continue to do these vector calculus/differential geometry videos. Very enjoyable.
@GergoErdi
@GergoErdi 7 жыл бұрын
The continuous version is a special case of Green's theorem, the same special case used to implement mechanical planimeters. I think you could fill half an episode with the planimeter.
@michakuczynski2987
@michakuczynski2987 7 жыл бұрын
I would be super happy if you could make a video on Stokes and Gauss theorem. Your visual explanation of Greens theorem is unforgettable and I'm sure you will be able to make a video accessible to a large public and especially useful for maths students, just like this one! All the best :)
@Mathologer
@Mathologer 7 жыл бұрын
That would definitely be a great topic to cover. We'll see :)
@you_tube618
@you_tube618 7 жыл бұрын
One of the best so far.
@dr.rahulgupta7573
@dr.rahulgupta7573 3 жыл бұрын
Excellent presentation of the topics. vow !!
@barfyman-362
@barfyman-362 6 жыл бұрын
If you've done linear algebra it makes this so much easier to grasp
@BlackXxScopez
@BlackXxScopez 6 жыл бұрын
man I love these videos - what's cool about this problem is you can use it to tell which direction a 3D face is facing.. Don't ask me how, but I managed to use this to cull objects facing away from you in my 3D engine. I wonder if there's a better way?
@maxdewaele9660
@maxdewaele9660 7 жыл бұрын
Where do you find all these awesome shirts? Do you have them made specially? If so, I'm sure your audience would be interested in buying a bunch.
@mrmeowtv6248
@mrmeowtv6248 7 жыл бұрын
A nice little throw back to Calc III, thanks Mathologer.
@joseluisgerman1906
@joseluisgerman1906 6 жыл бұрын
These explanations are amazing!
@criscabreras
@criscabreras 7 жыл бұрын
Awesome video and explanation!!
@estuardodiaz2720
@estuardodiaz2720 7 жыл бұрын
Some time ago I wanted to understand what that integral symbol with the circle ment, so I read about it in the internet and didnt get it. Now with this video its very easy to understand it in an intuitive way. So I finally got it :D Thanks!! @Mathologer for the great videos! Also, I love the shirt with the quantum cat xD
@atharvas4399
@atharvas4399 7 жыл бұрын
Is the formula at 12.45 the way to find areas for parametric polar curves in calculus? Because it is definitely something i've never seen before.
@EADgbeist
@EADgbeist 5 жыл бұрын
Production quality is amazing. Note, subtraction was (obviously) intended at 5'20".
@adamdorsey3569
@adamdorsey3569 5 жыл бұрын
Are you sure it is obvious?
@ganaraminukshuk0
@ganaraminukshuk0 6 жыл бұрын
Watching this video just now and I can see a computer algo using this formula, but at the last step, you perform an absolute value function on it so that the direction you traverse the path no longer matters, or rather, the algo doesn't need to know about directionality. Like, imagine a circularly linked list that holds X-Y coordinates for a closed loop (assuming no self-intersections and straight segments). Traverse said list using the shoelace method and find its absolute value to find the area. I oughta try that, actually.
@FF-pv7ht
@FF-pv7ht 7 жыл бұрын
In other quadrants you might get a problem with + and - , but that can just be avoided by moving the curvestructure itself into one quadrant alone, right? And does the infinitesimal approach work for the selfintersecting curves, or do you need to take two integrals and add the absolute values?
@FF-pv7ht
@FF-pv7ht 7 жыл бұрын
btw, this is and 3Blue1Brown are the absolute best math channels on youtube, keep up the great work, you are doing more here than my professors do in four lectures
@MrSigmaSharp
@MrSigmaSharp 7 жыл бұрын
"If you can't explain it simple you don't understand it." You certainly understand math perfectly!
@forthrightgambitia1032
@forthrightgambitia1032 3 жыл бұрын
Just from inspection, the self intersecting curves will produce a signed area opposite to the at the point at which they 'flip'. This is because the point of intersection changes the clockwise direction to the bottom of the area and the anticlockwise negative to the top - or vice-versa thus reversing the signs of the areas flipped.
@probably_crater
@probably_crater 7 жыл бұрын
This is one of my favorite videos.
@nimaatashi7281
@nimaatashi7281 7 жыл бұрын
Excellent video! Loved it
@zubmit700
@zubmit700 7 жыл бұрын
Love your explanation. Thanks!
@NaHBrO733
@NaHBrO733 3 жыл бұрын
In a self intersecting diagram/curve, going through the dots is not always in clockwise/counter-clockwise. Add a point to the intersection point (this will not change the result calculated) and the shoelace formula now goes clockwise for one part and counter-clockwise for another. The result is exactly the difference of the area of two parts. Generally, for a self intersecting loop, point out all the points including the intersections. Draw out the loop from any point counter-clockwise. The areas which you passes the dots clockwise will be negative, otherwise it's positive. The result of the formula will be the sum of all those positive and negative numbers, not the actual area and expected to be smaller than actual.
@scurty2
@scurty2 6 жыл бұрын
It looks like for intersecting curves, you can split the problem up into multiple shoelace problems by creating new points at the intersection points and calculating each sub area individually. I don't see why it wouldn't work, but it might not work in a general sense for an integral, just a finite, simple case of a small amount of intersection points.
@rohansharma1250
@rohansharma1250 7 жыл бұрын
Can you do a video on godels incompleteness theorem ?
@alexwang982
@alexwang982 7 жыл бұрын
Rohan Sharma YEAH!
@shaktiprasannachand4319
@shaktiprasannachand4319 7 жыл бұрын
I think you watch numberphile well I understand that it was a bit clumsy. So an appeal from me too.
@rohansharma1250
@rohansharma1250 7 жыл бұрын
Shaktiprasanna chand Search undefined behaviour godels incompleteness theorem.That channel deserves way more views than it gets right ?
@SpiacyLos
@SpiacyLos 7 жыл бұрын
I really like the elegance of Gauss shoelace formula, especially since I learned how to use a similar approach to compute the center of gravity and moments of inertia of an area. If the area is A = 1/2 * sum(x_i * y_i+1 - x_i+1 * y_i) then the centroid coordinates are Cx = 1/(6*A) * sum((x_i + x_i+1) * (x_i * y_i+1 - x_i+1 * y_i)) Cy = 1/(6*A) * sum((y_i + y_i+1) * (x_i * y_i+1 - x_i+1 * y_i)) and the moments of inertia are Ix = 1/12*sum(((y_i)^2 + y_i * y_i+1 + (y_i+1)^2) * (x_i * y_i+1 - x_i+1 * y_i)) Iy = 1/12*sum(((x_i)^2 + x_i * x_i+1 + (x_i+1)^2) * (x_i * y_i+1 - x_i+1 * y_i)) Ixy = 1/24*sum((x_i * y_i+1 + 2*x_i * y_i +2*x_i+1 * y_i+1 + x_i+1 * y_1) * (x_i * y_i+1 - x_i+1 * y_i)) Every formula use the same expressions and it's enough to do a single sweep around the corners. Super useful in mechanics.
@Mathologer
@Mathologer 7 жыл бұрын
Very nice. I knew this at some point. Thanks for reminding me :)
@alexlee8353
@alexlee8353 4 жыл бұрын
YOUR SHIRT IS SO COOL!!!
@HollywoodF1
@HollywoodF1 3 жыл бұрын
As a Civil Engineering student in Surveying class, I realized that I could use cross-products of vectors to solve my area problems. It irritated my professor because I wasn’t following his approach, but he let me do it because the answers were always correct. As he begins to mention here when he brings up determinants, this shoelace format is just a slightly rewritten cross-product math approach.
@semicharmedkindofguy3088
@semicharmedkindofguy3088 7 жыл бұрын
If a curve intersects itself , the direction of traversal reverses from anticlockwise to clockwise. Therefore the area after the intersection is counted as negative.
@newkid9807
@newkid9807 5 жыл бұрын
Thanks stinky boy
@marouaneh175
@marouaneh175 7 жыл бұрын
Add two identical points to the place where the curve intersects itself, those two points can count as new vertices of a normal shape that doesn't intersect itself. The same goes for parametric shapes, when traveling along the curve and you hit an intersection, always chose the path that keeps the inside of the area to your left, in the case of the infinity shape, it's the one that has a non continuous derivative.
@TanerNilluhktaf
@TanerNilluhktaf 7 жыл бұрын
I lost the tracks at 8:35 where Mathologer explained negative areas. But understood calculus part. Ughr.. But why exactly do 'ab' and 'cd' flip? Is it because when calculating area of parallelogram on to vectors, we go from 'cd' to 'ab'? And how does it work with proofs by triangles you used earlier. There was a shortcut here and I feel it doesn't make sense.
@JustanApple96
@JustanApple96 7 жыл бұрын
Can this gentleman be my math professor? His voice is so soothing it feels like I'm listening to a bedtime story.
@untermann322
@untermann322 4 жыл бұрын
Aww, I wanted you to calculate Gauss' actual area
@andreychen6523
@andreychen6523 7 жыл бұрын
Is it true that when the curve is self intersecting, and you use the shoelace formula, you get the area of the convex hull? Also, nice video by the way :)
@n8likesmath
@n8likesmath 7 жыл бұрын
I just finished ap calculus in high school and being able to understand this blew my mind. My childhood has been a lie.
@Mathologer
@Mathologer 7 жыл бұрын
:)
@romanqc
@romanqc 7 жыл бұрын
I love ALL OF YOUR VIDEOS. MATH IS Beautiful!!!!
@DjVortex-w
@DjVortex-w 7 жыл бұрын
My intuition tells me that for self-intersecting polygons, the parts where the polygon winding reverses will subtract from the total area, rather than adding to it. I wonder if this can be taken into account in the algorithm.
@nujuat
@nujuat 7 жыл бұрын
With self intersecting curves, parts of the area will be traced clockwise and parts will be traced anticlockwise. We know that the anticlockwise area will be counted as positive, and this is added to the clockwise area which will be counted as negative, so the anticlockwise area will subtract from the clockwise area (if that makes sense). In particular with the infinity curve, you have both sides with equal area, but one side is positive and the other is negative, so the total area counted will be 0.
@curtiswfranks
@curtiswfranks 5 жыл бұрын
For a self-intersecting curve, the formula should yield the total net area enclosed by the corresponding simple curves which 'go' counterclockwise (clockwise boundary produces negative area contributions). This gives me flashbacks to contour integration in Complex Analysis and winding numbers.
@tsraikage
@tsraikage 3 жыл бұрын
what if fish had a vertice in the interdection point and i list it everytime i get to intersection while moving along the path?
@hglundahl
@hglundahl 7 жыл бұрын
Everything in shoelace formula as such, fabulous. Latter part of calculus, quééééééééééééééé?
@hglundahl
@hglundahl 7 жыл бұрын
Just one thing, since it involves pi, it cannot be arithmetic, it must be geometry of some sort.
@Rishi-he7hs
@Rishi-he7hs 5 жыл бұрын
Thank you sir!!! And I guess that if you apply shoelace formula to self intersecting curves you ALGEBRAICALLY add the areas will add in magnitude for one part and subtract in the other
@xatnu
@xatnu 7 жыл бұрын
With the fish and the infinity sign, there's no obvious way of orienting it. If you orient the head of the fish anticlockwise, the area calculated by this formula will be the area of the head minus the area of the tail, since the tail must have the opposite orientation. As for the infinity symbol, assuming it's symmetric, the contour integral will be zero, since the two areas are equal, and thus cancel out.
@yakov9ify
@yakov9ify 7 жыл бұрын
I am really intrigued as this can be extremely easily converted into an area calculating algorithm to be used by a computer.
@warmpianist
@warmpianist 7 жыл бұрын
For self-intersecting case, I tried several simple cases, and it seems like you need to determine the intersection coordinate. If that happens, I would have just used the shoelace formula 2 times. Do we really need to find the intersection? That's what I'm not sure.
@romanemul1
@romanemul1 7 жыл бұрын
does it apply also to determine the area between life and death ?
Pi is IRRATIONAL: animation of a gorgeous proof
23:20
Mathologer
Рет қаралды 753 М.
e to the pi i for dummies
15:51
Mathologer
Рет қаралды 3,3 МЛН
Cool Parenting Gadget Against Mosquitos! 🦟👶
00:21
TheSoul Music Family
Рет қаралды 16 МЛН
Kluster Duo #настольныеигры #boardgames #игры #games #настолки #настольные_игры
00:47
Every parent is like this ❤️💚💚💜💙
00:10
Like Asiya
Рет қаралды 26 МЛН
How not to Die Hard with Math
14:44
Mathologer
Рет қаралды 434 М.
The Kakeya needle problem (the squeegee approach)
16:46
Mathologer
Рет қаралды 571 М.
Euler’s Pi Prime Product  and Riemann’s Zeta Function
15:23
Mathologer
Рет қаралды 383 М.
Ramanujan's infinite root and its crazy cousins
17:17
Mathologer
Рет қаралды 1,3 МЛН
derive the catenary arch with minimal calculus
13:47
Sobermath
Рет қаралды 1,3 М.
Why did we forget this simple visual solution? (Lill's method)
26:14
Cool Parenting Gadget Against Mosquitos! 🦟👶
00:21
TheSoul Music Family
Рет қаралды 16 МЛН