Explain the relationship between MP and TP of an input

Relationship between MP and TP is stated below:
(i) When MP increases, TP increases at an increasing rate.
(ii) When MP decreases, TP increases at a diminishing rate.
(iii) When MP = 0, TP is maximum.
(iv) When MP is negative, TP declines.