Fundamentals of Supply Curves