Mathematics is all about SHORTCUTS - Numberphile

Поділитися
Вставка
  • Опубліковано 11 чер 2024
  • Featuring Marcus du Sautoy from Oxford University.
    Check his latest book "Thinking Better: The Art of the Shortcut"
    Links & stuff in full description below ↓↓↓
    Marcus's new book on Amazon here:
    amzn.to/3xrujmS (US)
    amzn.to/3jmBJD1 (UK)
    Marcus on the Numberphile Podcast: • A Chance at Immortalit...
    And a Numberphile video about Gödel's Incompleteness Theorem: • Gödel's Incompleteness...
    The Seven Bridges of Königsberg: • The Seven Bridges of K...
    Gauss and that addition shortcut: • One to One Million - N...
    Numberphile is supported by the Mathematical Sciences Research Institute (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 Math For America - www.mathforamerica.org/
    NUMBERPHILE
    Website: www.numberphile.com/
    Numberphile on Facebook: / numberphile
    Numberphile tweets: / numberphile
    Subscribe: bit.ly/Numberphile_Sub
    Video by Brady Haran and Pete McPartlan
    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
  • Наука та технологія

КОМЕНТАРІ • 644

  • @numberphile
    @numberphile  2 роки тому +59

    Marcus's new book on Amazon here:
    amzn.to/3xrujmS (US)
    amzn.to/3jmBJD1 (UK)
    Marcus on the Numberphile Podcast: ua-cam.com/video/PVSkzNOXG1k/v-deo.html
    And a Numberphile video about Gödel's Incompleteness Theorem: ua-cam.com/video/O4ndIDcDSGc/v-deo.html

    • @Rabbit-the-One
      @Rabbit-the-One 2 роки тому +2

      Just got my Mandlebrot card today! Live in USA, so yours will arrive soon too if you haven't got it already!

    • @4623620
      @4623620 2 роки тому

      Sorry, I don't buy through amazon on principle !

    • @4623620
      @4623620 2 роки тому

      @Me Too Why 😏 ❓
      Did you think he couldn't write ❓ 😁
      🖖😷👍❗

    • @Bibibosh
      @Bibibosh 2 роки тому

      Why cant we calculate the perimeter of a oval?
      Whats the difference between an oval vs a rectangle with curved corners? Is it the same?
      I think ovals aren't real shapes. I think there irrational shapes.

    • @MrAaronvee
      @MrAaronvee 2 роки тому

      Are you sure that the balance is properly constructed? That design often crops up in physics tests, and people often get the wrong answer in that they argue that it will automatically be horizontal if the weights on each side are equal.

  • @SephJoSloth
    @SephJoSloth 2 роки тому +565

    “Normally if given a choice between doing something and nothing, I chose to do nothing. But I will do something if it helps someone else to do nothing. I’d work all night if it meant nothing got done.” - Ron Swanson
    The essence of this quote

    • @leumas75
      @leumas75 2 роки тому +8

      “Scotchy Scotchy Scotch.” -Ron Burgundy

    • @anntakamaki1960
      @anntakamaki1960 2 роки тому

      Hindu khatre mein hain

    • @xenontesla122
      @xenontesla122 2 роки тому +8

      I legit read this as if it were written by a great philosopher until I saw who said it. XD

    • @boydrewboy741
      @boydrewboy741 2 роки тому +1

      r/meirl

    • @auntiecarol
      @auntiecarol 2 роки тому +3

      @@xenontesla122 Ron is perhaps the greatest of philosophers.

  • @HellsJayBells
    @HellsJayBells 2 роки тому +448

    In electrical engineering, I was always so impressed with how much easier phasors and complex numbers make analysing AC circuits. You can either do a bunch of hard differential equations or you can just use algebra.

    • @ramkitty
      @ramkitty 2 роки тому +23

      I'm just discovering geometric algebra which has already been transformative in my understanding of complex analysis

    • @marthak1618
      @marthak1618 2 роки тому +23

      Same here. Complex variables was the one mathematics course that (almost) literally made my head explode. I had been exposed to transforms previously but none quite as practically useful as that one.

    • @whatelseison8970
      @whatelseison8970 2 роки тому +7

      OMG YES! I did the exact same thing in electrical school. The way they taught us to solve AC circuits was basically by using phasors but decidedly _without_ complex numbers. I dropped out of electrical engineering but I've always loved the idea of imaginary numbers - at first it was honestly just because of how whimsical they sounded. I tried to show a few people how to use the complex mode on our calculators instead of having to make a table of orthogonal components every time but it didn't really catch on. Oh well, it was still pretty cool to feel like I had a sort-of shortcut and the semester in EE wasn't a total waste.

    • @lightlysaltedgiraffe7655
      @lightlysaltedgiraffe7655 2 роки тому +15

      @@ramkitty I do not understand why geometric algebra isn't the standard for physics.

    • @wajaism
      @wajaism 2 роки тому +6

      Electrical engineering is all about shortcuts @electroboom

  • @dlanska
    @dlanska 2 роки тому +318

    As with all of these excellent interviews, Brady does an outstanding job of stimulating and directing the presenter in each case. That is not at all a common skill, and he does it with understated grace. He asks a clever question and gets out of the way for the presenter to answer, and lets him answer. And the graphics merge well. Very nice interview, and very well edited. Just excellent.

  • @Keldor314
    @Keldor314 2 роки тому +42

    In fact, you can get to 81 with only 4 weights - 2, 6, 18, and 54 - if we assume that we only have to weigh exact integers. The key is that we can cheat with inequalities. For instance, we can weigh x like this
    x > 2
    x + 2 < 6
    Thus,
    x < 4
    3 is the only integer between 2 and 4, so x=3.
    81 can be counted as x > 2+6+18+54

    • @andymcl92
      @andymcl92 2 роки тому +10

      Oh, that is a nice trick. But yeah, you're assuming not only that you want to get an exact integer but that you've been *given* an exact integer. The original problem allows you to weight out a specific integer amount of, say, sand by assuming equality. So you could answer the question "How many kilos of sand is in this bag? (By the way, it's an integer)" if the answer is 3, but you can't weigh out 3kg of sand like this.

    • @Morbius_Official
      @Morbius_Official Рік тому +1

      This is crazy

  • @brucekives2194
    @brucekives2194 2 роки тому +63

    "Problems worthy of attack
    prove their worth by fighting back."
    - Piet Hein, inventor of the Soma cube

    • @robertelessar
      @robertelessar 2 роки тому +3

      That's one of the best quotes I've encountered. Thank you for that!

    • @brucekives2194
      @brucekives2194 2 роки тому +2

      @@robertelessar Glad you enjoyed it. He has several books of such sayings, which he called Grooks. That one is on the first page of Grooks 1.
      Check out his Wikipedia article Piet_Hein_(scientist)

    • @rtpoe
      @rtpoe 2 роки тому +1

      The Soma Cube is way cool.....!

  • @klausolekristiansen2960
    @klausolekristiansen2960 2 роки тому +320

    As our maths teacher in grade 8 used to say: long live laziness.

    • @marchaustein1429
      @marchaustein1429 2 роки тому +9

      A true mathmatition

    • @ramkitty
      @ramkitty 2 роки тому +6

      Not mine. Where's the work!

    • @goyonman9655
      @goyonman9655 2 роки тому

      Foolish Teacher

    • @VargasElMusico
      @VargasElMusico 2 роки тому +14

      Some teachers don't bother showing their students the beauty of the journey along the path of mathematics enabling their problem solving skills. Shortcuts are great once you've climed the mountain the hard way. People who take a rocket ship to the top can find that they are not acclimated to the climate and feel uncomfortable. If students aren't given the tools to derive shortcuts on their own they will always be dependent on teachers to hand them solutions rather than develop the solution through problem solving. Again shortcuts are great once the fundamentals have been mastered.

    • @goyonman9655
      @goyonman9655 2 роки тому

      @@VargasElMusico
      True
      True

  • @kasuha
    @kasuha 2 роки тому +217

    Proving Fermat's Last Theorem was not a shortcut. The theorem itself is a shortcut. The proof was just to show that taking this shortcut is safe.

    • @tensevo
      @tensevo 2 роки тому +4

      I think that is obvious.

    • @tensevo
      @tensevo 2 роки тому +36

      The point being, that the proof of Fermat's Last Theorem, found more shortcuts than the theorem itself.

    • @nanamacapagal8342
      @nanamacapagal8342 2 роки тому +3

      Shortcut the longcut the shortcut.

    • @rosiefay7283
      @rosiefay7283 2 роки тому +1

      Why do you liken the theorem to a shortcut? What was it a shortcut to? I think a better analogy is that a technique that enables you to do something easier than it was possible before is like a shortcut. So you might see a "shortcut" used in a proof. Or used in a later simpler proof of some theorem which previously only had a hard proof. But not the theorem itself.

    • @tensevo
      @tensevo 2 роки тому +5

      @@rosiefay7283 because the theory is one line, whilst the proof is hundreds of pages.
      So, knowing the theory is true, allows you to use "the shortcut".

  • @estebanfortu1092
    @estebanfortu1092 2 роки тому +311

    "mathematical disneyland" soooo Numberphile is the netflix of math

    • @U014B
      @U014B 2 роки тому +16

      Given the way they represented ζ(-1) = -1/12, that sounds about right.

    • @dglowned
      @dglowned 2 роки тому +1

      underrated

    • @simulatrix
      @simulatrix 2 роки тому +6

      The Disney+ of Math

    • @Adhjie
      @Adhjie 2 роки тому

      @@U014B how about Ramanujan gamma function?

    • @sillysausage4549
      @sillysausage4549 2 роки тому +2

      Maths

  • @JasonOlshefsky
    @JasonOlshefsky 2 роки тому +45

    I'm still pretty proud of the moment I saw that same Gauss pattern during a Math Olympiad 40 years ago and got the points for our team.

  • @sonaxaton
    @sonaxaton 2 роки тому +60

    Basically all of software engineering is built on shortcuts and abstractions. No programmer would be able to make anything if they had to worry about every detail of how a computer works, but since we can build programs that use previously written and tested libraries and APIs, all of that complexity goes away and you can focus on just the problem you want to solve. A bit like proven theorems in math.

    • @jursamaj
      @jursamaj 2 роки тому +9

      I mean, you *could* write programs, from scratch, all the way down to the metal. Indeed, *somebody* wrote all those libraries & APIs. But if every programmer had to do that, it would be a pointless waste of time, it would involve far more debugging by each programmer, and there would be no compatibility between programs made by different programmers. These were all problems with early programming, *because* they hadn't agreed on libraries yet.

    • @codediporpal
      @codediporpal 2 роки тому +1

      Until you're building software with 10000+ dependencies, and you have no idea whether or not they have security holes, or have been outright highjacked to inject security holes 😂

    • @spase667
      @spase667 2 роки тому

      @@codediporpal funny you should mention that…

  • @rupen42
    @rupen42 2 роки тому +140

    I was thinking about this the other day. There's the meme of mathematicians being bad at arithmetic. What if the people who go into math _are_ the people who are bad/lazy at arithmetic, so they looked for shortcuts? The shortcuts during learning, ironically, can lead to a much deeper understanding and appreciation for the math.

    • @meamzcs
      @meamzcs 2 роки тому +17

      At least i've seen plenty of maths professors type basically 2+2 into wolfram alpha 😂

    • @notarabbit1752
      @notarabbit1752 2 роки тому +15

      you haven't lived until you see a table full of mathematicians who can't figure out the tip

    • @nomathic7672
      @nomathic7672 2 роки тому +5

      The people who are truly bad at math are those that are unable to think critically and apply the principles that they've learned. "Learned" being that they had an understanding of the reason why something works at some point. Without being to apply principles that they've learned and critically think in ways to connect these concepts together then it doesn't matter how many shortcuts are presented to them because they'll have no idea how to use it and when to use it.

    • @rupen42
      @rupen42 2 роки тому +8

      @@nomathic7672 yeah, that's why I specified bad at arithmetic. There's also the people who are great at "manipulating equations" (aka math up to high school) but find out _math_ isn't for them when they encounter proofs in college. That was many of my fellow math majors.

    • @tomc.5704
      @tomc.5704 2 роки тому +4

      @@rupen42 I definitely agree that arithmetic or "manipulating equations" is a very different skillset from high level math, but I'd argue that there's a much simpler and equally important reason why mathematicians aren't superb at arithmetic.
      They haven't had to do basic arithmetic in years. They're not lazy, they're just rusty. The little tricks and methods to quickly / accurately do arithmetic need to be practiced. If you spend 10 minutes a day doing arithmetic you'll stay sharp -- but they haven't.

  • @Simbosan
    @Simbosan 2 роки тому +25

    Brady giving a masterclass in clever insightful questions.

  • @jasonmann2902
    @jasonmann2902 2 роки тому +16

    I love the art in this video, it's so stylish and clean and yet full of character. Top stuff

  • @jakethemistakeRulez
    @jakethemistakeRulez 2 роки тому +66

    I found way more interest once I learned the number theory behind the rules behind maths as opposed to just accepting them. They're all derived from some basic set if rules.

    • @evanbelcher
      @evanbelcher 2 роки тому +9

      That's the big piece that a lot of educators unfortunately skip. My high school, luckily, basically taught all math as if we were inventing the methods ourselves and that helped a lot with understanding.

    • @HeyMJ.
      @HeyMJ. 2 роки тому

      @@evanbelcher Agreed.
      Those who are taught mathematics’ core concepts, rules, & basic theory bf high school have far greater opportunity & opportunity to succeed. 🧮

    • @MusicFanatical1
      @MusicFanatical1 2 роки тому +1

      First, assume logic exists.

  • @rmsgrey
    @rmsgrey 2 роки тому +3

    One of the earliest examples most people encounter of a mathematical shortcut is addition, which is a shortcut to counting - 7+5 means "start at 7 and count 5 more", which isn't too bad, but 700+500 would take you several minutes to count up (as well as needing some way to keep track of when you'd counted the 500 more), but if you know addition, you can work it out in seconds.
    And then multiplication is a shortcut to repeated addition in a similar way.

  • @maitland1007
    @maitland1007 2 роки тому +48

    I'd love to see a video about how complex numbers are used in radar.

    • @mtwoh
      @mtwoh 2 роки тому

      Here here

  • @masteroftheart5548
    @masteroftheart5548 2 роки тому +183

    Spending a lot of time to find shortcuts reminds me of the joke that programming is spending 10 minutes to automate a 10 second task.

    • @ragnkja
      @ragnkja 2 роки тому +36

      If the task needs to be done more than 60 times, you’re saving time.

    • @muskyoxes
      @muskyoxes 2 роки тому +32

      It's spending 10 hours to test and approve and deploy the 10 minutes of code that automates the 10 second task

    • @arikwolf3777
      @arikwolf3777 2 роки тому +5

      I do this all the time. But once done, it's worth it.

    • @remicou8420
      @remicou8420 2 роки тому +1

      the fun part is cranking the repeats to 10000000 and getting a slightly more accurate answer

    • @rosiefay7283
      @rosiefay7283 2 роки тому

      Thing is, though, if there wasn't a program to automate it, the task would have taken much longer. Or you might not have been able to spare the time and effort, so the task wouldn't have got done at all. It's a 10-second task only as a result of your 10 minutes of programming work.

  • @Psyduc
    @Psyduc 2 роки тому +108

    I got 1 3 9 27 and hence four weights is needed. Here's my thought: I starts from 1, obviously I need 1 weight. Now if I add one more weight, say x, I can cover 1, x, x+1, x-1 ,so naturally I choose x = 3 so that I can cover 1, 2, 3, 4. Now again, if I add one more weight y, I can cover 1, 2 , 3, 4, y±1,2,3,4 . so naturally I choose y = 9 so I can cover 1 to 13. Then again if I add one more z I can cover 1 to 13, z±13 and naturally z is 27 and I can cover everything up to 40. This method can go on and on.

    • @hughcaldwell1034
      @hughcaldwell1034 2 роки тому +2

      My thought process precisely!

    • @viliml2763
      @viliml2763 2 роки тому +29

      It's not obvious that you need a 1 weight. For example with the weights 2 and 3 you can cover 1, 2, 3 and 5.

    • @adamplace1414
      @adamplace1414 2 роки тому +1

      Same as I got. I thought through them sort of.. Slower than that. Logically rather than mathematically. But once I saw the pattern, then it made sense.
      I'm also glad I wasn't the only one to pause the video for a few minutes and work it out!

    • @adamplace1414
      @adamplace1414 2 роки тому +6

      @@viliml2763 and I thought about that too, but it was a decently safe assumption that turned out correct. I also thought, if there is a way to solve it with 4 different sized weights (i.e not 1,3,9,27), and the smallest wasn't 1,then you're using more material to make the weights, which presumably means they cost more. No, that's not part of the puzzle, but it's a fun little consideration.
      In fact, here's a question: is 1,3,9,27 the only 4-weight solution? And if not, what's the heaviest, or is there a heaviest?

    • @Psyduc
      @Psyduc 2 роки тому +1

      @@Chugalg You can put 1 on one side and 3 on the other side so that you can weigh a 2.

  • @KusacUK
    @KusacUK 2 роки тому +32

    It was not “8 out of 10 cats” though. It was “8 out of 10 owners said their cat preferred it”. And after complaints to the Advertising Standards Authority, it was changed to “8 out of 10 owners *who expressed a preference* said their cat prefers it”. Says nothing about the owners who just said “eh, whatever” when they were asked, as they aren’t counted…

    • @Artaxo
      @Artaxo 2 роки тому +4

      I suppose that varies from one country to another. Here in Brazil, Whiskas sued Friskies (Nestlé) because of the unsubstantiated slogan "8 out of 10 cats prefer Friskies" (oh, the irony). Later, Nestlé sued Masterfoods for the slogan "Cats prefer whiskas".

  • @yilmazyildiz5640
    @yilmazyildiz5640 2 роки тому +3

    Perhaps the best example of Brady's skills as a mathematics interviewer. Questions, comments are spot on! Congratulations, great video

  • @nochan99
    @nochan99 2 роки тому +12

    Often this is what makes programming computers fun as well; you can either perform a boring mundane task over and over, -or- write a small snippet of code to do it for you. Sometimes writing the script takes longer than just doing the job, but you get more than the result in return, you get they joy of figuring out how to write the script!

    • @rosiefay7283
      @rosiefay7283 2 роки тому

      I agree. And another thing: often you have a choice between something which is easy to write, where it's easy to see that it does the job, and something else which is subtler. Some people would condemn the former as brute force, and prefer a programmer to implement the latter because it's cleverer and perhaps does less work. But if the time saved in running the thing doesn't repay your effort in doing the harder programming, it's a false economy.

  • @caleblatreille8224
    @caleblatreille8224 2 роки тому +4

    without a doubt the most beautiful animations in any Numberphile video yet

  • @littleratblue
    @littleratblue 2 роки тому +2

    In art, you will generally learn things like the human body or other complex shapes as a series of simple circles and rectangles. You basically draw a cardboard tube mannequin and then start filling in details on top of that.
    There are lots of other shortcuts to draw attention to a particular place, make the picture stand out more, etc.

  • @TheSummoner
    @TheSummoner 2 роки тому +6

    18:53 this is actually not just ternary but balanced ternary to be precise

    • @pepkin88
      @pepkin88 2 роки тому +1

      Thanks for this keyword

  • @KilgoreTroutAsf
    @KilgoreTroutAsf 2 роки тому +3

    13:07 the TSP is only NP-complete for the general case. There are actually clever algorithms to solve it in polynomial time if the graph is embedded in a set number of dimensions, like cities in a map.

  • @mycosys
    @mycosys 2 роки тому +177

    If its all about shortcuts he's definitely got the maths haircut covered ;)

    • @dillontan5644
      @dillontan5644 2 роки тому +3

      Awarded best comment of this video

    • @ipadair7345
      @ipadair7345 2 роки тому +4

      best comment on the video have a medal 🥇

    • @Triantalex
      @Triantalex 5 місяців тому

      false.

    • @mycosys
      @mycosys 5 місяців тому

      are you boolean me @@Triantalex ?

  • @JoBrew32
    @JoBrew32 2 роки тому +9

    My math professor likes to say, “in math, sloth is a virtue. I am a proud proponent of that sin.”

  • @grenneda
    @grenneda 2 роки тому +5

    I had watched a lecture from Marcus only 2 days ago. This popping up in my subscription was such a pleasant surprise. Such an interesting topic, thanks for a great video as always (:

  • @Blananas2
    @Blananas2 2 роки тому +4

    I remember that when my 2nd grade teacher introduced herself she said "I like tricks", those tricks while not as useful with the math I do nowadays I still remember those tricks.

  • @JxH
    @JxH 2 роки тому +6

    London Underground Map, the dangers of topology: Circa 1987, in London, referring to the famous Underground map, I planned my route from where I was to where I wanted to be. After three trains (three legs), taking almost an hour, I emerged into the sunlight from the destination station. I immediately recognized from the surroundings that I'd only gone about a city block, less than 300m. I was just around the corner from where I'd started. I could have walked the distance in just a few minutes.

    • @ragnkja
      @ragnkja 2 роки тому +1

      Yes, there’s at least one pair of stations that are _much_ closer together than they appear on the map.

    • @CarFreeSegnitz
      @CarFreeSegnitz 2 роки тому +2

      “efficient”… not necessarily “effective”.

    • @joelluber
      @joelluber 2 роки тому +1

      NYC tried to make a London Tube style map and people hated it for this exact reason

    • @fetchstixRHD
      @fetchstixRHD 2 роки тому +1

      Wait, which stations were those, if you happen to remember?
      On the positive side, at least these days most navigation apps would hopefully spot that for you and suggest walking... in theory!

    • @ErraticPT
      @ErraticPT 2 роки тому +1

      Done that myself on visiting London, ended up about quarter of a mile from where I started.
      Should of asked a local and quite literally walked round a corner instead.

  • @AceInAcademy
    @AceInAcademy 2 роки тому +2

    One of the best channels to learn mathematics in a fun way, this channel is really a " GEM " ! We wish we could make such high quality content one day and influence as many people as you do today ! This channel is one of the best examples which proves that all subjects are equal but maths is 100 times better than them any day .

  • @ASSamiYT
    @ASSamiYT 2 роки тому +1

    This man is a treasure, and don't forget the one who got it done!

  • @mikeflowerdew7877
    @mikeflowerdew7877 2 роки тому +1

    There are certainly shortcuts in science too. Finding the "right" way to measure something can give you access that's otherwise impossible or very difficult. The Wu experiment for parity violation is a great example of that. Often something as simple as measuring the difference of two quantities rather than their absolute size is a great shortcut, allowing many systematic errors to cancel to nearly zero.

  • @JNCressey
    @JNCressey 2 роки тому +2

    For the weights solution given at the end, that is a number representation called balanaced ternary.
    The traditional set of weights of powers of two represents the number in binary - each weight represents the place values. the weight being on the scale represents that place being '1' in the binary number, and the weight being off the scale represents that placebeing '0' in the binary number.
    Balanced ternary has three digits '1', '0', and '-1', and each place value is a power of 3. (typically some other symbol is used to mean '-1' so you don't have minus signs in the middle of the number). Again the weights represent the place values, on is '1' and off is '0'. And additionally, the weight being on the opposing side of the scale represents a '-1' for that place.

    • @joaorodr84
      @joaorodr84 Рік тому

      I was having a hard time understanding the solution. You gave the perfect explanation. Thanks a lot. :)

  • @ChiralWolf
    @ChiralWolf 2 роки тому +11

    Shortcuts for athletics sounds very similar to finding a shortcut for NP. Once you’re skilled at one area or physicality you’ll have a huge leg up on looking into another area than someone that’s just starting fresh.

    • @waterbird2686
      @waterbird2686 2 роки тому +1

      Steroids

    • @Adhjie
      @Adhjie 2 роки тому

      @@waterbird2686 cratines actually a friend with the same names of franku frank yang a bit crazy ik

  • @whiterottenrabbit
    @whiterottenrabbit 2 роки тому +1

    Loved Marcus du Sautoy ever since The Story of One, nice to see him in action again :)

  • @YourLocalCafe
    @YourLocalCafe 2 роки тому +3

    It is so satisfying when you solve a problem in 4 lines which your benchmate did in 14.

  • @timwlake
    @timwlake 2 роки тому +1

    The shortcut perspective is very interesting. The work does need to be done upfront though with the proof but once that's solid, you can take the shortcut. It reminds me of how you have to put in the work upfront in other areas to be able to use the shortcut, like practicing an instrument as stated in the video. There's just different levels of "work upfront" for these different areas. I'm a Computer Scientist so our work upfront is coding something that we can then use a billion times to shave off some time that would be spent doing something manually. The whole of computing is standing on each others shortcuts and building these complicated systems from "stacked" components that others have written to save us the trouble of having to write the code ourselves. We try to write as little new code as reasonably possible. It's an interesting perspective. I love the video.

  • @malteplath
    @malteplath 2 роки тому +1

    I love the artwork and animations in this one.

  • @hughcaldwell1034
    @hughcaldwell1034 2 роки тому +22

    My initial thought for the weights was powers of 2 and just use binary. Then placing them on either side (duh!) was mentioned. My current answer is 4 weights, using powers of 3. This works, and works very neatly. Not sure if it's optimal, but I'll be very annoyed at myself if I don't get it.

    • @tobyk.4911
      @tobyk.4911 2 роки тому +3

      yes, I also think that its powers of 3. And the choice of 40 as the maximum of the given range of numbers which should be covered is probably also a hint that the "4 weights using powers of 3"-solution is intended, because it fits so well to the "1 to 40"-range (as with this solution, all integer values from 1 to 40 can be measured, but not 41)

    • @Bill_Woo
      @Bill_Woo 2 роки тому +2

      Winner. I also started "somewhat" on binary but on recognition of both sides I began exhaustively going 1,3; but then instead of jumping to 9 I lamely only went 5, which handled 5, 5+1, 5+3-1, 5+3, 5+3+1. Then the next needed would be 10. So 1,3,5,10,20,40. Owww! Glad I read your post. I have a new perspective on cubing now. It had no intuitive resonance to me previously, just being a "stronger variant of squaring." Thanks for the inspiration!
      P.S. Mother YT has been brutally deleting my innocuous messages, capriciously but relentlessly, so don't reload the page or I may be gone after you do!

    • @wesleylima5723
      @wesleylima5723 2 роки тому +1

      What I think is cool is that we could use 1, 3, 9, and 27, but we could also use 2, 6, 18, and 54!

    • @Bill_Woo
      @Bill_Woo 2 роки тому +1

      BTW I replied to you before watching the end :) I hope I'm not giving you too much credit, ha ha

    • @hughcaldwell1034
      @hughcaldwell1034 2 роки тому +3

      @@wesleylima5723 How do you get odd values?

  • @alexwolffe7805
    @alexwolffe7805 2 роки тому

    I smile every time I hear Marcus du Sautoy talk about mathematics. Even more if he does it in Numberphile.

  • @Whateverworksism
    @Whateverworksism 2 роки тому

    Man, I really like this guy. Marcus is such an inspiring human.

  •  2 роки тому

    Really clever questions. Great interview!

  • @AKhoja
    @AKhoja 2 роки тому +6

    Calling this ahead of time: you need 5 weights (1,3,9,27,27) since every integer from 1 to 40 has a guaranteed ternary expansion and 2*3^n for the nth place is 3^(n+1)-3^n which is equivalent to adding an extra 3^(n+1) weight on one side of the scale and a 3^n weight on the other side.

    • @AKhoja
      @AKhoja 2 роки тому +5

      So I see why this is wrong now but I'll leave this up for humility's sake--always remember to look for optimizations!

    • @france8607
      @france8607 2 роки тому

      @@AKhoja what does ternary expansion means

    • @hughcaldwell1034
      @hughcaldwell1034 2 роки тому

      Thanks for leaving this up. Too many people would've been too embarrassed, but this looks like a mistake I easily could have made, and is the closest (bar one) to a correct answer I've seen here.

    • @officialEricBG
      @officialEricBG 2 роки тому

      Why did your original solution need 2 27s?

    • @tobyk.4911
      @tobyk.4911 2 роки тому

      @@france8607 ternary means "with base 3".
      Usually we write numbers with base ten, i.e in the so called "decimal" system, e.g. 121 = 1*10^2 + 2*10^1 + 1.
      In the ternary system, 121 would be the representation for 1*3^2 + 2*3^1 + 1 = 1*9 + 2*3 + 1 = 16.

  • @crabe804
    @crabe804 2 роки тому

    I deeply appreciated the use of kilograms, thank you very much.

  • @lokey8084
    @lokey8084 2 роки тому

    Something about this really hit close to me. I am a developer and my main job is to find the correct shortcut for a problem. I really loved solving a problem my way and this video really bring back some good memories.

  • @rodbhar6522
    @rodbhar6522 2 роки тому +1

    I use the term "insights" rather than shortcuts. Spend your time finding the patterns, symmetries, constraints, etc. and then the solution to a problem is often obvious. And the same insights can be reused in other problems.

  • @Epinardscaramel
    @Epinardscaramel 2 роки тому +1

    What a fascinating video! I love it

  • @AbhijeetBorkar
    @AbhijeetBorkar 2 роки тому +2

    I really love the animation in the video!

  • @bhatkrishnakishor
    @bhatkrishnakishor 2 роки тому +1

    Professor your appearance has changed drastically. Throughout the video I was scratching my head where have I seen your videos, only to discover that you made three part series on measurement on BBC.

  • @mathewgriffiths1870
    @mathewgriffiths1870 2 роки тому

    Love the shop names!

  • @AaronRotenberg
    @AaronRotenberg 2 роки тому +1

    The best part of this video is the names on the storefronts.

  • @zhinningenge1754
    @zhinningenge1754 2 роки тому

    Nice T-shirt.
    I love the art of the shortcut. Other courses that required long prose production were the challenge.

  • @robertschlesinger1342
    @robertschlesinger1342 2 роки тому

    Very interesting and worthwhile video.

  • @VincentGroenewold
    @VincentGroenewold 2 роки тому +2

    Teacher at my kids' school, called things like this "tricks" and you shouldn't learn those, you should follow the book. :)

  • @dadoctah
    @dadoctah 2 роки тому

    I'm impressed that you got through twenty minutes on math and shortcuts without once using the word "heuristic". And for the record, the story about young Gauss is a personal favorite of mine, along with the one where at the age of three he corrected his father's payroll calculations ("Vater, die Rechnung ist falsch".)

  • @smwatt
    @smwatt 2 роки тому

    The grocer with 4 weights can measure heavier integral weights too, all up to 80 Kg! Doubling the values in the video, the weights {2, 6, 18, 54} allos even integral weighings up to 80Kg. Odd amounts can be weighed as x > n and x < n + 2.
    With 3 weights, the grocer can measure integral weights up to 26 Kg this way. So the original problem still requires 4.

  • @gaeel330
    @gaeel330 2 роки тому +2

    The Mandelbrot set on the airplane radar is a nice touch

  • @aeschynanthus_sp
    @aeschynanthus_sp 2 роки тому +1

    I Marcus du Sautoy!

  • @EebstertheGreat
    @EebstertheGreat 2 роки тому +1

    The Whiskas ad actually claimed that 8 out of 10 _owners_ said their cats preferred Whiskas. Actually, in their market research, most owners said their cats didn't care, and only 8 out of 10 who expressed a preference said their cats preferred Whiskas.

  • @NLGeebee
    @NLGeebee 2 роки тому +3

    3:49 So the meta-question is: is there a shortcut method for finding shortcuts?

  • @ipadair7345
    @ipadair7345 2 роки тому +7

    great animation

  • @simonstrandgaard5503
    @simonstrandgaard5503 2 роки тому

    Great usecase of ternary numbers.

  • @stevenkingston7566
    @stevenkingston7566 2 роки тому +8

    The answer to the weight problem seems very closely related to the Towers of Hanoi puzzle, based on the way they were used to count up to 40 at the end of the video. Is this just a quirk of how the animation was done?

    • @dhayes5143
      @dhayes5143 2 роки тому +1

      I see the visual similarity but can't think of any similarity in even how to analyse these two problems. But if you can find it, you can probably publish it! =D

    • @ruben307
      @ruben307 2 роки тому +1

      maybe if you have not on a scale as a third pile you can draw it similar to the tower of hanoi. Maybe there is a connection between steps of 1 are possible(cointing to 40) and you dont have to pick up more than 1 at a time(tower of hanoi)

    • @bastiankraft3108
      @bastiankraft3108 2 роки тому +2

      Counting in Ternary and solving Towers of Hanoi puzzle is the same thing essentially, 3Blue1Brown has a video on it.

  • @anarcho.pacifist
    @anarcho.pacifist 2 роки тому +1

    My intuition was to use weights of powers of two

  • @tahaabujrad2035
    @tahaabujrad2035 2 роки тому +1

    The weight of any block can be multiplied by 3 numbers (-1,0,1), which means that the trinary system is the best one to represent the weights, for example if we want to represent the weight 22(in decimal) we first write it in trinary as 0211(in trinary) (i.e. 2*9+1*3+1*1=22) but because we have negative weights we can always replace any 2 by -1 and adding 1 to the next weight and, i.e. 0211 -> 1(-1)11 -> 1*27-1*9+1*3+1*1=22. another example: 25(in decimal) = 0221(in trinary) -> 1(-1)21 -> 1(-1+1)(-1)1 -> 10(-1)1 (1*27-1*3+1 = 25). again this is the correct answer because the weights have 3 states, however if the weights only have 2 states (1,0) the binary system is the best one.

  • @oli0808
    @oli0808 2 роки тому

    I didn't even clock this was Marcus du Sautoy until the photo was put up!

  • @johnchessant3012
    @johnchessant3012 2 роки тому +1

    His book "The Music of the Primes" is really awesome too!

  • @janhronec2013
    @janhronec2013 2 роки тому

    Thanks!

  • @RuthlessDutchman
    @RuthlessDutchman 2 роки тому +2

    Man, I thought I was so smart thinking "Aha! you want to add stuff up with the least amount of numbers? Just use powers of 2! (exclamation, not factorial) The answer is 5! (exclamation, not factorial)"
    Seeing the solution knocked me down a couple of pegs but reminded me to see the 'full problem' before simplifying it in my head.

    • @moonlightcocktail
      @moonlightcocktail 2 роки тому

      Funnily enough, 2! is still 2

    • @RuthlessDutchman
      @RuthlessDutchman 2 роки тому

      @@moonlightcocktail thanks, school forgot to teach me that when we learnt about factorials.

  • @quartzofcourse
    @quartzofcourse 2 роки тому

    Derivatives are such a cool shortcut, I knew about it when I was learning the long way in class, like let’s just use the short cut! Cmon!

  • @Bostonceltics1369
    @Bostonceltics1369 2 роки тому

    Love for this person and channel. It's in the name of course. ;-)

  • @snowballeffect7812
    @snowballeffect7812 2 роки тому +1

    Dude has a nice and sturdy carrom board! I hope he plays once in a while!

  • @PRINCEKUMARCHAUDHARY.
    @PRINCEKUMARCHAUDHARY. 2 роки тому

    Excellent sir 🤗

  • @Bill_Woo
    @Bill_Woo 2 роки тому +1

    The sum of the first N integers is N(N+1)/2, or N/2 times the sum of the first and last term, or N times the average of the first and last term.
    So f(100) is 5050. Here's another shortcut, which seems trivial from general principles, but still a handy application of that shortcut:
    51+52+53+54+...+70 is f(70) minus f(50). So it's 2485 - 1275 = 1210.
    OR...just take then number of terms, 20, times the average term, 60.5 :) Or, like Gauss, 10 times (51+70).

  • @cameo64
    @cameo64 2 роки тому +1

    If you add 1-10, you get 55. If you add 11-20, you get 155. Do this 10 times and you get 55, 155, 255, etc. So its 10(55) + (10-1)(100) = 550 + 4500 = 5050. Gauss's shortcut was way better, but I like mine too

  • @mathoc5273
    @mathoc5273 2 роки тому

    Love the Gauss sum story!

  • @FloydMaxwell
    @FloydMaxwell Рік тому

    Rules of thumb...are shortcuts. For example in chemistry, "like dissolves like" is a rule. If you're wondering if salt will dissolve in butane, the answer is no because salt is polar and butane is non-polar.

  • @rer9287
    @rer9287 2 роки тому

    The lesson from Alan Turing is that all computation is addition. Addition is Turing complete. So if you are ever doing a calculation that is not obviously addition. its a short cut to some underlying addition.

  • @JerseySlayer
    @JerseySlayer 2 роки тому

    Great video.

  • @urugulu1656
    @urugulu1656 2 роки тому

    gotta love that mandelbrot pattern in that animated radar

  • @martinepstein9826
    @martinepstein9826 2 роки тому +1

    Something that used to confuse me: People always say the traveling salesman problem is in NP, but I never understood how you could quickly check that a given route is the shortest. Isn't that just has hard as the original problem since you need to check it against every other route? It turns out that finding the shortest route is _not_ in NP as far as we know. What _is_ in NP is a different version of the problem where the goal is just to find a route with length less than a given number.

    • @zapazap
      @zapazap 2 роки тому +2

      Thank you. Alarm bell started to ring in my head when he said that.
      Also be overstated what follows from the 'at most to odd vertices' to the bridge problem. The argument he gave shows this condition is necessary, but not that it is sufficient.

  • @alejandracaracas8821
    @alejandracaracas8821 2 роки тому

    Excelente video

  • @ZachGatesHere
    @ZachGatesHere 2 роки тому

    I'd love a full Numberphile dive on P vs NP. It's such a broad problem and one that I still feel like I don't fully grip. The idea that if you prove ONE of those problems has a simple solution means ALL of them fall with it breaks my brain a little.

  • @rosiefay7283
    @rosiefay7283 2 роки тому

    1:28 Seeing as you need only cover every integer, you could use 2, 6, 18,... And then your stated upper bound of 40 is not felicitous (try 26 or 80 instead). The reason is that you can handle e.g. 9 by observing that it is heavier than 8 but lighter than 10.

  • @hobanengineering
    @hobanengineering 2 роки тому

    Thanks

  • @Epinardscaramel
    @Epinardscaramel 2 роки тому

    I'd love to know more about the usefulness of complex numbers in radar calculations!

  • @marksonson260
    @marksonson260 2 роки тому

    This is also how I like to think about theoretical mathematics. More often than not the more applied the general problem formulation is the more theoretical value it contains.

  • @JxH
    @JxH 2 роки тому

    I hope that Professor du Sautoy will do another BBC Radio podcast series, or perhaps another BBC TV documentary, about Maths or History of Maths. The previous ones were very enjoyable and informative. Cheers Professor !! Thanks Brady. Stay well.

  • @vibhu91
    @vibhu91 2 роки тому +1

    Here’s a one line solution->
    Let the no of min weights be n+1. The min number of weights imply that to get 40, all the weights should be exhausted and be used exactly once. That means 40 base10 = 11..1 base n where the number in base n has n+1 ones.
    It turns out 40 base 10 = 1111 in base n=3 since 40 = 3^3 + 3^2 + 3^1 + 3^0. Hence ans is n+1 = 3+1 = 4. The weights are 1,3,9,and 27.

    • @adrigax
      @adrigax 2 роки тому

      Well done. But I'm not sure how this is a proof that you can get every single number up to 40 with your weights.

  • @dhayes5143
    @dhayes5143 2 роки тому

    In the natural sciences, there is shortcut strategy in common with mathematics - generalising. That is, once we have solved the specific case (for particular subatomic particles or molecules or species), can and how can that be generalised to help us solve other problems that share some similarities? This then builds towards developing predictive theoretical frameworks in whatever particular subfield you are working in. Mathematical biology is full of this.

  • @migfed
    @migfed 2 роки тому

    This is so beautiful

  • @pers0na47
    @pers0na47 2 роки тому +1

    Does the solution to the weights problem have any connection to balanced ternary or other non-standard numeral bases?

  • @cryptc
    @cryptc 2 роки тому +3

    Seeing the enemy army, and instead of counting every soldier you count how many rows and columns and just multiply... or the practical person will instead ballpark that there's a lot of enemy soldiers with a glance and get out of there instead of counting ;)

  • @autolykos9822
    @autolykos9822 2 роки тому +6

    It is also said that laziness is the main virtue of software engineers - and since algorithms are basically math, that fits pretty well.
    The other two are impatience and hubris, btw.

  • @dead-claudia
    @dead-claudia 2 роки тому

    in software lambda calculus proved so much of a shortcut that it's essentially replacing most forms of type inheritance that wasn't already displaced by moving to object composition where practical and newer programming languages have much less rich object-oriented features as a result too bc it's just not necessary

  • @bpark10001
    @bpark10001 2 роки тому

    Double-sided balance >> TRINARY SYSTEM. 1, 3, 9, 27kg. You can put weight in side opposite the unknown, or on the same side. You can add, subtract, or do nothing. 3^4 combinations are possible, every one measuring a unique weight, but about half of these measure negative weight. So you can measure from -40KG to 40KG (81 combinations).
    If you knew that the unknown was always an integer number of KG, you could limit the resolution of the test weights to 2Kg, permitting weighing up to 80Kg before you need to add another weight to the set.

  • @bentupper4614
    @bentupper4614 2 роки тому

    Using an extra trick, we can use 4 weights to measure up to 80kg of bananas. Just double each power of 3 to get: 2, 6, 18, 54. Since we know we're only measuring "whole number units" (1:11), we can solve for an even number weight as before and we can solve for an odd number weight through elimination: If 4 < x < 6, then x = 5.

  • @Yezpahr
    @Yezpahr 2 роки тому

    My dad taught me there were 49 sets of 1+99=100, 2+98=100, and so on, then you add the 50 and 100 that are left out.
    But the sets of 101 are a fun shortcut too.