- Difficulty
- Standard
- Suggested time
- 5 min
- Marks
- 3
Optimization in two variables and Lagrange multipliers practice question 4
A company sells thousand wired and thousand wireless headphones a month. Its monthly profit, in thousands of dollars, is
Find the largest monthly profit, in thousands of dollars.
Where can a smooth function of two variables reach its largest value? Keep an eye on the term, which links the two products.
Set both partial derivatives to zero: and . Solve the two linear equations together.
Check with that the point is a maximum, then evaluate there, every term included.
A whole number.
Theory UBC Math 100 §16.2Key results
Worked solution
Strategy
Find the critical point of P, confirm with the second derivative test that it is a maximum, and evaluate P there.
Working
The −xy term contributes −y to P_x and −x to P_y.
Solve the first equation for y and substitute into the second.
The only critical point.
D > 0 with P_xx < 0: a local maximum. P is a quadratic that curves down in every direction, so this is also its largest value overall.
Evaluate P at the maximum, every term included.
Answer
The answer is 142 thousand dollars, from 8 thousand wired and 4 thousand wireless headphones.
Check
A thousand more or fewer of either kind, at (9, 4), (7, 4), (8, 5) or (8, 3), brings the profit down to 140, below 142.
Where this goes wrong
Dropping the −xy term when differentiating, so P_x = 36 − 4x and P_y = 24 − 4y. That moves the critical point to (9, 6), where the profit is only 130. The term says the two products compete for the same buyers, and it belongs in both partial derivatives.
Leans on
Partial derivatives, from Functions of two variables and partial derivatives
Try a similar question
The function has exactly one critical point, . Find .Saved in this browser only.