According to the expenditure approach, if Y is GDP, C is consumption, I is investment, G is government purchases, and NX is net exports, the national income identity can be written as: