I learned in economics that the main reason why Aggreggate planned expenditure (APE) and real GDP are not always equal is because of inventories. This is entirely understandable. However, HOW they are related is a bit confusing. If APE exceeds real GDP, then they sell more than they produce. This confuses me. If they sell more than they expect, wouldn't real GDP exceed their APE?