A capital gain is defined as

A) the tax paid when one sells an asset.
B) the positive difference between the sale price and the purchase price of an asset.
C) the tax rate one pays when one moves into a higher tax bracket.
D) an unanticipated increase in income.