I was doing independent events and there I found that any two events(say $E$ and $F$) are independent when: $$P(F|E)=P(F)$$ provided $P(E)\ne0$
and $$P(E|F)=P(E)$$ provided $P(F)\ne0$
I'm having problem in understanding that why we have to work out the above two equations in order to see that $E$ and $F$ are independent.
I think that when $F$ is independent of $E$ then $E$ is also independent of $F$.
How can this happen that $E$ is independent of $F$ but $F$ is dependent of $E$.
Kindly provide me an example in which first event is independent of second but second is dependent on first.
It is not possible. If $E$ is independent of $F$, then the converse is true as well ($E$ and $F$ are independent). To see why, recall that $$ \Pr[E\mid F] = \frac{\Pr[E\cap F]}{\Pr F} = \frac{\Pr[E\cap F]}{\Pr E}\frac{\Pr E}{\Pr F} = \Pr[F\mid E]\frac{\Pr E}{\Pr F} $$ so that $\Pr[E\mid F] = \Pr[E]$ if and only if $\frac{\Pr[F\mid E]}{\Pr F} = 1$, i.e. $\Pr[F\mid E] = \Pr F$. Note that the "usual" (equivalent) definition of independence is $\Pr[E\cap F] = \Pr[E]\cdot\Pr[F]$.