PageSourceSearch

https://www.tutoremy.ai/assets/SupplyAndDemandArticle-NV_syLy0.js

js tutoremy.ai collected 2026-10-05 13:50:59 UTC 66,280 bytes, 1 lines download raw bytes

1import{j as e,B as k,S as H}from"./index-DxzsxK2X.js";import{r as q,L as D}from"./vendor-DlcqtHFq.js";import{M as O}from"./MarketingLayout-BqcyWV3e.js";import{C as V}from"./circle-check-ChkjSNco.js";import{C as U}from"./circle-x-BdP0D6z-.js";import{R as L}from"./rotate-ccw-DjIsYZ50.js";import{S as X,P as Y,a as Z}from"./skip-forward-BH9xgb1F.js";import{P as K}from"./play-CCLcSZsW.js";import{u as J,A as ee,M as se}from"./useScrollSpy-5czGbz9L.js";import{a as re,b as te,f as ie,q as ae}from"./schemas-LlmsxjhX.js";import{C as G}from"./chevron-right-CeoH38AI.js";import{L as x}from"./link-ClbJ78HG.js";import{B as ne}from"./book-open-CsF8txL6.js";import{L as P}from"./lightbulb-BY8cMslo.js";import{T as v}from"./triangle-alert-CwGrVLZL.js";const h=[{id:1,question:"Which of the following would cause a movement along the demand curve for smartphones?",options:["An increase in consumer income.","A decrease in the price of smartphone apps.","A decrease in the price of smartphones.","New scientific evidence that smartphones cause health issues."],correctIndex:2,explanation:"A movement along the demand curve (change in quantity demanded) is caused by a change in the good's own price. A decrease in the price of smartphones would lead to an increase in the quantity demanded. The other options cause shifts of the entire demand curve."},{id:2,question:"If the market for coffee is initially in equilibrium, and then a new study reveals significant health benefits of coffee consumption while, simultaneously, a severe drought destroys a substantial portion of coffee crops. What will be the unambiguous effect on the equilibrium price (P*) and quantity (Q*)?",options:["P* will increase; Q* will increase.","P* will increase; Q* will decrease.","P* will increase; Q* will be ambiguous.","P* will be ambiguous; Q* will decrease."],correctIndex:2,explanation:"Health benefits increase demand (D shifts right). A drought decreases supply (S shifts left). Both shifts cause equilibrium price (P*) to increase. However, the effect on equilibrium quantity (Q*) is ambiguous: increased demand pushes Q* up, while decreased supply pushes Q* down. The net effect on Q* depends on the relative magnitudes of the shifts."},{id:3,question:"A binding price ceiling is imposed in a competitive market. Which of the following is a likely consequence?",options:["A surplus of the good.","An increase in producer surplus.","A shortage of the good.","An increase in the equilibrium price."],correctIndex:2,explanation:"A binding price ceiling is set below the equilibrium price. At this lower price, quantity demanded will exceed quantity supplied, resulting in a shortage. It also typically reduces producer surplus and creates deadweight loss. The equilibrium price itself cannot increase due to a ceiling."},{id:4,question:"Consumer surplus is best described as:",options:["The total revenue received by producers.","The difference between the total amount consumers are willing to pay and the amount they actually pay.","The profit earned by firms in the market.","The additional cost consumers incur due to market imperfections."],correctIndex:1,explanation:"Consumer surplus is the monetary gain consumers obtain because they are able to purchase a product for a price that is less than the highest price they would be willing to pay."},{id:5,question:"Which of the following is NOT a determinant of supply?",options:["Input prices.","Technology.","Consumer income.","Number of sellers."],correctIndex:2,explanation:"Consumer income is a determinant of demand, not supply. Input prices, technology, and the number of sellers all affect the cost or feasibility of production, thus influencing supply."},{id:6,question:"If the price elasticity of demand for a good is inelastic, then a decrease in supply will lead to:",options:["A large decrease in quantity and a small increase in price.","A small decrease in quantity and a large increase in price.","A large increase in quantity and a small decrease in price.","A small increase in quantity and a large decrease in price."],correctIndex:1,explanation:"A decrease in supply (leftward shift) typically increases price and decreases quantity. If demand is inelastic, consumers are not very responsive to price changes. Therefore, a decrease in supply will cause a relatively large increase in price and a relatively small decrease in quantity, as consumers continue to buy similar amounts despite the higher price."},{id:7,question:"The Cobweb Theorem explains market dynamics where:",options:["Demand and supply always adjust instantaneously to equilibrium.","Producers base current supply decisions on future expected prices.","There is a time lag between production decisions and market outcomes.","The market price consistently deviates from equilibrium in a random fashion."],correctIndex:2,explanation:"The Cobweb Theorem specifically models situations where there is a lag between the decision to produce (based on past prices) and the resulting quantity supplied coming to market, causing a series of price and quantity oscillations over time."},{id:8,question:"Suppose the demand for a product is given by Qd = 120 - 3P and the supply is Qs = 2P + 20. What is the equilibrium quantity?",options:["P = 20","Q = 60","P = 25","Q = 50"],correctIndex:1,explanation:"Set Qd = Qs: 120 - 3P = 2P + 20. This gives 100 = 5P, so P = 20. Substitute P=20 into either equation: Qd = 120 - 3(20) = 120 - 60 = 60. Or Qs = 2(20) + 20 = 40 + 20 = 60. So, the equilibrium quantity is 60."},{id:9,question:"If a government sets a minimum wage above the market-clearing wage for unskilled labor, this would be an example of a:",options:["Price ceiling, leading to a shortage of labor.","Price floor, leading to a surplus of labor.","Price ceiling, leading to a surplus of labor.","Price floor, leading to a shortage of labor."],correctIndex:1,explanation:"A minimum wage is a legal minimum price for labor, which is a price floor. If set above the equilibrium wage, it creates a surplus of labor (unemployment) because more people are willing to work at the higher wage than firms are willing to hire."},{id:10,question:"Which of the following statements about Giffen goods and Veblen goods is true?",options:["Both are common in everyday markets.","Giffen goods are luxury items, while Veblen goods are inferior goods.","Both are exceptions to the Law of Demand, exhibiting an upward-sloping demand curve.","Veblen goods are driven by a strong negative income effect, while Giffen goods are driven by conspicuous consumption."],
1correctIndex:2,explanation:"Both Giffen and Veblen goods are rare exceptions where the demand curve slopes upwards. Giffen goods are inferior goods where the negative income effect outweighs the substitution effect. Veblen goods are luxury goods where demand increases with price due to their status symbol appeal (conspicuous consumption). They are not common, and the descriptions in options B and D are reversed or incorrect."}];function oe({headless:s=!1}={}){const[r,c]=q.useState({}),[t,l]=q.useState(!1),j=t?h.filter(o=>r[o.id]===o.correctIndex).length:0,E=(o,p)=>{t||c(m=>({...m,[o]:p}))},C=()=>{Object.keys(r).length<h.length||l(!0)},y=()=>{c({}),l(!1)},w=Object.keys(r).length===h.length;return e.jsxs("div",{children:[!s&&e.jsx("h2",{className:"text-2xl font-bold mb-2",children:"Practice Quiz"}),e.jsx("p",{className:"text-muted-foreground mb-6",children:"Test your understanding of supply and demand — select the correct answer for each question."}),t&&e.jsxs("div",{className:`mb-8 rounded-xl p-5 text-center ${j===h.length?"bg-green-50 border border-green-200":j>=h.length*.7?"bg-blue-50 border border-blue-200":"bg-amber-50 border border-amber-200"}`,children:[e.jsxs("p",{className:"text-2xl font-bold mb-1",children:[j," / ",h.length]}),e.jsx("p",{className:"text-sm text-muted-foreground",children:j===h.length?"Perfect score! You nailed it.":j>=h.length*.7?"Great job! Review the ones you missed.":"Keep studying — review the explanations below."})]}),e.jsx("div",{className:"space-y-8",children:h.map((o,p)=>{const m=r[o.id],N=t&&m===o.correctIndex,b=t&&m!==void 0&&m!==o.correctIndex;return e.jsxs("div",{className:`rounded-xl border p-5 transition-colors ${N?"border-green-300 bg-green-50/50":b?"border-red-300 bg-red-50/50":"border-border"}`,children:[e.jsxs("p",{className:"font-semibold mb-3",children:[e.jsxs("span",{className:"text-muted-foreground mr-2",children:[p+1,"."]}),o.question]}),e.jsx("div",{className:"space-y-2",children:o.options.map((d,u)=>{const I=m===u,W=t&&u===o.correctIndex,M=t&&I&&u!==o.correctIndex;let Q="border-border hover:border-primary/40";return I&&!t&&(Q="border-primary bg-primary/5"),W&&(Q="border-green-400 bg-green-50"),M&&(Q="border-red-400 bg-red-50"),e.jsxs("button",{type:"button",onClick:()=>E(o.id,u),disabled:t,className:`w-full text-left rounded-lg border px-4 py-3 text-sm transition-all flex items-center gap-3 ${Q} ${t?"cursor-default":"cursor-pointer"}`,children:[e.jsx("span",{className:`flex-shrink-0 w-6 h-6 rounded-full border-2 flex items-center justify-center text-xs font-bold ${I&&!t?"border-primary bg-primary text-white":W?"border-green-500 bg-green-500 text-white":M?"border-red-500 bg-red-500 text-white":"border-gray-300"}`,children:String.fromCharCode(65+u)}),e.jsx("span",{className:"flex-1",children:d}),W&&e.jsx(V,{className:"h-5 w-5 text-green-600 flex-shrink-0"}),M&&e.jsx(U,{className:"h-5 w-5 text-red-500 flex-shrink-0"})]},u)})}),t&&e.jsxs("div",{className:"mt-3 rounded-lg bg-muted/40 p-3 text-sm text-muted-foreground",children:[e.jsx("strong",{children:"Explanation:"})," ",o.explanation]})]},o.id)})}),e.jsx("div",{className:"mt-8 flex gap-3",children:t?e.jsxs(k,{onClick:y,variant:"outline",className:"gap-2",children:[e.jsx(L,{className:"h-4 w-4"}),"Retake Quiz"]}):e.jsxs(k,{onClick:C,disabled:!w,className:"bg-primary text-white hover:bg-primary/90",children:["Submit Answers (",Object.keys(r).length,"/",h.length,")"]})})]})}const f=[{title:"Initial Equilibrium",annotation:"The market is initially in equilibrium (P*=90, Q*=55) where demand (D1) intersects supply (S1).",showS1:!0,showS2:!1,showD1:!0,showE1:!0,showE2:!1,showShortage:!1,showPriceArrow:!1,highlightShift:!1},{title:"Input Costs Increase",annotation:"Producers face higher costs for raw materials, labor, or energy. This will affect the supply curve.",showS1:!0,showS2:!1,showD1:!0,showE1:!0,showE2:!1,showShortage:!1,showPriceArrow:!1,highlightShift:!1},{title:"Supply Curve Shifts Left",annotation:"Higher input costs shift supply from S1 to S2 (leftward). At any given price, producers now supply less.",showS1:!0,showS2:!0,showD1:!0,showE1:!0,showE2:!1,showShortage:!1,showPriceArrow:!1,highlightShift:!0},{title:"Shortage at Initial Price",annotation:"At the original price P1*=90, Qd=55 but Qs=35 (from S2), creating a shortage of 20 units.",showS1:!1,showS2:!0,showD1:!0,showE1:!1,showE2:!1,showShortage:!0,showPriceArrow:!1,highlightShift:!1},{title:"Price Begins to Rise",annotation:"The shortage creates upward pressure on prices as buyers compete for the limited supply.",showS1:!1,showS2:!0,showD1:!0,showE1:!1,showE2:!1,showShortage:!0,showPriceArrow:!0,highlightShift:!1}
1,{title:"Movement to New Equilibrium",annotation:"As price rises, Qd falls along D1 and Qs rises along S2, until a new equilibrium is reached (P2*=110, Q2*=45).",showS1:!1,showS2:!0,showD1:!0,showE1:!1,showE2:!0,showShortage:!1,showPriceArrow:!1,highlightShift:!1},{title:"New Equilibrium Established",annotation:"The market settles at P*=110, Q*=45 — a higher price and lower quantity than before.",showS1:!0,showS2:!0,showD1:!0,showE1:!0,showE2:!0,showShortage:!1,showPriceArrow:!1,highlightShift:!1}],A=520,S=340,a={top:20,right:30,bottom:50,left:60},le=A-a.left-a.right,g=S-a.top-a.bottom,$=0,de=120,R=0,_=220;function n(s){return a.left+(s-$)/(de-$)*le}function i(s){return a.top+g-(s-R)/(_-R)*g}function ce(){const s=[];for(let r=0;r<=100;r+=2){const c=200-2*r;s.push(`${s.length===0?"M":"L"}${n(r).toFixed(1)},${i(c).toFixed(1)}`)}return s.join(" ")}function me(){const s=[];for(let r=10;r<=110;r+=2){const c=2*r-20;if(c>_)break;s.push(`${s.length===0?"M":"L"}${n(r).toFixed(1)},${i(c).toFixed(1)}`)}return s.join(" ")}function he(){const s=[];for(let r=0;r<=100;r+=2){const c=2*r+20;if(c>_)break;s.push(`${s.length===0?"M":"L"}${n(r).toFixed(1)},${i(c).toFixed(1)}`)}return s.join(" ")}function ue(){const[s,r]=q.useState(0),[c,t]=q.useState(!1),l=f[s],j=()=>{s<f.length-1&&r(d=>d+1)},E=()=>{s>0&&r(d=>d-1)},C=()=>{r(0),t(!1)};q.useEffect(()=>{if(!c)return;const d=setInterval(()=>{r(u=>u>=f.length-1?(t(!1),u):u+1)},2500);return()=>clearInterval(d)},[c]);const y=n(55),w=i(90),o=n(45),p=i(110),m=35,N=55,b=90;return e.jsxs("figure",{className:"my-8 flex flex-col items-center",children:[e.jsx("h3",{className:"text-xl sm:text-2xl font-bold mb-4",children:"Impact of Increase in Input Costs (Supply Shift)"}),e.jsxs("div",{className:"w-full max-w-sm sm:max-w-2xl",children:[e.jsxs("div",{className:"rounded-xl border border-blue-200/60 bg-gradient-to-br from-blue-50/80 via-white to-indigo-50/60 shadow-sm p-4 sm:p-6",children:[e.jsxs("div",{className:"mb-4 rounded-lg border border-blue-200 bg-blue-50 px-4 py-2.5 font-mono text-sm text-blue-900",children:[e.jsxs("span",{className:"text-blue-400 mr-2",children:["Step ",s+1,"/",f.length,":"]}),l.title]}),e.jsx("div",{className:"rounded-lg border border-blue-200 bg-white p-2 sm:p-3 mb-4",children:e.jsxs("svg",{viewBox:`0 0 ${A} ${S}`,className:"w-full h-auto","aria-label":"Supply and demand graph animation",children:[[0,50,100,150,200].map(d=>e.jsxs("g",{children:[e.jsx("line",{x1:a.left,y1:i(d),x2:A-a.right,y2:i(d),stroke:"#e5e7eb",strokeWidth:.5}),e.jsx("text",{x:a.left-8,y:i(d)+3,textAnchor:"end",className:"fill-gray-400",fontSize:10,fontFamily:"monospace",children:d})]},`pg-${d}`)),[0,20,40,60,80,100,120].map(d=>e.jsxs("g",{children:[e.jsx("line",{x1:n(d),y1:a.top,x2:n(d),y2:a.top+g,stroke:"#e5e7eb",strokeWidth:.5}),e.jsx("text",{x:n(d),y:S-a.bottom+18,textAnchor:"middle",className:"fill-gray-400",fontSize:10,fontFamily:"monospace",children:d})]},`qg-${d}`)),e.jsx("text",{x:A/2,y:S-6,textAnchor:"middle",className:"fill-gray-500",fontSize:12,fontWeight:"600",children:"Quantity (Q)"}),e.jsx("text",{x:14,y:S/2,textAnchor:"middle",className:"fill-gray-500",fontSize:12,fontWeight:"600",transform:`rotate(-90, 14, ${S/2})`,children:"Price (P)"}),e.jsx("line",{x1:a.left,y1:a.top,x2:a.left,y2:a.top+g,stroke:"#6b7280",strokeWidth:1.5}),e.jsx("line",{x1:a.left,y1:a.top+g,x2:A-a.right,y2:a.top+g,stroke:"#6b7280",strokeWidth:1.5}),l.showD1&&e.jsxs("g",{children:[e.jsx("path",{d:ce(),fill:"none",stroke:"#3b82f6",strokeWidth:2.5}),e.jsx("text",{x:n(95),y:i(10)-4,fontSize:13,fontWeight:"700",fill:"#3b82f6",children:"D1"})]}),l.showS1&&e.jsxs("g",{children:[e.jsx("path",{d:me(),fill:"none",stroke:l.highlightShift?"#d1d5db":"#ef4444",strokeWidth:l.highlightShift?2:2.5,strokeDasharray:l.highlightShift?"6 4":"none"}),e.jsx("text",{x:n(108),y:i(196)+4,fontSize:13,fontWeight:"700",fill:l.highlightShift?"#9ca3af":"#ef4444",children:"S1"})]}),l.showS2&&e.jsxs("g",{children:[e.jsx("path",{d:he(),fill:"none",stroke:"#ef4444",strokeWidth:2.5}),e.jsx("text",{x:n(92),y:i(204)+4,fontSize:13,fontWeight:"700",fill:"#ef4444",children:"S2"})]}),l.highlightShift&&e.jsxs("g",{children:[e.jsx("defs",{children:e.jsx("marker",{id:"shift-arrow",markerWidth:"8",markerHeight:"6",refX:"8",refY:"3",orient:"auto",children:e.jsx("polygon",{points:"0 0, 8 3, 0 6",fill:"#f97316"})})}),e.jsx("line",{x1:n(70),y1:i(120),x2:n(50),y2:i(120),stroke:"#f97316",strokeWidth:2,markerEnd:"url(#shift-arrow)"}),e.jsx("text",{x:n(60),y:i(120)-10,textAnchor:"middle",fontSize:11,fontWeight:"600",fill:"#f97316",children:"Shift Left"})]}),l.showShortage&&e.jsxs("g",{children:[e.jsx("line",{x1:n(m),y1:i(b),x2:n(N),y2:i(b),stroke:"#f97316",strokeWidth:2,strokeDasharray:"4 3"}),e.jsx("line",{x1:n(m),y1:i(b)-6,x2:n(m),y2:i(b)+6,stroke:"#f97316",strokeWidth:2}),e.jsx("line",{x1:n(N),y1:i(b)-6,x2:n(N),y2:i(b)+6,stroke:"#f97316",strokeWidth:2}),e.jsx("text",{x:n((m+N)/2),y:i(b)-10,textAnchor:"middle",fontSize:11,fontWeight:"700",fill:"#f97316",children:"Shortage = 20"}),e.jsx("line",{x1:a.left,y1:i(90),x2:n(N),y2:i(90),stroke:"#9ca3af",strokeWidth:1,strokeDasharray:"4 3"}),e.jsx("text",{x:a.left-8,y:i(90)+4,textAnchor:"end",fontSize:9,fill:"#9ca3af",fontWeight:"600",children:"P1
1*"})]}),l.showPriceArrow&&e.jsxs("g",{children:[e.jsx("defs",{children:e.jsx("marker",{id:"price-arrow",markerWidth:"8",markerHeight:"6",refX:"8",refY:"3",orient:"auto",children:e.jsx("polygon",{points:"0 0, 8 3, 0 6",fill:"#16a34a"})})}),e.jsx("line",{x1:n(8),y1:i(90),x2:n(8),y2:i(130),stroke:"#16a34a",strokeWidth:2.5,markerEnd:"url(#price-arrow)"}),e.jsx("text",{x:n(8)+8,y:i(110),fontSize:10,fontWeight:"600",fill:"#16a34a",children:"Price rises"})]}),l.showE1&&e.jsxs("g",{children:[e.jsx("line",{x1:y,y1:w,x2:y,y2:a.top+g,stroke:"#8b5cf6",strokeWidth:1,strokeDasharray:"4 3"}),e.jsx("line",{x1:a.left,y1:w,x2:y,y2:w,stroke:"#8b5cf6",strokeWidth:1,strokeDasharray:"4 3"}),e.jsx("circle",{cx:y,cy:w,r:6,fill:"#8b5cf6",stroke:"white",strokeWidth:2}),e.jsx("text",{x:y+10,y:w-8,fontSize:11,fontWeight:"700",fill:"#8b5cf6",children:"E1 (55, 90)"})]}),l.showE2&&e.jsxs("g",{children:[e.jsx("line",{x1:o,y1:p,x2:o,y2:a.top+g,stroke:"#16a34a",strokeWidth:1,strokeDasharray:"4 3"}),e.jsx("line",{x1:a.left,y1:p,x2:o,y2:p,stroke:"#16a34a",strokeWidth:1,strokeDasharray:"4 3"}),e.jsx("circle",{cx:o,cy:p,r:6,fill:"#16a34a",stroke:"white",strokeWidth:2}),e.jsx("text",{x:o+10,y:p-8,fontSize:11,fontWeight:"700",fill:"#16a34a",children:"E2 (45, 110)"})]})]})}),e.jsx("div",{className:"rounded-lg bg-amber-50 border border-amber-200 px-3 py-2 text-sm text-amber-800 min-h-[40px] flex items-center",children:l.annotation})]}),e.jsxs("div",{className:"flex items-center justify-center gap-2 mt-4",children:[e.jsx(k,{variant:"outline",size:"sm",onClick:C,children:e.jsx(L,{className:"h-3.5 w-3.5"})}),e.jsx(k,{variant:"outline",size:"sm",onClick:E,disabled:s===0,children:e.jsx(X,{className:"h-3.5 w-3.5"})}),e.jsx(k,{size:"sm",onClick:()=>{s>=f.length-1?C():t(!c)},className:"gap-1.5 min-w-[80px]",children:s>=f.length-1?e.jsxs(e.Fragment,{children:[e.jsx(L,{className:"h-3.5 w-3.5"}),"Restart"]}):c?e.jsxs(e.Fragment,{children:[e.jsx(Y,{className:"h-3.5 w-3.5"}),"Pause"]}):e.jsxs(e.Fragment,{children:[e.jsx(K,{className:"h-3.5 w-3.5"}),"Play"]})}),e.jsx(k,{variant:"outline",size:"sm",onClick:()=>{t(!1),j()},disabled:s>=f.length-1,children:e.jsx(Z,{className:"h-3.5 w-3.5"})}),e.jsxs("span",{className:"text-xs text-muted-foreground ml-2",children:["Step ",s+1," / ",f.length]})]})]}),e.jsx("figcaption",{className:"text-xs text-muted-foreground text-center mt-3 max-w-md",children:"Watch how an increase in input costs shifts the supply curve left, creating a shortage at the original price and driving the market to a new equilibrium with higher price and lower quantity."})]})}const F="https://www.tutoremy.ai",z=`${F}/resources/economics/supply-and-demand`,B=[{question:'What is the difference between a "change in demand" and a "change in quantity demanded"?',answer:"A change in demand refers to a shift of the entire demand curve, caused by a change in any non-price determinant of demand (e.g., income, tastes, price of related goods, expectations, number of buyers). This means that at every price level, consumers are now willing to buy more or less of the good. A change in quantity demanded, conversely, refers to a movement along a given demand curve, caused solely by a change in the good's own price."},{question:"How do economists use ceteris paribus in supply and demand analysis?",answer:'Ceteris paribus (Latin for "all other things being equal") is a crucial assumption that allows economists to isolate the effect of one variable on another. When analyzing, for instance, how a change in income affects demand, economists assume that factors like the price of the good itself, prices of substitutes/complements, consumer tastes, and expectations all remain constant. This simplifies the analysis and allows for clear predictions about the direction and magnitude of changes.'},{question:"Can a market ever be in disequilibrium indefinitely?",answer:"In theory, competitive markets tend towards equilibrium through price adjustments. However, in reality, markets can experience prolonged periods of disequilibrium due to government interventions (binding price controls), information asymmetry, adjustment lags (as seen in the Cobweb Theorem), and continuous external shocks. While disequilibrium can persist, the underlying forces of supply and demand still exert pressure towards equilibrium."},{question:"What is deadweight loss, and how does it relate to supply and demand?",answer:"Deadweight loss (DWL) is a net loss of total surplus (consumer surplus + producer surplus) that results from an inefficient allocation of resources. It represents the value of potential transactions that do not occur because of market distortions. In the context of supply and demand, DWL arises when the quantity traded in the market is not the equilibrium quantity, such as when binding price ceilings or floors prevent the market from reaching efficiency."},{question:"Are Giffen goods and Veblen goods common? Why or why not?",answer:"No, both are rare exceptions to the Law of Demand. Giffen goods require very specific conditions: the good must be an inferior good constituting a large proportion of a poor consumer's budget, such that the negative income effect outweighs the substitution effect. Veblen goods exist in luxury markets where demand increases with price due to status symbol appeal, but they are not common for the vast majority of goods and services."},{question:"How does elasticity relate to supply and demand analysis?",answer:"Elasticity measures the responsiveness of quantity demanded or supplied to changes in price or other factors. Price elasticity of demand determines how much quantity demanded responds to price changes, while price elasticity of supply determines how much quantity supplied responds. Understanding elasticity allows for more nuanced and quantitative analysis of market responses to shocks and policies, predicting not just the direction of change but also the size."}],T=[{id:"introduction",label:"1. Introduction"},{id:"definitions",label:"2. Key Definitions"},{id:"law-of-demand",label:"3. Law of Demand"},{id:"law-of-supply",label:"4. Law of Supply"},{id:"market-equilibrium",label:"5. Market Equilibrium"},{id:"extensions",label:"6. Extensions & Advanced Topics"},{id:"memory-aids",label:"7. Memory Aids"},{id:"common-mistakes",label:"8. Common Mistakes"},{id:"faq",label:"FAQ"},{id:"quiz",label:"Practice Quiz"}];function Ce(){const s=q.useMemo(()=>T.map(t=>
1t.id),[]),r=J(s),c=[re({title:"Supply and Demand: College Economics Study Guide — Market Equilibrium, Price Controls, and Surplus Analysis",description:"Comprehensive college-level guide to supply and demand. Covers the laws of demand and supply, market equilibrium, price ceilings and floors, consumer and producer surplus, comparative statics, and a 10-question practice quiz.",url:z,datePublished:"2026-03-03T00:00:00Z",dateModified:"2026-03-03T00:00:00Z",teaches:["Supply and Demand","Market Equilibrium","Price Controls","Consumer Surplus","Producer Surplus","Comparative Statics"]}),te([{name:"Resources",url:`${F}/resources`},{name:"Economics",url:`${F}/resources/economics`},{name:"Supply and Demand",url:z}]),ie(B),ae({title:"Supply and Demand Practice Quiz",description:"Test your understanding of supply and demand, market equilibrium, price controls, and surplus analysis",questions:h})];return e.jsxs(O,{children:[e.jsx(H,{title:"Supply and Demand: College Economics Study Guide — Market Equilibrium, Price Controls, and Surplus Analysis",description:"Comprehensive college-level guide to supply and demand. Covers the laws of demand and supply, market equilibrium, price ceilings and floors, consumer and producer surplus, comparative statics, and a 10-question practice quiz.",canonicalUrl:z,ogType:"article",articlePublishedTime:"2026-03-03T00:00:00Z",articleModifiedTime:"2026-03-03T00:00:00Z",jsonLd:c}),e.jsx("div",{className:"border-b bg-muted/40",children:e.jsxs("div",{className:"container flex flex-wrap items-center gap-1.5 py-3 text-sm text-muted-foreground",children:[e.jsx(D,{to:"/resources",className:"hover:text-foreground transition-colors",children:"Resources"}),e.jsx(G,{className:"h-3.5 w-3.5"}),e.jsx(D,{to:"/resources/economics",className:"hover:text-foreground transition-colors",children:"Economics"}),e.jsx(G,{className:"h-3.5 w-3.5"}),e.jsx("span",{className:"text-foreground font-medium",children:"Supply and Demand"})]})}),e.jsx("article",{className:"container py-12 lg:py-16",children:e.jsxs("div",{className:"mx-auto max-w-3xl lg:max-w-5xl lg:flex lg:gap-12",children:[e.jsx(ee,{sections:[...T],activeId:r}),e.jsx(se,{sections:[...T],activeId:r}),e.jsxs("div",{className:"min-w-0 max-w-3xl flex-1",children:[e.jsxs("header",{className:"mb-12",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx("span",{className:"rounded-full bg-primary/10 px-3 py-1 text-xs font-semibold text-primary",children:"Economics"}),e.jsx("span",{className:"rounded-full bg-muted px-3 py-1 text-xs font-medium text-muted-foreground",children:"College"})]}),e.jsx("h1",{className:"text-4xl font-bold mb-4 sm:text-5xl",children:"Supply and Demand"}),e.jsxs("p",{className:"text-lg text-muted-foreground mb-4",children:[e.jsx("strong",{children:"Supply and demand"})," constitute the bedrock of microeconomic analysis, providing a powerful framework for understanding how prices and quantities are determined in competitive markets. Developed systematically by Alfred Marshall, this model elucidates the forces that drive resource allocation, inform business strategies, and guide public policy."]}),e.jsx("p",{className:"text-lg text-muted-foreground",children:"This guide covers the laws of demand and supply, market equilibrium and price determination, government interventions (price ceilings and floors), consumer and producer surplus, comparative statics, advanced topics like the Cobweb Theorem and international trade, and a 10-question practice quiz."})]}),e.jsx(ue,{}),e.jsxs("nav",{className:"mb-12 rounded-xl border border-border bg-muted/30 p-6 lg:hidden",children:[e.jsx("h2",{className:"text-sm font-semibold uppercase tracking-wider text-muted-foreground mb-3",children:"In this guide"}),e.jsx("ol",{className:"space-y-1.5 text-sm",children:T.map(t=>e.jsx("li",{children:e.jsx("a",{href:`#${t.id}`,className:"text-primary hover:underline",children:t.label})},t.id))})]}),e.jsxs("section",{id:"introduction",className:"mb-14 scroll-mt-20",children:[e.jsx("a",{href:"#introduction",className:"group no-underline",children:e.jsxs("h2",{className:"text-2xl font-bold mb-4 flex items-center gap-2",children:[e.jsx("span",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-primary text-white text-sm font-bold",children:"1"}),"Introduction",e.jsx(x,{className:"h-4 w-4 text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity"})]})}),e.jsxs("p",{className:"text-muted-foreground mb-3",children:["Supply and demand constitute the bedrock of microeconomic analysis, providing a powerful framework for understanding how prices and quantities are determined in competitive markets. The ",e.jsx("strong",{children:"Law of Demand"})," posits an inverse relationship between price and quantity demanded, while the ",e.jsx("strong",{children:"Law of Supply"})," states a direct relationship between price and quantity supplied. Their intersection establishes ",e.jsx("strong",{children:"market equilibrium"}),"."]}),e.jsxs("p",{className:"text-muted-foreground mb-4",children:["Understanding supply and demand is paramount for ",e.jsx("strong",{children:"policy analysis"})," (predicting the impact of taxes, subsidies, and price controls), ",e.jsx("strong",{children:"business decisions"})," (forecasting sales, setting optimal prices), and understanding ",e.jsx("strong",{children:"resource allocation"})," in a market economy — reflecting Adam Smith's “invisible hand” guiding individual self-interest towards collective well-being."]}),e.jsxs("div",{className:"rounded-xl border border-primary/20 bg-gradient-to-br from-primary/5 to-primary/10 p-5 mb-6",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx(ne,{className:"h-4 w-4 text-primary flex-shrink-0"}),e.jsx("span",{className:"text-xs font-bold uppercase tracking-widest text-primary",children:"In Practice"})]}),e.jsxs("p",{className:"text-base text-foreground leading-relaxed",children:[e.jsx("strong",{children:"The Global Semiconductor Market (2
1020–2023):"})," The COVID-19 pandemic triggered unprecedented shifts in both supply and demand for semiconductors. Demand for consumer electronics surged, while supply chains faced disruptions and geopolitical tensions. This led to a severe global ",e.jsx("strong",{children:"shortage"})," of chips, driving up prices — a textbook example of a simultaneous outward demand shift and inward supply shift."]})]}),e.jsx("img",{src:"/resources/economics/supply-and-demand/image_1_supply_demand_equilibrium.png",alt:"Supply and demand graph showing equilibrium point where demand and supply curves intersect",className:"w-full max-w-lg mx-auto rounded-xl border border-border shadow-sm mb-4"})]}),e.jsxs("section",{id:"definitions",className:"mb-14 scroll-mt-20",children:[e.jsx("a",{href:"#definitions",className:"group no-underline",children:e.jsxs("h2",{className:"text-2xl font-bold mb-4 flex items-center gap-2",children:[e.jsx("span",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-primary text-white text-sm font-bold",children:"2"}),"Key Definitions",e.jsx(x,{className:"h-4 w-4 text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity"})]})}),e.jsx("p",{className:"text-muted-foreground mb-6",children:"Essential terms for understanding supply and demand at the university level."}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-3 mb-6",children:[e.jsxs("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:[e.jsx("p",{className:"text-sm font-bold text-foreground",children:"Quantity Demanded (Qd)"}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"The amount consumers are willing and able to purchase at a given price, ceteris paribus"})]}),e.jsxs("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:[e.jsx("p",{className:"text-sm font-bold text-foreground",children:"Quantity Supplied (Qs)"}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"The amount producers are willing and able to sell at a given price, ceteris paribus"})]}),e.jsxs("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:[e.jsx("p",{className:"text-sm font-bold text-foreground",children:"Demand Curve"}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"Downward-sloping curve showing inverse relationship between price and quantity demanded"})]}),e.jsxs("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:[e.jsx("p",{className:"text-sm font-bold text-foreground",children:"Supply Curve"}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"Upward-sloping curve showing direct relationship between price and quantity supplied"})]}),e.jsxs("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:[e.jsx("p",{className:"text-sm font-bold text-foreground",children:"Market Equilibrium"}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"Where Qd = Qs at a unique equilibrium price (P*) and quantity (Q*)"})]}),e.jsxs("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:[e.jsx("p",{className:"text-sm font-bold text-foreground",children:"Surplus (Excess Supply)"}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"Qs > Qd; occurs when market price is above equilibrium"})]}),e.jsxs("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:[e.jsx("p",{className:"text-sm font-bold text-foreground",children:"Shortage (Excess Demand)"}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"Qd > Qs; occurs when market price is below equilibrium"})]}),e.jsxs("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:[e.jsx("p",{className:"text-sm font-bold text-foreground",children:"Ceteris Paribus"}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"“All other things being equal” — isolates the effect of one variable"})]}),e.jsxs("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:[e.jsx("p",{className:"text-sm font-bold text-foreground",children:"Consumer Surplus (CS)"}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"Difference between max willingness to pay and actual market price"})]}),e.jsxs("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:[e.jsx("p",{className:"text-sm font-bold text-foreground",children:"Producer Surplus (PS)"}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"Difference between actual market price and minimum price producers would accept"})]}),e.jsxs("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:[e.jsx("p",{className:"text-sm font-bold text-foreground",children:"Price Floor"}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"Government-imposed minimum price set above equilibrium; causes surplus"})]}),e.jsxs("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:[e.jsx("p",{className:"text-sm font-bold text-foreground",children:"Price Ceiling"}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"Government-imposed maximum price set below equilibrium; causes shortage"})]})]})]}),e.jsxs("section",{id:"law-of-demand",className:"mb-14 scroll-mt-20",children:[e.jsx("a",{href:"#law-of-demand",className:"group no-underline",children:e.jsxs("h2",{className:"text-2xl font-bold mb-4 flex items-center gap-2",children:[e.jsx("span",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-primary text-white text-sm font-bold",children:"3"}),"The Law of Demand",e.jsx(x,{className:"h-4 w-4 text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity"})]})}),e.jsxs("p",{className:"text-muted-foreground mb-4",children:["The Law of Demand states that, ",e.jsx("em",{children:"ceteris paribus"}),", there is an ",e.jsx("strong",{children:"inverse relationship"})," between the price of a good and the quantity consumers are willing and able to purchase."]}),e.jsx("h3",{className:"text-xl font-semibold mb-3",children:"Mathematical Formulation"}),e.jsxs("div",{className:"rounded-xl border border-blue-200 bg-blue-50 p-5 mb-6",children:[e.jsxs("p",{className:"text-sm text-blue-700 mb-2",children:["A linear demand curve: ",e.jsx("code",{className:"bg-blue-100 px-1 rounded",children:"Qd = a - bP"})]}),e.jsxs("ul",{className:"text-sm text-blue-700 space-y-1 list-disc list-inside",children:[e.jsxs("li",{children:[e.jsx("strong",{children:"a"}),": quantity demanded when price is zero (Q-intercept)"]}),e.jsxs("li",{children:[e.jsx("strong",{children:"b"}),": responsiveness of Qd to price change (slope magnitude)"]}),e.jsxs("li",{children:["The demand curve slopes ",e.jsx("strong",{children:"downward"})," from left to right"]})]})]}),e.jsx("h3",{className:"text-xl font-semibold mb-3",children:"Substitution Effect and Income Effect"}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-4 mb-6",children:[e.jsxs("div",{className:"rounded-xl border border-green-200 bg-green-50 p-5",children:[e.jsx("p",{className:"text-base font-bold text-green-800 mb-2",children:"Substitution Effect"}),e.jsx("p",{className:"text-sm text-green-700",children:"When the price of a good falls, it becomes relatively cheaper compared to substitutes. Consumers substitute towards the now cheaper good, increasing Qd."})]}),e.jsxs("div",{className:"rounded-xl border border-green-200 bg-green-50 p-5",children:[e.jsx("p",{className:"text-base font-bold text-green-800 mb-2",children:"Income Effect"}),e.jsx("p",{className:"text-sm text-green-700",children:"When price falls, real purchasing power effectively increases. With higher real income, consumers can afford to buy more of the good (for normal goods)."})]})]}),e.jsx("h3",{className:"text-xl font-semibold mb-3",children:"Determinants of Demand (Shift Factors)"}),e.jsxs("div",{className:"space-y-3 mb-6",children:[e.jsx("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:e.jsxs("p",{className:"text-sm",children:[e.jsx("strong",{children:"Consumer Income:"})," Increases demand for normal goods, decreases demand for inferior goods"]})}),e.jsx("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:e.jsxs("p",{className:"text-sm",children:[e.jsx("strong",{children:"Prices of Related Goods:"})," Higher price of substitutes increases demand; higher price of complements decreases demand"]})}),e.jsx("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:e.jsxs("p",{className:"text-sm",children:[e.jsx("strong",{children:"Tastes & Preferences:"})," Changes in consumer preferences shift demand"]})}),e.jsx("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:e.jsxs("p",{className:"text-sm",children:[e.jsx("strong",{children:"Expectations:"})," Expected future price increases raise current demand"]})}),e.jsx("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:e.jsxs("p",{className:"text-sm",children:[e.jsx("strong",{children:"Number of Buyers:"})," More buyers in the market increases demand"]})})]}),e.jsx("h3",{className:"text-xl font-semibold mb-3",children:"Exceptions: Giffen Goods & Veblen Goods"}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-4 mb-6",children:[e.jsxs("div",{className:"rounded-xl border border-amber-200 bg-amber-50 p-5",children:[e.jsx("p",{className:"text-base font-bold text-amber-800 mb-2",children:"Giffen Goods"}),e.jsxs("p",{className:"text-sm text-amber-700",children:["Inferior goods where the income effect outweighs the substitution effect. As price r
1ises, Qd ",e.jsx("em",{children:"increases"}),". Extremely rare (e.g., staple foods for very poor consumers)."]})]}),e.jsxs("div",{className:"rounded-xl border border-amber-200 bg-amber-50 p-5",children:[e.jsx("p",{className:"text-base font-bold text-amber-800 mb-2",children:"Veblen Goods"}),e.jsx("p",{className:"text-sm text-amber-700",children:"Luxury goods where demand increases with price due to status-symbol appeal (conspicuous consumption). Higher prices make them more exclusive and desirable."})]})]}),e.jsx("img",{src:"/resources/economics/supply-and-demand/image_2_demand_shift.png",alt:"Demand shift analysis showing demand increase with new equilibrium at higher price and quantity",className:"w-full max-w-lg mx-auto rounded-xl border border-border shadow-sm"})]}),e.jsxs("section",{id:"law-of-supply",className:"mb-14 scroll-mt-20",children:[e.jsx("a",{href:"#law-of-supply",className:"group no-underline",children:e.jsxs("h2",{className:"text-2xl font-bold mb-4 flex items-center gap-2",children:[e.jsx("span",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-primary text-white text-sm font-bold",children:"4"}),"The Law of Supply",e.jsx(x,{className:"h-4 w-4 text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity"})]})}),e.jsxs("p",{className:"text-muted-foreground mb-4",children:["The Law of Supply states that, ",e.jsx("em",{children:"ceteris paribus"}),", there is a ",e.jsx("strong",{children:"direct relationship"})," between the price of a good and the quantity producers are willing and able to offer for sale."]}),e.jsx("h3",{className:"text-xl font-semibold mb-3",children:"Mathematical Formulation"}),e.jsxs("div",{className:"rounded-xl border border-blue-200 bg-blue-50 p-5 mb-6",children:[e.jsxs("p",{className:"text-sm text-blue-700 mb-2",children:["A linear supply curve: ",e.jsx("code",{className:"bg-blue-100 px-1 rounded",children:"Qs = c + dP"})]}),e.jsxs("ul",{className:"text-sm text-blue-700 space-y-1 list-disc list-inside",children:[e.jsxs("li",{children:[e.jsx("strong",{children:"c"}),": quantity supplied when price is zero (can be negative, indicating minimum price needed)"]}),e.jsxs("li",{children:[e.jsx("strong",{children:"d"}),": responsiveness of Qs to price change (slope)"]}),e.jsxs("li",{children:["The supply curve slopes ",e.jsx("strong",{children:"upward"})," from left to right"]})]})]}),e.jsx("h3",{className:"text-xl font-semibold mb-3",children:"Determinants of Supply (Shift Factors)"}),e.jsxs("div",{className:"space-y-3 mb-6",children:[e.jsx("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:e.jsxs("p",{className:"text-sm",children:[e.jsx("strong",{children:"Input Costs:"})," Higher costs for labor, materials, or energy reduce profitability, decreasing supply (shifts left)"]})}),e.jsx("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:e.jsxs("p",{className:"text-sm",children:[e.jsx("strong",{children:"Technology:"})," Improvements reduce costs and increase efficiency, increasing supply (shifts right)"]})}),e.jsx("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:e.jsxs("p",{className:"text-sm",children:[e.jsx("strong",{children:"Number of Sellers:"})," More firms in the market increase overall supply (shifts right)"]})}),e.jsx("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:e.jsxs("p",{className:"text-sm",children:[e.jsx("strong",{children:"Producer Expectations:"})," Expected higher future prices may decrease current supply (shifts left)"]})}),e.jsx("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:e.jsxs("p",{className:"text-sm",children:[e.jsx("strong",{children:"Government Policies:"})," Taxes decrease supply (shifts left); subsidies increase supply (shifts right)"]})})]}),e.jsx("h3",{className:"text-xl font-semibold mb-3",children:"Short-Run vs. Long-Run Supply"}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-4 mb-6",children:[e.jsxs("div",{className:"rounded-xl border border-blue-200 bg-blue-50 p-5",children:[e.jsx("p",{className:"text-base font-bold text-blue-800 mb-2",children:"Short-Run"}),e.jsxs("p",{className:"text-sm text-blue-700",children:["At least one factor of production is fixed. Firms adjust output only through variable inputs. The supply curve is generally ",e.jsx("strong",{children:"steeper"})," (less elastic)."]})]}),e.jsxs("div",{className:"rounded-xl border border-blue-200 bg-blue-50 p-5",children:[e.jsx("p",{className:"text-base font-bold text-blue-800 mb-2",children:"Long-Run"}),e.jsxs("p",{className:"text-sm text-blue-700",children:["All factors of production are variable. Firms can enter/exit and adjust scale. The supply curve is typically ",e.jsx("strong",{children:"flatter"})," (more elastic)."]})]})]})]}),e.jsxs("section",{id:"market-equilibrium",className:"mb-14 scroll-mt-20",children:[e.jsx("a",{href:"#market-equilibrium",className:"group no-underline",children:e.jsxs("h2",{className:"text-2xl font-bold mb-4 flex items-center gap-2",children:[e.jsx("span",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-primary text-white text-sm font-bold",children:"5"}),"Market Equilibrium & Price Determination",e.jsx(x,{className:"h-4 w-4 text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity"})]})}),e.jsxs("p",{className:"text-muted-foreground mb-4",children:["Market equilibrium is the state where ",e.jsx("strong",{children:"Qd = Qs"}),", resulting in a stable equilibrium price (P*) and quantity (Q*) with no inherent pressure for change."]}),e.jsx("h3",{className:"text-xl font-semibold mb-3",children:"Finding Equilibrium Mathematically"}),e.jsxs("div",{className:"rounded-xl border border-blue-200 bg-blue-50 p-5 mb-6",children:[e.jsxs("p",{className:"text-sm text-blue-700 mb-2",children:["Given ",e.jsx("code",{className:"bg-blue-100 px-1 rounded",children:"Qd = a - bP"})," and ",e.jsx("code",{className:"bg-blue-100 px-1 rounded",children:"Qs = c + dP"}),":"]}),e.jsxs("ol",{className:"text-sm text-blue-700 space-y-1 list-decimal list-inside",children:[e.jsxs("li",{children:["Set Qd = Qs: ",e.jsx("code",{className:"bg-blue-100 px-1 rounded",children:"a - bP* = c + dP*"})]}),e.jsxs("li",{children:["Solve: ",e.jsx("code",{className:"bg-blue-100 px-1 rounded",children:"P* = (a - c) / (d + b)"})]}),e.jsx("li",{children:"Substitute P* back to find Q*"})]})]}),e.jsx("h3",{className:"text-xl font-semibold mb-3",children:"Comparative Statics (Shifts in Demand/Supply)"}),e.jsxs("div",{className:"space-y-3 mb-6",children:[e.jsx("div",{className:"rounded-lg border border-green-200 bg-green-50 p-4",children:e.jsxs("p",{className:"text-sm text-green-700",children:[e.jsx("strong",{children:"Increase in Demand (shifts right):"})," P* increases, Q* increases"]})}),e.jsx("div",{className:"rounded-lg border border-red-200 bg-red-50 p-4",children:e.jsxs("p",{className:"text-sm text-red-700",children:[e.jsx("strong",{children:"Decrease in Demand (shifts left):"})," P* decreases, Q* decreases"]})}),e.jsx("div",{className:"rounded-lg border border-green-200 bg-green-50 p-4",children:e.jsxs("p",{className:"text-sm text-green-700",children:[e.jsx("strong",{children:"Increase in Supply (shifts right):"})," P* decreases, Q* increases"]})}),e.jsx("div",{className:"rounded-lg border border-red-200 bg-red-50 p-4",children:e.jsxs("p",{className:"text-sm text-red-700",children:[e.jsx("strong",{children:"Decrease in Supply (shifts left):"})," P* increases, Q* decreases"]})})]}),e.jsx("h3",{className:"text-xl font-semibold mb-3",children:"Government Interventions: Price Floors & Ceilings"}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-4 mb-6",children:[e.jsxs("div",{className:"rounded-xl border border-red-200 bg-red-50 p-5",children:[e.jsx("p",{className:"text-base font-bold text-red-800 mb
1-2",children:"Price Ceiling"}),e.jsxs("p",{className:"text-sm text-red-700 mb-2",children:["A legal maximum price set ",e.jsx("strong",{children:"below"})," equilibrium. Creates a ",e.jsx("strong",{children:"shortage"})," (Qd > Qs)."]}),e.jsx("p",{className:"text-xs text-red-600 italic",children:"Example: Rent control leads to housing shortages and deterioration of rental properties."})]}),e.jsxs("div",{className:"rounded-xl border border-red-200 bg-red-50 p-5",children:[e.jsx("p",{className:"text-base font-bold text-red-800 mb-2",children:"Price Floor"}),e.jsxs("p",{className:"text-sm text-red-700 mb-2",children:["A legal minimum price set ",e.jsx("strong",{children:"above"})," equilibrium. Creates a ",e.jsx("strong",{children:"surplus"})," (Qs > Qd)."]}),e.jsx("p",{className:"text-xs text-red-600 italic",children:"Example: Minimum wage above equilibrium leads to unemployment (surplus of labor)."})]})]}),e.jsx("img",{src:"/resources/economics/supply-and-demand/image_3_price_ceiling.png",alt:"Price ceiling effects diagram showing shortage visualization when price is set below equilibrium",className:"w-full max-w-lg mx-auto rounded-xl border border-border shadow-sm mb-6"}),e.jsx("h3",{className:"text-xl font-semibold mb-3",children:"Consumer & Producer Surplus"}),e.jsx("p",{className:"text-muted-foreground mb-4",children:"At equilibrium in a perfectly competitive market, total surplus is maximized, indicating allocative efficiency."}),e.jsxs("div",{className:"grid sm:grid-cols-3 gap-4 mb-6",children:[e.jsxs("div",{className:"rounded-xl border border-green-200 bg-green-50 p-5",children:[e.jsx("p",{className:"text-base font-bold text-green-800 mb-2",children:"Consumer Surplus"}),e.jsx("p",{className:"text-sm text-green-700",children:"Area below demand curve and above P*, up to Q*."}),e.jsx("p",{className:"text-xs text-green-600 font-mono mt-1",children:"CS = ½ × Q* × (P_max - P*)"})]}),e.jsxs("div",{className:"rounded-xl border border-blue-200 bg-blue-50 p-5",children:[e.jsx("p",{className:"text-base font-bold text-blue-800 mb-2",children:"Producer Surplus"}),e.jsx("p",{className:"text-sm text-blue-700",children:"Area above supply curve and below P*, up to Q*."}),e.jsx("p",{className:"text-xs text-blue-600 font-mono mt-1",children:"PS = ½ × Q* × (P* - P_min)"})]}),e.jsxs("div",{className:"rounded-xl border border-purple-200 bg-purple-50 p-5",children:[e.jsx("p",{className:"text-base font-bold text-purple-800 mb-2",children:"Total Surplus"}),e.jsx("p",{className:"text-sm text-purple-700",children:"CS + PS; maximized at equilibrium. Deviations create deadweight loss (DWL)."}),e.jsx("p",{className:"text-xs text-purple-600 font-mono mt-1",children:"TS = CS + PS"})]})]}),e.jsx("img",{src:"/resources/economics/supply-and-demand/image_4_surplus_analysis.png",alt:"Consumer and producer surplus areas shown on a supply and demand graph",className:"w-full max-w-lg mx-auto rounded-xl border border-border shadow-sm"})]}),e.jsxs("section",{id:"extensions",className:"mb-14 scroll-mt-20",children:[e.jsx("a",{href:"#extensions",className:"group no-underline",children:e.jsxs("h2",{className:"text-2xl font-bold mb-4 flex items-center gap-2",children:[e.jsx("span",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-primary text-white text-sm font-bold",children:"6"}),"Extensions & Advanced Topics",e.jsx(x,{className:"h-4 w-4 text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity"})]})}),e.jsx("h3",{className:"text-xl font-semibold mb-3",children:"Simultaneous Shifts in Supply and Demand"}),e.jsx("p",{className:"text-muted-foreground mb-4",children:"When both curves shift, the effect on either P* or Q* is determinate, but the effect on the other is ambiguous unless magnitudes are known."}),e.jsx("div",{className:"overflow-x-auto mb-6",children:e.jsxs("table",{className:"w-full text-sm border border-border rounded-lg overflow-hidden",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"bg-muted/50",children:[e.jsx("th",{className:"text-left py-2.5 px-4 font-bold text-foreground border-b",children:"Shift in Demand"}),e.jsx("th",{className:"text-left py-2.5 px-4 font-bold text-foreground border-b",children:"Shift in Supply"}),e.jsx("th",{className:"text-left py-2.5 px-4 font-bold text-foreground border-b",children:"Effect on P*"}),e.jsx("th",{className:"text-left py-2.5 px-4 font-bold text-foreground border-b",children:"Effect on Q*"})]})}),e.jsxs("tbody",{children:[e.jsxs("tr",{className:"border-b border-border",children:[e.jsx("td",{className:"py-2 px-4",children:"Increase"}),e.jsx("td",{className:"py-2 px-4",children:"Increase"}),e.jsx("td",{className:"py-2 px-4 text-amber-600 font-medium",children:"Ambiguous"}),e.jsx("td",{className:"py-2 px-4 text-green-600 font-medium",children:"Increase"})]}),e.jsxs("tr",{className:"border-b border-border",children:[e.jsx("td",{className:"py-2 px-4",children:"Increase"}),e.jsx("td",{className:"py-2 px-4",children:"Decrease"}),e.jsx("td",{className:"py-2 px-4 text-green-600 font-medium",children:"Increase"}),e.jsx("td",{className:"py-2 px-4 text-amber-600 font-medium",children:"Ambiguous"})]}),e.jsxs("tr",{className:"border-b border-border",children:[e.jsx("td",{className:"py-2 px-4",children:"Decrease"}),e.jsx("td",{className:"py-2 px-4",children:"Increase"}),e.jsx("td",{className:"py-2 px-4 text-red-600 font-medium",children:"Decrease"}),e.jsx("td",{className:"py-2 px-4 text-amber-600 font-medium",children:"Ambiguous"})]}),e.jsxs("tr",{children:[e.jsx("td",{className:"py-2 px-4",children:"Decrease"}),e.jsx("td",{className:"py-2 px-4",children:"Decrease"}),e.jsx("td",{className:"py-2 px-4 text-amber-600 font-medium",children:"Ambiguous"}),e.jsx("td",{className:"py-2 px-4 text-red-600 font-medium",children:"Decrease"})]})]})]})}),e.jsx("h3",{className:"text-xl font-semibold mb-3",children:"Cobweb Theorem"}),e.jsxs("div",{className:"rounded-xl border border-blue-200 bg-blue-50 p-5 mb-6",children:[e.jsxs("p",{className:"text-sm text-blue-700 mb-2",children:["A dynamic model explaining price and quantity adjustments in markets with ",e.jsx("strong",{children:"production time lags"})," (e.g., agriculture). Producers base current supply decisions on the ",e.jsx("em",{children:"previous period's"})," price."]}),e.jsxs("ul",{className:"text-sm text-blue-700 space-y-1 list-disc list-inside",children:[e.jsxs("li",{children:[e.jsx("strong",{children:"Convergent:"})," Supply curve flatter than demand — oscillations decrease, converge to equilibrium"]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Divergent:"})," Demand curve flatter than supply — oscillations increase, move away from equilibrium"]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Continuous:"})," Equal slopes — perpetual oscillations of the same magnitude"]})]})]}),e.jsx("h3",{className:"text-xl font-semibold mb-3",children:"International Trade Applications"}),e.jsxs("div",{className:"space-y-3 mb-6",children:[e.jsx("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:e.jsxs("p",{className:"text-sm",children:[e.jsx("strong",{children:"Autarky Price:"})," Equilibrium price without international trade"]})}),e.jsx("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:e.jsxs("p",{className:"text-sm",children:[e.jsx("strong",{children:"Imports:"})," When world price < autarky price, domestic Qd > domestic Qs; difference is imports"]})}),e.jsx("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:e.jsxs("p",{className:"text-sm",children:[e.jsx("strong",{children:"Exports:"})," When world price > autarky price, domestic Qs > domestic Qd; difference is exports"]})}),e.jsx("div",{className:"rounded-lg border border-border bg-muted/30 p-4",children:e.jsxs("p",{className:"text-sm",children:[e.jsx("strong",{children:"Gains from Trade:"})," International trade increases total surplus for trading nations combined"]})})]}),e.jsx("img",{src:"/resources/economics/supply-and-demand/image_5_four_step_analysis.png",alt:"Four-step analysis showing shock, shortage, price adjustment, and new equilibrium",className:"w-full max-w-lg mx-auto rounded-xl border border-border shadow-sm"})]}),e.jsxs("section",{id:"memory-aids",className:"mb-14 scroll-mt-20",children:[e.jsx("a",{href:"#memory-aids",className:"group no-underline",children:e.jsxs("h2",{className:"text-2xl font-bold mb-4 flex items-center gap-2",children:[e.jsx("span",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-primary text-white text-sm font-bold",children:"7"}),"Memory Aids",e.jsx(x,{className:"h-4 w-4 text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity"})]})}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"rounded-xl border border-primary/20 bg-gradient-to-br from-primary/5 to-primary/10 p-5",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx(P,{className:"h-4 w-4 text-primary flex-shrink-0"}),e.jsx("span",{className:"text-xs font-bold uppercase tracking-widest text-primary",children:"Curve Slopes"})]}),e.jsx("p",{className:"text-xl italic font-serif text-foreground leading-relaxed",children:"“D for Demand = Downward-sloping. S for Supply = Slopes upward (Stock up = More at higher prices).”"})]}),e.jsxs("div",{className:"rounded-xl border border-primary/20 bg-gradient-to-br from-primary/5 to-primary/10 p-5",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx(P,{className:"h-4 w-4 text-primary flex-shrink-0"}),e.jsx("span",{className:"text-xs font-bold uppercase tracking-widest text-primary",children:"Movement vs. Shift"})]}),e.jsx("p",{className:"text-xl italic font-serif text-foreground leading-relaxed",children:"“Quantity Demanded/Supplied moves ALONG the curve (own price changes). Demand/Supply SHIFTS the entire curve (non-price factors).”"})]}),e.jsxs("div",{className:"rounded-xl border border-primary/20 bg-gradient-to-br from-primary/5 to-primary/10 p-5",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx(P,{className:"h-4 w-4 text-primary flex-shrink-0"}),e.jsx("span",{className:"text-xs font-bold uppercase tracking-widest text-primary",children:"Price Controls"})]}),e.jsx("p",{className:"text-xl italic font-serif text-foreground leading-relaxed",children:"“Below the ceiling is a shortage. Above the floor is a surplus.”"})]}),e.jsxs("div",{className:"rounded-xl border border-primary/20 bg-gradient-to-br from-primary/5 to-primary/10 p-5",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx(P,{className:"h-4 w-4 text-primary flex-shrink-0"}),e.jsx("span",{className:"text-xs font-bold uppercase tracking-widest text-primary",children:"Surplus Intuition"})]}),e.jsx("p",{className:"text-xl italic font-serif text-foreground leading-relaxed",children:"“CS is Consumer's Savings — what they s
1ave by paying less than their max. PS is Producer's Profit above cost.”"})]}),e.jsxs("div",{className:"rounded-xl border border-primary/20 bg-gradient-to-br from-primary/5 to-primary/10 p-5",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx(P,{className:"h-4 w-4 text-primary flex-shrink-0"}),e.jsx("span",{className:"text-xs font-bold uppercase tracking-widest text-primary",children:"Ceteris Paribus"})]}),e.jsx("p",{className:"text-xl italic font-serif text-foreground leading-relaxed",children:"“Ceteris Paribus = Other things equal. The golden rule of isolating variables in any supply-and-demand analysis.”"})]})]})]}),e.jsxs("section",{id:"common-mistakes",className:"mb-14 scroll-mt-20",children:[e.jsx("a",{href:"#common-mistakes",className:"group no-underline",children:e.jsxs("h2",{className:"text-2xl font-bold mb-4 flex items-center gap-2",children:[e.jsx("span",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-primary text-white text-sm font-bold",children:"8"}),"Common Mistakes",e.jsx(x,{className:"h-4 w-4 text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity"})]})}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"rounded-xl border border-amber-200 bg-gradient-to-br from-amber-50 to-amber-100/60 p-5",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx(v,{className:"h-4 w-4 text-amber-600 flex-shrink-0"}),e.jsx("span",{className:"text-xs font-bold uppercase tracking-widest text-amber-700",children:"Confusing “Change in Demand” vs. “Change in Quantity Demanded”"})]}),e.jsx("p",{className:"text-base text-amber-900 font-medium leading-relaxed",children:"Saying “demand increased” when only the price changed"}),e.jsx("p",{className:"text-sm text-amber-800 mt-2",children:"A change in demand (shift of the curve) is caused by non-price factors. A change in quantity demanded (movement along the curve) is caused by a change in the good's own price. The same distinction applies to supply."})]}),e.jsxs("div",{className:"rounded-xl border border-amber-200 bg-gradient-to-br from-amber-50 to-amber-100/60 p-5",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx(v,{className:"h-4 w-4 text-amber-600 flex-shrink-0"}),e.jsx("span",{className:"text-xs font-bold uppercase tracking-widest text-amber-700",children:"Wrong Direction of Shift"})]}),e.jsx("p",{className:"text-base text-amber-900 font-medium leading-relaxed",children:"Shifting the curve the wrong way"}),e.jsxs("p",{className:"text-sm text-amber-800 mt-2",children:["An increase in demand/supply always shifts the curve to the ",e.jsx("strong",{children:"right"}),". A decrease always shifts it to the ",e.jsx("strong",{children:"left"}),". Think: “more = right, less = left.”"]})]}),e.jsxs("div",{className:"rounded-xl border border-amber-200 bg-gradient-to-br from-amber-50 to-amber-100/60 p-5",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx(v,{className:"h-4 w-4 text-amber-600 flex-shrink-0"}),e.jsx("span",{className:"text-xs font-bold uppercase tracking-widest text-amber-700",children:"Forgetting Ceteris Paribus"})]}),e.jsx("p",{className:"text-base text-amber-900 font-medium leading-relaxed",children:"Analyzing multiple changes simultaneously without isolating variables"}),e.jsx("p",{className:"text-sm text-amber-800 mt-2",children:"When analyzing the effect of one variable (e.g., income on demand), you must assume all other factors remain constant. Only then can you clearly predict the direction and magnitude of change."})]}),e.jsxs("div",{className:"rounded-xl border border-amber-200 bg-gradient-to-br from-amber-50 to-amber-100/60 p-5",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx(v,{className:"h-4 w-4 text-amber-600 flex-shrink-0"}),e.jsx("span",{className:"text-xs font-bold uppercase tracking-widest text-amber-700",children:"Confusing Price Controls"})]}),e.jsx("p",{className:"text-base text-amber-900 font-medium leading-relaxed",children:"Mixing up which control causes which outcome"}),e.jsxs("p",{className:"text-sm text-amber-800 mt-2",children:["A price ceiling (set below equilibrium) causes a ",e.jsx("strong",{children:"shortage"}),". A price floor (set above equilibrium) causes a ",e.jsx("strong",{children:"surplus"}),". Also remember: a ceiling set ",e.jsx("em",{children:"above"})," equilibrium or a floor set ",e.jsx("em",{children:"below"})," equilibrium is non-binding and has no effect."]})]}),e.jsxs("div",{className:"rounded-xl border border-amber-200 bg-gradient-to-br from-amber-50 to-amber-100/60 p-5",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx(v,{className:"h-4 w-4 text-amber-600 flex-shrink-0"}),e.jsx("span",{className:"text-xs font-bold uppercase tracking-widest text-amber-700",children:"Incorrectly Calculating Surplus"})]}),e.jsx("p",{className:"text-base text-amber-900 font-medium leading-relaxed",children:"Getting the triangle area wrong for CS or PS"}),e.jsxs("p",{className:"text-sm text-amber-800 mt-2",children:["CS is the area of the triangle ",e.jsx("strong",{children:"above"})," P* and ",e.jsx("strong",{children:"below"})," the demand curve. PS is the area ",e.jsx("strong",{children:"below"})," P* and ",e.jsx("strong",{children:"above"})," the supply curve. Ensure you correctly identify the base (Q*) and height (price difference)."]})]}),e.jsxs("div",{className:"rounded-xl border border-amber-200 bg-gradient-to-br from-amber-50 to-amber-100/60 p-5",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx(v,{className:"h-4 w-4 text-amber-600 flex-shrink-0"}),e.jsx("span",{className:"text-xs font-bold uppercase tracking-widest text-amber-700",children:"Misapplying Non-Binding Controls"})]}),e.jsx("p",{className:"text-base text-amber-900 font-medium leading-relaxed",children:"Thinking a price ceiling above equilibrium creates a shortage"}),e.jsxs("p",{className:"text-sm text-amber-800 mt-2",children:["Price controls only impact the market if they are ",e.jsx("strong",{children:"binding"}),". A price ceiling set above the equilibrium price has no effect. Similarly, a price floor set below equilibrium is non-binding."]})]})]})]}),e.jsxs("section",{id:"faq",className:"mb-14 scroll-mt-20",children:[e.jsx("a",{href:"#faq",className:"group no-underline",children:e.jsxs("h2",{className:"text-2xl font-bold mb-6 flex items-center gap-2",children:["Frequently Asked Questions",e.
1jsx(x,{className:"h-4 w-4 text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity"})]})}),e.jsx("dl",{className:"space-y-5",children:B.map((t,l)=>e.jsxs("div",{className:"rounded-xl border border-border p-5",children:[e.jsx("dt",{className:"font-semibold text-foreground mb-2",children:t.question}),e.jsx("dd",{className:"text-muted-foreground",children:t.answer})]},l))})]}),e.jsxs("section",{id:"quiz",className:"mb-14 scroll-mt-20",children:[e.jsx("a",{href:"#quiz",className:"group no-underline",children:e.jsxs("h2",{className:"text-2xl font-bold mb-2 flex items-center gap-2",children:["Practice Quiz",e.jsx(x,{className:"h-4 w-4 text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity"})]})}),e.jsx(oe,{headless:!0})]}),e.jsxs("section",{className:"mb-14 rounded-xl border border-primary/20 bg-gradient-to-br from-primary/5 to-primary/10 p-6",children:[e.jsx("h2",{className:"text-xl font-semibold mb-3",children:"Study Tips"}),e.jsxs("ul",{className:"space-y-2 text-muted-foreground",children:[e.jsxs("li",{children:[e.jsx("strong",{children:"Draw the graphs:"})," Practice sketching supply and demand diagrams for every scenario. Label P*, Q*, curves, and shifts clearly."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Work through the math:"})," Solve equilibrium problems algebraically. Set Qd = Qs and solve for P*, then find Q*. Verify by substituting into both equations."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Use the four-step method:"})," For every market change: (1) identify the shock, (2) determine which curve shifts, (3) find the temporary shortage/surplus, (4) trace to the new equilibrium."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Practice surplus calculations:"})," CS and PS are triangles on the graph. Identify the base (Q*) and height (price difference) for each."]})]})]}),e.jsxs("section",{className:"rounded-xl border border-border bg-muted/30 p-6",children:[e.jsx("h2",{className:"text-xl font-semibold mb-3",children:"Related Topics"}),e.jsxs("ul",{className:"space-y-2",children:[e.jsx("li",{children:e.jsx(D,{to:"/resources/economics/elasticity",className:"text-primary hover:underline",children:"Elasticity"})}),e.jsx("li",{children:e.jsx(D,{to:"/resources/economics/market-structures",className:"text-primary hover:underline",children:"Market Structures"})})]})]})]})]})})]})}export{Ce as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.