WhatsApp us

my homework help logo
Profile Image
Chat with support

Appendix to Chapter 4 – Demand Theory — A Mathematical Treatment

Need a hand with your homework? Get expert help now and smash those grades! 💯 Submit your assignment today!

100% human expertise, no AI. 🤖

  • Experienced Tutors
  • On-Time Delivery
  • Plagiarism-Free Work
myhomeworkhelp reviews
Order Homework Help From Experts
Please enable JavaScript in your browser to complete this form.
Please enter the details of your homework requirements.
What should we call you?
Zero spam guarantee.
For order updates only.

Hire Best Homework Helpers

MyHomeworkHelp is proud to work with a team of expert professionals with verified academic credentials, selected for their proven skills in their field of study.

Confidently hire experts from the top universities across the globe.

Benefits & Assurances

subjects covered

All Subjects Covered

subjects covered

Refund Guarantee

subjects covered

Experienced Tutors

subjects covered

Unlimited Revisions

subjects covered

On Time Delivery

subjects covered

Chat With Expert

The appendix depicts basics of the demand theory through mathematical treatment.The target readers are students who are familiar with calculus and its application. The aim is to give a short brief of the theory of demand to such students. To attain this goal, we will use the concept of constraint optimization.

Consumer behavior theory is based on hypothesis that consumers intend to maximize the utility subject to constraint of a limited budget. As was depicted in Chapter 3, a utility function can be defined for every consumer. The utility function attaches to each market, a level of utility. We also defined marginal utility of goods as change in a utility linked with one-unit rise in the good’s consumption. With the use of calculus, we will measure the marginal utility as utility change which results from a small rise in the consumption.

For instance, let there be a utility function represented by the equation provided below.        U(X, Y) = log X + log Y

Let X represent food and Y represent clothes. The marginal utility linked to the additional food consumption can be expressed in the form of partial derivative of utility function with respect to food X. Marginal utility of food will be represented as follows-

MUX = ∂U(X, Y)/∂X = ∂(log X + log  Y)/∂X = 1/X

The marginal utility is considered to decrease with consumption and utility level is an increasing function of the goods consumed. If we have two goods, X and Y, optimization problem can be given by the below expression-

Maximize U(X, Y)                                                                                                                    (A4.1)

Considering that entire income is spent on two goods-

Px X + Py Y = I                                         (A4.2)

I – Income

X –Quantity of Good 1

Y – Quantity of second good

U() – Utility function

Px and Py are commodity prices

To calculate consumer’s demand for both goods, we opt for values of X and Y so as to maximize (A4.1) subject to (A4.2). Once we know utility function’s particular form, consumer’s demand can be calculated directly for X and Y. In its general form the utility function is defined as U(X,Y). Constrained optimization can be employed to figure out the conditions that need to be met in order to maximize the utility.

The Method of Lagrange Multipliers

This method can be employed as a technique to minimize or maximize a given function under a certain set of constraints.A detailed application of this technique is used to find consumer’s optimization provided by equation A4.1 and equation A4.2. We will also employ this technique later to analyze cost and production issues.

  1. A statement of the Problem- First of all, we need the Lagrangian for the given problem. The function to be minimized or maximized is called the Lagrangian. In this case, the Lagrangian is the utility being maximized. The consumer’s budget is the constraint.

The Lagrangian will be expressed as-

 ᵩ = U(X, Y) – ƶ(PxX + PyY – I)                                     (A4.3)

We have specified budget constraint as-
PxX + PyY – I = 0

The summation is equal to zero. Now, we can use this summation in the Lagrangian.

  1. Differentiating Lagrangian- The second term in the equation A4.3 is equivalent to zero if the values of X and Y are chosen to satisfy the budget constraint. The function is maximum when U(X, Y) is maximum. Let us differentiate ᵩ with respect to X, Y and ƶ. The derivative is then equated with zero to achieve the condition of maxima. The equations provided below specify the same.

∂ᵩ/∂X = MUx(X, Y) – ƶPx = 0

∂ᵩ/∂Y = MUy(X, Y) – ƶPy = 0                                                                                                   (A4.4)

∂ᵩ/∂ƶ = I – PxX – PyY = 0

MU signifies marginal utility.

MUx(X, Y) = ∂U(X, Y)/∂X

It is the change in utility caused due to small rise in consumption of good X.

  1. Solving the Equations The above mentioned equations A4.4 can be rewritten as follows-

MUx= ƶPx

MUy= ƶPy

PxX + PyY = I

On solving these three equations, we obtain the values of X and Y. These values are the utility maximizing values for the optimizing problem.

The Equal Marginal Principle

Equation no. 3 PxX + PyY = I is the budget constraint of the consumer.

Equations number 1 and 2 show that the goods X and Y get consumed to a point where marginal utility is multiple (ƶ) of price of the goods.

On combining the first two conditions, we get the equal marginal principle.

Ƶ = MUx(X, Y) / Px = MUy(X, Y) / Py                                                                                       (A4.5)

This shows that marginal utility of both goods divided by the price is same.

In order to achieve the optimal condition, consumer should get same utility from last dollar used by consuming X or Y. If this isn’t the case, consuming one item more than the other or one item less than the other will raise the utility.

Information provided in A4.5 can be written in below form to analyze the optimization in greater detail.

MUx(X, Y) /MUy(X, Y)=Px/Py                                                                                                  (A4.6)

Thus, ratio of marginal utilities is equal to ratio of commodity prices.

Marginal Rate of Substitution

Chapter 3 explained the relation between indifference curves and utility functions. Equation A4.6 can be used to see this link.

All the market baskets that provide the consumer same level of the utility are represented by indifference curve. Let U* be a fixed utility level, indifference curve corresponding to utility level is signified by below relation-

U(X, Y) = U*

Any alterations made to the items X and Y will affect the market baskets. On increasing X by a small amount and decreasing Y by a small amount, the overall change in the utility must come out to be zero. This is signified by below equation-

MUx(X, Y)∂X + MUy(X, Y)∂Y = ∂U* = 0                                                                                  (A4.7)

The above equation can also be written as follows-

-∂Y/∂X = MUx(X, Y)/MUy(X, Y) = MRSxy                                                                                (A4.8)

MRSxy- this is marginal rate of substitution of X for Y. The left-hand side of the equation A4.8 depicts in difference slope’s negative curve. At tangency point, the marginal rate of substitution is equivalent to the ratio of marginal utilities. The ratio of marginal utilities is equivalent to ratio of prices of X and Y, i.e. the two goods, as shown in A4.6. When individual indifference curves are convex in shape, tang ency of this indifference curve to budget line provides solution to the optimization problem. This was shown in Chapter 3 in Figure 3.13 (on page 86).

Marginal Utility of Income

Irrespective of what the form of utility function is, Lagrange multiplier ƶsignifies the added utility which is generated when budget constraint is eased/relaxed. In order to depict how the principle works, the utility function U(X, Y) is differentiated with respect to I.

∂U/∂I = MUx(X, Y)(∂X/∂I) + MUy(X, Y)(∂Y/∂I)                                                                       (A4.9)

The increase in income I must be divided between both items X and Y.

∂I = Px∂X + Py∂Y                                                                                                                  (A4.10)

Let us substitute values from equation A4.5 into equation A4.9.

∂U/∂I = lPx(∂X/∂I) + lPy(∂Y/∂I) = l(Px∂X + Py∂Y)/∂I                                                  (A4.11)

On substituting equation A4.10 into equation A4.11, below equation is obtained-

∂U/∂I = l(Px∂X + Py∂Y)/(Px∂X + Py∂Y) = l                                                                  (A4.12)

Hence, Lagrange multiplier is an extra utility resulting from relaxation in the budget.As per the original analysis to determine the condition of utility maximization, equation A4.5 shows that utility maximization requires utility obtained from consumption of each and every good to be equal to marginal utility of the extra dollar of income. If the case were any different, the utility could be raised by spending more on good with greater ratio of the marginal utility to item price and less on other good.

An Example

The equations in A4.4 can be solved to find out the unknown variables X, Y, and ƶas function of two prices and the income. Substituting for ƶ allows us to solve for demand of both the goods in terms of commodity price and income. Let us understand this with the help of an example.

Cobb-Douglas is a frequently used utility function.The function can be depicted in below two ways:

U(X, Y) = a log(X) + (1 – a) log(Y) and U(X, Y) =  Xa Y1-a

Both forms are identical to each other and give identical demand functions for the goods X and Y. Let us use the first form to derive demand function.

Let us write the Lagrangian for this purpose-

ᵩ  =a log(X) + (1 – a)log(Y) – ƶ(PxX + PyY – I)

Let us differentiate the above equation with respect to X, Y and ƶ.

∂ᵩ/∂X= a/X – ƶPx= 0

∂ᵩ/∂Y= (1 – a)/Y – ƶPy= 0

∂ᵩ/∂ƶ = PxX + PyY – I = 0

From the first two relations-

PxX = a/ƶ                                                                                                                     (A4.13)

PyY = (1 – a)/ƶ                                                                                                              (A4.14)

Let us combine equations A4.13 and A4.14 with condition of budget constraint.

a/ƶ + (1 – a)/ƶ – I = 0

  • Ƶ = 1/

Let us replace the value of ƶ into A4.13 and A4.14 to get demand function.

X = (a/Px)I

Y = [(1 – a)/Py]I

The cross price elasticity is considered zero in the example. This means the demand of a good depends on its price and income. It is independent of price of other good. Lagrange multiples can be understood through this example.We can replace the values in the equation with specific values.

Let us consider-

a to be 0.5

Px = $1

Py = $2

I = $100

The utility is maximum when values of X and Y are 50 and 25 respectively and ƶ = 1/100. As per Lagrange multiplier if one extra dollar of income is available, the utility level would rise by 1/100. Let us check this in detail. If the income increases by a dollar, the total income stands at $101.The values of X and Y for maximization are 50.5 and 25.25 respectively. The original utility level was 3.565 and the new utility level is 3.575. The extra dollar has thus raised the utility by 1/100 i.e. 0.01.

Duality in Consumer Theory

Consumer’s optimization decision can be looked upon in two separate ways. The optimum values of the commodities X and Y can be analyzed as the values for which the value of U() is maximum and the indifference curve is the highest. Another way to look at the values is from the perspective of choosing lowest budget line and the lowest budget expenditure. This two-way perspective is referred to as duality.

Let us understand this with the below dual consumer optimization problem.

The aim is to minimize the cost of a particular utility level subject to a constraint.

Minimize PxX + PyY with constaint that U(X, Y) = U*

The Lagrangian for this entity is-

ᵩ = PxX + PyY – µ(U(X, Y) – U*)                                                                                    (A4.15)

Here μ is Lagrange multiplier.

Let us differentiate ᵩ with respect to µ, Y and X and equate the derivative with zero to find the condition for minimum expenditure.

Px- µMUx(X, Y) = 0

Py- µMUy(X, Y) = 0

U(X, Y) = U*

Let us solve these two equations and recall equation A4.5

µ = [Px/MUx(X, Y)] = [Py/MUy(X, Y)] = 1/ᵩ

Also, MUx(X, Y)/MUy(X, Y) = MRSxy= Px/Py

The optimal values of the commodities X and Y are found at point of tangency of budget line and indifference curve which generates the utility U*. As we can see, these points are the same points that maximized the utility in original problem. Dual expenditure minimization problem gives same demand functions that are obtained from direct utility-maximization problem.

For analyses purpose of dual approach, let us take the Cobb-Douglas example once again. The exponential form of the utility function is given by U(X, Y) =Xa Y1-a

The Lagrangian for this will be given by-

ᵩ = PxX + PyY – µ[X^a Y^(1-a)- U*]                             (A4.16)

Let us differentiate equation with respect to X, Y and µ and equate the derivative with zero.

Px= µaU*/X
Py= µ(1 – a)U*/Y

Let’s multiply first equation by X and second equation by Y and add the two equations-

PxX + PyY = µU*

Let I be the cost-minimizing expenditure (if entire income was not spent to get utility level U*, U* would not have maximized utility in original problem). So μ = I/U*. If we substitute this value in the above equations for the values of X and Y, we get-

X = aI/Px and Y = (1 – a)I/Py

As is clear from this illustration, the same demand function is obtained as before.

Income and Substitution Effects

Demand functions set up a relationship between utility maximizing choices and their response to change in income and group prices. We need to distinguish the portion of any price change that involves movement along an indifference curve from that portion which involves movement to a different indifference curve (and hence change in the purchasing power). In order to make this distinction, let us consider the change in demand of good X and its price changes. The change in the demand can be divided into a substitution effect (change in demand of quantity when level of utility is fixed) and an income effect (the change in demand of quantity with level of utility changed but with relative price of good X unchanged).

The change in X caused due to a unit change in price of X, holding utility constant is denoted as-

∂X/∂Px|u = u*

Total change in quantity demanded of X resulting from a unit change in Px is-

∂X/∂Px= ∂X/∂Px|u=U* + (∂X/∂I)(∂I/∂Px)                                                                   (A4.17)

First term on right in equation depicts substitution effect since utility is fixed and second term is income effect since income increases.

From the budget constraint, I = PxX + PyY, from differentiation we have-

∂I/∂Px= X                                                                                                        (A4.18)

If the consumer owns goods X and Y, equation A4.18 shows that when price of good X is increased by $1, income obtained from good sale increases by $X.

However, in accordance with the consumer behavior theory, the goods are not owned by the customer. Thus, equation A4.18shows the additional income consumer would require in order to nullify the price change.

So we will write the income effect as negative (courtesy of lack of power to purchase). Equation

A4.17 becomes-

∂X/∂Px= ∂X/∂Px|u=U* – X(∂X/∂I)                                                                               (A4.19)

Equation A4.19 is called Slutsky equation.

The first term is the substitution effect and second term is the income effect.

Demand Theory—A Mathematical Treatment 67

There is another method to split the equation into substitution and income effects which doesn’t need indifference curves. This approach was bought forth by John Hicks and is called Hicksian substitution effect.

As shown Figure A4.1, first of all the consumer needs to choose market basket A on the budget line RS.  Now, if the price of commodity (food) falls and budget line moves to RT, we take away a portion of the income to bring the consumer to the same position as before. To achieve this, we draw a budget line parallel to RT.

If the budget line passed through point A, the consumer will be in at least the same position as before.  He can still opt to purchase market base A.

As per the Hicksian Substitution effect, a budget line (like R’T’) that is parallel to RT and intersects RS at a point B which is below the point A and to the right of A, leaves the consumer equally well off.

Demand Theory—A Mathematical Treatment 68

Links of Previous Main Topic:-

Links of Next Microeconomics Topics:-

Your Price: $15.00 $13.99 🔥

Pricing may change based on requirements

Get Homework Help In

Maths and Statistics


Humanities & Arts


Essay Writing

How Our Homework Service Works

FAQ number 1

Share your requirements

FAQ number 2

Make secure payment

FAQ number 3

Get homework answers

FAQ - Our Homework Help Services

We have put together some commonly asked questions.


Is there a website that can do my homework?

Yes, if you are looking for such a site, MyHomeworkHelp is one of the leading homework help websites that can do your homework and assist with various academic needs. Here's all you need to know about our team and how they provide flawless homework help.

If you find yourself thinking, "I need to pay someone to do my homework," our team is ready to assist. It's common for students to seek help with their homework, and our experts are prepared to provide personalized support tailored to your needs.

You can visit www.myhomeworkhelp.com to get all types of homework-related help from our experts.


What is the best homework help website?

The best homework help website enhances students' experience of getting homework assistance from experts. MyHomeworkHelp, recognized as one of the best online homework help platforms, serves as both a guide and a solution provider for students. We've been rocking the homework help scene since 2012, assisting over 20k students, and we must be doing something right because more than 70% of them keep coming back for more. Whether you need help understanding concepts, completing assignments, or getting your homework done, MyHomeworkHelp is here to support your academic journey as the best college homework website.


How can I get help with my homework?

1. Tell us your homework details

To get started with online homework help, simply choose the type of homework assistance you need. When filling out the order form, make sure to provide detailed instructions, including the deadline, number of pages, grading rubric, and any other relevant information.

2. Confirm your order

Review the details of your homework order and proceed to make a secure payment using VISA, Mastercard, or PayPal. Once the payment is processed, our experts will begin working on your homework immediately.

3. Receive your order

The completed homework will be delivered directly to your email. This ensures that students receive their homework assistance on time and can meet their academic requirements without stress.


Do you guarantee plagiarism-free homework answers?

We take academic integrity very seriously and understand the importance of providing homework answers free of plagiarism. Our tutors are committed to delivering original and unique content for every assignment. Here are the steps we take to ensure your homework is plagiarism-free:

  1. Original Work: Each assignment is completed from scratch based on your specific requirements and guidelines.
  2. Expert Tutors: Our tutors are highly qualified and experienced in their respective fields, ensuring the work they produce is both original and high-quality.
  3. Plagiarism Detection: We use advanced plagiarism detection software to scan every assignment before delivery. This ensures that the content is unique and free of any copied material.
  4. No AI Usage: We guarantee that all work is 100% human-crafted expertise, with no AI-generated content involved. This ensures the authenticity and quality of the work provided.
  5. Quality Assurance: Our quality assurance team reviews each assignment for originality and adherence to academic standards before it is sent to you.

By following these stringent measures, we guarantee that the homework answers you receive are completely free of plagiarism and AI involvement. You can trust us to provide you with original and high-quality academic assistance.

For more information on our guarantees, please visit our guarantees page.


Is your homework service confidential?

Absolutely! Confidentiality is one of the basic guarantees of our service at MyHomeworkHelp.com.

When our customers make their homework orders, they know their information remains 100% confidential.

Even your homework writer will not be provided with your personal details. So, when you hire a professional homework helper on our website, rest assured that your information will remain private and safe.

For a comprehensive understanding of how we protect your privacy, please refer to our Privacy Policy.


How much do I need to pay to get my homework done?

We do not have monthly fees or minimum payments for our services. Each homework assignment is quoted a unique price, based on the tutor’s estimate of the time required to complete your work. There are no obligations, and you are free to discuss the price quote with the tutor.

When you decide to pay someone to do my homework, our pricing starts at $13.99 per page. The final pricing depends on various factors including the page count, deadline, nature of the task, and the homework writer’s level of expertise.

We offer flexible payment options, allowing you to make a partial payment to start working on your assignment and pay the remaining amount upon completion. This ensures no pressure of up-front payment and no hidden order costs.

Our dynamic pricing model takes into account the type of assignment, its urgency, and the complexity of the task. For instance, shorter deadlines and more complex assignments may increase the price. You can get an instant quote by selecting your assignment type, deadline, and page count on our website.

Get the help with your homework at competitive rates, tailored to your specific needs and deadlines. For more detailed information on pricing, please visit our pricing page.


Who are the experts who will help me with my homework?

We work with subject experts from all over the world. We hire them with the help of complex tests in the disciplines of their expertise. We also verify the IDs and academic transcripts of our homework writers to be sure that our experts have a bachelor's or master’s or a PhD degree. This is how we can be sure of the proficiency of our panel of experts who will help you with your homework. Here's all you need to know about our team and how they provide flawless homework help.

  1. Our team comprises top-tier homework helpers who excel in addressing and resolving questions on various topics. Each tutor effectively utilizes their expertise to concentrate on the core subject matter and thoroughly analyze it.
  2. Our professional tutors specifically craft each assignment tailored to students' requirements, including preferred formats, citation styles, and essential elements.
  3. Whether it’s coursework, dissertations, essays, or case studies, our platform guarantees timely college homework help across a wide range of academic papers. Don’t hesitate any longer; connect with our tutors when you seek help with your homework for perfect assignment solutions and improved grades.


Can I chat with my homework helper for updates?

Yes, you can certainly chat with your homework helper on our secure chatboard platform. MyHomeworkHelp.com provides a direct communication channel between you and your assigned expert (while maintaining privacy). This feature allows you to ask questions, clarify instructions, and provide additional information about your homework order to ensure that the help you receive is tailored to your specific needs.

You'll be notified by email whenever there are new messages for you, but we advise regularly checking your personal page to ensure no critical updates from your writer are overlooked.

Should you have an urgent matter to address, do not hesitate to contact the support team for assistance. This system ensures that students can stay updated on their homework paper progress and maintain clear communication with their experts.


What makes you the best homework helper?

MyHomeworkHelp is ranked as one of the best online homework helpers, providing exceptional support to students. We've been excelling in the homework assistance arena since 2012, assisting over 200k students, and consistently achieving high satisfaction rates, with more than 70% of our students returning for additional help. But do not take our word for it! See our independent reviews on google, facebook, sitejabber, and on Trustpilot. For all collated reviews, see here

We ensure our prices remain competitive and offer attractive discounts to make our services accessible. Our commitment to delivering plagiarism-free solutions guarantees the integrity and originality of your assignments. These attributes, combined with our dedication to personalized support and timely delivery, establish MyHomeworkHelp as the premier homework helper for all your academic needs.


How will I receive my homework order?

You'll receive the initial version of your paper as a secure, non-editable PDF within your specified deadline. This allows you to review the content and decide if any revisions or edits are required. Our homework service will refine the homework paper based on your feedback.

Should the document meet your expectations and not require any changes, you can simply approve the order and access the editable Word .doc file.