Probably the weirdest function I encountered as an engineering student

Поделиться
HTML-код
  • Опубликовано: 28 май 2024
  • ►To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/ZachStar/ . The first 200 of you will get 20% off Brilliant's annual premium subscription.
    ►STEMerch Store: stemerch.com/
    ►Follow me
    Odysee: odysee.com/@ZachStar:0
    Instagram: / zachstar
    Twitter: / imzachstar
    Support the Channel: / zachstar
    PayPal(one time donation): www.paypal.me/ZachStarYT
    Join this channel to get access to perks:
    / @zachstar
    2D Graphing Software: www.desmos.com/calculator
    Animations: Arkam Khan (For contact info go to www.arqum333.com/)
    Check out my Spanish channel here: / zach star en español
    ►My Setup:
    Camera: amzn.to/2RivYu5
    Mic: amzn.to/35bKiri
    Tripod: amzn.to/2RgMTNL
    ►Check out my Amazon Store: www.amazon.com/shop/zachstar

Комментарии • 241

  • @edgeman1135
    @edgeman1135 28 дней назад +521

    Dirac rolls "worst function ever"
    Asked to leave mathematics

    • @fightocondria
      @fightocondria 28 дней назад +20

      The other neat thing about the dirac delta is that it can be presented as a smooth function. It's actually kind of mathematically brilliant

    • @ALX112358
      @ALX112358 28 дней назад +5

      Have you never heard of the derivate of the delta function?

  • @kangmoabel
    @kangmoabel 28 дней назад +578

    I forgot that zach made educational videos 😅

    • @louisrobitaille5810
      @louisrobitaille5810 28 дней назад +46

      Don't worry, you're not alone. We all remember when he uploads a video, then forget the next day 😂.

    • @Zero-ef4sc
      @Zero-ef4sc 28 дней назад +15

      I pretty much only watch his comedy skits in Zach Star Himself. I have to watch countries after WW2 video once every day.

    • @zachstar
      @zachstar  28 дней назад +128

      Same

    • @clayel1
      @clayel1 28 дней назад +2

      @@zachstarits been awhile lol

    • @ErikOlexiewicz
      @ErikOlexiewicz 23 дня назад +2

      Are you willing and able to watch his educational videos?

  • @boium.
    @boium. 28 дней назад +149

    As a mathematician I am obligated by law to point out that the Dirac delta function isn't actually a function, but a distribution (or measure).

    • @erikhicks6184
      @erikhicks6184 22 дня назад +9

      Function in the sense of vertical line test, agree. Function in the sense of mapping, disagree.

    • @arnabbiswasalsodeep
      @arnabbiswasalsodeep 20 дней назад +1

      but isn't the distribution defined as a function? a bell curve distribution has its own function too, in the sense y = f(x)

    • @boium.
      @boium. 20 дней назад +7

      @@erikhicks6184 Sure, you can define a function to something like the extended real numbers, or the reals with some extra element called ∞, but that still doesn't immediately clear up what the integral of that function should be. Moreover, if you define multiplication for this new element called ∞ as a*∞ = ∞ for all nonzero a, (or maybe you allow for a sign), then the integral still wouldn't have the desired property for that. It really isn't a function.

    • @dojelnotmyrealname4018
      @dojelnotmyrealname4018 19 дней назад +1

      As a european engineering graduate I learned it as the Dirac Impulse.

    • @norpedholland5696
      @norpedholland5696 Час назад

      As an engineer, I am obligated by law to say, “who cares?”

  • @GaussianEntity
    @GaussianEntity 27 дней назад +38

    The Dirac Delta function is what you get when you allow engineering students to do pure math 😂

  • @77mxb1
    @77mxb1 28 дней назад +292

    The Dirac Delta function can also be thought of as the Normal distribution with mean and variance both at 0

    • @Tymon0000
      @Tymon0000 28 дней назад +6

      That's pretty cool

    • @chrisdupre2862
      @chrisdupre2862 28 дней назад +24

      In fact that can be made rigorous! The nerd way would be to say that as both mean and variance tend to zero, the Gaussian distribution converges weakly to the Dirac delta distribution!

    • @CalvinWiersum
      @CalvinWiersum 26 дней назад +3

      Or you could say this is the one way that a normal distribution is also a uniform distribution.
      Also, sick pfp! Always good to see a fellow fractal enjoyer!

    • @NathanSimonGottemer
      @NathanSimonGottemer 25 дней назад +3

      That's actually the most rigorous definition of the delta if you're putting it as a function -- delta (t) = lim (s->0) e^-(t/s)^2

    • @chrisdupre2862
      @chrisdupre2862 25 дней назад +1

      @@NathanSimonGottemer Except you are missing the 1/sqrt(s) factor such that the pointwise limit doesn't exist at 0 😂. If you pick the right topology though, yes absolutely. It's also not the most rigorous, because any rigorous definition is equally rigorous. Personally, I prefer to define it as a distribution because once you know the set-up, it's the easiest to make sense of (for me).

  • @PitchWheel
    @PitchWheel 28 дней назад +71

    The convolution is the way in music the reverb is calculated. They make the shortest and loudest possible hit inside a church or a concert hall and record the response. This gives everything is needed to matematically simulate that exact space and allow us to imagine any instrument playing there with that exact ambient. Fascinating.

    • @danielpetka446
      @danielpetka446 23 дня назад +3

      Or you can just record the transfer function directly with a chirp

    • @FF_Fanatic
      @FF_Fanatic 21 день назад +4

      In one of my differential equations assignments, we were given four impulse responses from the four cardinal directions around a microphone (L+R channels rather), which could be a clap, a balloon popping, anything like that. We were tasked with recording something and then manipulating it with convolutions using a few lines of MATLAB to change our sound to appear as if it were coming from different places around your head.
      The assignments in that course were pretty neat sometimes. Plus we got the obligatory "how to make rudimentary autotune" explanation. I looked back at my assignment and I have no idea why I did this, but my MATLAB file was named oriAndTheBlindForest.m lmao

  • @Pradowpradow
    @Pradowpradow 28 дней назад +119

    As an engineer in dynamics and vibration, when we study a system, we need to know how it responds freq by freq. To do this, we have two solutions :
    - make the system vibrate at specific frequencies and sweep the frequency to the max value and see at each moment how it responds,
    - make a "bang" test : use a hammer, smash the object, and see the response. Then with convolution and Fourier transform, we get back to the response frequency by frequency

    • @morganandre8887
      @morganandre8887 28 дней назад +10

      The latter of the two sounds much more fun! Until your nightmares of performing convolution for your differential equations class come back to haunt you...

    • @PluetoeInc.
      @PluetoeInc. 28 дней назад

      can you point in a direction that goes deeper in the latter and fun solution ? THANK you in advanced .

    • @pocarski
      @pocarski 28 дней назад +6

      Finally, a scientific answer to why percussive maintenance is so effective

    • @DrDeuteron
      @DrDeuteron 28 дней назад

      that 2nd is called a wide-band signal.

    • @davidhowe6905
      @davidhowe6905 27 дней назад

      I remember being amazed by this when I first saw a video of it being done both ways (though they didn't use a hammer - just played a very short click!). It has economic advantages in that the first method needed an anechoic chamber; but with a click, it was all over before any echo could return.

  • @IBViRUS
    @IBViRUS 28 дней назад +75

    after seing a bunch of zach's videos on other channel its hard to dismiss ironic notes from his voice

    • @andrerenault
      @andrerenault 26 дней назад +1

      I’m waiting for an April Fools sarcastic math explanation

  • @SPY-ce8qf
    @SPY-ce8qf 21 день назад +9

    "Air resistance is accounted for" what is this blasphemy this is not a world I want to live in

  • @fubuma534
    @fubuma534 28 дней назад +50

    That’s until you get to the Discrete time Fourier transform and then they’re all Dirac functions

    • @aegoni6176
      @aegoni6176 27 дней назад +2

      I'm just taking a class on signal theory, and can confirm this. Honestly, it's amazing the power of this function

  • @tetokesenye397
    @tetokesenye397 28 дней назад +35

    Laplace transforms and Engineering Dynamics at play

  • @staticnullhazard6966
    @staticnullhazard6966 28 дней назад +121

    Mad mathematicians incoming: "It's not a function! It's a Distribution."
    3..2..1..

    • @username8644
      @username8644 28 дней назад +12

      Damn right

    • @VeteranVandal
      @VeteranVandal 28 дней назад +4

      B-but it's!

    • @barnabasigari3109
      @barnabasigari3109 27 дней назад +12

      Im a physicist but i must admit that it was my first thought aswell upon seeing this video

    • @bestgrill9647
      @bestgrill9647 26 дней назад +4

      a distribution is just a probability measure and a probability measure is just a function. no mathematician will complain

    • @barnabasigari3109
      @barnabasigari3109 26 дней назад +3

      @@bestgrill9647 if youre saying that you didnt have a professor rant about how distributions are not functions for 10 minutes

  • @excalibercuberdavid4681
    @excalibercuberdavid4681 16 дней назад +3

    I love direc delta because remembering that the inverse laplace of a constant is that constant multiplied by the direc delta function gave me 20 extra points on a Circuits 2 quiz

  • @gamerpedia1535
    @gamerpedia1535 21 день назад +2

    I want to mention that your rectangular formation of Dirac Delta function can be fudged to provide any value to the integral
    Eg.
    From -a -> a we have an area of n
    This means our height would need to be n/2a
    Take a -> ∞ and you get the same resuly, just with an area of n

  • @Gameplayer55055
    @Gameplayer55055 27 дней назад +37

    Mathematicians: wow such a strange function
    Programmers: it's just if(x==0){return INT_MAX;} else {return 0;}

    • @markgross9582
      @markgross9582 27 дней назад +12

      Realistically, since everything programmers deal with is discrete, they would be dealing with the discrete analog of the Dirac delta function, which is the kronecker delta function.
      d[n]=1, n=0
      d[n]=0, everything else.

    • @U20E0
      @U20E0 24 дня назад

      @@markgross9582which is just logical not

    • @markgross9582
      @markgross9582 24 дня назад

      @@U20E0 what do you mean it’s logical not? Are you talking about how Boolean vars in most languages consider 0 false and every other number true?

    • @U20E0
      @U20E0 24 дня назад +1

      @@markgross9582That combined with the fact that in most languages true and false are just 1 and 0 with a taped-on moustache.

    • @gratux
      @gratux 20 дней назад

      ​@@markgross9582 in programming, there is a distinction between inverting a boolean value (logical not) and flipping all bits of a binary representation of a number (bitwise not)

  • @brachy.0
    @brachy.0 28 дней назад +15

    It's a distribution, not a function 🤓. You need somewhat complicated math to derive the delta distribution cleanly.
    In physics you typically use it to describe mass or charge density for an infinitly small particle.
    Also the step function is also known as the Heaviside or Theta function.

    • @BederikStorm
      @BederikStorm 27 дней назад +3

      It's a generalized function. Using them you can find derivatives of common functions.
      For example, the derivative of |x| is sign(x). And the derivative of sign(x) is 2*delta(x). It's strange that 2*infinity is not the same as just infinity, but that's correct

  • @josgibbons6777
    @josgibbons6777 23 дня назад +2

    While several comments have already noted it's not a function (it's a distribution as well as a measure), it's worth knowing the true functions whose distributional limit is the Dirac delta are called nascent delta functions, in case you want to look up the rigorous details.

  • @NathanSimonGottemer
    @NathanSimonGottemer 25 дней назад +2

    TBF the Laplace Transform is still useful here because it turns out that convolution gets turned into multiplication in the frequency domain and also the FT and LT of the delta function are both 1

  • @Mark-dc1su
    @Mark-dc1su 28 дней назад +10

    I've been self-studying math for about 2 years now. Currently, I'm working through a DiffEq textbook and covered the Dirac Delta Function a couple of chapters ago, along with convolution. This video was great because it allowed me to prove to myself that I did actually learn it and was able to follow along and even preemptively guess the next topic. Thanks!

  • @christophernodurft1868
    @christophernodurft1868 7 дней назад +2

    When I learned about this in diff eq, I was so blown away by the brilliance. To be able to mathematically express impulse is just so genius because it ends up setting a system in motion but multiplying it by 1. Just brilliant.

  • @agranero6
    @agranero6 28 дней назад +4

    It works for solving no homogeneous differential equations, but strictly (formally) speaking it is not a function. Mathematicians had to create a new theory to formalize those weird things Physicists were using; it is called distribution theory, some call it generalized function: because the formal definition of function does not include it.

  • @luizmenezes9971
    @luizmenezes9971 28 дней назад +10

    They should call it the punch function

    • @dielaughing73
      @dielaughing73 23 дня назад +1

      In engineering it's known as the 'unut impulse function' which is pretty much the same thing

  • @skyscraperfan
    @skyscraperfan 28 дней назад +12

    In our university we had a laser that had the power of 10^14 watts for 10^-12 seconds.

    • @dielaughing73
      @dielaughing73 23 дня назад

      Holy shit

    • @skyscraperfan
      @skyscraperfan 23 дня назад +2

      @@dielaughing73 The total energy is just 100 joules, but as it is released in such a tiny amount of time, it can turn the air into plasma.

    • @dielaughing73
      @dielaughing73 23 дня назад

      @@skyscraperfan that's friggin awesome

    • @DigitalJedi
      @DigitalJedi 13 дней назад +2

      I remember the university I did my PhD at had a similar laser. I didn't ever get to play around with it for anything but I remember a few stories of what it did to the surfaces of different materials. Putting little craters into titanium blocks and such.

  • @Vlakrov
    @Vlakrov 28 дней назад +25

    I want to add that in mathematics this dirach delta he defined does not exist, infact the condition that the integral is 1 is impossible for a function 0 everywhere except for one point. Indeed in mathematics we use the dirach delta a lot but without this condition. Still this is very useful in physics as explained in this video. This makes this function even more wonderfull.

    • @robegatt
      @robegatt 28 дней назад +3

      In math everything you define clearly exists.

    • @olli1886
      @olli1886 28 дней назад +13

      @@robegatt yeah, but the dirac distribution is not a "well-defined function", it's as ill-defined as "defining" f(x) as a function that's always negative, but its integral is positive.

    • @username8644
      @username8644 28 дней назад +15

      @@robegatt In math it's not a function, it's a distribution. It does not satisfy the requirements of a function.

    • @robegatt
      @robegatt 28 дней назад +1

      @@username8644 technically is a limit of the definition of a function, but since it fits with differential calculus, which is based on the concept of limit, it all goes well.

    • @jacoblojewski8729
      @jacoblojewski8729 28 дней назад +8

      Yeah, the Dirac Delta "Function" is a misnomer. Still very useful. If you want to be a mathematician about it, there are a lot of ways to define it. A method accessible to a intro integral calculus course would be: Define a sequence of functions d_n with the property:
      1) integral from -oo -> oo of each d_n = 1
      2) d_n >= 0 for all x.
      3) For any integrable function f, lim n-> oo of integral from -oo -> oo of f * d_n = f(0).
      Then we abuse notation and say any time d(x) is inside the integral, we really mean to take the limit as n -> oo of that integral, where we replace d(x) with d_n(x).
      Lots of sequences of functions satisfy this property, one is the one Zach gave. There are also "easier" ways to define the dirac delta, but require further math (measure theory and Lebegue integration is the most common way).

  • @jaym0ney_
    @jaym0ney_ 28 дней назад +21

    Holy shit he’s back

  • @highgroundproductions8590
    @highgroundproductions8590 22 дня назад +1

    In math we call the "impulse response" a Green's function. We integrate the Green's function, and that's the convolution.

  • @charlesspringer4709
    @charlesspringer4709 27 дней назад +3

    Nifty. The Dirac Delta also allows an analytical form of sampling which leads to all the DSP stuff.

  • @whermanntx
    @whermanntx 28 дней назад +7

    Dirac and Jalad at tinagra. When the walls fell.

    • @Phroggster
      @Phroggster 28 дней назад +1

      Temba, his arms wide.

    • @fightocondria
      @fightocondria 28 дней назад +1

      Convolution of impulse, then the walls feel

  • @ShadowSlayer1441
    @ShadowSlayer1441 28 дней назад +9

    Dirac functions were definitely the craziest thing my differential equations course covered.

    • @ThePrimeMetric
      @ThePrimeMetric 28 дней назад +2

      For me it was the Laplace Transform. I wasn't exposed to delta functions until later in my physics classes.

    • @ShadowSlayer1441
      @ShadowSlayer1441 28 дней назад +2

      @@ThePrimeMetric Laplace transforms are so cool. Higher level mathematics are truly a marvel.

    • @ThePrimeMetric
      @ThePrimeMetric 28 дней назад +4

      @@ShadowSlayer1441 In my opinion, Fourier Transforms are even cooler. To be honest I haven't really used Laplace transforms since my first ODE class. I don't know what their applications are outside of solving differential equations but Fourier transforms seem to do the trick just as well. Their pretty similar, Laplace transforms are just the real-valued analog I guess, but I haven't seen them used for anything besides solving differential equations.
      I've used Fourier transforms in many classes though and even used it for some physics research. My favorite applications for them is Fraunhofer diffraction from Optics and using them to parametrize any curve or surface.

    • @ThePrimeMetric
      @ThePrimeMetric 27 дней назад +4

      I was actually wrong here. I probably knew this at some point and forgot but the frequencies of the Laplace transform can take on complex values. So the Fourier Transform is actually a special case of the Laplace transform. A Fourier transform decomposes a function into sinusoids and the Laplace transform decomposes functions into exponentials and sinusoids. So they each have their own strengths and weakness. Laplace transforms are in general probably better for solving differential equations because they are more stable with exponential growth or decay.

  • @robertomsgomide
    @robertomsgomide 28 дней назад +3

    Probably one of the best videos for intuition about signals and systems that I have ever seen

  • @rivigantentertainment
    @rivigantentertainment 27 дней назад +1

    Thank you for making a video on the Dirac Delta function, I have studying it for some time and I hope this video will help me understand it better.

  • @agastyasanyal4026
    @agastyasanyal4026 27 дней назад +2

    I love the explanation on convolution, never seen it explained more intuitively

  • @melm4251
    @melm4251 28 дней назад +1

    i've been doing a project on fourier transforms and i only realised last week that the frequency spike FT of a single sine wave is modelled with a dirac delta function as well. I first read about them in a QM book where a 3D delta function describes a point particle. Very versatile piece of maths!

  • @Impatient_Ape
    @Impatient_Ape 28 дней назад

    Great job on this one Zack!

  • @ariadne2746
    @ariadne2746 27 дней назад +2

    i started off thinking of this as just the derivative of the unit step

  • @slavetotheseo4127
    @slavetotheseo4127 28 дней назад

    Love the educational content ❤..you have a gift of explaining

  • @blueskull7898
    @blueskull7898 28 дней назад +3

    Just came across the dirac delta recently in Quantum Mechanics. It used to be a pretty strange function to me but the application in Quantum beautiful. Truly a function by mathematicians, for mathematicians

  • @vbmalek
    @vbmalek 27 дней назад +1

    I was once a TA for this subject in college. One helpful analogy that students loved was the Taco Shop or the Furniture Store. At either, ingredients or raw materials (alluding to the input curves) go into the Shop or Store (System to Convolute with) and each produced nachos, tacos, or burritos or a chair, table, or shelf (alluding to the output). The output would “take the shape/presentation” of the directive at the Shop/Store at that moment. The analogy may not be 100% accurate, but oh how fondly I remember teaching Convolution and seeing how students began to understand what it all meant.

  • @danielberry777
    @danielberry777 28 дней назад +2

    I hate that I saw the thumbnail and went “Dirac delta function!”
    **Diff EQ flashbacks set in**

  • @hadisyed4666
    @hadisyed4666 28 дней назад

    Bruh where was this video when i needed it. I just finished my linear systems and signals class today 😭. Good intuition

  • @sirandrewthethird
    @sirandrewthethird 28 дней назад +1

    huh... So that's what my controls professor was on about.

  • @randycasty1226
    @randycasty1226 21 день назад +1

    Currently learning this as an ee student and it definitely confused me at first

  • @jessicaraven9546
    @jessicaraven9546 28 дней назад

    Woah this was really cool. CUrrently studying for my differential equations final and was cool to see how the dirac delta and step function are related

  • @guitarhero3812
    @guitarhero3812 23 дня назад

    As a computer engineering major, the delta function is something that still amazes me. The concept of an impulse response blew my mind when I first learned it; seeing its applications in things like filter design, digital signal processing, and even control systems. Also the fact that convolution in the time domain maps to multiplication in the frequency domain is something that still captivates me to this day.

  • @TrevorDiMezza-ly6tt
    @TrevorDiMezza-ly6tt 28 дней назад +1

    Thank you for explaining this better than any of my professors!

  • @mgm6723
    @mgm6723 28 дней назад +11

    Zach being able to teach so seriously, and yet willing to teach unseriously, is such a blessing

  • @zorroaster8895
    @zorroaster8895 28 дней назад +7

    Elite timing

  • @Juanixtec
    @Juanixtec 3 дня назад

    While the functional and exact formulations of these kinds of fomulas and tools are extremely interesting. I have to point out that the most useful part of this is how wasy it is to plug them into computers and numerically calculate stuff with them. There will always be an error sure. But the fact that you can plug a whatever record of an impulse response and numerically convolve it with whatever signal to obtain the behaviour of the system is invaluable for simulation and signal processing.

  • @imbored1253
    @imbored1253 26 дней назад

    You just casually gave the best intuitive definition of convolution

  • @Ocro555
    @Ocro555 21 день назад +1

    I'm willing to learn more from Zach's engineering channel and enjoy these videos equally much, but sadly as a highschooler I am not able to understand most of the topics and content :(

  • @Henry14arsenal2007
    @Henry14arsenal2007 5 дней назад

    So this is what the impulse response means in guitar amp cabinets.

  • @LeoDaLionEdits
    @LeoDaLionEdits 27 дней назад

    Thank you! I'm reading a book and was confused by this today and of course you read my mind from the future and upload this

  • @JFCBFilms
    @JFCBFilms 27 дней назад

    God damn, I am absolutely blessed by the timing of this video. I have an exam in "Systems and transforms" math course in 4 weeks.

  • @alitheeternity4230
    @alitheeternity4230 28 дней назад +1

    1:20 that was unexpected but glad to see Zach star himself on Zach star channel.

  • @MH-sf6jz
    @MH-sf6jz 24 дня назад

    I like to think that Dirac delta function is the laplacian of the fundamental solution to the laplace equation.

  • @giovannifontanetto9604
    @giovannifontanetto9604 3 дня назад

    In calculus 4 ( differential equations), when I saw the Dirac delta I was really asking myself if it was from the actual dirac, because he is basically a half god and lived so close to us in time. Could not believe we were gonna use something from him in an engineering course.

  • @no-bk4zx
    @no-bk4zx 28 дней назад +1

    I learned this for both electromagnetism and laplace transformations. Beautiful function, I really like how it behaves so neatly despite such an unorthodox definition .
    I am curious though, what is the co-domain of the function? As far as I know, infinity isnt a number and is not an element in the set of real numbers but the approximated functions leading up to the dirac delta do have a co-domain of R.
    Great video btw, these really help me understand what I am doing in my physics class to a deeper level.

    • @alperakyuz9702
      @alperakyuz9702 28 дней назад +1

      To be mathematically precise, dirac delta function does not make sense as a function, but as a distribution. In fancy math language qe say its defined as a continious linear functional from the space of smooth, compactly supported functions topologized with an inductive limit topology, but in human language you can think of it as something that only makes sense under the integral sign multipled by a continious function.

  • @kerrynewman1221
    @kerrynewman1221 28 дней назад

    Taking me back to my college electrical engineering undergraduate days in the early eighties at UC Berkeley. Thanks.

  • @HenrikMyrhaug
    @HenrikMyrhaug 28 дней назад

    I'd say that it isn't built into the dirac delta that it can predict the response of a system to any impulse, but instead that that's what convolution does. Convolution multiplies all points of time of an impulse with the response the system has after the time delay since that impulse, and sums/ integrates over the time the impulse has acted. In reality, the concept of convolution is not so complex, although it becomes a complex calculation requiring computers in order to be done in a reasonable ammount of time. I also love how it intersects with the topic of Fourier transforms, in that we can use Fourier transforms to compute a convolution.

  • @haushofer100
    @haushofer100 24 дня назад

    The title is like " This cow is the weirdest human I've ever met".

  • @foxghost1814
    @foxghost1814 26 дней назад

    I'm a matematicians so I have to say that. Delta dicara is a distribution of funtion with has 1 if x=a and 0 x=/=a. Area over this funcition is 0. However measure od any set with have element a is 1.

  • @polyarchy311
    @polyarchy311 6 дней назад

    2:21 Everyone who's taken AP Physics before has unknowingly been using this function the entire time.

  • @ckq
    @ckq 28 дней назад

    Zach's in his signal processing era right as I finish 2 courses on it.

  • @Azakadune
    @Azakadune 28 дней назад

    I just did dynamics, system modelling, and control systems and I never noticed this lol

  • @looper6394
    @looper6394 28 дней назад

    nice theory you got there 😮

  • @ncolyer
    @ncolyer 28 дней назад +1

    your timing is impeccable seeing I got an exam on this in 3 hours ❤

    • @GwenBennett
      @GwenBennett 28 дней назад

      literally took my signals and systems finals yesterday lmao

  • @pixelguitarman
    @pixelguitarman 28 дней назад

    Now that's something I'm proud to know too much about

  • @jonetyson
    @jonetyson 26 дней назад

    The delta function also has a derivative. A good place to learn how to make sense of such "functions" (which are distributions, not functions) is Lieb & Loss's analysis book.

  • @pogan1983
    @pogan1983 27 дней назад

    Space vs time perspective. No space = eternity, no time = infinite plane, a film slide.

  • @LambOfDemyelination
    @LambOfDemyelination 26 дней назад

    you could construe a function with an arbitrary area k by saying y=k/2a when x=0, then take the limit to say the Dirac delta function has area k under the graph.
    point is, the area is undefined, and the function being "at infinity" is meaningless for real valued functions.

  • @Aaravs21
    @Aaravs21 День назад

    Dirac delta is also used in quantum mechanics

  • @VeteranVandal
    @VeteranVandal 28 дней назад

    It's a distribution, not a function per se. You can define a function in the intermediate limits.

  • @AstraGroupDF
    @AstraGroupDF 28 дней назад +1

    Dirac delta function only makes sense as limit of sequence of functions. It could also be the limit of a gaussian with the standard deviation going to zero

    • @massipiero2974
      @massipiero2974 28 дней назад

      It also makes sense as probability measure supported on a point, as the "evaluation" distribution or as hyperfunction with representative 1/z, and i guess it has many more equivalent definitions

    • @AstraGroupDF
      @AstraGroupDF 28 дней назад

      @@massipiero2974 the interpretation of the probability measure is that it's the distribution of a variable that can only be one value

  • @mathematicsreadinggroup7288
    @mathematicsreadinggroup7288 27 дней назад

    IT'S A DISTRIBUTION.

  • @ImLucky6
    @ImLucky6 26 дней назад

    i just learned convolution like 2 days ago in my differential equations class, nice to see it might actually come up in my engineering degree again

    • @dielaughing73
      @dielaughing73 23 дня назад

      It will if you study mechanical or electrical engineering at least

  • @johanngambolputty5351
    @johanngambolputty5351 28 дней назад

    I kinda skimmed through, but wanted to mention, the reason the dirac delta might not make sense as a function, is because it is sometimes used in place of a density, but a point mass has no sensible density arguably. But if we are integrating against distributions, it totally can still make sense as a measure, with respects to a Lebesgue integral. Measures just give you the amount of stuff in a set, so for a continuous distribution you have the riemann integral over a region as usual, but for a dirac, you just get all the mass if the measured set contains the point mass and none of the mass if the measured set does not contain the point mass.

  • @badmath9099
    @badmath9099 27 дней назад

    Playing around with:
    ((-8)(2abs(x) - abs(x-0.5) - abs(x+0.5) - (-8)(2abs(x) - abs(x+0.25) - abs(x-0.25))) / 4
    You could set the height to an infinite amount, then Subtract basically all of it. This would leave a platform with slope of infinity, width of 1, and height of whatever you want. I'm too lazy to explain further, or to simplify, so... just trust me bro.

  • @ozzymandius666
    @ozzymandius666 12 дней назад

    Heh. I only knew of its use in quantum mechanics. Thanks, man!

  • @pyropulseIXXI
    @pyropulseIXXI 28 дней назад

    I was a physics student, and the function seemed totally obvious and not weird at all; you can litearlly integrate and pick out values since you times any function by 0 every except at x = a, where the integral is = f(a).
    int_a_b; f (x) d(x-a) dx = f(a)

  • @jorgedaniel1653
    @jorgedaniel1653 26 дней назад

    Zach always makes me want to study a certain topic on my own 😂.
    By the way Zach, I highly recommend you get the textbook called “The Physics of Energy”. If an apocalypse occurs, that’s the book we need to restart civilization.

  • @Jakub1989YTb
    @Jakub1989YTb 28 дней назад

    Aww, those times at university when I studied cybnernetics, control and regulators.

  • @kerryfracasso
    @kerryfracasso 28 дней назад

    Dirac delta is not a function, it is a linear functional on the space of test functions.

  • @kuckkuckrotmg
    @kuckkuckrotmg 3 дня назад

    The ultimate function: x=0

  • @MusicEngineeer
    @MusicEngineeer 28 дней назад

    Well done. Would it be correct to say that a Green's function is a sort of generalization of the idea of an impulse response when applied to partial differential equations? I found Green's functions always kinda scary until I looked at them from this angle. If so, it would be cool to see a follow up video on Green's functions.

    • @ThePrimeMetric
      @ThePrimeMetric 28 дней назад

      I just started learning about Green's functions so I'm not an expert but I would say Green's functions and impulse responses are one in the same, the Green's function is just mathematically exact. The Green's function is the exact output you get if the input is some shifted delta function. If you can model your system as a linear differential equation of the form Ly(x)=f(x), where L is a linear differential operator, you can define LG(x,x')=delta(x-x') and solve for G using the form of L and the boundary conditions. The hammer banging method, or whatever you want to call it, I believe is just a more empirical way of getting the approximate impulse response. After all you can't actually apply a delta function of force on something. You can get close though by hitting something very hard over a small area and contact time. An engineer probably has less of a reason for finding the exact impulse response (or Green's function) because:
      1.) they are using a idealized model (simplified differential equation) to model a more complicated system and there are greater sources of error involved
      or
      2.) The system their dealing with is so complicated they don't have a differential equation that models it.
      If you can get an approximate impulse response you don't really need to know what your differential equation is, all you need to know is the input or driving function. Then you can take the convolution of these two functions to get the response to the driving function.

  • @drslyone
    @drslyone 28 дней назад

    The flash can't yield Thor's hammer. They are in different universes!

  • @ruffifuffler8711
    @ruffifuffler8711 28 дней назад

    Thinking of the impulse function as the reflexivity after re-settlement of a pole flip.
    The pole flips, decides to correct the flip which is incomplete since the flip is trying to confiscate or conquer the instability of a new territory or experience, ..., so, it does correct itself, but now has to account for and carry the instability which it did not conquer, now taking its' uninterrupted time to present itself.
    The presence of this "abberation" has to be presented clearly and cleanly, and so its' reflexivity accumulates after settlement in a virtual capacitor, which suddenly materializes at a fixed point on the time line, and so is such realized.
    In other words, time and space displacement chacterized by returning back to zero, leaves the impulse function as a memory of the previous now unknown event, other then, it happened.
    The sliding thining box does slide in virtual space, and does have a fixed consistency time to present itself, before expiring in validity, ...however, the measure is not infinite, it is just long enough to be recognized by the system it is now part of., and absorbed by, and cannot be measured without disturbance, and risk of determination.

    • @ruffifuffler8711
      @ruffifuffler8711 28 дней назад

      An after thought: It's the displacement spectra of a forgotten event that you know happened, but in itself does not carry enough info to explain what exactly it was.
      Not that sure whether it needs to be shown on the upper y-axis, as half could be below, and one being chosen just for the convenience of not disturbing any further measures.

  • @kezzyhko
    @kezzyhko 28 дней назад

    I remember having a Digital Signal Processing course at university. We recorded a clap, and used convolution between clap recording and any other sound. This was effectively applying a filter to the sound and making it sound like it was recorded in the room where clap was recorded.
    I wonder if these things have a connection

    • @toshiboyig
      @toshiboyig 28 дней назад +2

      They do, that technique is called Impulse Response Reverb, and uses exactly this principle!

    • @markgross9582
      @markgross9582 27 дней назад +2

      Well yes. The equations modeling sound are linear time invariant, so the you essentially convoluted a general input with the impulse response.

    • @dielaughing73
      @dielaughing73 23 дня назад

      ​@@markgross9582 convolved

  • @TheStillWalkin
    @TheStillWalkin 8 дней назад

    The convolution looks a lot like a crosscorrelation with time shifted function?

  • @konradkania4963
    @konradkania4963 27 дней назад

    A little correction: technicaly the Dirac's delta is not a function but (Schwartz) distribution

  • @AlexanderTheMiddle
    @AlexanderTheMiddle 26 дней назад

    I literally have an exam on this tomorrow. I was watching youtube as a way of avoiding revision, but you fooled me into preparing for the exam!!!😤😤😤!! you!!!!!!! Thanks❤

  • @latt.qcd9221
    @latt.qcd9221 28 дней назад

    When the dirac delta is combined with Green's functions, magic happens.

    • @PluetoeInc.
      @PluetoeInc. 28 дней назад

      what is a green's function ? what does it do i mean whats the big idea behind green's functions

    • @ThePrimeMetric
      @ThePrimeMetric 28 дней назад

      @@PluetoeInc. I haven't worked with them much yet but my understanding is their used to solve entire families of differential equations with specific boundary conditions without needing to know the driving or forcing function. They can be used to solve both ODE's and PDE's but I think as an introduction I think it's best to start with solving ODE's, even if it might be a bit overkill. If you think of a differential equation as a differential operator acting on some function to get the driving function, Green's functions are sort of like the inverse of that operator. From the fundamental theorem of calculus we know the opposite of a derivative is basically an integral, so intuitively the inverse operator is a integral. More precisely, the green function is part of the integrand for the integral. If you know the green function of any family of ODE's, with specific boundary conditions, you can solve a specific ODE, with the same boundary conditions and from the same family, by multiplying the green function by the driving function and integrating it.
      Another way of thinking about greens functions is they are the partial solution to a differential equation or the impulse response for an LTI system with the delta function as the input. The formal definition would be L*G*(x,x')=delta(x-x') where L is a linear operator, G(x,x') is the Green's function and delta(x-x') is a shifted delta function. I'll try to give the motivation for this definition. If you want to know the electric potential of a static charge distribution the green function G(x,x'), tells you the electric potential at x due to a point charge at position x'. There may not actually be a point charge at x', so it may just be zero. Only at the exact position of the point charges is the potential non-zero, so the potential due to each of the charges can be thought of as the impulse response due to the charge. Therefore, as we learned in this video, the solution is the convolution of the impulse function G with the input or driving function f. (Intuitively this can be thought of as a weighted average of f(x) where G(x,x') are the weights. Except, in this case, the weights are just the contributions to the potential at every point, so this is actually the exact solution.) That's where the delta function comes in. Let's say Ly=f(x) where y is the solution to the differential equation or output of the linear system and f(x) is the driving function or input of the linear system. Let's say we have some function G such that, LG(x,x')=delta(x-x'). Multiplying both sides by f and integrating you get L*integral of [G(x,x')*f(x)] dx' = integral of [f(x')*delta(x-x')]dx' =f(x). This is the same form as the differential equation in operator form, therefore, y = integral of [G(x,x')*f(x)] dx'. For a translationally invariant system, which would be the case here, we can express the Green's function in the more familiar form G(x,x')=G(x-x'), so that it is in agreement with the definition of a convolution.
      Greens functions for families of differential equations can be difficult to find, depending on the differential equation and boundary conditions, but once you find them solving a specific differential equation in that family is very easy. Lots of greens functions for families of differential equations, with common boundary conditions, have already been found. So if you don't care to know the details for how those green functions are found, you can solve lots of otherwise hard ODE's and PDE's pretty easily. As long as the integral you get out the green function and driving function is elementary you will get a nice closed form solution. When the integral isn't so nice you can use it to get a series solution or you may find some numerical method with the integral is faster and more efficient than numerically solving the differential equation directly. For more details there are some pretty good RUclips videos on the topic. I watched Mathemanic's, Faculty of Khan's and Andrew Dotson's videos on it and I watched Andrew Dotson's video solving an example problem. After that I felt like I came away with a decent understanding.

    • @ethanbottomley-mason8447
      @ethanbottomley-mason8447 28 дней назад

      ​@PluetoeInc. You can imagine you want to solve a PDE like laplacian of u is f. To do this, you first solve laplacian of u is the Dirac delta. You can solve for u by taking the Fourier transform. It will be a tempered distribution and will in fact be a function, called the Green's function. Then to solve laplacian u is f, you can take the Green's function and convolve with f to get your solution.

    • @PluetoeInc.
      @PluetoeInc. 27 дней назад

      @@ethanbottomley-mason8447 that flew right above 😭

    • @ThePrimeMetric
      @ThePrimeMetric 27 дней назад

      @@PluetoeInc. I'm not sure if you saw my long comment from earlier because I don't see it anymore. But the basic idea is the Green's function is the same as the impulse response in the video, it's just found directly from a system of linear differential equations and their boundary conditions. And then, just like in the video, you can take the convolution of that with the input function to get the response function to any arbitrary input.
      "Hitting your system with a hammer" is an approximate way of finding the Green's function basically. It's a powerful indirect technique for Engineers because the systems their dealing with are often so complicated they don't know how to model it with differential equations. Or the differential equations they have are overly idealized models of the system, so using the Green's function would be less accurate anyway.

  • @themissingsamurai
    @themissingsamurai 28 дней назад

    the guy who found out what 1 was made this video... wow

  • @MrSN99
    @MrSN99 27 дней назад

    damn the algorithm is rough these days

  • @kacper9385
    @kacper9385 2 дня назад

    8:33, when taking derivative of the output side, the given result is considered to be for "t > 0" right? If not, how does one derivate the output? Thanks in advance

  • @peterg76yt
    @peterg76yt 28 дней назад

    Today I learned that the Flash is able and willing to lift Thor's hammer.

  • @scar6073
    @scar6073 27 дней назад

    That's my fav function

  • @hydropage2855
    @hydropage2855 28 дней назад +1

    Am I misunderstanding, or is the “flip, slide along, and integrate the product” a convolution? Edit: oh my god I commented this literally the second before “this is known…as convolution”

  • @LeoHoulston
    @LeoHoulston 28 дней назад

    So the Dirac function is just a specific impulse applied to a system?

  • @ahmednagh9398
    @ahmednagh9398 28 дней назад +1

    Dang

  • @whong09
    @whong09 26 дней назад

    Please cover laplace transform and fourier transforms too. This is where my eyes glazed over in my EE classes and I said fck it I'm switching to CS.

    • @ef-tee
      @ef-tee 20 дней назад

      I have actually had a class on signal theory as part of my CS major 😅 Although I guess it wasn't _too_ in-depth on Laplace and Fourier

    • @whong09
      @whong09 19 дней назад

      @@ef-tee I just didn't get convolution integrals. The class I was in the prof was just throwing around integrals as if this just justifies how the transforms work, no derivation or trying to solve the integrals. If I were to do EE again I would focus more on application than theory.