1.9 Properties of Asymptotic Notations

Sdílet
Vložit
  • čas přidán 8. 09. 2024
  • Properties of Asymptotic Notation
    General Property
    Reflexive Property
    Symmetric Property
    Transpose Property
    Courses on Udemy
    ================
    Java Programming
    www.udemy.com/...
    Data Structures using C and C++
    www.udemy.com/...
    C++ Programming
    www.udemy.com/...

Komentáře • 187

  • @jayadevpulaparty1341
    @jayadevpulaparty1341 Před 2 lety +74

    Abdul Sir, i've been in IT field for 25 years now and learning DSA just out of interest. I think you explain very complex things in the simplest possible manner. That is a god's gift. Thank you for the wonderful content😊

  • @lunaticfringe3890
    @lunaticfringe3890 Před 3 lety +201

    I can't believe my university teacher has copied each and every notes of yours even the examples are also same and he has done Phd from IIT indore, I think in future there will be no need to pay high fees for studies because we can get the same skills without doing graduation and matric degree.

    • @pragmatic_p8
      @pragmatic_p8 Před 3 lety

      which university?

    • @ankitkhasgiwale1229
      @ankitkhasgiwale1229 Před 3 lety

      Can you help me how these notations help in coding ?

    • @HG-xx1ts
      @HG-xx1ts Před 3 lety +14

      your teacher might be reading your comment now

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

      @@HG-xx1ts exactly !! Good luck to his grades 🙂

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

      @@daisywhite5154 but the teacher can't find his name here😉

  • @dominikmeier2225
    @dominikmeier2225 Před 2 lety +16

    you sir, are an absolute legend! thank you for helping thousands of desperate students with bad profs getting through CS studies

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

    Sir you are life saver.humare AD kya padhate kuch samjh nhi aati. Kal mera 3rd sem hai aur aaj mein idhar se sara samjh payi. Country needs more man like you sir. Thank you so much.

  • @Sirurena
    @Sirurena Před 5 lety +44

    Exam in 3 hours, this man is a life saver.

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

    Sir You are the most straightforward teacher I have ever seen thank you for helping me

  • @priyakushwaha962
    @priyakushwaha962 Před 3 lety +28

    Happy Guru Pornima guruji 🙏
    Thank you so much sirji for being such a wonderful teacher for all of us😊
    We are blessed to have you 🙏😊

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

    Sir your content is so valuable that every student and professional will find it useful. You will never get a single negative comment. Thank you so much 🙏

  • @hemantbhangale9505
    @hemantbhangale9505 Před 4 lety +16

    Excellent progression and crystal clear content. Thanks!

    • @ankitkhasgiwale1229
      @ankitkhasgiwale1229 Před 3 lety

      Can you help me how these notations help in coding ?

    • @bhattshivesh9306
      @bhattshivesh9306 Před 2 lety

      @@ankitkhasgiwale1229 DAA concept won't be helping you directly for coding, better go and learn the libraries and loops for programming, this all is the concept under the table...programming is practical working

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

    Happy teacher's day sir, an absolute legend of CS

  • @somilsinghal2880
    @somilsinghal2880 Před 6 lety +29

    Good well Accurate Knowledge Providing Lecture Great Work Sir And Thank you For Being Here Teaching And Clearing All Our Doubts

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

      Can you help me how these notations help in coding ?

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

      @@ankitkhasgiwale1229 bro you won't be writing these notation when you code...these are like the theorems in math subject. They tell you how time complexity works, and how to compare which algorithm is better. They are theory.

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

    Thanks sir for such simple language explanation .
    It help lot for those who are not from cs to understand concepts.

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

    Assalamu Alaikum sir
    excellent & crystal clear concept
    love from Bangladesh 🇧🇩

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

    thnx sir for your kind effort; your lectures are helping a
    lot in enhancing our competitive coding skills

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

    انت راجل مية مية you are great man ,god bless you

  • @manzoorahmed3636
    @manzoorahmed3636 Před 3 lety +5

    An absolutely brilliant teacher you are Sir, thank you very much and I have also learned C++ from your course on Udemy, Love you Sir, God bless you.

    • @ankitkhasgiwale1229
      @ankitkhasgiwale1229 Před 3 lety

      Can you help me how these notations help in coding ?

    • @degoaty
      @degoaty Před 3 lety

      Hello, please share the the link of that c++ course from Udemy here.

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

    Great videos sir, This helps a lot. Could you please make video for Insertion sort as well.

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

    Sir u r best teacher I have ever seen. Can u pls upload java course in udmey

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

      He has uploaded it on Udemy
      Type Abdul bari Java on Udemy

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

    What a perfectly you have gone through!! 👌👌

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

    Thanq sir i got all my doubts clear by watching this video

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

    Thank you very much. You are a genius. 👍👍🔝🔝👌👌🙏🙏

  • @onenation-mynation-indiakr5113

    You are Great sir. Thank you very much for your lectures.
    Thanks

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

    Sir, how come you make things so simple that anybody can plainly understand! Hats off to you!

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

    you are amazing sirrrr!!

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

    You're Awesome Sir God Bless You...

  • @hardlycoding8544
    @hardlycoding8544 Před 2 dny

    this helped me alot

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

    thank you very much really outstanding.

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

    I appreciate and a big thumbs up , but can u relate these functions(f(n) and g(n)) to Algorithms practically so that the audience can benefit from it, which i mean to say write a simple program and relate 1) f(n) 2) g(n) 3) the constant to the program .If you can that would be a great help

  • @subramaniyanvg6367
    @subramaniyanvg6367 Před 3 lety

    Again one more impressive video really you nailed it sir. Thanks for teaching us sir.

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

    Jai hind sir. You are the great.

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

    Thank you so much, sir, for the detailed explanation

  • @mohammedadel8948
    @mohammedadel8948 Před 2 lety

    This is very helpful video thank you

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

    nice lectures.
    kind of helping alot

  • @vaishalishrivastava1094

    The best explanation on this topic...

  • @Mani-zu9yg
    @Mani-zu9yg Před 5 měsíci

    the biggest asset to the dsa community

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

    thank you for the great lectures sir..please add amortized analysis .

  • @simransimran6766
    @simransimran6766 Před 4 lety

    best explanatory in world

  • @nafmedia1994
    @nafmedia1994 Před rokem

    Thanks sir for your content.

  • @RaniKumari-io1rr
    @RaniKumari-io1rr Před 4 lety

    U really explain all the topics efficiently but I have a doubt which is sir , u use big theta notation in symmetric properties but we can use other notations as well and one more thing sir u use n^2 in that example which is wrong for theta notation.

  • @ritik3485
    @ritik3485 Před 2 lety

    thank you so so much sir for helping us out

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

    Thank you sir!!

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

    I really loved your vedio please make more such vedios
    I request you to make vedios on different topics too
    Thank you, you were so helpful

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

    Thanks sir !

  • @purnimaagarwal450
    @purnimaagarwal450 Před 3 lety

    THANK YOU SIR FOR THE HELP.

  • @sivaprasadnagarajan7246
    @sivaprasadnagarajan7246 Před 5 lety +3

    Hi Sir,
    In Reflective property, if function is a n! then Big-Oh will be O(n^n). How this satisfies the property??

    • @qvikk333
      @qvikk333 Před 5 lety

      I think Reflexive property will not work here

    • @chaksansri
      @chaksansri Před 5 lety +6

      Big-Oh is anything between O(n!) and O(n^n), so it satisfies.

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

    Is Reflexive property is applied to Omega and Theta or it's only valid for Big-oh? Thank you very much.

  • @Sacrifice-me
    @Sacrifice-me Před rokem

    Can we use reflexive property for n! Also that is if we want to find the time complexity of n! It can be O(n!) Or omega(n!) Or theta(n!) ???

  • @zummyizhere
    @zummyizhere Před 2 lety

    You are a SAVIOR

  • @DbCo0pEr
    @DbCo0pEr Před 2 lety

    best explanation

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

    so I can prove theses properties by writing examples like you did Or there is another way? : )

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

    Sir for the properties of asymptotic notations
    when f(n)=O(g(n))
    d(n)=O(e(n))
    then for f(n)*d(n)=O(g(n)*e(n))
    but sir when both are equal, will the answer be g(n) or e(n)?

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

      answer will still multiplication as left side is multiplying so their time class will also multiply to get the highest order as we get in previous by applying max function

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

    good lecture....

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

    Aslamoalikam Sir! I am bit confused please explain .
    In previous lecture you are saying that f(n)=n! ... 1

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

      It says that will IF O big and Omega is the same, THEN theta is also the same, in your example, Obig and omega isn't the same!

  • @ratannampalle9631
    @ratannampalle9631 Před 5 lety +3

    Sir could you please suggest a good book to study this subject

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

    Sir why we will neglect the cofficient of function
    like 2n+3 then Big-oh(n) & also for 6n+9

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

      Because we are finding approximate time(time complexity prior which is approx value) hence the for large value of n like 10^6 it doesn't matter whats the coefficient is and what is added or substracted to it. We only focus on the largest power of n present in the equation.

    • @ayushmaheshwari5805
      @ayushmaheshwari5805 Před 4 lety

      @@utkarshsingh3275 you say that n has larger value it mean coefficient not matter but i didn't understood if 2n is write then it value become double of them mean according to your ex. 2*10^6 it is huge difference

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

      @@ayushmaheshwari5805 if u are comparing with other values it makes difference but if you are talking about n*10^6 taken individually then co efficients and constant doesn't play any role. We ignore them. That's why all the time complexities are free from constants, whether it be multiplied or added.

    • @utkarshsingh3275
      @utkarshsingh3275 Před 4 lety

      Like if u are comparing 2n and 3n then ofcourse the coefficient matters. But of you take them separetly then both will have T(n) = O(n)

  • @vishavjeetsinghthakur
    @vishavjeetsinghthakur Před 6 lety

    Awesome work

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

    Thank you, sir

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

    Thanks

  • @RD-ws7pb
    @RD-ws7pb Před 3 lety

    Thank you 🙂.

  • @n.balaji8
    @n.balaji8 Před 2 lety

    Sir in the first example, can (nsquare) be big O of (2nsquare +5)

  • @eva42sh
    @eva42sh Před 2 lety

    thnk youuuuuuu so much

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

    Why transpose symmetry is not applicable for big theta small o and small omega?plzz help

  • @DhanalakshmiDhanalakshmi-sp5bl

    why we have to learn all things ? where we use this concept?

  • @Tahir-khan75
    @Tahir-khan75 Před 4 lety

    THANK YOU SIR

  • @user-ci7fn3rf9b
    @user-ci7fn3rf9b Před měsícem +1

    Me watching this vdo just 3hrs before exam

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

    Summary:
    1) General properties (0:00)
    * If f(n) is O(g(n))
    - Then a * f(n) is O(g(n))
    * If f(n) is Omega(g(n))
    - Then a * f(n) is Omega(g(n))
    * If f(n) is Theta(g(n))
    - Then a * f(n) is Theta(g(n))
    2) Reflexive properties (2:10)
    * If f(n) is given
    - Then f(n) is O(f(n)) and also f(n) is Omega(f(n))
    3) Transitive (3:33)
    * If f(n) is O(g(n)) and g(n) is O(h(n))
    - Then f(n) is O(h(n))
    * If f(n) is Omega(g(n)) and g(n) is Omega(h(n))
    - Then f(n) is Omega(h(n))
    * If f(n) is Theta(g(n)) and g(n) is Theta(h(n))
    - Then f(n) is Theta(h(n))
    4) Symmetric (5:18)
    * If f(n) is Theta(g(n))
    - Then g(n) is Theta(f(n))
    5) Transpose Symmetric (6:23)
    * if f(n) is O(g(n))
    - Then g(n) is Omega(f(n))
    6) More (7:44)
    * if f(n) is O(g(n)) and f(n) is Omega(g(n))
    - Then f(n) is Theta(g(n))

  • @One.Stop.Backchodi
    @One.Stop.Backchodi Před 3 lety

    THe comment which makes century...

  • @akashh5238
    @akashh5238 Před 5 lety

    Thankyou sir

  • @padaishadhaitechnically5537

    At 1:53, if we multiply wd 1000 dn the property will not hold

  • @krishnaranimeher9513
    @krishnaranimeher9513 Před 2 lety

    Sir, i have a question that in the properties of asymptotic notation the third property that is transpose symmetric you told that it is true for big O and big omega so my question is why it is not true for theta?

    • @hmm1778
      @hmm1778 Před 2 lety

      That property is only concerning big O and big omega.

  • @shreyashdudiwar8364
    @shreyashdudiwar8364 Před 2 lety

    Hi,bada cute bolta ye band XD

  • @aryanrathore1790
    @aryanrathore1790 Před 4 lety

    by reflexive property ,can we say that if f(n)=n! then f(n)=theta(n!)??

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

      Every function is both upper and lower bound of itself. There fore it's correct

  • @pavankumar-nm9yu
    @pavankumar-nm9yu Před 5 lety

    Reflexive property satisfies for both upper and lower bound right?

    • @qvikk333
      @qvikk333 Před 5 lety

      yes... f(n)=n^2 ... f(n) is O(f(n)) i.e. O(n^2) ... f(n) is Omega(f(n)) i.e. Omega(n^2)

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

    6:46

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

    What's the difference between Order and Big Oh?

    • @nishitkakkad4976
      @nishitkakkad4976 Před 6 lety

      Understood 🤘
      Thank you very much for clear explanation 👌

  • @abelsimon5308
    @abelsimon5308 Před 3 lety

    is g(n) just the degree of the polynomial?

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

    Is reflexive property true for all three??

    • @Han-ve8uh
      @Han-ve8uh Před 3 lety

      dotnettutorials.net/lesson/properties-of-asymptotic-notations/#:~:text=Reflexive%20Properties%3A,O(f(n)).

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

      yess

  • @farizma
    @farizma Před 5 lety

    Reflexive property is also for Big-Omega and Theta or not?

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

      Yes, valid for upper and average bound too...

  • @gulrezeqbal3048
    @gulrezeqbal3048 Před 6 lety

    In reflexive property if f(n) = 2n+3
    Then big O is what only O(n) if yes then how is it reflexive ?
    Please reply me sir ?

    • @gulrezeqbal3048
      @gulrezeqbal3048 Před 6 lety

      Abdul Bari yes sir but I am watching from starting video now I am in this video tutorial so can u clear my doubt sir ?

    • @gulrezeqbal3048
      @gulrezeqbal3048 Před 6 lety

      Abdul Bari sir then every function become reflexive but I think f(n) = n has reflexive now the case 2 if f(n) = 2n+3 then reflexive is not possible because here we get only O(n) not O(2n+3) because in asymptomatic notation we take only highest order not entire expression !

    • @BittuBhowmick89
      @BittuBhowmick89 Před 6 lety

      Correct me if I am wrong. I guess you have ignored the '3' here as i have seen we do not consider the constant value while writing the expression. The highest value is n, we discard the lower order values when we write the expression. Am i correct?

    • @confessions92
      @confessions92 Před 6 lety

      we ignore constants when we need to find asymptotic notations! So this is correctly O(n)

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

      If u have watched the previous videos then
      2*n + 3

  • @arjunverma963
    @arjunverma963 Před rokem

    how is the reflexive property true for n!

  • @utsavmishra3719
    @utsavmishra3719 Před 4 lety

    that realization at 8:11 ...

  • @krishi5789
    @krishi5789 Před 2 lety

    If f (n) = Θ(g(n)), then 2^f (n) = Θ(2^g(n)). Is this true?

  • @collegematerial5348
    @collegematerial5348 Před 2 lety

    Symmetric when only function order same not function same can anybody tell.
    Reflexive only valid for theta only.
    Please tell I am requesting if any one know

  • @cy7602
    @cy7602 Před 3 lety

    you are god.

  • @ankitkhasgiwale1229
    @ankitkhasgiwale1229 Před 3 lety

    Can somebody educate me how these notations helps in coding ??

  • @supunmadusanka304
    @supunmadusanka304 Před 3 lety

    if function it self is a upper bound of the function and lower bound of the function why can not we write n! is an upper bound of n! and lower bound of n! and then n! belongs to theta(n!)

    • @Aditya-ot7ib
      @Aditya-ot7ib Před 3 lety +1

      Cause n! is not a polynomial function. So that's why we use other polynomial functions to represent its upper and lower bound.

  • @yshivaji3848
    @yshivaji3848 Před 5 lety

    hi sir i have a small request for you, if possible please arrange normalization concept in DBMS

  • @priyankashaw1238
    @priyankashaw1238 Před 5 lety

    symmetric was confusing. Do f(n) and g(n) needs to be same ?

  • @RoyalAkshay
    @RoyalAkshay Před 2 lety

    6:21
    I don't think symmetric property is correct
    e.g. f(n) = 2n +5 and g(n) = n
    Yes f(n) = theta( g(n) )
    but g(n) = theta( f(n) ) = theta ( 2n + 5)

  • @sairam332
    @sairam332 Před 5 lety

    cool

  • @gowtham2775
    @gowtham2775 Před 5 lety

    Common sense properties

  • @codenaman
    @codenaman Před 6 lety

    great lecture sir, but is it compulsory to having knowledge of mathematics.

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

      I would suggest you to read basic discrete maths

  • @ram41228
    @ram41228 Před 4 lety

    Sir ncube is bigO (upper bound) of n

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

    Actually I didn't understand sir😢 all mix-up nd making me confused 😕

  • @kirubhakaranmohan9811
    @kirubhakaranmohan9811 Před 6 lety

    Hi sir,
    Can you post the videos on Automata and Compiler Design .

    • @pratiknighot7088
      @pratiknighot7088 Před 6 lety

      Refer czcams.com/play/PLmXKhU9FNesSdCsn6YQqu9DmXRMsYdZ2T.html

  • @DrownedinLiterarture
    @DrownedinLiterarture Před 8 dny

    I think someone copied his lecture on Geeks for geeks too 😭😂😂😂

  • @ShubhamVerma-zu8kv
    @ShubhamVerma-zu8kv Před 5 lety

    what is the prove of these properties? we are just taking examples and writing them acc to statements. How can we prove them?

  • @sheetaljain4984
    @sheetaljain4984 Před 3 lety

    Sir! I didn't understand transpose symmetric.

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

      first know what omega notation means it means if f(n) is omega of g(n) then it means f(n) has upper bound on g(n).
      Bigo notation means if f(n) is bigo of g(n) then it means f(n) has lower bound on g(n).
      and then listen what sir wriiten if f(n) is bigo of g(n) it means f(n) has lower bound on g(n) and g(n) is omega of f(n) means g(n) has upper bound on f(n)

    • @usefullyuseless4404
      @usefullyuseless4404 Před 3 lety

      simply... if a number 2 is a smaller quantity compare to 3 then 3 is the larger quantity compare to 2

    • @giannoob8206
      @giannoob8206 Před 3 lety

      @@fashionvella730 ulta bolra big-o means function is having upper bound over g(x)

  • @sarthaksharma8219
    @sarthaksharma8219 Před 5 lety

    My dout is not clear

  • @blackarrow3138
    @blackarrow3138 Před 4 lety

    (y)