(Definition) If L is a regular language, then there is a number p (the pumping length) such that s is any string in L of length p or more can be written as s = xyz, satisfying the following conditions :
1. for each i$\geq$ 0 , xyiz ∈L,
2. |y|>0, and
3. |xy|$\leq$p.
So we need to find the minimum length string s = xyz ∈ L such that xyiz should also be L.
Remember:
i) y $\neq$ ∊ , point 2 of definition |y|>0 means only that.
ii) y should be in closure (loop) that repeats ,so that we get xyiz∈L
iii) Don't Worry about Unions, only we need to find s = xyz ∈L that satisfying i) and ii) above said.
Now
Q1. 0*1+0+1* U 10*1
s= xyz =101 , where x=1 , y=0 and z=1 such that xyiz∈L ( that is 10*1, look i >=0)
Minimum Pumping length = 3
( if you are confused that 11 in L and have minimum length, then remember point2 of definition y $\neq$ ∊ and secondly when you will put i=0 in xyiz you will get 11 ∈L )
Q2. L = 001 U 0*1*
s= xyz = 0 , where x=∊,y=0 and z=∊ such that xyiz∈L (that is 0*∊)
Minimum Pumping length = 1
Q3. L = 0*1*
Minimum Pumping Length = 1 (refer Q2)
Q4. L = 10(11*0)*0
s = xyz = 10100 where x=10,y=10 and z=0 such that xyiz∈L (that is 10(1∊0)*0 )
Well it looks Minimum Pumping length is 5 , But it is not, We can repeat y any time (or it should be) and y$\neq$ ∊ that mean we cannot use 3 or less length string from L for pumping , So y can be 10 (minimum) so minimum string S we using for pumping is 10100 of length 5, but length 4 string can not generated from the given language (that's not our fault). So we can say we use 4 or more length string s for pumping that belongs to L.
So Minimum Pumping length = 4.
Q5. L= ∊
Ideally its length 0 only s = xyz = ∊, where x = ∊ , y = ∊ and z = ∊ But y$\neq$ ∊
So we say, Minimum pumping length = 1 .