What is the meaning of Minimal_polynomial?

For a given square matrix M over some field K, the smallest-degree monic polynomial over K which, when applied to M, yields the zero matrix.

Given an algebraic element α of a given extension field of some field K, the monic polynomial of smallest degree of which α is a root.

Source: wiktionary.org