Linear programming (LP) is a mathematical method for optimizing outcomes such as profit or cost, represented by linear equations within given constraints. An example illustrates a furniture dealer's investment strategy to maximize profits from selling tables and chairs, guided by constraints on budget and storage capacity. LP is widely applicable across industries, including manufacturing, diet optimization, and transportation scheduling.