Having come across mathematical logic, a question suddenly came into my mind. We commonly know that the truth value of $P\to Q$ given as:
$\begin{matrix} P&Q&P \Rightarrow Q \\ T&T&T\\ T&F&F\\ F&T&T\\ F&F&T \end{matrix}$
I do not understand how $P\to Q$ holds when P is false. For example, let me propose a statement:
Let $n$ be a nonzero real number.
P: $n$ is a rational number
Q: $n\cdot0=k$, where $k$ is a nonzero real number.
We obviously know that Q is a false statement. Hence, I omit the case when Q is true. $\begin{matrix} P&Q&P\Rightarrow Q \\ T&F&F\\ F&F&T \end{matrix}$
P True: $n$ is a rational number;
P False: $n$ is not a rational number; $n$ is an irrational number.
How is it that $P\to Q$ holds true when P is false?