跳到正文

算法·理论

How to count from 1 to 10????

Raisetsu41约 23 分钟
原文
文章信息与版本

文章信息

发布
2026年4月15日
收录
2026年4月16日
更新
2026年11月17日
篇幅
约 23 分钟

版本

  1. v2当前
  2. v1

Supply, Demand, and Market Mechanism

Equilibrium Fundamentals

  • Supply Curve: Qs=Qs(P,costs)Q^s = Q^s(P, \text{costs}). Positive slope due to increasing marginal costs.

  • Demand Curve: Qd=Qd(P,income)Q^d = Q^d(P, \text{income}). Negative slope reflecting law of demand.

  • Market Clearing: Equilibrium is reached when Qs(P∗)=Qd(P∗)Q^s(P^*) = Q^d(P^*).

    • Case 1 (Price above P∗P^*): Excess supply (Surplus) →\to downward pressure on price.

    • Case 2 (Price below P∗P^*): Excess demand (Shortage) →\to upward pressure on price.

Comparative Statics

Analysis of shifts in equilibrium due to exogenous shocks:

  • Shift in Supply: Caused by labor costs, raw material prices, or technological changes.

  • Shift in Demand: Caused by changes in income, tastes, or prices of substitutes/complements.

  • Endogenous Variables: P,QP, Q. Exogenous Variables: I,w,PreferencesI, w, \text{Preferences}.

Elasticities

Elasticity measures sensitivity: ϵQ,P=∂Q∂PPQ\epsilon_{Q,P} = \frac{\partial Q}{\partial P} \frac{P}{Q}.

  • Price Elasticity of Demand:

    • ∣Ep∣>1|E_p| > 1: Elastic (Sensitive).

    • ∣Ep∣<1|E_p| < 1: Inelastic (Insensitive).

  • Income Elasticity: ϵI=∂Q∂IIQ\epsilon_I = \frac{\partial Q}{\partial I} \frac{I}{Q}.

    • Normal Good (ϵI>0\epsilon_I > 0): Demand increases as income rises.

    • Inferior Good (ϵI<0\epsilon_I < 0): Demand decreases as income rises.

  • Cross-Price Elasticity: ϵxy=∂Qx∂pypyQx\epsilon_{xy} = \frac{\partial Q_x}{\partial p_y} \frac{p_y}{Q_x}.

    • Positive: Substitutes.

    • Negative: Complements.

Theory of Consumer Behavior I: Budget Constraint

The Budget Line (BL)

For goods x1,x2x_1, x_2 with prices p1,p2p_1, p_2 and income II:

p1x1+p2x2=I\begin{equation} p_1 x_1 + p_2 x_2 = I \end{equation}
  • Slope: −p1/p2-p_1/p_2. It represents the Market Rate of Exchange or the Opportunity Cost of consuming x1x_1 in terms of x2x_2.

  • The Budget Set: {(x1,x2)∣p1x1+p2x2≤I,xi≥0}\{ (x_1, x_2) \mid p_1 x_1 + p_2 x_2 \le I, x_i \ge 0 \}.

Changes in the Budget Line

  • Income Change: A change in II shifts the BL parallelly. Increase in II expands choice.

  • Price Change: A change in pip_i pivots the BL around the other intercept. Decrease in p1p_1 makes the BL flatter.

Policy Impacts on Budget

  1. Taxes:

    • Quantity Tax: Price becomes p1+tp_1 + t.

    • Value (Ad Valorem) Tax: Price becomes p1(1+τ)p_1(1 + \tau).

    • Lump-sum Tax: Income becomes I−TI - T.

  2. Uniform Sales Tax: If all goods are taxed at rate tt, it is equivalent to an income tax at rate t/(1+t)t/(1+t).

  3. Rationing: If x1≤xˉ1x_1 \le \bar{x}_1, the budget set is truncated.

  4. Food Stamps: A non-tradable gift of a specific commodity. It creates a horizontal segment at the top of the budget line if x1x_1 is on the horizontal axis.

  5. Quantity Discount: If p1p_1 decreases for x1>xˉ1x_1 > \bar{x}_1, the budget line has a kink and becomes flatter after the kink.

Consumer Preferences

The Axioms of Rationality

  • Completeness: For any bundles xx and yy, either x⪰yx \succeq y, y⪰xy \succeq x, or x∼yx \sim y.

  • Transitivity: If x⪰yx \succeq y and y⪰zy \succeq z, then x⪰zx \succeq z. This ensures consistent rankings.

Well-Behaved Preferences

  • Monotonicity (More is Better): If bundle xx has at least as much of all goods and more of at least one good than yy, then x≻yx \succ y.

  • Convexity: Averages are preferred to extremes. Mathematically, the set {y∣y⪰x}\{y \mid y \succeq x\} is a convex set.

  • Diminishing MRS: Directly implied by strict convexity.

Marginal Rate of Substitution (MRS)

The rate at which a consumer is willing to substitute good 2 for good 1 while maintaining the same utility level.

MRS1,2=∣dx2dx1∣=MU1MU2\begin{equation} MRS_{1,2} = \left| \frac{dx_2}{dx_1} \right| = \frac{MU_1}{MU_2} \end{equation}

Utility Functions

Ordinal Utility

The magnitude of utility numbers carries no meaning; only the order matters.

  • Monotonic Transformation: If f(u)f(u) is increasing, f(U(x))f(U(x)) represents the same preferences.

Standard Functional Forms

  • Cobb-Douglas: U(x1,x2)=x1ax2bU(x_1, x_2) = x_1^a x_2^b.

  • Perfect Substitutes: U(x1,x2)=ax1+bx2U(x_1, x_2) = ax_1 + bx_2. MRS is constant (a/ba/b).

  • Perfect Complements: U(x1,x2)=min⁡{ax1,bx2}U(x_1, x_2) = \min\{ax_1, bx_2\}. Solution always at the kink.

  • Quasi-linear: U(x1,x2)=f(x1)+x2U(x_1, x_2) = f(x_1) + x_2. MRS depends only on x1x_1.

Utility Maximization Problem (UMP)

The Setup

Maximize U(x1,x2)U(x_1, x_2) subject to p1x1+p2x2=Ip_1 x_1 + p_2 x_2 = I.

Optimality Conditions

For well-behaved preferences and interior solutions:

  1. Tangency Condition: MRS=p1p2MRS = \frac{p_1}{p_2}

  2. Equal Marginal Principle: MU1p1=MU2p2\frac{MU_1}{p_1} = \frac{MU_2}{p_2}

Solving UMP for Cobb-Douglas

For U=x1ax2bU = x_1^a x_2^b, the Marshallian Demand is: \begin{equation} x_1^* = \frac{a}{a+b} \frac{I}{p_1}, \quad x_2^* = \frac{b}{a+b} \frac{I}{p_2} \end{equation} Key Insight: Expenditure shares (pixiI\frac{p_i x_i}{I}) are constant and equal to the exponents’ relative weights.

Boundary (Corner) Solutions

Occurs when the tangency condition never holds within the feasible range (xi≥0x_i \ge 0).

  • Example: Perfect Substitutes. If MRS>p1/p2MRS > p_1/p_2, x1∗=I/p1x_1^* = I/p_1 and x2∗=0x_2^* = 0.

Intertemporal Choice

  • Intertemporal Budget: c1+c21+r=I1+I21+rc_1 + \frac{c_2}{1+r} = I_1 + \frac{I_2}{1+r}.

  • Savings (ss): If I1>c1I_1 > c_1, then s=I1−c1s = I_1 - c_1. Period 2 consumption: c2=I2+s(1+r)c_2 = I_2 + s(1+r).

  • Borrowing: If c1>I1c_1 > I_1.

Comparative Statics of Demand

Consumption Curves

  • Price-Consumption Curve (PCC): Traces the utility-maximizing bundles as the price of one good changes, holding income and other prices constant.

  • Income-Consumption Curve (ICC): Traces the optimal bundles as income changes.

  • Engel Curve: Plots the quantity demanded of a good against income II.

    • Normal Goods: Upward sloping Engel curve.

    • Inferior Goods: Downward sloping Engel curve.

Homothetic Preferences

Definition: A preference where the MRS depends only on the ratio x1/x2x_1/x_2.

  • Implication: ICC and Engel curves are straight lines through the origin.

  • Mathematical Property: xi(p,I)=I⋅xi(p,1)x_i(p, I) = I \cdot x_i(p, 1).

Duality Theory

The Indirect Utility Function V(p,I)V(p, I)

Represents the maximum utility achievable given prices pp and income II.

  • Roy’s Identity: xi(p,I)=−∂V/∂pi∂V/∂Ix_i(p, I) = -\frac{\partial V / \partial p_i}{\partial V / \partial I}. Use this to derive Marshallian demand from VV.

The Expenditure Function E(p,u)E(p, u)

Represents the minimum cost to reach utility level uu at prices pp.

  • Shephard’s Lemma: xih(p,u)=∂E(p,u)∂pix_i^h(p, u) = \frac{\partial E(p, u)}{\partial p_i}. Use this to derive Hicksian demand from EE.

The Slutsky Equation: SE and IE

Total Effect Decomposition

The total change in demand due to a price change can be broken down:

ΔxTotal=ΔxSubstitution+ΔxIncome\begin{equation*} \Delta x^{Total} = \Delta x^{Substitution} + \Delta x^{Income} \end{equation*}
  • Substitution Effect (SE): Change in demand due to relative price change, keeping utility constant. Always negative.

  • Income Effect (IE): Change in demand due to change in real purchasing power.

  • Calculus Form: ∂xi∂pi=∂xih∂pi−xi∂xi∂I\frac{\partial x_i}{\partial p_i} = \frac{\partial x_i^h}{\partial p_i} - x_i \frac{\partial x_i}{\partial I}.

Goods Classification

Good Type SE Direction IE Direction Total Effect


Normal Negative Negative Negative (Law of Demand holds) Inferior Negative Positive Negative (if ∣SE∣>∣IE∣|SE| > |IE|) Giffen Negative Positive Positive (if ∣IE∣>∣SE∣|IE| > |SE|)

Revealed Preference and Indices

Axioms

  • Principle of Revealed Preference: If bundle AA is chosen while BB was affordable (pAxA≥pAxBp^A x^A \ge p^A x^B), then AA is revealed preferred to BB.

  • WARP: If xAx^A is directly revealed preferred to xBx^B, then xBx^B can never be revealed preferred to xAx^A.

Price Indexes

  • Laspeyres: Lp=∑ptxb∑pbxbL_p = \frac{\sum p_t x_b}{\sum p_b x_b}. Overstates inflation as it assumes a fixed basket.

  • Paasche: Pp=∑ptxt∑pbxtP_p = \frac{\sum p_t x_t}{\sum p_b x_t}. Understates inflation as it uses the current basket.








Here is the way to count from 1 to 10!!!!!1

Properties of Preferences: Determination

1.1 Monotonicity
Evaluate marginal utility MUi=∂U∂xiMU_i = \frac{\partial U}{\partial x_i}:

  • Strict Monotonicity: MUi(x1,x2)>0MU_i(x_1, x_2) > 0 for all xi>0x_i > 0.

  • Weak Monotonicity: MUi(x1,x2)≥0MU_i(x_1, x_2) \ge 0 for all xi≥0x_i \ge 0.

1.2 Convexity (Strictly Convex)
Verify if Indifference Curves (IC) are strictly bowed toward the origin:

  1. MRS Method: Compute MRS12=MU1MU2MRS_{12} = \frac{MU_1}{MU_2}. If dMRS12dx1∣U=Uˉ<0\frac{d MRS_{12}}{dx_1} \big|_{U=\bar{U}} < 0, it is strictly convex.

  2. Second Derivative Method: Solve for x2=f(x1)x_2 = f(x_1) from U(x1,x2)=UˉU(x_1, x_2) = \bar{U}.
    Step: Calculate f′(x1)=−MU1MU2f'(x_1) = -\frac{MU_1}{MU_2} and f′′(x1)=ddx1(f′(x1))f''(x_1) = \frac{d}{dx_1}(f'(x_1)). If f′′(x1)>0f''(x_1) > 0, it is strictly convex.

1.3 Homotheticity
A preference is homothetic if MRS(x1,x2)=f(x1/x2)MRS(x_1, x_2) = f(x_1/x_2) (it depends only on the ratio).
Check: Calculate MRS(tx1,tx2)MRS(tx_1, tx_2). If MRS(tx1,tx2)=MRS(x1,x2)MRS(tx_1, tx_2) = MRS(x_1, x_2) for all t>0t > 0, it is homothetic.

Utility Maximization Problem (UMP)

Goal: max⁡U(x1,x2)\max U(x_1, x_2) subject to p1x1+p2x2=Ip_1 x_1 + p_2 x_2 = I.

  1. Lagrangian: L=U(x1,x2)+λ(I−p1x1−p2x2)\mathcal{L} = U(x_1, x_2) + \lambda(I - p_1 x_1 - p_2 x_2).

  2. FOCs: (i) ∂L∂x1=MU1−λp1=0  ⟹  λ=MU1p1\frac{\partial \mathcal{L}}{\partial x_1} = MU_1 - \lambda p_1 = 0 \implies \lambda = \frac{MU_1}{p_1}.
    (ii) ∂L∂x2=MU2−λp2=0  ⟹  λ=MU2p2\frac{\partial \mathcal{L}}{\partial x_2} = MU_2 - \lambda p_2 = 0 \implies \lambda = \frac{MU_2}{p_2}.
    (iii) ∂L∂λ=I−p1x1−p2x2=0\frac{\partial \mathcal{L}}{\partial \lambda} = I - p_1 x_1 - p_2 x_2 = 0.

  3. Tangency: MU1MU2=p1p2  ⟹  \frac{MU_1}{MU_2} = \frac{p_1}{p_2} \implies solve for x2x_2 in terms of x1x_1 and pp.

  4. Substitution: Plug x2(x1,p)x_2(x_1, p) into p1x1+p2x2=Ip_1 x_1 + p_2 x_2 = I to solve for Marshallian demand xi∗(p,I)x_i^*(p, I).

Duality Theory

3.1 Indirect Utility Function (VV)
Substitute xi∗(p,I)x_i^*(p, I) into U(x1,x2)U(x_1, x_2): V(p,I)=U(x1∗(p,I),x2∗(p,I))V(p, I) = U(x_1^*(p, I), x_2^*(p, I)).
Roy’s Identity: xi∗(p,I)=−∂V/∂pi∂V/∂Ix_i^*(p, I) = -\frac{\partial V / \partial p_i}{\partial V / \partial I}.

3.2 Expenditure Function (EE)
The minimum cost to reach utility UU.
Calculation: From V(p,I)=UV(p, I) = U, solve for II: I=E(p,U)I = E(p, U).

3.3 Hicksian Demand (xhx^h)
Option A (EMP): min⁡p⋅x\min p \cdot x s.t. U=UˉU = \bar{U}. Lagrangian L=p1x1+p2x2+λ(Uˉ−U(x1,x2))\mathcal{L} = p_1 x_1 + p_2 x_2 + \lambda(\bar{U} - U(x_1, x_2)).
Option B (Shephard’s Lemma): xih(p,U)=∂E(p,U)∂pix_i^h(p, U) = \frac{\partial E(p, U)}{\partial p_i}.

Effect Decomposition: Slutsky Equation

Consider a price change p1→p1′p_1 \to p_1' (Income II and p2p_2 are fixed).

  1. Initial Point A: Solve x1A=x1∗(p1,I)x_1^A = x_1^*(p_1, I).

  2. Final Point C: Solve x1C=x1∗(p1′,I)x_1^C = x_1^*(p_1', I). Total Effect TE=x1C−x1ATE = x_1^C - x_1^A.

  3. Compensated Point B (Slutsky Compensation):

    • Calculate virtual income I′I' to afford A at new prices: I′=I+(p1′−p1)x1AI' = I + (p_1' - p_1)x_1^A.

    • Solve for compensated demand: x1B=x1∗(p1′,I′)x_1^B = x_1^*(p_1', I').

  4. Decompose:

    • Substitution Effect (SE): x1B−x1Ax_1^B - x_1^A.

    • Income Effect (IE): x1C−x1Bx_1^C - x_1^B.

原文