0000
.png)
So we can move u to v without any string. So, we can remove,
.png)
If u is initial state, now in this case v is initial state.
.png)
.png)
If v is final state then we can assume that u is also final state.
.png)
But,
.png)
Because after final state u, the string will be rejected for λ move to v. So, initially v is never final if u is final.
If there is any transition from v by α,
.png)
Then we create a duplicate transition to u same as v,
.png)
[Because there is no path from u to v after λ removal]
Example:
.png)
Here we can remove last λ or first λ, it does not matter and it is not necessary that answer will be same in both cases. RE = 0*1*2*
.png)
λ removed from first
.png)
Next removal of λ
.png)
Next removal of λ
.png)
λ removal from last position
.png)