Identities of Regular Expression

Поделиться
HTML-код
  • Опубликовано: 16 ноя 2024

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

  • @ugcnet8015
    @ugcnet8015 2 года назад +28

    Eminent channel and Eminent Teacher. Hats off to you Sir.

  • @aryanv1406
    @aryanv1406 4 года назад +17

    Let R be {a,b} and R* would be {epsilon, a, b, aa , bb , ab , ba ...}, now let's take one symbol from R and one Symbol from R* and we will never be able to have only epsilon. There will be always epsilon and a or epsilon and b. As we know (epslion and a = a). Thats why it is R+.

    • @vasireddyganesh
      @vasireddyganesh 3 года назад +1

      thank you so much

    • @Yuki-wn9kj
      @Yuki-wn9kj 3 года назад +1

      thats correct

    • @MM-vc5ic
      @MM-vc5ic 3 года назад +1

      thank you

    • @Lian-np5xm
      @Lian-np5xm 10 месяцев назад

      Thank u so much

    • @leanroorael
      @leanroorael 2 месяца назад

      But what if R includes epsilon? Since epsilon is also a regular expression. Then epsilon from R and epsilon from R* would result in epsilon. Why is it that R*R*=R* but RR*=R+?

  • @LALANKumar-en5rv
    @LALANKumar-en5rv Год назад +4

    00:01 The identity Phi plus R equals R represents the union of an empty set and any regular expression R, resulting in R.
    00:50 Different properties of regular expressions explained.
    01:36 Epsilon Closure
    02:28 Concatenating the closure of two regular expressions gives the total of that SS patient as the result.
    03:21 The closure of a regular expression when performed again gives the closure of the same expression.
    04:10 The closure of R plus excluding the epsilon symbol gives the closure of R
    05:01 Concatenation and closure properties of regular expressions
    05:57 Important identities of regular expressions

  • @talhamalik3tm
    @talhamalik3tm Месяц назад

    Point 9: R* already includes the epsilon symbol within itself. Hence the concatenation of R* with R yields R* regardless if you add epsilon to it or not.

  • @BigyanChap
    @BigyanChap 5 лет назад +108

    I was expecting that you would explain with examples.

    • @ruhanmuzaffar2012
      @ruhanmuzaffar2012 4 года назад +4

      me too .....or else why would someone come here

    • @sanchitbhalla1176
      @sanchitbhalla1176 3 года назад +2

      Watch knowledge gate
      Sanchit sir is best

    • @Shivam-wg6eq
      @Shivam-wg6eq 3 года назад

      @@sanchitbhalla1176 tum bhi binod nikle 🙄🤔

  • @sirisha.vamisetti
    @sirisha.vamisetti 5 лет назад +12

    Thanks for giving the video but I need example also

  • @krishnakrmahto97
    @krishnakrmahto97 6 лет назад +55

    second identity should be:
    (phi)R = R(phi) = phi

    • @aydict
      @aydict 5 лет назад +1

      you sure? I was so confused because of that

    • @backslash8874
      @backslash8874 5 лет назад +2

      @@aydict Yes, it should be (Phi)R=R(Phi)=Phi...

    • @Farahat1234
      @Farahat1234 5 лет назад +3

      @@backslash8874 to vhi to h!

    • @athukutti
      @athukutti 4 года назад +5

      It may can be also like that , bcoz when R is multiply with phi the result will be phi , the phi is like zero then when two zeros are added then result will be phi

    • @venkatarohitpotnuru38
      @venkatarohitpotnuru38 Год назад

      @@backslash8874 yaa

  • @doudou7074
    @doudou7074 3 года назад +6

    abstract. I can't understand. I don't know why. But I find the comments are very useful. Thanks.

  • @mohamadtabbakh9887
    @mohamadtabbakh9887 7 месяцев назад

    I wish you demonstrated the laws using an aribitrary set of symbols. That would have made this into 100/100 instead of a 80/100

  • @sandipdas5684
    @sandipdas5684 4 года назад +8

    Thank you so much sir 🙏

  • @ZinxM8
    @ZinxM8 5 лет назад +10

    is there a difference between closure properties and identities?

  • @ahmednabil5119
    @ahmednabil5119 3 года назад +1

    Thanks alot for you clear explanation.

  • @karanvenkateshupamanyuise-9407
    @karanvenkateshupamanyuise-9407 3 года назад +14

    How is RR* = R+ as said in example 9?

    • @aakashp
      @aakashp 3 года назад +7

      According to definition of + there should be at least 1 R.
      There fore first R for atleast one R ,
      And after that any number of R can come (R*)

    • @aryankhanna8295
      @aryankhanna8295 2 года назад +2

      R*={€ , R , RR , RRR ,..........}
      R.R*=R.{€ , R , RR , RRR ,..........}
      ={R.€ , R.R , R.RR , R.RRR ,.....}
      ={R , RR , RRR , RRRR ,.........}
      =R+

    • @pozlong8614
      @pozlong8614 2 года назад

      @@shahrak6306 THANK YOU.

    • @mohammadzaid9189
      @mohammadzaid9189 2 года назад

      With that logic, ^ also get included in that set, and if empty symbol included then how it is referred to as R+ not R*. ?

    • @rajatmishra9676
      @rajatmishra9676 2 года назад

      r+ = r.r* = r*r, as r* = ∈ + r + rr+ rrr …. and r.r* = r+ rr + rrr ……
      and rE=Er=r

  • @vatsalgp
    @vatsalgp 4 года назад +10

    The second identity is wrong. It should be either :
    phiR + Rphi = R
    or
    phiR = Rphi = R

  • @arjunmalli50
    @arjunmalli50 8 месяцев назад

    I have one doubt sir. In previous video you told instead of or (a, b) we used in RE + (a+b) in this video we used + for union?

    • @mnaresh3382
      @mnaresh3382 8 месяцев назад +1

      technically they are the same, we can represent Union of a and b as (a, b) or a+b, both means the same, for concatenation we can write either a . b or (ab)

    • @arjunmalli50
      @arjunmalli50 8 месяцев назад

      @@mnaresh3382 thank you

    • @arjunmalli50
      @arjunmalli50 8 месяцев назад

      ​@@mnaresh3382thank you sir...

  • @unknownlifeform4077
    @unknownlifeform4077 6 лет назад +15

    Is RR* = R+ ?

    • @ayankumarpahari83
      @ayankumarpahari83 6 лет назад +1

      Zhechun zhou yes

    • @ProfessionalTycoons
      @ProfessionalTycoons 6 лет назад +1

      This is such good comment.

    • @ChristianBurnsShafer
      @ChristianBurnsShafer 6 лет назад +12

      You can figure this out if you look at identity (9).
      Observe,
      Epsilon + RR* = R*. If we subtract Epsilon from both sides we obtain,
      RR* = R+

    • @javaexpertsa8947
      @javaexpertsa8947 6 лет назад +4

      Let R be {a,b} and R* would be {epsilon, a, b, aa , bb , ab , ba ...}, now let's take one symbol from R and one Symbol from R* and we will never be able to have only epsilon. There will be always epsilon and a or epsilon and b. As we know (epslion and a = a). Thats why it is R+.

    • @kushwanthkapa2041
      @kushwanthkapa2041 4 года назад

      yes

  • @rahulbhoir3498
    @rahulbhoir3498 6 лет назад +5

    you have changed the 2nd equation in another video(regular languages and finite automata problem 2) so which is correct

    • @HosRo4161
      @HosRo4161 Год назад +1

      Agree: The second identity should read: 0R = R0 = 0

  • @kainaatmakhani6550
    @kainaatmakhani6550 2 года назад

    good job

  • @oshoconner4003
    @oshoconner4003 2 года назад

    Sir operating system memory management dal do...please🇮🇳🇮🇳

  • @AL-go2mv
    @AL-go2mv 7 лет назад +3

    Can you tell me what all the symbols mean?? *, epsilon, +, concat

    • @varunkamani2528
      @varunkamani2528 7 лет назад +1

      Aaron Loomis In video above this all this symbol are described.
      € means null
      * Means occurance of element 0 or more time which includes ^ too
      + Is same as * but it doesn't include ^

    • @nabhavlogs371
      @nabhavlogs371 6 лет назад +1

      But in the previous video ^ was shown as null symbol

    • @Farahat1234
      @Farahat1234 5 лет назад

      @@varunkamani2528 now where are you after 2years?

    • @amanlrwtfsm1323
      @amanlrwtfsm1323 3 года назад

      @@Farahat1234 where u are after 1 year ??

    • @Farahat1234
      @Farahat1234 3 года назад

      @@amanlrwtfsm1323 😅😅😅at home but why did you asked😄

  • @u_ziben
    @u_ziben 6 лет назад +3

    I apologize but can you give me a link to the track you play at the end of the video? It sounds really cool

  • @akashkaaa7193
    @akashkaaa7193 3 года назад

    What is the result of
    fi . {a} = ?
    fi concatenation of {a} = ?

  • @scottzeta3067
    @scottzeta3067 2 года назад

    I don't understand the second one.

  • @Karansingh-gh4oy
    @Karansingh-gh4oy 7 лет назад

    thankyou sir

  • @marxman1010
    @marxman1010 3 года назад +1

    Why ∅ star becomes epsilon? ∅ means nothing inside and not contain empty string.

    • @therealkon_
      @therealkon_ Год назад

      I guess with an empty set you can't create any strings. That is why it is the empty string

  • @surbhiyadav4461
    @surbhiyadav4461 6 лет назад +14

    what is the difference between fii ,null and epsilon??

    • @vishaliguru3630
      @vishaliguru3630 5 лет назад +15

      @surbhi yadav Null and epsilon means the same....it's a string of length zero.phi is a null set symbol.

    • @kamalpatel5262
      @kamalpatel5262 3 года назад +17

      ∅ is the empty set.
      ϵ is the empty string.

    • @prohightension2000
      @prohightension2000 Год назад

      @@kamalpatel5262 Thanks you!! I was wondering about this too

  • @vimalsheoran8040
    @vimalsheoran8040 5 лет назад +3

    I believe it should be called intersection and not concatenation.

  • @gouravvishak6046
    @gouravvishak6046 6 лет назад +1

    what will be R + R* ? if there any identity?

  • @amanagarwal9700
    @amanagarwal9700 5 лет назад

    (a*ab+ba)*a*=(a+ab+ba)* how to prove this?

  • @phralma1000BC
    @phralma1000BC 7 лет назад +4

    what is the difference between € and phi?

    • @simran4930
      @simran4930 6 лет назад +7

      epsilon means that a set contains a value called null value but phi means that a set doesn't contain any value.

    • @ProfessionalTycoons
      @ProfessionalTycoons 6 лет назад

      I was asking the same thing

    • @vasudevp1703
      @vasudevp1703 5 лет назад +1

      If you have the idea of Finite State Machines or any mathematical model machine then PHI means NO INPUT STRING SET, ie. MACHINE IS NOT EVEN IN THE START STATE.
      Whereas the € means Machine has a input string set, but no elements in it.
      MACHINE IS NOW IN START STATE.
      Major difference is where the control lies whether in START STATE or machine didn't even need to start.

    • @abhijeetsharma5715
      @abhijeetsharma5715 5 лет назад

      ​@@simran4930​ i think epsilon is a word and not a set.( math.stackexchange.com/questions/1116218/difference-between-phi-anf-epsilon-in-regular-language )

  • @MagaTecnologica
    @MagaTecnologica 2 года назад

    I missed some examples... It was just too abstract

  • @asanitian6218
    @asanitian6218 8 месяцев назад

    Epsilon+regular expression=??

    • @jethanpaul818
      @jethanpaul818 7 месяцев назад

      it is regular expression because epsilon represent an empty string and not set as phi, if it was phi it would have meant an empty set and the outcome could be empty set

  • @ozanercan2052
    @ozanercan2052 6 лет назад +5

    where is the proof of this identities ?

    • @surbhiyadav4461
      @surbhiyadav4461 6 лет назад

      there is no need to prove these identities

  • @LetTheWritersWrite
    @LetTheWritersWrite 7 лет назад

    What exactly does epsilon mean?

    • @abhinav9058
      @abhinav9058 7 лет назад

      LetTheWritersWrite its a constant of physics

    • @abhinav9058
      @abhinav9058 7 лет назад

      Also it means null here

    • @yassinerh7709
      @yassinerh7709 7 лет назад +1

      empty string

    • @jeneyify
      @jeneyify 7 лет назад

      It's like space in a sentence, nothing.

    • @yassinerh7709
      @yassinerh7709 7 лет назад

      Its not even a space :) actually its something like char c=''; in this case c equal to epsilon

  • @kasozivincent107
    @kasozivincent107 4 года назад

    what u are doing is what any book will do. i wish u could really explain

  • @blahblahbla710
    @blahblahbla710 5 лет назад

    Why is 10 true

  • @mohssinmanj3874
    @mohssinmanj3874 4 года назад

    Its help us a looot

  • @arpitsaxena5972
    @arpitsaxena5972 4 года назад +3

    Sirf padh kr ni sunana tha chacha....

  • @neiljohn2637
    @neiljohn2637 3 года назад

    47

  • @marcaironcantal515
    @marcaironcantal515 Месяц назад

    🤔

  • @GagandeepSingh-b9k
    @GagandeepSingh-b9k 11 месяцев назад

    2nd identity is wrong

  • @6066Y
    @6066Y Год назад

    Brother where is explaination
    Ur just reading 😂

  • @solarchat9413
    @solarchat9413 2 года назад +1

    You are just reading what is written. That's not teaching

  • @dhairyasharma6243
    @dhairyasharma6243 5 лет назад +1

    are sir, kya hi bol gaye ;_;

  • @probot_x_falcon9054
    @probot_x_falcon9054 Год назад

    i think the second identity is wrong because i checked it on geeks for geeks theres it is ∅.r= r.∅ = ∅ instead of +

  • @yitzchakmeltz1309
    @yitzchakmeltz1309 3 года назад +2

    Why is ∅
    ∗ = ε ?
    If you repeat the empty set {} many times, isn't it still the empty set {}?