I am not able to understand implication well. I can see If in $P \implies Q$, if Pis true and Q is false then implication is false. But i cannot understand other cases where it is taken as true. Is this just a convention ? or some underlying reasoning behind it
Thanks
The essence of implication is that when $P\implies Q$, we cannot have $P\text{ true}$ and $Q\text{ false}$. No other case if "forbidden", i.e. creates a contradiction.
For instance, with $x>1\implies x>0$, there are no $x$ such that $x>1\land x\le0$ ($\text{true}\implies\text{false}$). But $x\le1\land x>0$ ($\text{false}\implies\text{true}$) and $x\le1\land x\le0$ ($\text{false}\implies\text{false}$) are quite possible.
The instances such that $P$ is $\text{false}$ are usually uninteresting/meaningless and create a paradox called "ex falso quodlibet".
For instance
$$x>x+1\implies x^2<0$$ and
$$x>x+1\implies \pi=2$$ are said vacuously true implications (which are perfectly valid implications), because no $x$ can invalidate them.