1382, "to cut down or off," from under
(v.). In the commercial sense of "to sell at lower prices" (or work at lower wages) it is first attested 1884. Fig. sense of "render unstable, undermine" is recorded from 1955, from earlier lit. meaning "cut so as to leave the upper portion larger than the lower" (1874).