The real wordsTheory
Total cost, and why the optimum is where the costs are equal
Total cost = annual holding cost + annual ordering cost
= (Q / 2) H + (D / Q) S
The class derives EOQ by differentiating this, setting the slope to zero and solving for Q. What that gives, in words, is the point where the two cost curves cross.
EOQ = square root of ( 2 D S / H )
Check your answer by computing both costs at the EOQ. They should come out equal. If they do not, the arithmetic is wrong.