The aggregate demand for rice is derived from the utility maximization of consumers, considering their budget constraints, and the aggregate supply is determined by profit-maximizing farmers with a given production function. The equilibrium is reached when aggregate demand equals aggregate supply, providing insights into the market dynamics for rice.
To obtain the aggregate demand for rice, we need to consider the optimization problem of the consumers. The utility maximization problem for a consumer i can be stated as:
subject to

where
is the wealth of consumer i and p is the price of good x. The utility function
is given by

Solving this consumer optimization problem, we find the demand function for good
for each consumer. The aggregate demand for rice (X) is the sum of individual demands:
X=∑n i=1 xi
Now, let's consider the farmers with the production function

where
A and β are positive parameters, and K is the capital and L is the labor. The farmers aim to maximize their profit, which is the difference between revenue and cost. Given the one-hectare land constraint, the profit-maximization problem is:
where w is the wage rate and r is the rental rate of capital.
The resulting optimal inputs
and
give us the aggregate supply of rice.