4 kinds of quantities and their relationship