Understanding Concave and Convex Functions

Sdílet
Vložit
  • čas přidán 17. 10. 2020
  • In this video I break down the formal definition of a concave function and attempt to explain all aspects and variables used in the definition. Being that a convex function is just the opposite in terms of its definition, once one of them is well understood the other is also understood.
    If anyone has any questions or is still unsure on any concepts covered in the vid put them in the comment section and il try my best to answer.

Komentáře • 68

  • @viktorszasz6771
    @viktorszasz6771 Před 2 lety +27

    My man! This is the best explaination I've found, yet I've searched in 3 languages.
    Great explaining, awesome visualisation, simply an incredible video and a great help! Thank you very much!!!!

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

    Now the defination do not seem daunting at all after you've explained the design of the defination. Very helpful to me. Thank you.

  • @vaishakmuralidharan7605
    @vaishakmuralidharan7605 Před 3 lety +32

    Been breaking my head over understanding jensen's inequality, this was a really clear, unassuming explanation! Thank you a ton

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

      Same with me watched it for trigono

    • @shireenkhan6847
      @shireenkhan6847 Před rokem

      hey, any other resources you can tell which can help with Jensen's inequality too? I can't understand it at all

    • @sharonlima8913
      @sharonlima8913 Před 5 měsíci

      what do you mean by unassuming function?

    • @user-gf4vg2ey7g
      @user-gf4vg2ey7g Před 5 měsíci

      @@shireenkhan6847 what about this one? czcams.com/video/LOwj7UxQwJ0/video.html

    • @user-gf4vg2ey7g
      @user-gf4vg2ey7g Před 5 měsíci +1

      @@sharonlima8913 function? Perhaps you meant explanation. In my case I feel the same, other math professors always assume we remember some concepts and aspect, some of us dont and when they assume we get easily lost in the subject.

  • @huntergiles
    @huntergiles Před 2 lety

    I have been stuck on this for days. thank you so much

  • @mightym3209
    @mightym3209 Před rokem

    Simply best! Thank you for such a detailed and step-by-step explanation.

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

    Finally i understood. Thank you for this great explanation

  • @omniscienceisdead8837
    @omniscienceisdead8837 Před 2 lety

    im coming in from time series for deep learning , keep it up broo

  • @RayRay-yt5pe
    @RayRay-yt5pe Před rokem

    Thank you very much. You've just gained a new subscriber.

  • @ouafaeraibi7847
    @ouafaeraibi7847 Před 2 lety

    amazingly explained, Thank you!

  • @debasishguha6835
    @debasishguha6835 Před rokem

    Explained a pretty complicated topic very nicely. It is easy to visualize and understand the definition after watching this video. However, the points x and y are chosen such that f(L) > both f(x) and f(y). I have been trying to convince myself how this would have worked if y was such that f(y) was more around the crest and f(L) in that case would have lied between f(x) and f(y).

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

    Great explanation!!

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

    Excellent video!!! The only thing I'm wondering about is about the strictly convex/concave functions. It seems to me that whenever lambda is either 0 or 1, the two sides of the "inequality" will always be equal. You even mentioned that in your video. But how can we EVER have a strictly convex/concave function then, with this definition? Do you have to change lambda to be 0

  • @jayneabrown
    @jayneabrown Před rokem

    Super helpful. Thank you so much.

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

    this was super helpful thank you!

  • @arwaalshikrian5354
    @arwaalshikrian5354 Před rokem

    Extremely helpful

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

    Well explained, thank you!

  • @devinahluwalia9289
    @devinahluwalia9289 Před 2 lety

    Was very helpful, cheers 🍺

  • @rohan45
    @rohan45 Před rokem

    Great explanation
    Thank you so much

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

    I got this... 😊 Thanks a ton.. !!

  • @jakobnilsson4704
    @jakobnilsson4704 Před rokem

    Awesome explanation

  • @hypebeastuchiha9229
    @hypebeastuchiha9229 Před 2 lety

    That was really helpful thanks

  • @deeptysarder6797
    @deeptysarder6797 Před 2 lety

    Nice graphical explanation

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

    This is really good⚘️⚘️

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

    Thanks for this.❤

  • @mrak8948
    @mrak8948 Před 3 lety

    Grt explanation

  • @sreyanjali
    @sreyanjali Před rokem

    this was very helpful

  • @sigmamathematics2215
    @sigmamathematics2215 Před 3 lety

    I got understand 1st time ❤❤❤

  • @viniciusbrilhante5112
    @viniciusbrilhante5112 Před 2 lety

    That was a really good explanation! Very clear!

  • @zainislam554
    @zainislam554 Před 2 lety

    can you please confirm that how to find f(x) and f(y) , the points placed on vertical axis?

  • @awesomebearaudiobooks
    @awesomebearaudiobooks Před 2 lety +4

    6:37 that is the face of my Brain when trying to understand Concave and Convex Functions.

  • @albmrbo1
    @albmrbo1 Před 2 lety

    Thank you!

  • @dikshabagh30
    @dikshabagh30 Před 10 měsíci

    really good video

  • @voyagers5026
    @voyagers5026 Před 2 lety

    just great thanks a lot

  • @muzafferturgut6037
    @muzafferturgut6037 Před rokem

    Appreciated🙏

  • @williamgamelin154
    @williamgamelin154 Před rokem

    Well dons and thanks for memory boost.

  • @mohammedchowdhury4218
    @mohammedchowdhury4218 Před 2 lety

    could you please help me understand how to check if this function f(x,y)=xy. How is it concave and how do I do the check for it

  • @primeview921
    @primeview921 Před 2 lety

    I have a problem understanding the nature of f. Is it a function a single variable or more?

  • @victoriacorcimaru1731
    @victoriacorcimaru1731 Před 10 měsíci +2

    Honestly, a brilliant explanation! 🤩 Short question: other videos on this topic talk about taking the weighted average of x and y. How/where does that fit within your explanation, sir?

    • @slavojivaneie1924
      @slavojivaneie1924 Před 7 měsíci

      Tl;dr the "weighted average" stuff is supposed to motivate Jensen's inequality from probability. Read "f(E[X])" as "a function of weights" and "E[f(X)]" as "the weighted average of functions."
      If we apply the probability weights (t,1-t) to the interval endpoints a and b, we get ta+(1-t)b = W1, and if we apply the same weights to corresponding maps of the endpoints, f(a) and f(b), we get tf(a)+(1-t)f(b) = W2. The function f is concave over [a,b] if, for all weights (t,1-t), f(W1) ≥ W2. In other words, the value of a function of the weights (LHS) vs. the value of a weighted function (RHS).
      Jensen's inequality states that if f is *convex* (so f(W1) ≤ W2), and X is a random variable, then f(E[X]) ≤ E[f(X)]. If we think of taking the expectation of X as applying weights to the values that X can take on, then obtaining the expected value E[X] is much like getting W1. Thus, f(E[X]) is analogous to f(W1). Likewise, if we think of E[f(X)] as the weighted average of the random variable Y=f(X), then E[f(X)] weights f(X) to obtain W2.

    • @victoriacorcimaru1731
      @victoriacorcimaru1731 Před 7 měsíci

      @@slavojivaneie1924Wow! Thank you!

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

    If you pick an x or y such that f(x) or f(y) is the max value on the y-axis, then based on lambda, the right side of the eqn can be either < or > f(L). For example if the "curve" is a straight line. Also, if LHS == RHS, how can you tell if it's convex or concave?

    • @amberxv4777
      @amberxv4777 Před 2 lety

      Good question. I'd be willing to say that if f(x) or f(y) value were to endat infinity, then it would be neither concave or convex function. But we need confirmation

  • @haqseiitian
    @haqseiitian Před rokem

    thankyou bro...

  • @orlandoheredia2380
    @orlandoheredia2380 Před rokem

    Hey, good explanation, but about the strictly concave function, the λ should be ]0,1[, right ? Because if lambda can be 0 or 1, there would be a paradox as f(x) > f(x) in that case.

  • @handleyt2024
    @handleyt2024 Před 3 lety

    legend

  • @denvernarvasa3033
    @denvernarvasa3033 Před 2 lety

    thank you :)

  • @JessaEstrada1315
    @JessaEstrada1315 Před 2 lety

    thanks!

  • @hritikawadhawan6707
    @hritikawadhawan6707 Před 2 lety

    Can you post a video on how to do sums of this type

  • @dirkadrichem5468
    @dirkadrichem5468 Před rokem

    How about the sine and cosine function?

  • @NNKNTA
    @NNKNTA Před 2 lety

    Bro, sorry for my cheap english, but God will bless you :*

  • @j.brightlee3314
    @j.brightlee3314 Před 3 lety

    plz do more video plz plz

  • @law9544
    @law9544 Před rokem

    What are u guys majoring in?

  • @zainabhaider4369
    @zainabhaider4369 Před rokem

    maybe a question. Why do we derive twice! We do not equate the first derivative with zero, as in Rolle's theorem.!! Why do we derive twice and not 3 or 4 times?

  • @iulianatoropoc5016
    @iulianatoropoc5016 Před 2 lety

    Eureka! She cried.

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

    excellent, but better use x1 and x2 rather than x and y to avoid confusion

  • @brookecribbs4018
    @brookecribbs4018 Před 10 měsíci

    bro why I am watching this for my econ class when I took Calc 1, 2, and 3 years ago and I just so lost

  • @rodrigocalixto470
    @rodrigocalixto470 Před rokem

    I don't get it, how can you compare a point, f(λx+(1-λ)y), with a line f(λx) + (1-λ)f(y)?

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

    Exetra->et cetera

  • @solounomas0
    @solounomas0 Před rokem

    And why is this for?

  • @xhonimehmeti9432
    @xhonimehmeti9432 Před 2 lety

    wasted 22 min of my life