Answer:
Jim exchanged an old machine used in his trade or business for a new machine plus $50,000 cash. Jim purchased the old machine for $345,000 and deducted $45,000 of depreciation on the old machine. The new machine has a fair market value of $450,000
Amount realized: $500,000 ($450,000+$50,000)
Adjusted basis: $300,000 ($345,000-$45,000)
Gain realized: $200,000 ($500,000-$300,000)
Gain recognized: $200,000
Sec. 1245 Recapture: $45,000
Sec. 1231 Gain: $155,000 ($200,000 - $45,000)
Jerry purchased a new machine for $100,000. A few years later, Jerry sold the machine for $90,000. Before selling the machine, Jerry claimed $40,000 in depreciation
Amount realized: $90,000
Adjusted basis: $60,000 ($100,000-$40,000)
Gain realized: $30,000
Gain recognized: $30,000
Sec. 1245 Recapture: $30,000
Sec. 1231 Gain: - ($30,000-$40,000)