e to the pi i for dummies

Sdílet
Vložit
  • čas přidán 23. 12. 2015
  • NEW (Christmas 2019). Two ways to support Mathologer
    Mathologer Patreon: / mathologer
    Mathologer PayPal: paypal.me/mathologer
    (see the Patreon page for details)
    For this Christmas video the Mathologer sets out to explain Euler's identity e to the pi i = -1, the most beautiful identity in math to our clueless friend Homer Simpson. Very challenging to get this right since Homer knows close to no math!
    Here are a couple of other nice videos on Euler's identity that you may want to check out:
    • Math in the Simpsons: ... (one of our Math in the Simpsons videos)
    • e to the pi i, a nontr... (by 3Blue1Brown)
    And for those of you who enjoy some mathematical challenges here is your homework assignment on Euler's identity:
    1. How much money does Homer have after Pi years if interest is compounded continuously?
    2. How much money does Homer have after an imaginary Pi number of years?
    3. As we've seen when you let m go to infinity the function (1+x/m)^m turns into the exponential function. In fact, it turns into the infinite series expansion of the exponential function that we used in our previous video. Can you explain why?
    4. Can you explain the e to pi i paradox that we've captured in this video on Mathologer 2: • e to the pi i = -1 par... .
    If you own Mathematica you can play with this Mathematica notebook that I put together for this video
    www.qedcat.com/misc/Mathologer...
    Thank you very much to Danil Dmitriev the official Mathologer translator for Russian for his subtitles.
    Merry Christmas!

Komentáře • 4,1K

  • @headshock1111
    @headshock1111 Před 8 lety +12403

    I feel like I'm cheating on numberphile but this guy is good

    • @krisztian76
      @krisztian76 Před 8 lety +36

      +Sam Parker They should do it first.

    • @thelatestartosrs
      @thelatestartosrs Před 8 lety +202

      +Sam Parker numberphile dont talk about things like that too much

    • @MarcelRobitaille
      @MarcelRobitaille Před 8 lety +8

      Lol

    • @OneZombieTrain
      @OneZombieTrain Před 7 lety +13

      cough cough, what got released today

    • @rookandpawn
      @rookandpawn Před 7 lety +148

      This is the best explanation i've ever had. His teaching style is perfect for my homer brain

  • @zavionw.8052
    @zavionw.8052 Před 4 lety +4301

    i: Be rational!
    π: Get real!
    e: Stop fighting, you're gonna make me negative!

  • @mattsoutback59
    @mattsoutback59 Před 4 lety +807

    "really awful to the power of awful"

    • @rasterbate87
      @rasterbate87 Před 4 lety +10

      "offal to the power of offal" is what I thought he said

    • @kaet8333
      @kaet8333 Před 2 lety

      As a non math person that is my reaction when I see something like that in a calculator

  • @conordorney217
    @conordorney217 Před 4 lety +800

    I remember seeing this video 3 years ago when I really was getting into maths and science. I could never make sense of how this could possibly work. What's nice about this video is that now I'm studying chemical physics and have the maths to fully understand this. Kind of nostalgic looking back on problems that I once was unable to grasp.

    • @Dustin314
      @Dustin314 Před 4 lety +39

      I've noticed this same thing with various math topics. As my education has progressed, I find that certain things I used to scratch my head over have become much clearer. It's a great feeling!

    • @w451-qx3kx
      @w451-qx3kx Před 3 lety +11

      facts, things that i never possibly thought i could understand in comp sci are now my everyday formulas and functions.

    • @alejrandom6592
      @alejrandom6592 Před 3 lety +2

      The feeling

    • @pkrissz
      @pkrissz Před 3 lety +2

      We are all getting old folks.

    • @davidashbourn6342
      @davidashbourn6342 Před 2 lety +3

      @@Dustin314 what tips can you recommend to someone trying to get to your level?

  • @MaxDamage1984
    @MaxDamage1984 Před 5 lety +3312

    I seriously doubt Homer would be able to understand this.

  • @walterrussell9798
    @walterrussell9798 Před 5 lety +785

    If Euler's spirit were around, he would be so very, very pleased with this explanation!! Euler was known for simplified, and many, theoretical explanations for any given math "puzzle" (like e). He was not arrogant, his explanations were not configured to be hidden or difficult. He wanted everyone to enjoy/understand/be in awe of a given math puzzle - what this explanation does for this viewer. THANK YOU!!

    • @findystonerush9339
      @findystonerush9339 Před rokem +4

      lol

    • @redandblue1013
      @redandblue1013 Před rokem +43

      @@findystonerush9339 three years has this comment endured without reply, and all you can say is “lol”

    • @PC_Simo
      @PC_Simo Před rokem +7

      @@redandblue1013 Struck me as odd, too. 🤔

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

      This isn't even simple, this is too hard on my brain.

    • @maybehelper
      @maybehelper Před 10 měsíci +1

      ​@@-originalLemon-samw

  • @meh5082
    @meh5082 Před 4 lety +2093

    “This guide can be understood by anyone that knows how to do addition, subtraction, multiplication and division!”
    *Uses exponents, graphs, imaginary numbers, funcions...*

    • @eduardoandrescastilloperer4810
      @eduardoandrescastilloperer4810 Před 4 lety +95

      NotValik he eventually arrives there but the function just uses those operations. In fact that’s what calculators do

    • @nspoly
      @nspoly Před 4 lety +24

      question, do you use grammarly? cuz the last wrd is messed up

    • @neurofiedyamato8763
      @neurofiedyamato8763 Před 4 lety +45

      Well he uses addition, multiplication and division to explain these concepts.

    • @PotatoSofi
      @PotatoSofi Před 4 lety +18

      Well...
      I don't reeeeally know imaginary numbers, but I know functions and exponentials, so I can uderstand everything very well.
      BUT you're right. Someone that just knows the four basic operations wouldn't even understand the point of the first part of the video when he explains the 'e'.
      If you really want to SHOW what is e^(pi*i), it's somewhat easy. You could cut a lot from his explanation and turn it in a more "childish language", but he tried to explain in a way that he talks about everything, trying to put every piece of the puzzle in place and forming that more complete image of parts of the operations.
      The problem is: kids (and hommer) doesn't like a 500 pieces puzzles, they don't need a 720p image to "understand" something. Just give them a 40 pieces puzzle and draw some stick figures in Paint and they will be very happy.

    • @hassanakhtar7874
      @hassanakhtar7874 Před 4 lety +29

      Sorry to be that guy but exponents are repeated multiplication (for natural number exponents)

  • @arttukettunen5757
    @arttukettunen5757 Před 4 lety +547

    Different school subjects' levels taught by youtubers:
    Anything else: middle school
    Math: *University*

    • @shayanmoosavi9139
      @shayanmoosavi9139 Před 4 lety +9

      And that TRIGGERS me.
      #StopDiscriminationAgainstOtherTopics

    • @shayanmoosavi9139
      @shayanmoosavi9139 Před 4 lety +11

      @Floofy shibe yeah, advanced physics like quantum mechanics and general relativity are math heavy. Some of the math include differential equations, single and multi variable calculus, linear algebra, tensors and other things I'm not aware of yet. All of these subjects are fun, specially differential equations.

    • @emilmullerv3519
      @emilmullerv3519 Před 4 lety +7

      @*Floofy shibe* not really, omce you get into advanced maths and advanced physics you see the differences in techniques and thing being taught. It is true that they are deeply related, but the interest of a maths phd are very different than those from a physics phd

    • @keepinmahprivacy9754
      @keepinmahprivacy9754 Před 3 lety +45

      @*Floofy shibe* Math is a language, so if you think of a Math degree like a Linguistics degree, then Physics would be more like a Literature degree. One studies how language works, while the other studies something else that is expressed in language.

    • @maoad_dib
      @maoad_dib Před 3 lety +16

      @@keepinmahprivacy9754 you just earned a poetry degree

  • @MilanTheAngel
    @MilanTheAngel Před 7 lety +3813

    Thanks I now feel more stupid than Homer.

    • @jmiquelmb
      @jmiquelmb Před 7 lety +197

      Well, it's not about being stupid or not. You need to know several fields of math before trying to understand this, like complex numbers and some algebra tricks. Don't feel bad about it :)

    • @dannygjk
      @dannygjk Před 6 lety +2

      lol

    • @fokkenhotz1
      @fokkenhotz1 Před 6 lety +13

      playboy bunnies love carrots

    • @graffitijunkiejfk
      @graffitijunkiejfk Před 6 lety +4

      Was just thinking, how would Homer et this when I can't...lol...

    • @zandnothinga7367
      @zandnothinga7367 Před 6 lety +1

      Carrot Slice
      Not feel
      You are

  • @JamesAda
    @JamesAda Před 7 lety +1008

    You would have lost Homer @ 0:11 after you said "Pie"

  • @alejrandom6592
    @alejrandom6592 Před 3 lety +81

    It took me more than a semester of teaching myself calculus, geometry, trigonometry and algebra but I finally understood a "for dummies" mathologer video :D

  • @math2693
    @math2693 Před 4 lety +103

    I never never ever thought that I might see as strong visual proof for this amazing formula as this guy's👏🏻👏🏻👏🏻 this is so 100% enough

  • @mdnpascual
    @mdnpascual Před 8 lety +778

    I like that quote "Really awful to the power of awful"

    • @kaninchengaming-inactive-6529
      @kaninchengaming-inactive-6529 Před 5 lety +2

      (a+b)^2
      =a^2+2ac+b^2
      (a-b)^2
      =a^2-2ab+b^2
      (a+b)*(a-b)
      =a^2-b^2

    • @Miftahul_786
      @Miftahul_786 Před 2 lety +3

      @@kaninchengaming-inactive-6529 someone figured out the difference of 2 squares..

    • @AirshipToday
      @AirshipToday Před 2 lety

      @Tom Petitdidier I think it was a typo it should be a 'b'

    • @aliasghargondal3787
      @aliasghargondal3787 Před 2 lety

      @@kaninchengaming-inactive-6529 In the beginning , there shouldn't be a 2ac , it should be 2ab. (Everyone makes mistakes don't feel bad)

    • @aliasghargondal3787
      @aliasghargondal3787 Před 2 lety

      Sorry if I seemed rude

  • @rosefeltch6313
    @rosefeltch6313 Před 5 lety +2231

    e^πi = i²

    • @footlover9416
      @footlover9416 Před 5 lety +52

      @Eric Lee you know what he meant

    • @footlover9416
      @footlover9416 Před 5 lety +15

      no I mean since the video is e ^ (pi x i) you could assume that u multiply before you exponentiate for this comment@Eric Lee

    • @footlover9416
      @footlover9416 Před 5 lety +9

      ur right I didn't see he had the 2
      I was going to give him the benefit of the doubt and say that maybe he copy and pasted the 2 and couldn't find anything else but this dumb as you can change this easily
      I agree@Eric Lee

    • @rosefeltch6313
      @rosefeltch6313 Před 5 lety +41

      The carat (^) is a symbol for exponentation, and e^πi is -1, so is i²

    • @soup4001
      @soup4001 Před 5 lety +17

      @@rosefeltch6313 they are talking about how it should be e^(pi*i) instead of e^pi*i because the latter would be equal to i*e^pi =/= -1 ... As long as we get the point i don't think semantics matter though..

  • @ksbvddz229
    @ksbvddz229 Před 2 lety +18

    I am 14 and understood this. These videos are the types that remind me why I love math even tho my teacher is pretty bad since he spends the whole hour arguing with kids about eating in class and not teaching us. I love this video. Thank you for it :D

  • @prasadjayanti
    @prasadjayanti Před 3 lety +34

    I am a Ph.D physicist and working as a data scientist but never knew this simple intro to e. Thanks .

  • @MrHandsomeStudios
    @MrHandsomeStudios Před 5 lety +1350

    When m goes to infinity, it comes closer and closer to a Pokemon ball

  • @YilmazDurmaz
    @YilmazDurmaz Před 5 lety +415

    after so many years in my engineering life, first time to see what it means to multiply two complex number in graphical explanation. thanks.

    • @maythesciencebewithyou
      @maythesciencebewithyou Před 4 lety +1

      @oynozan Sen simdilik sadece lise desin. Bu lise konusu degil. Yilmaz mühendiz.

    • @maythesciencebewithyou
      @maythesciencebewithyou Před 4 lety +1

      @oynozan ilginc. Türkiyede lisede karmasik sayilari ögretiklerini bilmiyordum. Teknik lisesidemi oluyor, yoksa her lisede konumu?

    • @shantanusolanki3794
      @shantanusolanki3794 Před 3 lety

      It is easy to infer from the Euler's formula, e^(ix). And so, the demonstration here, is assuming what we have to prove. Well, not exactly, what we have to prove but a particular value of what we have to find.

    • @hikarunakamura5582
      @hikarunakamura5582 Před rokem

      @@maythesciencebewithyou karmaşık sayılar standart müfredatta vardır ancak karmaşık düzlem üzerinden anlatılmaz. sadece i nin kuvvetleri verilir ( i^2=-1 tarzı bilgiler)

  • @stickmcskunky4345
    @stickmcskunky4345 Před rokem +11

    Fantastic. I didn't quite grasp complex multiplication and I definitely didn't understand e^πi but this gives me a *solid* starting point. Much appreciated even 7 years later.

  • @madmaximus2836
    @madmaximus2836 Před 2 lety +2

    The first thing my Physics 1 professor said during his introductory lecture (after he greeted us) was: The universe is described by 3 numbers: 2 are irrational and the 3rd does not exist. He was referring to pi, e and i. Rest in peace, Prof Strauss ...
    Thanks for your cool lecture of the 3 numbers that describes the universe. This brings back so much nostalgia even after more than 30 years. It is Saturday night and I watched this video. Guess I'm still a nerd and loving it!

  • @GyanPratapSingh
    @GyanPratapSingh Před 8 lety +110

    this is probably the best, most intuitive explanation I have seen of Euller's identity. Really well done!

    • @Mathologer
      @Mathologer  Před 8 lety +21

      +Gyan Pratap Singh (GyanPS) Glad you like this explanation and thank you very much for saying so :) Maybe also check out the two videos in the description (just in case you have not seen them yet). There are quite a few more nice points to be made about all this.

  • @DDranks
    @DDranks Před 8 lety +106

    This was the best explanation for e^(pi i) = -1 I've ever seen, hands down.

  • @samlawhorn
    @samlawhorn Před 4 lety +11

    Mathologer, you're one of the greatest explainers of math of all time. Loved this one!

  • @010falcon
    @010falcon Před 10 měsíci +1

    This actually makes sense
    Studying physics and never understood how the concept of e to the power of i worked

  • @indigogolf3051
    @indigogolf3051 Před 7 lety +232

    Thank you. I watched this purely for nostalgic reasons. I forgot how much I enjoyed studying mathematics forty years ago.

    • @Mathologer
      @Mathologer  Před 7 lety +25

      Glad this one worked for you :)

    • @z3lop59
      @z3lop59 Před 7 lety +1

      kirvesmies can you still do it?

    • @indigogolf3051
      @indigogolf3051 Před 7 lety +1

      Not a chance, unfortunately.

    • @z3lop59
      @z3lop59 Před 7 lety +2

      kirvesmies thats sad. im thinking about studying physics where math is very present as well as you know

    • @z3lop59
      @z3lop59 Před 7 lety +1

      One Thou Wou didnt get what you mean

  • @VelexiaOmbra
    @VelexiaOmbra Před 8 lety +137

    The end bit where we increase m toward infinity was beautiful.

    • @Phoniv
      @Phoniv Před 8 lety +3

      +Velexia Ombra great comment

    • @ashrasmun1
      @ashrasmun1 Před 8 lety

      +Defendor mediocre comment

    • @Zerberusse777
      @Zerberusse777 Před 8 lety

      shitty comment

    • @U014B
      @U014B Před 8 lety +2

      +Zerberusse777 f(comment) = lim- [x -> 0] 1/x

    • @Phoniv
      @Phoniv Před 8 lety +1

      funny,

  • @theinquiringminded6952

    Magnificent seeing it again so many years later and understanding more… bravo! What a great teacher!

  • @wailingalen
    @wailingalen Před 2 lety +1

    I’m not a chem or math major or profession but I’ve always been fascinated with visualizations on math. I love this stuff. Sometimes I have to watch it a few times to wrap my head around it. But this guy does a good job of breaking it down

    • @wailingalen
      @wailingalen Před 2 lety

      I just watched this again and just had an ah ha moment and really understood it more

  • @PotatoMcWhiskey
    @PotatoMcWhiskey Před 8 lety +45

    I dont understand what went on in this video beyond a certain point, but at very least my awareness of my mathmatical ignorance is expanded

    • @Mathologer
      @Mathologer  Před 8 lety +10

      +PotatoMcWhiskey Maybe just watch it a couple of times and maybe do some background exploring in between (reading up/YouTubing up on the basics of complex numbers might help). Also there are a couple of other videos on e to the pi i that are worth checking out and that explore different approaches. I've linked two of them in in the description :) Anyway keep watching videos by us and some of the other great math channels out there and I am sure you'll get there :)

    • @aigen-journey
      @aigen-journey Před 8 lety +1

      +Mathologer I think the part about complex numbers might need a bit more explanation. If someone has never stumbled upon complex numbers the bit about multiplying them on a 2D plane is probably very confusing. Especially since one would usually associate a two axis plane with functions for example.

  • @yanwo2359
    @yanwo2359 Před 8 lety +72

    EXCELLENT! WONDERFUL! Perfect! I have run out of superlatives.
    No distracting, annoying, background "music." No superfluous sound effects. No constant, senseless, movement of the presenter all over the frame. No distracting, constant, hand and arm motion.
    Excellent presentation. Excellent graphics. Excellent explanation. Excellent diction. Other math(s) and science videos on CZcams pale in comparison.
    Thank you very much!
    Jon

    • @Mathologer
      @Mathologer  Před 8 lety +8

      +Yan Wo Comments like this make my day. Thank you very much :)

    • @turun_ambartanen
      @turun_ambartanen Před 8 lety +2

      +Yan Wo
      you ran out of superlatives?
      you never started XD

    • @markhollingsworth1725
      @markhollingsworth1725 Před 7 lety +2

      Agree. The presentation and production style is excellent.

  • @isaacwolford
    @isaacwolford Před 8 měsíci +2

    You did an absolutely beautiful job of explaining this in a simple and beautiful manner! This is the way math should be taught.

  • @evansiegel1732
    @evansiegel1732 Před 3 lety +1

    Brilliant! I always just thought this was somehow a mystical union of pi, e, and i. But now it all comes together.
    This is really what math is about!

  • @Mathologer
    @Mathologer  Před 8 lety +158

    For this Christmas video we set out to explain Euler's identity e to the pi i = -1, the most beautiful identity in math again, but this time to our clueless friend Homer Simpson. Very challenging to get this right since Homer knows close to no math!
    Here are a couple of other nice videos on Euler's identity that you may also want to check out:
    czcams.com/video/Yi3bT-82O5s/video.html (one of our Math in the Simpsons videos)
    czcams.com/video/F_0yfvm0UoU/video.html (by 3Blue1Brown)
    And for those of you who enjoy some mathematical challenges here is your homework assignment on Euler's identity:
    1. How much money does Homer have after Pi years if interest is compounded continuously?
    2. How much money does Homer have after an imaginary Pi number of years?
    3. As we've seen when you let m go to infinity the function (1+x/m)^m turns into the exponential function. In fact, it turns into the infinite series expansion of the exponential function that we used in our previous video. Can you explain why?
    4. Can you explain the e to pi i paradox that we've captured in this video on Mathologer 2: czcams.com/video/Sx5_QGdFmq4/video.html.
    Merry Christmas!

    • @fahadAKAme
      @fahadAKAme Před 8 lety

      +Mathologer how do you know by how much you stretch the triangles?

    • @Mathologer
      @Mathologer  Před 8 lety +1

      +fahadAKAme One of the triangles stays fixed and then you align and stretch the other triangle with the fixed on as shown in the video until the touching sides are the same length :)

    • @fahadAKAme
      @fahadAKAme Před 8 lety

      Mathologer so for every x increase in length of side a,b(the side adjacent to the fixed triangle) there is an equal increase in the length of the other two sides? or is the increase in length is proportional?

    • @Mathologer
      @Mathologer  Před 8 lety +1

      +fahadAKAme Yes, all sides are scaled by the same factor resulting in a triangle similar (in the mathematical sense) to the one you started with.

    • @alexharkler
      @alexharkler Před 8 lety

      So if M=(pi)xi, then doesn't x have to approach negative infinity on the imaginary number line? When M=(pi)x, m approaches infinity as x approaches infinity, but when M=(pi)xi, m approaches infinity as x approaches -i(infinity). So does this mean that -xi and x both approach the same number as x approaches infinity? (Please correct me if I'm wrong, I haven't taken a math course in 6 years)

  • @bonecanoe86
    @bonecanoe86 Před 8 lety +597

    So basically e gets you a formula, i puts that formula on a circle, and pi sends you halfway around that circle to -1. Is that the gist of it?

    • @elementalsheep2672
      @elementalsheep2672 Před 6 lety +106

      Yes, but the circle that the formula puts it on is complex, as in it exists in both the real and imaginary plane.

    • @riccardopuca9310
      @riccardopuca9310 Před 6 lety +27

      bonecanoe86 very interesting take on the explanation. I'd say the "circle" is already in e's formula (it's in dividing by "m", which gets you closer and closer to 1), but it is in one dimension only. What "i" does is putting it in 2 dimension, allowing us to see the "circle" we're used to (I.e., a bi-dimensional circle).
      In my opinion, this connection between e and the circle (and thus with pi) is all the more interesting as it is so intrinsic and unavoidable.

    • @ddogworld4
      @ddogworld4 Před 6 lety +3

      Riccardo Puca not even close

    • @mrsecify
      @mrsecify Před 6 lety +23

      Basically if you find the Taylor series of exponential function, cosine and sine function you'll see the connection and why e^i*x = cos(x) + i*sin(x), or in special case where x = pi e^i*pi = -1

    • @MarkMcDaniel
      @MarkMcDaniel Před 6 lety +7

      All mathematical constants can be expressed in formulae, pi included.
      functions.wolfram.com/Constants/Pi/09/

  • @Christina.Anne.
    @Christina.Anne. Před 8 měsíci

    I’ve been studying Euler‘s formula in addition to Euler‘s identity, and this was so incredibly helpful! Thank you so much!

  • @ENCHANTMEN_
    @ENCHANTMEN_ Před 8 lety +572

    14:20 Observe how as M approaches infinity, the endpoint of the series approaches OOH LOOK A POKEBALL

    • @robinfrenzy
      @robinfrenzy Před 8 lety +37

      so (1 + i π/33)^33 = pokeball ?

    • @Kyrbi0
      @Kyrbi0 Před 7 lety +1

      Off-topic but HEY A PREQUEL FAN. Noice username & avatar. : )

    • @gorgono1
      @gorgono1 Před 6 lety +4

      this formula is the secret of creating a pokeball

    • @MilesQuickster
      @MilesQuickster Před 5 lety

      Pokémon is just a bunch of Maths. Migrating from regions is a computed simulation

  • @mrmeowtv6248
    @mrmeowtv6248 Před 7 lety +303

    This video said "for dummies" so I'm here.

  • @GiI11
    @GiI11 Před 4 lety

    This blew my mind on so many levels. It made higher arithmetic finally become relevant. Thanks!

  • @dylan7476
    @dylan7476 Před 3 lety +1

    Wow that was really well explained. I have a few maths exams next week and I could actually understand and follow along with everything you said which is reassuring.

  • @mohasandras
    @mohasandras Před 8 lety +159

    This video is so awesome, I bursted out in tears of joy.

    • @GenericInternetter
      @GenericInternetter Před 8 lety +5

      Huh? Why?

    • @damienw4958
      @damienw4958 Před 8 lety +6

      +Generic Internetter he uses simplicity to explain something so complicated that your brain would explode into a thousand pieces if you understand only a tenth of it!

    • @DaysDX
      @DaysDX Před 8 lety +1

      +Generic Internetter because understanding something that is already so beautiful and important in a brand new way is really really awesome!

    • @AreYouGettingThis
      @AreYouGettingThis Před 8 lety +4

      +mohasandras I was actually grasping onto the edge of my seat towards the end :D

    • @iAmTheSquidThing
      @iAmTheSquidThing Před 7 lety

      I vomited with amazement.

  • @Dhirallin
    @Dhirallin Před 7 lety +130

    You lost Homer at 0:50

    • @UnchainedEruption
      @UnchainedEruption Před 6 lety

      lol XD

    • @toka266
      @toka266 Před 6 lety

      No at 0:00

    • @irrelevant_noob
      @irrelevant_noob Před 5 lety

      Rajie Music indeed, and i would like to add a bit more : especially since he misstated those *_BASIC_* facts about i : 0:49 "square of minus 1", skipping over the "root" bit, and 0:51 "i squared is 1", skipping over the "minus". -.-

  • @colinholloway8076
    @colinholloway8076 Před 4 lety +3

    I got some of it. That will do for now. Love this explanation and REALLY like the graphics. So good to add some concrete explanation to the abstractions.

  • @BAgodmode
    @BAgodmode Před 2 lety

    That is indeed the best way to explain it. As soon as you brought in the triangles, it clicked and I knew exactly where it was heading.

  • @IoEstasCedonta
    @IoEstasCedonta Před 8 lety +204

    Huh. I've got a couple degrees, but I never actually was taught the triangle trick.

    • @WattSekunde
      @WattSekunde Před 8 lety +6

      Wow. Me too!

    • @NoConsequenc3
      @NoConsequenc3 Před 8 lety +46

      The worst thing is that I've always played with shapes on graphs to do things but my teachers would get mad at me and tell me to do it with numbers... yet this guy uses the shapes and I FINALLY UNDERSTAND WHAT IS GOING ON and it pisses me off that I was told this was not "the way"

    • @davidwright8432
      @davidwright8432 Před 7 lety +35

      Your teachers were cautioning you so strongly because there are many occasions in which diagrams can be seriously misleading. On the other hand, when they work, they do so beautifully and all is clear! Being able to spot which situation you have - informative or misleading - comes only with experience. and, of course error; but the only way to detect and correct the error, is by using symbolic (algebraic) arguments, not diagrams. so we're all cautioned never, ever, to use diagrams - or, also as kids, get in a stranger's car. Either can lead to unhappiness!

    • @PR-qe1zn
      @PR-qe1zn Před 7 lety +5

      I think the problem is that unless you're using a graphical program, you still end up multiplying the other sides of the triangle by some scale factor in order to scale the triangle, and it ends up being the same work basically.

    • @lukapopovic5802
      @lukapopovic5802 Před 7 lety +3

      IoEstasCedonta Does anyone know why the triangle trick works ?

  • @dr.drakeramoray789
    @dr.drakeramoray789 Před 7 lety +1078

    the only thing i understood is that im more stupid than homer :(

    • @General12th
      @General12th Před 7 lety +21

      You're more stupider than homer. :)

    • @lukapopovic5802
      @lukapopovic5802 Před 7 lety +8

      Seymore Butts Precednice nismo znali da volite matematiku

    • @Shibzzeg
      @Shibzzeg Před 7 lety +16

      Just return to this video in a few days - it'll be easier to understand

    • @dr.drakeramoray789
      @dr.drakeramoray789 Před 7 lety +4

      moram, zajebase me zadnji put kad sam prodavao rakiju

    • @Oraclethingy
      @Oraclethingy Před 7 lety +10

      Have a good night's sleep and come back! Einstein liked to think of a problem before he went to bed, and it helped him think of a solution in the morning.

  • @pinklady7184
    @pinklady7184 Před 3 lety

    Last year, I didn't understand e^pii. Now I do, completely. Thank you for this tutorial.

  • @gamerparker123
    @gamerparker123 Před 2 lety +1

    My guy still hasn’t gotten the color update. It’s been here for like 90 years and this guy is still chilling with the black and white character pack.

  • @LiborTinka
    @LiborTinka Před 7 lety +1425

    I want to live in a world where this has more views than a hip hop song about some guy's new Lamborghini.

    • @mishadoomen8372
      @mishadoomen8372 Před 7 lety +8

      Libor Tinka you think numbers are more interesting than letters?

    • @LiborTinka
      @LiborTinka Před 7 lety +80

      Misha Doomen
      I just found the relationships explained by such a powerful formula much more intellectually pleasing than an empty song of basically three words dominated by "yo" and "bro"...

    • @blovlh6258
      @blovlh6258 Před 7 lety +3

      Libor Tinka But they aren't dominated by yo and bro... Still young people mainstream though so it works.

    • @mishadoomen8372
      @mishadoomen8372 Před 7 lety +5

      Libor Tinka but that's not true actually. If you would watch a video from KSI about his lyrics on his song 'lamborghini', you would see that he did put a lot of effort into his lyrics.

    • @LiborTinka
      @LiborTinka Před 7 lety +49

      Misha Doomen
      You're right - I am not completely honest with the comparison.
      I just wanted to express sadness over societal values, where an overpriced transportation device used as status symbol matters more than intellect and knowledge.

  • @haikal9329
    @haikal9329 Před 5 lety +336

    “For ddUMmIeS”
    Me: “huh, you underestimated my power”
    *15 minutes later
    Me:...

    • @chekovcall2286
      @chekovcall2286 Před 4 lety +3

      (: IKR? At least he gets credit for my repeated views.

    • @JMZReview
      @JMZReview Před 4 lety +5

      @@chekovcall2286 WHY DID U WRITE YOUR SMILY FACE BACKWARDS
      its :) not (:
      *I HAVE OCD*

    • @joaoneto6216
      @joaoneto6216 Před 4 lety +6

      @@JMZReview :j

    • @alwayswinning7282
      @alwayswinning7282 Před 4 lety +4

      @@JMZReview (: /: [ :

    • @JMZReview
      @JMZReview Před 4 lety +3

      @@alwayswinning7282 i want to die

  • @emilyemily9953
    @emilyemily9953 Před 4 lety +3

    The cat meowing in the background is a beautiful touch

  • @narrotibi
    @narrotibi Před 3 lety

    I watched this 2015 and a couple of times in between and right now.
    One of the best videos ever!

  • @BryanLawlor
    @BryanLawlor Před 7 lety +15

    Brilliant! Watching the magic at 14:20 changed my life. I have always been mystified by this identity but never understood how you get it. Thank you so much!

  • @monolyth421
    @monolyth421 Před 7 lety +110

    e^(πi) = cos(π) + i*sin(π) = -1

    • @JatinSanghvi1
      @JatinSanghvi1 Před 7 lety +57

      That's right. But now you need to explain why the equality e^(πi) = cos(π) + i*sin(π) holds true to Homer.

    • @monolyth421
      @monolyth421 Před 7 lety +11

      That's how I understood it at first because I took Euler's formula without question. The video's explanation is much better.

    • @adamolesiak6528
      @adamolesiak6528 Před 7 lety +4

      Well, e^(πi) = z => z= x + y*i, now just draw the z on the Re/Im axis and draw the connection between z and (0,0) (r). Now some simple trygonometry and we get cos(fi)=x/r ^ sin(fi)=y/r for all z points except from (0,0). So now we got z=e^(πi)=r(cos(fi)+i*sin(fi).

    • @JatinSanghvi1
      @JatinSanghvi1 Před 7 lety

      @Adam, A point z in complex plane can be represented either in terms of its real and imaginary parts (x + iy) or in terms of its magnitude and phase [r (cos ɸ + i sin ɸ)]. I could not understand how this is relevant to the discussion. Anyway, z can also be represented using Euler's formula, z = r e^(iɸ)

    • @monolyth421
      @monolyth421 Před 7 lety +5

      It would be easier to remove the crayon from Homer's brain, then he could understand anything!

  • @itscky2007
    @itscky2007 Před rokem

    Explaining with the graph just makes it so much better to understand, thanks for the explaination!

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

    Using the approximations and taking their limits to infinity visually has to be the absolute best way I've ever seen this proven! Thankyou, i understand it now much more than before

  • @robertodelier9999
    @robertodelier9999 Před 5 lety +263

    Pi: "GET REAL"
    i: "BE RATIONAL"
    Me: *no comment*

    • @ZerDoxXie
      @ZerDoxXie Před 5 lety +16

      roberto delier you just commented therefore you lied

    • @robertodelier9999
      @robertodelier9999 Před 5 lety +9

      @@ZerDoxXie *gasp*

    • @ZerDoxXie
      @ZerDoxXie Před 5 lety +2

      @@robertodelier9999 :O IMPOSSIBRUUUUU

    • @ZerDoxXie
      @ZerDoxXie Před 5 lety +2

      @@robertodelier9999 xDDD

    • @heisenberg4703
      @heisenberg4703 Před 4 lety +4

      e: join me and together we'll get-1

  • @NathanTAK
    @NathanTAK Před 7 lety +58

    "for someone who can only do +-*/"
    "Reminder: i = sqrt(-1)"
    Waaaait...

    • @Roescoe
      @Roescoe Před 5 lety +14

      how about "remember that i*i = -1"

  • @bobkelly3162
    @bobkelly3162 Před rokem

    Now that was seriously good. You cleared years of garbage out of my head and showed the simple, underlying beauty that is always waiting...

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

    Wowee!!! You, or anyone , will not probably read this now as the years have passed. Thank you for that, Mathologer. Brilliant and clearly explained.

  • @vmaier3000
    @vmaier3000 Před 5 lety +13

    This is extremely beautiful! I’m an engineer who loves math but it was many years after graduating college that I came back to math to go beyond formulae and try to ‘internalize’ stuff that I knew by heart!
    Thank you!

  • @whreREtjk4ko
    @whreREtjk4ko Před 7 lety +18

    Beautiful explanation, far clearer than the usual "stretching and rotating numberlines" explanation.

  • @yashagnihotri6901
    @yashagnihotri6901 Před 4 lety +4

    I just loved your intuition of the complex numbers !
    Truly fascinated . The strecth -multiplication , and introduction of a constant "m" in place of "pi" was really a new and brilliant idea for me .
    I am eager to know that did you just figured it out all by yourself?
    Please let me know about the historical background of the astounding explanation that you just gave in the video.

  • @rthmjohn
    @rthmjohn Před rokem

    This video is one for the ages. A true masterpiece.

  • @xakkep9000
    @xakkep9000 Před 6 lety +18

    When you stretched triangles on the complex plane, I say: "WoW!!!! It's awesome!" I had never ever seen that math like THAT. Beautiful!

  • @MarufSajjad
    @MarufSajjad Před 8 lety +13

    This gotta be the greatest explanation for this equation, hats off

  • @MrFlaviojosefus
    @MrFlaviojosefus Před 4 lety +1

    Absolut fantastic!!! This is how a great teacher of Mathematics should speak. Even if I am doing something else while hearing to this video I've got impressed by it.

  • @beachman8106
    @beachman8106 Před rokem +1

    I find it very interesting how so much of higher mathematics can be reduced to geometry or triangles and circles.

  • @chrisgreen_1729
    @chrisgreen_1729 Před 5 lety +12

    Very nicely explained! I've always found it difficult to understand Euler's identity intuitively - amazing that Carl Friedrich Gauss said that "immediately understanding" Euler's identity was a benchmark pursuant to becoming a first-class mathematician.

  • @leofranklin84
    @leofranklin84 Před 5 lety +151

    Absolutely brilliant explanation!!! I don't think even Euler could have put it as good as this. U even got the perfect Tshirt for this

    • @MsAlarman
      @MsAlarman Před 3 lety +3

      The progress of computer graphics

  • @CameronCajun
    @CameronCajun Před 2 lety

    This was super fascinating. Best explanation I've come across. Very succinct.

  • @adlamis
    @adlamis Před 3 měsíci

    I prefer to treat i as a sign, like the negative sign -. In this format the formula is "e to the i pi equals negative one", always remembering that it's "i pi with a little i".

  • @graemsheppard5846
    @graemsheppard5846 Před 5 lety +18

    "It's real magic happening about to happen. Ready to go for magic?" My favourite part of the video :) 14:18

  • @chocolatecrud
    @chocolatecrud Před 7 lety +82

    I finally get it after like 3 hours lol

    • @Mathologer
      @Mathologer  Před 7 lety +96

      I'd say 3 hours well spent :)

    • @chocolatecrud
      @chocolatecrud Před 7 lety +12

      Mathologer Absolutely, helped me understand intuitively

    • @tipeg8841
      @tipeg8841 Před 5 lety

      chocolatecrud prout

  • @darrenhall7807
    @darrenhall7807 Před 3 lety +1

    Well I watched this, thinking I would learn and remember something which I thought was beyond me. I was both right and wrong regarding this matter. Wrong to think I would learn or remember, but right to think it was beyond me. MORAL of this little tale is that it’s ok to be wrong about something, but it’s wonderful to know and be right about yourself.

  • @pedrosanchezpalma4443
    @pedrosanchezpalma4443 Před 2 lety

    This explanation is the golden glue for mixing intuition and maths with regards to the e^pi*i=-1 formula. Many Many thanks for it. This glue will be there for ever.

  • @mhelvens
    @mhelvens Před 6 lety +250

    Nice video. But the bit starting at 5:57, where you suddenly have _m_ instead of _nπ_ because "that will also get you there" feels a bit hand-wavy. Maybe clearer if you explain you're going to increase _n_ in steps of _1/π._

    • @Anon54387
      @Anon54387 Před 5 lety +5

      Hand wavy? What in the world does that mean?

    • @irrelevant_noob
      @irrelevant_noob Před 5 lety +22

      Anon54387 means a figurative waving of hand(s) in that superb style that Obi-Wan exemplified with his "these aren't the droids you're looking for". ;-)

    • @jye-mings.2476
      @jye-mings.2476 Před 5 lety +6

      Michiel Helvensteijn
      you get to infinity both ways so it doesnt matter

    • @irrelevant_noob
      @irrelevant_noob Před 5 lety +5

      Jye-Ming Serres yes, that's basically what Mathologer said in the video. To make things a bit more formal, i think the explanation would rely on the idea of limit(s). And if one knows how a limit works, it basically says that for a given context there's a point (a natural number) after which something interesting happens (in this case, the result gets closer to the value of the limit). And now hopefully it's clearer why an always-increasing (and necessarily unbounded!) sequence of irrational numbers works just as well as the sequence of natural numbers: if there's an irrational point past which the property holds, then there's a natural number for which that same property still holds. QED.

    • @jerryweatherby1171
      @jerryweatherby1171 Před 5 lety +5

      Pirate's Piggy I also felt like the substitution went unexplained (hand-wavey.)

  • @DerGully
    @DerGully Před 5 lety +27

    I love how your arm becomes transparent whenever it's in front of the math you explain. Pretty cool skill, I want that too.

    • @atulanand9292
      @atulanand9292 Před 2 lety

      His figure has been edited to be behind the presentation and the opacity if the presentation has been kept high.

  • @JD-fi4nk
    @JD-fi4nk Před 2 lety +2

    Wonderful video. Thank you for helping to put this mystery in layman's terms.

  • @gerdsfargen6687
    @gerdsfargen6687 Před 2 lety

    Every Mathematics Faculty in every university in the world needs teachers like this guy!

  • @andrewrobertson444
    @andrewrobertson444 Před 5 lety +25

    You are a pedagogical genius. I literally laughed out loud when I saw that triangle multiplication. Brilliant.

  • @ronald7821
    @ronald7821 Před 8 lety +17

    Wow, you are probably the best mathematician/math teacher I've ever come across. You kept me intrigued during the whole entire video and the explanations are so clear. Love your videos!! :D Just out of curiosity, how did you make those background animations, they are awesome!

    • @Mathologer
      @Mathologer  Před 8 lety +5

      Glad you like the videos. I make the animations using various pieces of software: Mathematica (e.g. for the red spirally pictures), Apple Keynote (for the overall slideshow), Adobe Premier, Illustrator and Photoshop for all sorts of detailed stuff :)

    • @ronald7821
      @ronald7821 Před 7 lety

      wow the editing must be a lot of pain. thanks for the amazing work :)

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

    Not a big commenter on videos, but I have to say:
    What an elegant and brilliant visual representation of Eulers formula.

  • @neurofiedyamato8763
    @neurofiedyamato8763 Před 4 lety

    This was amazing, you really explained this very well and simple. Yet also entertaining.

  • @dannyspeagle10
    @dannyspeagle10 Před 7 lety +10

    Thank you, MATHOLOGER...
    This video is perhaps the most brilliantly simple explanation of a seemingly impossibly hard topic.
    It's not perfect, but it is damn amazing.

  • @johannsebastianbach3411
    @johannsebastianbach3411 Před 8 lety +99

    Your video was so great that I subbed you immediately !!

    • @lucasm4299
      @lucasm4299 Před 8 lety +12

      How are you Bach?
      I didn't know you liked calculus?

    • @theresamay4280
      @theresamay4280 Před 8 lety +3

      +Lucas M Well, he would have been about 19 when Newton fully published and explained his notation for calculus, so it's possible.

    • @vinay0429
      @vinay0429 Před 8 lety

      +Lucas M i like lamp

    • @stephencarlin6273
      @stephencarlin6273 Před 8 lety +1

      Same

    • @einstien311
      @einstien311 Před 8 lety +3

      Pokedex entry 132, brah.

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

    bro this is so brilliant and simple at the same time

  • @andreasandreotti4492
    @andreasandreotti4492 Před 4 lety +1

    Thank you sir, it could not be more pedagogical presented. I like mathematics because it has always given me peace of mind. I often try to I solve problems on algebra, geometry and trigonometry in order to get away of everyday concerns. The fascination of it is to reduce a complex problem into the four main calculation forms as you wisely pointed out. You call them tricks, I call it maneuvering, or favorable manipulation. Being a Greek I always have the Aristotelian logical categories in mind that help a lot in mathematical thinking.

  • @youngidealist
    @youngidealist Před 8 lety +58

    Mmmm pie.

    • @youngidealist
      @youngidealist Před 8 lety +4

      What? Only Half? What a gyp!

    • @SKyrim190
      @SKyrim190 Před 8 lety +3

      +Steven R. Parker That is exactly the max Homer would take of this conversation lmao

    • @leavemealonedamnyou
      @leavemealonedamnyou Před 8 lety

      gghhhhhhh *drools*

    • @schmuelinsky
      @schmuelinsky Před 8 lety

      +Steven R. Parker Hey, you could put in a very small number for m. Then the area of the spiral would become bigger and bigger, and at one point, it would be the same area as a full circle pie. And even more, if you continue.
      I might just try and calculate that value of m...

    • @sivad1025
      @sivad1025 Před 8 lety +1

      mmm... i= eating pieee

  • @floridaman6982
    @floridaman6982 Před 5 lety +5

    I never understood e so well until i watched the first 2 minutes of this. Thank you

  • @enermatrix4053
    @enermatrix4053 Před 2 lety

    That was the most elegant and beautiful demonstration of e^i*pi I've ever seen

  • @Anonim01089
    @Anonim01089 Před 4 lety +1

    I really enjoyed this video, I now love maths more than ever!

  • @jonathonfrankel5338
    @jonathonfrankel5338 Před 7 lety +89

    I was in your class last year! I randomly found you on CZcams :D

    • @Mathologer
      @Mathologer  Před 7 lety +15

      MTH1030?

    • @jonathonfrankel5338
      @jonathonfrankel5338 Před 7 lety +8

      Mathologer Yes that was it. I wanted to do the class the beauty of mathematics in nature too

    • @Mathologer
      @Mathologer  Před 7 lety +20

      That other unit runs in first semester in 2017. Meybe I'll see you there :)

    • @timetraveler1203
      @timetraveler1203 Před 6 lety +10

      I am in your MTH1030 class. Love your lectures so much. Really make me think about maths in a new way.

    • @adammiller6299
      @adammiller6299 Před 5 lety +1

      @@timetraveler1203Where does he teach?

  • @Lavvysuperstar23
    @Lavvysuperstar23 Před 5 lety +37

    NO WAAYYY math can be really cool sometimes

  • @oneofthesixbillion
    @oneofthesixbillion Před 2 lety +2

    Yikes, you're equating me with Homer. It's fun anyway, thanks. I'm inspired now to relearn what I learned in the early 80s.

  • @chicago499
    @chicago499 Před 4 lety

    The most impressive thing is how accurately you point knowing that the numbers/equations/whatever are added after

  • @h4ck3r211
    @h4ck3r211 Před 5 lety +32

    I saw this video a couple of years ago and I didn’t understand, I just realized how good it is, it would be very nice that you explained why the complex numbers multiplication has that geometric interpretation, but thank you :)

    • @awfuldynne
      @awfuldynne Před 3 lety +6

      You can write a complex number a + bi as r(cos θ + i sin θ), where r = sqrt(a^2 + b^2)-the distance between the complex number's coordinate (a, b) and the origin (0, 0)-and θ is the origin angle of the triangle with vertices (a, b), (0, 0) and (1, 0) (same triangle as the video). θ = Arctan b/a for complex numbers with a positive real part. Add π or 180° if a is negative. (you don't need to know these functions; I'm mostly listing them as "this is how you translate complex numbers from 'Cartesian' grid coordinates to 'polar' circle coordinates.")
      For reasons I'm not sure how to explain, cos θ + i sin θ = e^(iθ), so when you multiply two complex numbers together, their angles add together. (the explanation I got involved Taylor series, which requires calculus). Adding the angles is represented by the rotation of the triangle needed to line its base up with the side of the other triangle opposite (1, 0). Multiplying the lengths together is represented by stretching the triangle, and it works because the triangle base had a length of 1 before we started stretching, so if the triangle had side lengths 1 and z, and we stretched the whole triangle so the 1 became a w, the z would have to become a zw or we'd have a distorted triangle.
      (I can't always tell which bits are easy or hard, so feedback is useful if I skipped over something I needed to explain)
      Supplementary notes:
      θ is a Greek letter called "theta". It's commonly used as a variable representing angles.
      Trigonometry: Picture the unit circle on a coordinate grid. Starting at (1, 0), travel θ units counterclockwise along the unit circle. You are now at (cos θ, sin θ), where θ is an angle measured in radians. tan θ = sin θ/cos θ. Arctan x is also known as tan⁻¹ x; that's an inverse, not a reciprocal. To keep Arctan x as a single-valued function, its range is limited to angle outputs in the right half of the unit circle, which is why I said to add π "if a is negative", which describes angles on the left side of the unit circle. (x, or tan θ, is undefined for θ = ±π/2, since a = cos θ = 0 for those values that are neither left nor right)
      exponents: e^x * e^y = e^(x + y).
      The Taylor series for e^ix can be separated into a real polynomial with even exponents and an imaginary polynomial with odd exponents. The former is the Taylor series expansion for cos x. The latter is the expansion for sin x. So e^ix = cos x + i sin x

    • @pyramidteam9961
      @pyramidteam9961 Před rokem +1

      @@awfuldynne Good explanation, I don't think Homer would know what you're talking about though

    • @eirdonne_
      @eirdonne_ Před rokem

      @@awfuldynne that went waaaay over my head as a 13 year old. ...what... what language do you speak of?

    • @awfuldynne
      @awfuldynne Před rokem

      @@eirdonne_ I think my main point was to say, "For one of the standard ways to express complex numbers, 'rotate and scale' is a natural way to geometrically interpret multiplication", as an explanation, but I tried to explain the explanation which still needed an explanation because everything requires _some_ background knowledge and then I lose my point amid the rabbit trails.
      To be fair, that first paragraph or section is _how to convert_ a+bi into Re^iθ, making it harder to follow.

  • @enzila468
    @enzila468 Před 8 lety +4

    I don't think homer would understand this, but it was a REALLY cool take on the identity.

  • @skoff7628
    @skoff7628 Před 4 lety

    I really want to thank you for the great videos. I am a huge fan! As a business student I was really happy to see you do a video covering continous compounding. I would be more than happy if you could do a video solely covering this topic in more detail. Sadly I never got this explained, it was always just a given which one has to except. A thing I cant handle really well in mathematics. Das wäre mir eine große Hilfe und glaube ich für sehr viele Zuschauer interessant. Nochmals herzlichen Dank! Ich wünsche eine besinnliche Weihnachtszeit :) LG

  • @Anders01
    @Anders01 Před 2 lety

    Really good explanations! I especially like the bank to e analogy and that multiplying complex vectors of length 1 lead to only rotation.

  • @jmwild1
    @jmwild1 Před 7 lety +87

    My math analysis teacher in high school gave us a great story/mnemonic for remembering e to 15 decimal places. Andrew Jackson was the 7th President, served for 2 terms, first elected in 1828, and was allegedly involved in a love triangle. 2(terms).7(th President)18281828(elected in 1828 for 2 terms)459045(alleged love triangle).

    • @Mathologer
      @Mathologer  Před 7 lety +25

      Nic one :)

    • @Amir-wf2if
      @Amir-wf2if Před 6 lety +17

      why alleged love triangle is 459045?

    • @noa_1104
      @noa_1104 Před 6 lety +24

      Amirabbas Askary The angles are 45° 45° and 90° :)

    • @theroboticscodedepot7736
      @theroboticscodedepot7736 Před 5 lety +10

      It's easy to remember 2.7 now just tack on 1828 and again 1828. Do you need more than 10 digits?

    • @kylemorman7284
      @kylemorman7284 Před 5 lety +42

      This will help me remember that Andrew Jackson was the seventh president.