Theory of production describes the relationship between inputs and outputs in the production process. A production function defines this relationship mathematically. In the short run, some inputs are fixed while others are variable. As the variable input increases, total output initially increases at an increasing rate (stage 1), then at a decreasing rate (stage 2), and eventually decreases (stage 3), following the law of variable proportions. In the long run, all inputs are variable. If all inputs increase proportionately, we can see increasing, constant, or decreasing returns to scale. Isoquants show the combinations of inputs that produce the same output level.