The Goat Problem - Numberphile

Sdílet
Vložit
  • čas přidán 23. 12. 2022
  • Featuring James Grime... Check out Jane Street's "Puzzle Page" for great brain teasers www.janestreet.com/puzzles/ar... (episode sponsor)
    More links & stuff in full description below ↓↓↓
    This video features Dr James Grime: www.singingbanana.com
    His CZcams channel: / singingbanana
    More James on Numberphile: bit.ly/grimevideos
    Some papers about the Goat Problem...
    Return of the Grazing Goat in n Dimensions: www.jstor.org/stable/2686558
    A Closed-Form Solution to the Geometric Goat Problem: doi.org/10.1007/s00283-020-09...
    The Grazing Goat in n Dimensions: www.tandfonline.com/doi/abs/1...
    Numberphile is supported by the Simons Laufer Mathematical Sciences Institute (formerly MSRI): bit.ly/MSRINumberphile
    We are also supported by Science Sandbox, a Simons Foundation initiative dedicated to engaging everyone with the process of science. www.simonsfoundation.org/outr...
    And support from The Akamai Foundation - dedicated to encouraging the next generation of technology innovators and equitable access to STEM education - www.akamai.com/company/corpor...
    NUMBERPHILE
    Website: www.numberphile.com/
    Numberphile on Facebook: / numberphile
    Numberphile tweets: / numberphile
    Subscribe: bit.ly/Numberphile_Sub
    Videos by Brady Haran
    Animation by Pete McPartlan
    With thanks to our checkers, including János Pallagi
    Patreon: / numberphile
    Numberphile T-Shirts and Merch: teespring.com/stores/numberphile
    Brady's videos subreddit: / bradyharan
    Brady's latest videos across all channels: www.bradyharanblog.com/
    Sign up for (occasional) emails: eepurl.com/YdjL9
  • Věda a technologie

Komentáře • 1,5K

  • @f1f1s
    @f1f1s Před rokem +2630

    I love how mathematicians casually talk about goats grazing in 5 dimensions whilst frowning upon tangible real-world numerical answers...

    • @happy_labs
      @happy_labs Před rokem +381

      Engineer stops listening after hearing that it's about 1.15

    • @zlosliwa_menda
      @zlosliwa_menda Před rokem +191

      A physicist would probably just approximate the problem by a harmonic oscillator. And outrageously, it would probably work, somehow.

    • @peterfireflylund
      @peterfireflylund Před rokem +90

      @@zlosliwa_menda a harmonic oscillator moving in n dimensions and then taking the limit as n approaches 5.

    • @ericvilas
      @ericvilas Před rokem +87

      Math is less about reality and more about the beauty of equations and patterns. I love that about it

    • @JorgetePanete
      @JorgetePanete Před rokem +46

      @@happy_labs 1, take it or leave it.

  • @counting6
    @counting6 Před rokem +1319

    I love Dr Grime . His smile is infectious and it just makes me excited to learn more .

    • @Irondragon1945
      @Irondragon1945 Před rokem +25

      There's a reason his channel is called "singing banana"!

    • @ZaximusRex
      @ZaximusRex Před rokem +19

      @@Irondragon1945 It's because early on in his CZcams career his metamorphosis from sentient banana person to normal human person hadn't yet completed.

    • @Jreg1992
      @Jreg1992 Před rokem

      Yo his handwriting has punctuation :) such an expressive person

    • @johnjeffreys6440
      @johnjeffreys6440 Před rokem

      yeah, he doesn't deserve such a name.

    • @idontwantahandlethough
      @idontwantahandlethough Před rokem +1

      Right?! Dude just absolutely lives and breathes mathematics :)

  • @davidgillies620
    @davidgillies620 Před rokem +77

    Couple of friends of mine wrote a paper years ago on a generalisation of this problem and its connection to optimal siting of a radar jammer, or nodes in a mesh network to avoid mutual interference. It was called "On Goats and Jammers" and the technique used there was to split the problem into two integrals, one for the real part of the problem and one for the imaginary part (Shepherd and van Eetvelt, Bulletin of the IMA, May 95). The abstract says "The technique is a generalisation of the classical “goat eating a circular field” problem, which is resolved in passing".

    • @minjunekoo8303
      @minjunekoo8303 Před rokem

      Awesome!

    • @YjDe-qe8xt
      @YjDe-qe8xt Před 4 měsíci

      Are you saying this was (potentially) solved decades prior? I can't find the paper online (the ResearchGate page has nothing on it). A link to the journal archive would be appreciated.

    • @davidgillies620
      @davidgillies620 Před 4 měsíci +3

      @@YjDe-qe8xt Researchgate: "On goats and jammers", S. j. Shepherd and Peter van Eetvelt, University of Bradford, January 1995.

    • @YjDe-qe8xt
      @YjDe-qe8xt Před 4 měsíci +2

      @@davidgillies620 Doesn't work. When you try to download the paper all you get is a photo of the second author. The paper doesn't appear to be digitised anywhere else either unless it's in some obscure archive.
      It'd be neat to give those guys credit if they really got to the solution first. Maybe you could ask the authors to upload again to ResearchGate?

    • @davidgillies620
      @davidgillies620 Před 4 měsíci +1

      @@YjDe-qe8xt I'm afraid I've lost touch, this being thirty years ago now.

  • @PotatoMcWhiskey
    @PotatoMcWhiskey Před rokem +665

    I think Grimes is one of the best people featured on this channel
    Every video is a joy to watch

  • @matematicaspanish8301
    @matematicaspanish8301 Před rokem +251

    James Grime being friends with Graham Jameson is almost as impressive as the goat situation

    • @coloneldookie7222
      @coloneldookie7222 Před rokem +22

      Graham Jameson being friends with the charismatic and brilliant James Grime is even more impressive.

  • @Axacqk
    @Axacqk Před rokem +92

    This will probably be said later in the video, but it just dawned on me that r tends to sqrt(2) in high dimensions because the volume of high-dimensional hyperballs is increasingly concentrated near the surface (a fact I probably learned from another Numberphile video), and r=sqrt(2) always halves the surface exactly.

    • @ninadgadre3934
      @ninadgadre3934 Před rokem +6

      Lovely intuition

    • @SilverLining1
      @SilverLining1 Před rokem +3

      Oh! That's a really clever observation

    • @fahrenheit2101
      @fahrenheit2101 Před rokem +2

      Ooooh, That's fair enough. I was worried about how sqrt(2) would always be halving the surface as there would always be some excess volume, but I suppose that would tend to 0 as more and more volume became concentrated far from the centre.

    • @yoursleepparalysisdemon1828
      @yoursleepparalysisdemon1828 Před 4 měsíci

      ima need to reread this later. i read that 4 times and didnt understand it.

  • @farzaan1479
    @farzaan1479 Před rokem +371

    15:35 it actually is an important problem! I had to use it for my research in biology! Basically it was to calculate how the effusion of a substance in a circular arena affects animals and I stumbled across it online when I realized how difficult it was to calculate by hand, really great stuff!

    • @idontwantahandlethough
      @idontwantahandlethough Před rokem +16

      lol that's kinda awesome! love it when stuff like that happens :)

    • @digitig
      @digitig Před rokem +68

      The goat problem might be important, but finding a *closed form* solution wasn't. In any real-world application, a finite number of significant figures will do.

    • @babynautilus
      @babynautilus Před rokem +2

      sea slugs? 🐌 :p

    • @JohnPretty1
      @JohnPretty1 Před rokem

      Goat droppings?

    • @aceman0000099
      @aceman0000099 Před rokem +6

      I was also thinking surely it has some use in physics, or computer game physics, where proximity radius is used a lot in collision and LOD etc

  • @koenth2359
    @koenth2359 Před rokem +124

    For those interested in the trig:
    1) Area of arc part (swept by tight tether)
    A1 = r^2 α/2 = 2α cos^2(α/2) = α (1+ cos(α))
    2) Area (swept by circle radius over the part of the circle that goat can visit)
    A2 = π-α
    3) Overlap (four equal right-angled triangles)
    A3 = 2cos(α/2)sin(α/2) = sin(α)
    So we have to solve A1 + A2 - A3 = π/2, or α (1+ cos(α)) + π-α - sin(α) = π/2 which simplifies to
    α cos(α) - sin(α) + π/2 = 0
    This gives
    α ≈ 1.90569572930988... (radians)
    r ≈ 1.15872847301812...

  • @Bibibosh
    @Bibibosh Před rokem +305

    James Grime is one of my most favorite personalities on Numberphile. You guys really feel like a friend :D and I would definitely recognize you guys in public!

    • @lexinwonderland5741
      @lexinwonderland5741 Před rokem +15

      hopefully you've checked out his personal channel, singingbanana! (if i recall correctly?) go and support him!

    • @NoNameAtAll2
      @NoNameAtAll2 Před rokem +6

      singingbanana is great indeed

    • @carni5064
      @carni5064 Před rokem +8

      Great educator. Genuinely excited by math.

  • @lasagnahog7695
    @lasagnahog7695 Před rokem +67

    There are very few people I've been watching on youtube longer than Dr. Grime. It's always a treat to see him pop up here.

  • @fmaz1952
    @fmaz1952 Před rokem +130

    So, the new challenge is to solve it in 1 dimension.

    • @jk-kf7cv
      @jk-kf7cv Před rokem +20

      0.5

    • @LunizIsGlacey
      @LunizIsGlacey Před rokem +57

      @@jk-kf7cvActually, 1. The _radius_ was 1, not the diameter.

    • @jk-kf7cv
      @jk-kf7cv Před rokem +9

      @@LunizIsGlacey ohsh*it you’re right because the length would be 2 in this case😅

    • @LunizIsGlacey
      @LunizIsGlacey Před rokem

      @@jk-kf7cv Ye lol haha

    • @XavierFox42
      @XavierFox42 Před rokem +7

      @@jk-kf7cv give this man a fields medal

  • @Eagle3302PL
    @Eagle3302PL Před rokem +99

    That practice explanation at the end is so important, people always complain about money being spent on research that yields nothing or random seemingly useless knowledge but the researchers have to learn, improve process and tools somehow. Satisfying curiosity is important to help people focus, also tiny findings may help someone else with their process in the future.

    • @pi6141
      @pi6141 Před rokem +31

      a theme in mathematics and scientific research is figuring out something seemingly random and useless only to find it get used 10000 years later to solve even more advanced problems

    • @Alex_Deam
      @Alex_Deam Před rokem +7

      Yes, and those researchers are also lecturers too. Even if their research is completely unimportant, you need the researcher to be invested in their field so they remain there and their skills are kept alive by new students.

    • @duckymomo7935
      @duckymomo7935 Před rokem +2

      Science has 2 directions with math
      Either the problem has been posed and solved before or found applications
      Or science came across an equation that math hasn’t solved or considered like Fresnel integral

    • @Crazy_Diamond_75
      @Crazy_Diamond_75 Před rokem +12

      There are an unbelievable amount of "pointless" problems that ended up having unexpectedly applicable solutions.

    • @thexavier666
      @thexavier666 Před 9 měsíci

      The most famous example was Maxwell equations of electromagnetism.

  • @autumn_skies
    @autumn_skies Před rokem +55

    I always love seeing Dr. Grime on this channel! ❤️

  • @darcipeeps
    @darcipeeps Před rokem +56

    I appreciate the response at 15:22. Me trying to explain why I “waste time” programming things that are fun but don’t matter to anyone but me

    • @IceMetalPunk
      @IceMetalPunk Před rokem +17

      "Because I enjoy it" is never a waste of time. We all need to remember that we're humans, not money printing robots. Fun is an important part of the human experience, even if it's not profitable.

  • @chloelo6415
    @chloelo6415 Před rokem +10

    Been following Dr. Grime on Numberphile for years and it’s always a delight to see his enthusiasm. I’ve been away from recreational maths because full time job gets in the way, but this video reminds me of those puzzle cracking days, which were awesome. And it’s also really really nice to see Dr Grime not changing a bit in his passion talking about maths in an accessible way to the general public.

  • @DanDart
    @DanDart Před rokem +11

    I was taught this problem at school, and I think I recall that I was told that it was solvable exactly using only secondary school maths we had already learned. We spent the entire lesson trying to work it out, and it's not left my mind for half my life.

  • @matthiasmair8799
    @matthiasmair8799 Před rokem +51

    When I was 14, our teacher (best I've ever had) gave us a similar problem, only backwards: If the radius of the circle is 8m and the goat's rope is 6m, what percentage of the circle can the goat go graze?
    And yes, that's solvable.

    • @wullxz
      @wullxz Před rokem +5

      With the goat being fastened to the fence again (and not the center)?

    • @JamesScholesUK
      @JamesScholesUK Před rokem +2

      @@wullxz you can work out the area eaten just by putting the rope length into the trig you've calculated for the area, then you just divide area eaten by total area of the circle to get a fraction. This is exactly how you could go about approximating the rope needed for 50% - it's going to be more than 4 and less than 5. Just keep narrowing it down - more or less than 4.5? 4.25?

    • @alonsobruni8131
      @alonsobruni8131 Před rokem

      It is way easier to calculate. That is how approximation works: you are guessing what to use instead of the 6m, so the answer would be close to Pi/2

    • @eriktempelman2097
      @eriktempelman2097 Před rokem

      .... you were 14? What a teacher that must have been, to give you a shot.

  • @ThreeEarRabbit
    @ThreeEarRabbit Před rokem +114

    A great question to humble anyone. I thought this was easy until I actually tried it. Looks like there's still a lot to learn.

    • @dieSpinnt
      @dieSpinnt Před rokem +2

      Yeah it is fascinating which joy and knowledge can be hiding behind such a simple looking problem.
      Oh an what I immediately noticed was that the goat didn't sound particularly healthy.
      Which, by the way, is completely normal for "experimental goats" and especially mathematical experimental goats:P

    • @Hawk7886
      @Hawk7886 Před rokem +4

      Imagine finding out you didn't actually know everything. Truly humbling.

  • @My-ku3yu
    @My-ku3yu Před rokem +5

    I love how happy James is giving his friends a shout out

  • @vlastasusak5673
    @vlastasusak5673 Před rokem +47

    All we need to do is construct a collapsible Peaucellier-Lipkin linkage and tether the goat to that. Then the boundry of it's constraint will be a straight line instead of an arc, and figuring out the necessary length will be easy

    • @danoberste8146
      @danoberste8146 Před rokem +2

      Halfway thru this video I started working on the tether system (pickets, ropes, pulleys, cams, etc.) that would constrain the second goat to allow them the other half of the grass without infringing on the first goat's share. 🤔🤨🤯

    • @danoberste8146
      @danoberste8146 Před rokem

      @@JupiterThunder 🤣

  • @MegaRad666
    @MegaRad666 Před rokem +6

    That final formula was stunning. Been a while since I saw some math really outside my understanding - gonna have to investigate those complex integrals. Thanks Dr. Grime!

  • @snakesocks
    @snakesocks Před rokem +14

    I actually had a similar kind of problem spring up with my job recently.
    My work was planning on retro-fitting one of its vessels with two new cranes, but they wanted to know the overlap of their work envelopes because both cranes sometimes need to work together. Each crane cost about £250K so they needed to know if it was worth it. I remember wondering why I didn't know exactly how to calculate the overlap of two circles & decided I had better things to be doing than doing geometry for an hour...

  • @jellorelic
    @jellorelic Před rokem +16

    Always nice to see the Singing Banana back on the channel!

    • @mal2ksc
      @mal2ksc Před rokem +2

      There is still a demonstrable lack of both singing and bananas. I want my money back.

  • @trdi
    @trdi Před rokem +26

    That's impressive. I don't understand the question "Why did he do that?" Why wouldn't he do it? It's cool.

  • @GerHanssen
    @GerHanssen Před rokem +9

    I worked this out in Geogebra several years ago. I could only approximate, just like the recent solution. It taught me a lot.

  • @JanStrojil
    @JanStrojil Před rokem +22

    I love how James intuited the square root of two answer. Just shows that he thinks in higher dimensions. ❤️

    • @JohnPretty1
      @JohnPretty1 Před rokem

      His three years as a maths undergraduate were clearly well spent.

  • @InfernalPasquale
    @InfernalPasquale Před rokem +2

    I love James, what an inspirational maths man. Been watching his videos since he first starting uploading

  • @ivanklimov7078
    @ivanklimov7078 Před rokem +10

    a little problem: the exact solution to those integrals would involve the residue theorem, which requires the poles (zeros of the denominator) of the function. setting sin z - z*cos z - pi/2 = 0 we get sin z - z*cos z = pi/2, which is the same equation we started with, slightly rearranged.
    maybe there's a better way to evaluate those integrals that i'm not seeing, but complex integrals are intrinsically connected to those poles in the integral domain, so i feel like whichever way we look at it, we have to solve this nasty equation.

    • @beeble2003
      @beeble2003 Před rokem +1

      That's interesting, as my main question after watching this video is "OK, but how are those integrals that I don't know how to do, a better answer to the problem than that equation I don't know how to solve?" And you seem to be saying that, actually, it isn't.

    • @your-mom-irl
      @your-mom-irl Před rokem

      @@beeble2003 it is a closed form answer. It is better that just numerical approximation in that it contains a full solution. It's just not practical to compute. But i guess you could make a decent asymptotic analysis of it from it

    • @beeble2003
      @beeble2003 Před rokem

      @@your-mom-irl Expressions including integrals are usually not considered closed-form solutions.

  • @Druphus
    @Druphus Před rokem +64

    That's a contour integral symbol not specifically a complex integral symbol. AFAIK there isn't a special symbol for a complex integral.

    • @ClaraDeLemon
      @ClaraDeLemon Před 8 měsíci +7

      This is true, but at the same time complex integrals are almost always contour integrals, and using the shorthand "the circle means it's a complex integral" seems reasonable in the context of a divulgative video that isn't even about integration

    • @cblpu5575
      @cblpu5575 Před 6 měsíci +1

      It is a complex integral here though

    • @hwcq
      @hwcq Před 6 měsíci

      The usual notation that suggests that one is dealing with a complex integral is the use of “z” as the variable of integration.

    • @RubALamp
      @RubALamp Před měsícem

      I think you're suffering from Mann-Gell amnesia.

  • @JxH
    @JxH Před rokem +124

    HEY!! The 1-dimensional case (a line) is pretty easy to solve...
    r = 1/2 exactly.
    Now, where's my Fields Medal ? 🙂
    Edit to add: Have to be careful how the line is defined in terms of "radius". r = 1 exactly if the line is 2 units long.

    • @Kumagoro42
      @Kumagoro42 Před rokem +4

      What about the 0-dimensional case?

    • @sphaera2520
      @sphaera2520 Před rokem +8

      @@Kumagoro42 0 dimensions lacks the meaning of length and thus the question can’t even be asked.

    • @MDHilgersom
      @MDHilgersom Před rokem +10

      @@Kumagoro42 No grass so "no"

    • @ThreeEarRabbit
      @ThreeEarRabbit Před rokem +10

      However, the very concept of a soft rope is impossible in 1 dimensions. Let the length of the line be equal to 1. Unless matter within the rope is destroyed, the linear goat would be forcibly fixed at whichever point on the line the rope terminates at, since no extra dimensions exist to accommodate any extra "slack" of rope. Therefore, no matter what r is equal to, the effective length that the linear goat can travel along the 1 dimension is 0.
      Then again, the rope would be infinitely thin. So thin as to not be able to exert any tension force on the linear goat. In this case, the goat can travel anywhere along the line, with the effective length being 1.
      Either the goat can travel all of the line, or none of it. There is no half. As the old saying goes "do, or do not. There is no try".

    • @lavalampex
      @lavalampex Před rokem +2

      I think the radius doesn't matter in 1 dimension because it has always an area of 0. Or it has infinite answers or the area should be compactified like the 10 dimensions in string theory.

  • @rogersmith8339
    @rogersmith8339 Před rokem

    I was given the goat problem by a lecturer at college many years ago and never thought about using angles as the starting point as such. I got given the problem as I had solved the ladder & wall problem fairly quickly. Thanks for the answer.

  • @vampire_catgirl
    @vampire_catgirl Před rokem +2

    James is always so happy, it makes me very ready to learn

  • @pamdrayer5648
    @pamdrayer5648 Před rokem +21

    1:01 That is either a really sick goat or Chewbacca.

  • @ZoggFromBetelgeuse
    @ZoggFromBetelgeuse Před rokem +4

    I thought that the answer was something along the lines of "First you stay with the goat while the wolf brings the cabbage across the river..."

  • @wynoglia
    @wynoglia Před rokem

    Man I do love James
    And I was wondering why this video got so many more views than recent vids
    And going through the comments suprised to see how many James appreciators there are

  • @bugratasali4326
    @bugratasali4326 Před rokem +1

    "Here's the answer!", that was classic James Grime Gold 😂

  • @ericbischoff9444
    @ericbischoff9444 Před rokem +143

    Our maths teacher, when we asked him, did find a solution by resolving integrals (real numbers only) in French "maths sup" class. Quite computational, but he found a solution. That was about 30 years ago.
    I still remember the sketch of his computations: he divided horizontally the grazed area into two. Both left circle segment and right circle segment are curves of which we know the equation (but we don't know the intermediate bound of the integrals). The problem then is to compute the integral under these curves, and equate it to a fourth of the area of the field, so to find the absciss of the common bound.
    I do not remember if he found a closed form. Now I watch this video, I think not, but it was long ago and I could not sware.

    • @jarosawmaruszewski1678
      @jarosawmaruszewski1678 Před rokem +16

      I'm not your teacher, but I found solution 40 years ago. I hate trygonometry so i use analytical geometry with integrals of y = sqrt(1-x^2) which is arctg(x) :D irc. I think it was always pretty solvalble problem.

    • @ericbischoff9444
      @ericbischoff9444 Před rokem +5

      @@jarosawmaruszewski1678 I think that was the approach of my former teacher too. BTW, arctg() is a kind of trigonometric function, isn't it? :-P

    • @jamaloney1
      @jamaloney1 Před rokem +107

      @@jarosawmaruszewski1678
      I too discovered a truly marvelous proof of this, which the CZcams comments are too narrow to contain.

    • @skydragon3857
      @skydragon3857 Před rokem +1

      it's nice that you remember that

    • @edbail4399
      @edbail4399 Před rokem +6

      @@jamaloney1 Fermat

  • @malcoexclamation
    @malcoexclamation Před rokem +2

    I heard of this problem years ago when I was in school (probably 50 years ago) and I could never work it out. The internet finally gave me access to the brain power needed to solve it. Such a simple looking puzzle with a nasty twist. Thanks for this explanation of the solutions - very entertaining.

  • @bigpopakap
    @bigpopakap Před rokem

    I've missed you on this channel, James! Glad to see you back 😁

  • @pyrobeav2005
    @pyrobeav2005 Před rokem +2

    The long running US radio program Car Talk posed this problem: semi-trucks, aka lorries, have cylindrical fuel tanks oriented horizontally. A caller wanted to know where to put the marks on a dipstick to be able to measure 1/4, 1/2, and 3/4 levels in the tank. Both of the hosts, being MIT graduates, say, "No problem!". And after a few minutes they start to realize this one may be a bit tricky...

  • @Lightn0x
    @Lightn0x Před rokem +9

    I remember solving this for a programming contest. Of course, you only needed to compute an approximation (up to 5 decimals or so), and you didn't need much math since you could just do binary search.

  • @youngiroh5011
    @youngiroh5011 Před rokem +25

    If this was in fact taught at naval academies I have a suggestion why. This is a wonderful illustration of 'picking the right tool for the job' or why you should always consider alternative solutions if the original plan becomes too complicated. If the goal is to have the goat graze half of the field, the easiest solution would be to ditch the rope and just build a fence :)

    • @ancestralocean
      @ancestralocean Před rokem +2

      An alternate suggestion: the US Naval Academy's mascot is a goat, and a math prof thought the problem would be à propos

    • @peterjansen7929
      @peterjansen7929 Před rokem +3

      Better still buy a second goat and let them work it out between themselves.
      According to the British Goat Society, tethering "is the worst form of management". Another site (thefreerangelife) states: "Do not get just one goat. Ever. They will be sad, depressed, and unhealthy and probably quite loud as they call out for some company."
      "Each goat should be provided with at least a quarter of an acre of space." (Source unknown, but they mean a UK acre, a quarter of which would be just under 1,012m².) You can figure out for yourself how much a fence would cost - the nearest approximation I can find is exorbitant.

    • @beeble2003
      @beeble2003 Před rokem

      I'm dubious about the claim that it was taught in "US naval academies". Either Dr Grimes mangled it in the telling, or it's an urban legend. There's only one US Naval Academy.

    • @peterbonucci9661
      @peterbonucci9661 Před 11 měsíci

      Is seems like it's related to pursuit problem or a search of an area.

  • @pedroscoponi4905
    @pedroscoponi4905 Před rokem +2

    Never has an expression in a numberphile video caused such a physical aversion in me, and this one has _multiple_ of those!

  • @m3m3sis
    @m3m3sis Před rokem +5

    Props to the intro animator with the dots and then just few poops to change their being, changing the acronym to an actual word, goat. And just in a few passing seconds. I love it.

  • @TheKnowledgeNook777
    @TheKnowledgeNook777 Před rokem +8

    9:15 "Polynomials will have an exact solution" - Galois is freaking out!

    • @Yakushii
      @Yakushii Před rokem +3

      Something something x^5 + x - 1

    • @Milan_Openfeint
      @Milan_Openfeint Před rokem +1

      Funny enough, the formula shown is degree 4, thus it does have a closed form solution. You can just put
      solve 3r^4-8r^3+8=0
      into Wolfram Alpha, tap "exact forms" and you're done.

    • @TheKnowledgeNook777
      @TheKnowledgeNook777 Před rokem

      @Milan_Openfeint "If it is a polynomial then that will have an exact answer " This is the exact phrase; which is wrong

    • @fulltimeslackerii8229
      @fulltimeslackerii8229 Před rokem +1

      @@TheKnowledgeNook777exact meaning “an answer that can be expressed as a formula”

    • @TheKnowledgeNook777
      @TheKnowledgeNook777 Před rokem

      @@fulltimeslackerii8229 No; exact solution of a polynomial means the answer involves only +,-,*÷ and taking n-th roots operations performed on coefficients of the polynomial

  • @rogerdonne6769
    @rogerdonne6769 Před rokem +1

    Having worked out the length of the rope is only a part of the problem. The length of the goat's neck (distance from collar to front of teeth) needs to be added (or subtracted, if you prefer)

  • @ramirodesouza37
    @ramirodesouza37 Před rokem +2

    That quartic equation for the "bird in a cage" reminds me about one of the first topics that baffled me when I was younger: a general formula for the cubic equation. There's also one for the quartic equation, but not from fifth onwards. I think explaining about it would make for a couple of nice videos about Polynomials and Group Theory.

  • @EebstertheGreat
    @EebstertheGreat Před rokem +13

    FWIW, we had an exact answer from the start. It was the solution to π/2 = r² acos(r/2) + acos(1 - r²/2) - r/2 √(4 - r²). That solution can be found numerically, and it is "exact" in the sense that the solution to this equation also solves the original problem exactly; no approximations were made in the analysis. This is also exactly the kind of "easy answer" James is talking about with respect to polynomial equations. For instance, the equation x^5 - x - 1 = 0 has one real solution (and four distinct non-real solutions), but it cannot be represented by an elementary expression. The best way to write the answer is "the real solution to x^5 - x - 1 = 0." You can introduce new functions like the hypergeometric function to create an expression for this solution, but it's not a general method; if we move up to x^6 - x - 1 = 0, the solutions can no longer be represented with the hypergeometric function. There is no general way to solve these that is significantly better than just inventing a function that solves polynomial equations by definition. And this same problem arises in higher-dimensional versions of the goat problem.
    What we have now is a _closed-form_ solution to the goat problem. It's no more exact than the original, nor is it any easier to compute. It still can only be found numerically and only to finite precision. So it's no more or less "exact," just a different way of writing it, but it's nice in that r can be represented with a single mathematical expression. For what it's worth, whether this actually counts as a closed form is also debatable, since expressions involving integrals are usually by definition not considered closed. Traditionally, a closed-form solution used only a finite number of operations. In fact, this is the first example I have found that describes an integral expression as a closed form.
    In any case, this is the first time anyone has successfully written any mathematical expression _at all_ that exactly evaluates to the solution in question without making up new functions specifically for the problem at hand.

    • @TheEternalVortex42
      @TheEternalVortex42 Před rokem +1

      I know it's a bit of a debate as to what qualifies as 'closed form' but I'm kind of surprised that an unevaluated integral does.

    • @EebstertheGreat
      @EebstertheGreat Před rokem

      @@TheEternalVortex42 It's particularly disappointing when you realize that the process of evaluating these contour integrals amounts to solving the original equation but with extra steps.

    • @christophermpapadopoulos4613
      @christophermpapadopoulos4613 Před rokem

      Well said.

  • @ErhanTezcan
    @ErhanTezcan Před rokem +4

    This was such a nice problem!
    I also had written down a small geometry problem, totally of no use but to pass time during a bus trip; but I couldn't solve the problem myself. It is on arXiv with id: 1903.09001
    The problem is about n "lighthouses" which are circles with radius 1, placed around a common center, equidistant at n units away from the placement center. Consecutive lighthouses are separated by the same angle: 360/n which we denote as α. Each lighthouse "illuminates" facing towards the placement center with the same angle α, and the question asks the total amount of dark area behind the lighthouses.
    There were two variations, I solved one but got stuck on the other one. Take a crack at it if you would like!

  • @Ztingjammer
    @Ztingjammer Před 4 měsíci +1

    Came late to the video, but I just love any video with James.
    Thank you!

  • @TheQWE99
    @TheQWE99 Před 8 měsíci +1

    At first I was really confused at why this is a hard problem and a Numberphile video because Im pretty sure we had this in a school exam. But then I realised that it was only approximated answer using trigonometry and the actual solved answer gets pretty damn hardcore. That exam was my first and only math exam which I got full points 36/36 :)

  • @jonathancerbaro713
    @jonathancerbaro713 Před rokem +4

    I got the chills when Dr. Grime said "it tends tooo.... the square root of two *drops mic*"

  • @KyleDB150
    @KyleDB150 Před rokem +3

    Complex analysis was one of my favorite topics in uni, sad to have forgotten it all now haha

  • @sujalgarewal2685
    @sujalgarewal2685 Před rokem +1

    Although the 3-d answer was messy, it was so satisfying to know that it is infact an exact answer.

  • @robertmozina7411
    @robertmozina7411 Před rokem

    Thank you for great presentation.
    I took a piece of paper and guesed that rope should be somewhere 1 + 1/(2pi).
    Did not expect so complicated solution.

  • @JMDinOKC
    @JMDinOKC Před rokem +10

    I seem to recall hearing about something similar, but it involved miniature golf. Or maybe baseball.

  • @diaz6874
    @diaz6874 Před rokem +44

    We know James is the G.O.A.T in Numberphile.

  • @mickthegrey
    @mickthegrey Před rokem

    I first came across this puzzle at an Open University Summer School in 1982. Of course I tried to solve it but after ending up with many, many terms such as sin(sin(θ)), I thought I'd just gone wrong. I was convinced there must be a straightforward, simple solution, even if it eluded me at the time. Now , 40 years on, I know. Thanks!

  • @wyattboyer6540
    @wyattboyer6540 Před rokem

    I always enjoy it when Dr. Grime hosts

  • @quesoestbonne
    @quesoestbonne Před rokem +7

    It doesn't matter what length rope, the goat will eat it. The tether needs to be a chain length ;-)

  • @keenanlarsen1639
    @keenanlarsen1639 Před rokem +13

    If you squint your eyes a bit, the complex integral symbol looks like a Treble clef

  • @murat4831
    @murat4831 Před rokem

    This guy is the reason why I love this channel

  • @21nck93
    @21nck93 Před rokem +1

    I can't believe a seemingly easy problem can have such a complex, humongous and ultimately ridiculous exact answer. I guess after all the hard work, this problem really is the GOAT of all (easy) problems.

  • @ShadSterling
    @ShadSterling Před rokem +6

    I thought there was a way to calculate the areas separated by a chord, and this is two overlapping circles that share a chord, so my first thought was to calculate the grazing area as the sum of the appropriate portions of each circle

  • @dancoroian1
    @dancoroian1 Před rokem +5

    I found it odd how much James danced around saying the words "closed-form solution" during the entirety of the video...opting instead for multiple rephrasings of the much more vague "exact answer"

    • @energyboat4682
      @energyboat4682 Před rokem +1

      Not to mention how James stressed that polynomials always have an "exacr answer"... Galois turning in his grave!

    • @lvl1969
      @lvl1969 Před rokem

      @@energyboat4682 I was looking for this comment

  • @OrangeDrink
    @OrangeDrink Před měsícem +1

    Tending to square root of 2 is super cool. From start to end of all dimensions from the two square two dimensions to the infinite dimensional circle.

  • @elliehawk817
    @elliehawk817 Před rokem +1

    the incredulity of "you think alpha is grassy?", I love James

  • @LamgiMari
    @LamgiMari Před rokem +4

    Whenever you see a variable inside and outside a trig function together you know you're in trouble.

  • @numericaffinity943
    @numericaffinity943 Před rokem +3

    Greatest of all time is in my view the members of numberphile team who always nail great problems

  • @Alan-ci1ed
    @Alan-ci1ed Před rokem +1

    When i read the problem i paused the video and spent an hour solving to get 1.1587. I came back to the video all proud of myself and found out that wasn’t what you were looking for.

  • @truncatecar3429
    @truncatecar3429 Před 9 měsíci +1

    This seems like the type of problem that would haunt Ancient Greek mathematicians for millennia

  • @ridefast0
    @ridefast0 Před rokem +4

    I like seeing new developments for old problems. Another one was the recent closed-form solution (well, AGM anyway) for the exact period of a pendulum. Did you cover that already?

  • @Tailspin80
    @Tailspin80 Před rokem +8

    I was given this problem about 50 years ago, with a 50m radius field. After several days of complex trig equations I came up with an equality which I tried to solve iteratively by hand. I came up with (from memory) an answer of 57.18m. The person that gave me the problem hadn’t been able to solve it and didn’t know the answer so I never knew if it was even approximately correct.

  • @rossg9361
    @rossg9361 Před 11 měsíci

    James Grime’s enthusiasm is wonderful. In life nothing is cooler than enthusiasm.

  • @humzahkhan6299
    @humzahkhan6299 Před 11 měsíci +2

    I tried solving this myself while watching the video, using my school level math. Took me a couple hours I did come up with a different though very less elegant solution for the 2d case.
    Assuming the radius of the field is 1, and goat should only have access to half the field you simply have to solve:
    pi/2 = a - b + c - d
    where,
    a = (x^2)*arcsin( -x/2 ) + ( -x^3 / 2)*sqrt(1 - x^2/4)
    b = (x^2)*arcsin( -1 )
    c = arcsin(1)
    d = arcsin( 1 - (x^2)/2 ) + (1 - (x^2)/2)*sqrt( 1 - (1 - (x^2)/2)^2 )
    Which, when I plotted it into desmos turned out to be around x = 1.1587284.. so it was surprisingly accurate I thought.
    The way I produced this monstrous equation was by cutting the field in half to get two semi circles that can be written as functions. And realizing that by symmetry, if the semi circle overlaps with half the area of the other semi circle, then that's the same solution as the full circle. And then because these are now functions, I took an integral equation to get the overlap. Finding an equation for the intersection wasn't too bad, and the bounds were a little funky. The integral of square roots get the arcsins, and the funky bounds made the stuff inside the arcsins and square roots a little funky. Hence the funky, a,b,c,d above.
    P.s. I don't know if this is solvable exactly, it's probably also transcendental, this was just a fun exercise I tried out, crazy to think people can find exact numerical solutions to these kinds of things.

  • @yashrawat9409
    @yashrawat9409 Před rokem +14

    I like misleading problems like these
    Always a good riddle for friends

  • @kallekula84
    @kallekula84 Před rokem +7

    I feel the video would've been much more interesting if James went a little deeper in to how people got to the old approximation of a rather than just giving us the number.

  • @kantinbluck
    @kantinbluck Před rokem +2

    The fact that it tends to sqrt(2) when dimension gets big is quite funny because there's this thing I don't exactly recall perfectly called infinite norm which is the max of all the coordinates of a vector. If you define an unit circle with the infinite norm, you get a square of side 2 the diagonal of which is 2×sqrt(2) which almost links to the result !

  • @rogersmith8339
    @rogersmith8339 Před rokem

    I love the fact that you say the root 2 answer feels right - the human brain is quite amazing when it comes to things like that.

  • @deliciousrose
    @deliciousrose Před rokem +3

    Love to see Dr James Grime for Christmas treat!
    Also 🐐 for 🎄! What a fitting theme.

  • @johnchessant3012
    @johnchessant3012 Před rokem +33

    This is interesting! But actually, the integral formula for alpha isn't really all that mysterious if you've taken complex analysis. Basically, complex integrals, defined as summing along the contour analogous to real integrals, can also be evaluated by finding a specific number (called the "residue") associated to each of the function's poles enclosed by the contour. Notice that in the formula, the pole of both integrands is the solution to the equation sin z - z cos z = pi/2. The integrals are arranged so that when you do the residue calculations, you get the value of z at the pole, which is your solution. So, the bulk of the solution is to play with these integrals a different way to try to get a closed form.

    • @EAdano77
      @EAdano77 Před rokem +21

      I was very underwhelmed by the final "answer". Finding explicit zeroes to analytic functions is easy if you accept residues. I was expecting (well, hoping) for an elementary transcendental expression for the angle. Sure, this isn't a grade-school level answer, but it's certainly an undergrad-level one. I may actually assign this as a problem next time I teach complex analysis...

    • @jamiewalker329
      @jamiewalker329 Před rokem +2

      @@EAdano77 I was extremely underwhelmed too. The integral is itself a limit of a sum, so I don't see it as any better as presenting alpha in terms of some other limiting process (e.g. iterates generated by Newton' Raphson).

  • @SmallGreenPlanetoid
    @SmallGreenPlanetoid Před rokem +1

    Aw man, math is so fascinating. I don't understand most of what was just happened, but it's fantastic that people can solve problems like these without having to procure a goat, a circular plot of grassy land, and a piece of rope.

  • @SkinnyCow.
    @SkinnyCow. Před rokem +1

    James never ages

  • @nbooth
    @nbooth Před rokem +3

    The difference between an exact and an approximated solution is a little bit semantic here. Sometimes you can't write a solution in terms of sums and products and powers of rational numbers, but so what? You can't do that with pi either, we just happen to have a symbol for it. Otherwise you'd have to say cos(x) = -1 had no "exact" solution. But I can give a symbol for the solution to this problem and then claim I can solve it exactly by producing that symbol as the answer.
    The point is, if you can describe an algorithm that gives you a solution to arbitrary precision, that is the same thing as an exact solution.

  • @derekhasabrain
    @derekhasabrain Před rokem +11

    “you think Alpha is grassy?” is now my favorite Dr. Grime quote

  • @Kris_not_Chris
    @Kris_not_Chris Před rokem

    it's cool how you can see the architecture of the quartic formula in that exact answer

  • @pepe6666
    @pepe6666 Před rokem

    I love that answer about why the mathematician spent time working on the problem. Bravo.

  • @PhilippeAnton
    @PhilippeAnton Před rokem +14

    Square root of 2 felt very wrong for me, at least for a circle, because the picture that flashed in my mind was very simple: the rope end cuts the field border in two points that form a diameter, so there already is half of the field on one side of this diameter, so everything between the diameter and the arc formed by the end of the rope is too much. It feels like it is the same thing in higher dimensions, but I guess it means the contribution of this extra volume becomes smaller as the number of dimensions increases.

    • @intrepidca80
      @intrepidca80 Před rokem +5

      Yes, this was exactly my reaction too... square root of 2 feels very wrong because it guarantees the goat will be able reach the half-way point *at the boundary* of the field (regardless of the number of dimensions), and therefore necessarily be able to eat more than half.

  • @Bruce1983
    @Bruce1983 Před rokem +3

    Just tie a goat in the field and gradually make the rope longer. When the field is half eaten measure the rope. Quick Maff

  • @nagoranerides3150
    @nagoranerides3150 Před 8 měsíci

    Exact answer:
    1 Untie the goat.
    2 Hammer post into middle of field.
    3 Shorten rope to 1/sqrt(2) units (minus neck/head length).
    4 Tie goat to post.
    I strongly suspect this was the US Navy answer and the lesson is to question your assumptions.

  • @davidholaday2817
    @davidholaday2817 Před rokem

    This is amazing. I could see myself working out something like this when I get into college.

  • @Lightn0x
    @Lightn0x Před rokem +7

    So wait. The exact formula we got for the 2D case is a fraction of 2 integrals. But are those integrals "computable" to an exact formula? I know there are some integrals that are impossible to write down to a closed form. Do we know that this is not the case here?

    • @ruinenlust_
      @ruinenlust_ Před rokem +1

      Exactly what I wondered. It doesn't look easily computable which is what I would expect a closed form would be

    • @christopherlocke
      @christopherlocke Před rokem +2

      A closed-form solution usually doesn't allow for integrals to be part of the solution. So I don't think is a closed-form solution, but it is an explicit (alpha = some expression without alpha) rather than implicit function which defines the angle, which is still an improvement.

    • @WilliamHesse
      @WilliamHesse Před rokem +1

      These are integrals of a complex function over a closed curve in the complex plane, which are usually extremely easy to compute: they always equal zero. The exception is if the function you are integrating has a spot inside the circle where it looks like 1/z at 0, a spot at which the function is discontinuous and goes to infinity, like 1/x does at zero.
      Those two integrals each have a spot like that, actually at the point alpha, where alpha is the angle from the original equation. So really, all they have done is taken the original equation for alpha and disguised it as two integrals, but this is a purely mechanical transformation that can write the root of any equation as two complex integrals like this.

  • @fulltimeslackerii8229
    @fulltimeslackerii8229 Před rokem +7

    the 1 dimensional version is my favorite. r/2!

    • @phenax1144
      @phenax1144 Před rokem +1

      I love that this is correct even when viewed as factorial

    • @fulltimeslackerii8229
      @fulltimeslackerii8229 Před rokem

      @@phenax1144i didn’t even consider that, amazing. 5:17

  • @StaticxScopes
    @StaticxScopes Před rokem

    As I was watching, with the grazing goat problem. First thought I had, assume the rope is connected at 0 radians (directly to the right) of the unit circle. Draw a horizontal line down the center of the circle (y axis). Find a rope length where the area of the goat’s circle on the left side of the circle centerline matches the unshaded area on the right.

  • @Meow-io4cd
    @Meow-io4cd Před rokem +2

    The wise of all the presenters in this channel is so impressive! I love math

  • @Macialao
    @Macialao Před rokem +53

    At first glance, i don't understand the culprit. My solution would be to write double integrals for this area. The change in integrals is where the Goat Circle intersects the field circle, so this requires calculating this point X. I have two circles, one x^2+y^2 = 1 and second (x-1)^2+(y-1)^2 = r^2 . Let's consider only top half as we have symmetry along x axis. We get the intersect at x=1-0.5r^2. Now we write two double integrals :
    1)From (1-r) to (1-0.5r^2) dx and from 0 to (sqrt(r^2-(x-1)^2) dy
    2)From 1-0.5r^2 to 1 dx and from 0 to sqrt(1-x^2) dy
    The sum of those should equal to 0.25pi (half of semi circle (quater of the field).
    ...
    OH. Ok Integrating this is fine, but what comes after is a monster. We have a polynomial equation with r at degree of 3 and r inside inverse trig functions. Hah.

    • @Macialao
      @Macialao Před rokem +9

      I watched the rest of the video, i might've switcher to polar coordinates :D. Don't know if i lost anything in my thinking

    • @jacquelinewhite1046
      @jacquelinewhite1046 Před rokem

      😳😶‍🌫️

    • @Michaelonyoutub
      @Michaelonyoutub Před rokem +2

      Integration is likely how they approximate the solution

    • @RexxSchneider
      @RexxSchneider Před rokem +1

      @@Macialao I've reached a mixed polynomial/trig equation every time I've tried to solve this. For me, switching to polar coordinates and doing the integral over the upper half using symmetry seems to give the simplest route. I always had to solve the equation by numerical methods giving an answer around 1.16, so I'm impressed that someone has found a closed form for the solution.

    • @Macialao
      @Macialao Před rokem

      @@RexxSchneider I wonder what do they mean by going to complex numbers. Maybe they switched to Euler form, found out imaginary solution which might've been simpler and they figured out the real solution by working out the symmetries in complex plane.

  • @jamesdg3189
    @jamesdg3189 Před rokem +65

    What the heck does "Nick is my friend for other reasons" at 9:58 mean?? 😂😂😂

    • @RatelHBadger
      @RatelHBadger Před rokem +11

      They probably play D&D together

    • @Dummys_Revenger1
      @Dummys_Revenger1 Před rokem

      Means he wasn't his lecturer lol.

    • @nojameson
      @nojameson Před 11 měsíci +1

      We were both members of the Society of Lancaster University Jugglers.

    • @jamesdg3189
      @jamesdg3189 Před 11 měsíci

      @@nojameson Hi Nick! I didn't expect to get an answer, but that is awesome!

  • @Teck_1015
    @Teck_1015 Před rokem +2

    My first immediate thought was, "Can't we just integrate this??"...but I had NO idea that complex integrals were a thing too!

  • @mistermonster3149
    @mistermonster3149 Před rokem +2

    An interesting question me and my friends came up with when we were in school, which looks very similar to this, was how far apart do the centres of two circles (of radius 1 wlog) need to be so that the three areas are all equal, named the venn diagram problem because of the shape. You can also get pretty far with just school-level maths!

    • @mistermonster3149
      @mistermonster3149 Před rokem +2

      of course generalise to your heart's content

    • @LunizIsGlacey
      @LunizIsGlacey Před rokem +2

      Y'know that's actually a kind of interesting question. Best of all, once you solve it, you could use it to draw the perfect Venn diagram of equal areas haha! Thanks for sharing.
      Edit: after trying it for a bit, unlike in this video haha, I was unable to find an exact answer. But I could approximate it: unless I made a mistake, the two centres should be placed approximately 0.8079455066 units apart (if we are dealing with circles of radius 1).

  • @MelindaGreen
    @MelindaGreen Před rokem +3

    Interesting variation: The goat is restricted to the _outside_ of the circle and can wrap its rope around to exactly reach the point opposite its anchor. What's the area of the region it can graze?