University Calculus III — Optimization in Several Variables Worksheet
The set where the gradient goes to work. Finding every critical point of a function of two variables, including the ones a careless division throws away; the second-order Taylor polynomial, which is what the second derivative test is really a statement about; the test itself, read in the right order; the hottest and coldest points of a plate and the extremes of a function on a disc, where the boundary has to be searched as carefully as the inside; the method of Lagrange multipliers with one constraint, and what to do with every point it hands back; and one applied problem where you build the function yourself. A closing question puts classification and a closed region on the same function. Have a look on this page, then print the free PDF when you want to write on it.
Practice worksheet — free PDF
No email, no account, no watermark. Teachers: photocopy it for your classes freely. Worked solutions and 8 harder problems come with the University Calculus III bundle.
All 11 questions
Each question targets one named concept from the sheet. Read them here, or print the PDF — it has working space under each one.
-
Q1Critical Points of a Function of Two Variables
Find every critical point of and give the value of there. Do not classify the point.
-
Q2Critical Points of a Function of Two Variables
Find every critical point of Show how each one arises. Do not classify them.
-
Q3Second-Order Taylor Approximation in Two Variables
Let for .
- Find the second-order Taylor polynomial of about the point .
- Use it to approximate , and compare with the linear approximation and with the exact value.
-
Q4The Second Derivative Test
Find and classify every critical point of
-
Q5The Second Derivative Test
Find and classify every critical point of
-
Q6Absolute Extrema on a Closed Bounded Region
A thin triangular metal plate occupies the closed region with vertices , and , with distances in centimetres. Its temperature, in degrees Celsius, is Find the hottest and the coldest points of the plate and the temperature at each.
-
Q7Absolute Extrema on a Closed Bounded Region
Find the absolute maximum and the absolute minimum of on the closed disc , and every point at which each is attained.
-
Q8Lagrange Multipliers with One Constraint
Use a Lagrange multiplier to find the maximum and the minimum of The constraint curve is an ellipse.
-
Q9Lagrange Multipliers with One Constraint
Use a Lagrange multiplier to find the maximum and the minimum of List every point the method produces, including any that turn out to give neither extreme.
-
Q10Applied Optimization Problems in Several Variables
Three monitoring stations stand at , and , with coordinates in kilometres. A radio repeater is to be placed at a point . The transmission energy it uses is proportional to the last term being doubled because station reports twice as often as the others. Find the position of that minimizes , justify that it is a minimum, and give the minimum value of .
-
Q11Synthesis — drawing on several topics in this unit
Let .
- Find and classify the critical points of .
- Find the absolute maximum and the absolute minimum of on the closed disc , and every point at which each occurs.
- One of the two critical points plays no part in the answer to (b). Which one, and why could that have been predicted from (a)?
The 8 challenge problems for this topic are a separate, paid sheet and are not reproduced here.
What does this set assume? This set stands on CEGEP Calculus I, CEGEP Calculus II and CEGEP Linear Algebra, and on the two sets before it — partial derivatives, and directional derivatives and the gradient — and re-teaches none of them. One-variable optimisation on a closed interval, the product rule, second-order partial derivatives, solving a small system of equations and the gradient as a vector are all used without comment. Scope is critical points, the second-order Taylor approximation in two variables (degree two only, with no error bound), the second derivative test in its D form, absolute extrema on a closed bounded region, Lagrange multipliers with a single equality constraint, and applied problems built on these. Two constraints at once, inequality constraints as a method, the multiplier read as a sensitivity, and numerical methods such as the gradient method are deliberately not part of this set or of the course.
Which course is this for? In the public course calendars of Montreal universities, this material is part of the courses numbered MATH 222, MAST 218, MAT1400, MAT1115, MTH1101 and MAT165. Each course orders and weights the topics its own way, so check your own outline for what your exam covers. Which sets match your course.
The rest of this unit
The worksheet is the practice, and it is free. Two more printable documents cover the same unit and come with the University Calculus III bundle: read the notes first, work this sheet, then sit the test closed-book. See what each one covers.
What the Optimization in Several Variables notes cover About the Optimization in Several Variables unit test
How to do every concept on this sheet
This is the part worksheet sites usually leave out. Below is the actual reasoning behind each group of questions — not a full solution set, the decisions that get you to one. Read it before you start, or after you get stuck.
Critical points: where the gradient is zero
At a local maximum or minimum inside the domain, the surface has a horizontal tangent plane, so both first-order partial derivatives are zero there. For the polynomial functions of this sheet the partials exist everywhere, and finding the critical points means solving the system fx = 0, fy = 0 — every solution of it, not just the first one you see.
critical point ⇔ ∇f(a, b) = (0, 0)Q1 gives a quadratic polynomial, so both partials are linear and the system is two linear equations in x and y. Solve it by elimination, then substitute the point back into both partials to confirm each is zero. The question also asks for the value of f at the point and says not to classify it — that comes two sheets later.
Never divide by something that can be zero. In Q2 one of the partial derivatives factors as a product, and the tempting move is to cancel the common factor. That silently discards every critical point where the cancelled factor is zero. Set the product equal to zero and split into cases instead: each factor equal to zero is its own case, and each case goes into the other equation separately. The question asks you to show how each point arises, which is exactly this case structure written out.
Check every point in both equations. A case split produces points from different branches, and it is easy to satisfy one equation and forget the other. A substitution back into fx and fy costs a line per point.
Second-order Taylor approximation in two variables
The tangent plane is the best linear approximation to f near a point. Adding the three second-order terms gives the best quadratic one, the second-order Taylor polynomial. Write h and k for the displacements from the point (a, b), and evaluate every derivative at (a, b).
T2 = f + fx h + fy k + ½ (fxx h² + 2 fxy hk + fyy k²), h = x − a, k = y − bBuilding T2 in Q3
Six numbers, then one assembly.
- 1Derivatives as formulas
Find fx, fy, fxx, fxy and fyy of the quotient. Differentiating in y means treating the numerator as a constant and the denominator as a power of y.
- 2Evaluate at the centre
Substitute the given point into f and all five derivatives. Keep the six numbers in a small table.
- 3Assemble
Put them into the formula, leaving the answer in powers of (x − a) and (y − b) rather than expanding.
- 4Approximate
For part (b), read off h and k for the new point, watching the sign of each, and evaluate the linear part and the quadratic part separately.
The mixed term is counted twice. The ½ multiplies the whole bracket, and inside it the mixed partial carries a 2 because hk and kh are the same term. Leaving out either factor gives a polynomial that looks right and approximates badly.
Part (b) asks for a comparison with the linear approximation and with the exact value, and the comparison is the point: keeping the linear part and the quadratic correction separate lets you see how much the second-order terms buy you, and computing the exact value tells you how close each approximation came.
The second derivative test
Near a critical point the first-order terms of T2 vanish, so the shape of the graph there is decided by the quadratic part. The second derivative test reads its sign from one number.
D = fxx fyy − (fxy)² evaluated at the critical pointReading the test
D first, always; fxx only when D is positive.
- 1D < 0
A saddle point, whatever the sign of fxx. The function rises in some directions and falls in others.
- 2D > 0 and fxx > 0
A local minimum.
- 3D > 0 and fxx < 0
A local maximum.
- 4D = 0
The test says nothing, and the point has to be settled some other way.
Q4 is the whole routine on a cubic. The two first-order equations each give y in terms of x; setting the two expressions equal gives an equation in x alone, and its solutions give the critical points. Then compute the three second partials as formulas, write D as a formula in x and y, and evaluate it at each point in turn.
Write D as a formula once. When a set has several critical points, D written in terms of x and y turns each classification into a substitution. And when the test reports a saddle, a one-line check confirms it: restrict f to a line through the point and see that it takes values on both sides of f at the point.
Q5 puts a polynomial in front of an exponential, so both partials come from the product rule and both carry the exponential as a factor.
An exponential is never zero — use that, and do not drop it early. In the first-order equations the exponential factor can be set aside, because it cannot vanish, and what is left is a polynomial system. In the second derivatives it must be kept: fxx needs the product rule applied again, and its value at each point includes the exponential. And read D before fxx — a negative fxx at a point where D is negative is not a maximum.
Absolute extrema on a closed bounded region
A continuous function on a closed bounded region has an absolute maximum and an absolute minimum — the two-variable extreme value theorem — and each is attained either at a critical point inside the region or somewhere on its boundary. That turns the search into a finite list of candidates.
The closed-region method
Inside, then every piece of the boundary, then one comparison.
- 1Interior critical points
Solve ∇f = (0, 0), and keep only the points that lie inside the region. A critical point outside it is irrelevant.
- 2Each boundary piece as a one-variable problem
Describe the piece with one variable and its interval, substitute into f, and find the critical numbers of the result on that interval.
- 3The endpoints of every piece
Corners of a polygon, and the ends of the interval used to describe a curve, are candidates in their own right.
- 4Compare
Evaluate f at every candidate. The largest value is the absolute maximum and the smallest the absolute minimum. No second derivative test is needed.
Q6 is a plate shaped like a triangle, so the boundary is three line segments, and each needs its own description: two of them are pieces of the axes, and the third is the slanted edge, written as y in terms of x over the interval the edge covers. Along each edge the temperature becomes a quadratic in one variable, whose vertex may or may not lie inside the edge's interval. The three corners are candidates too. Answer in the question's terms: where the hottest and coldest points are, and the temperature, in degrees Celsius, at each.
Check that the interior critical point is inside. For a triangle, that means checking the point against all three edges. It takes one line, and a critical point lying outside the region must not be carried into the comparison.
Q7 replaces the triangle with a disc. On its boundary circle, solve the circle's equation for y² and substitute: f becomes a function of x alone, on the interval of x-values the circle covers.
A substitution brings its own endpoints. Replacing y² by an expression in x only makes sense for x between the circle's leftmost and rightmost points, so those two values of x are endpoints of the one-variable problem and must be tested. And each value of x inside that interval corresponds to two points of the circle, one above the axis and one below. The question asks for every point at which each extreme is attained, so report both when both occur.
Lagrange multipliers with one constraint
To find the extremes of f along a curve g(x, y) = c, look for the points where the level curve of f touches the constraint curve instead of crossing it. There the two curves share a normal, so the two gradients are parallel.
∇f = λ ∇g, g(x, y) = c → three equations in x, y and λThe method, start to finish
Solving the system is half of it; the last step is the other half.
- 1Write the system
One equation per component of the gradients, plus the constraint itself.
- 2Eliminate λ
Divide or compare the component equations to get a relation between x and y — after checking that what you divide by cannot be zero.
- 3Substitute into the constraint
The relation and the constraint together give the candidate points.
- 4Justify, then compare
Say why the extremes exist, then evaluate f at every candidate and pick the largest and the smallest.
In Q8 the objective is linear and the constraint is an ellipse. Before dividing one component equation by the other, show that λ cannot be zero; then the two equations give y as a multiple of x, and the constraint gives the candidates.
Why comparing candidates is allowed. The method finds points where the gradients are parallel; it does not by itself say which is a maximum. The ellipse is closed and bounded and f is continuous, so both extremes exist, and since each must be among the candidates, comparing values settles it. Write that sentence in your answer — it is the justification being marked.
Q9 asks you to list every point the method produces, including any that give neither extreme. One of the component equations has a common factor on both sides.
Q2's trap, in a new place. Cancelling the common factor loses the case where it is zero. Move everything to one side, factor, and follow each case through to the constraint. Some of the points the method returns satisfy every equation and still give a value between the maximum and the minimum; they are part of the list the question asks for, and the comparison is what sets them aside.
Applied optimisation in several variables
In an applied problem the function is not given — you build it. Q10 places a repeater among three stations and asks for the position that minimises a weighted sum of squared distances, with the third station's term counted twice.
Write S before you differentiate. Each squared distance from P(x, y) to a station is a sum of two squares, so S is a quadratic polynomial in x and y. Keep the weight on the doubled term. Differentiate term by term; each partial derivative collects one contribution per station.
A local minimum is not yet the minimum. The question asks you to justify that the point is a minimum, and the second derivative test only says local. To upgrade it, argue about the whole plane: there is only one critical point, and S grows without bound as P moves far away in any direction. Completing the square in S is a second route to the same conclusion. Give the minimum value with its units, square kilometres.
The synthesis question
Q11 uses one cubic-plus-quadratic function for two of the sheets. Part (a) is Q4: find the critical points and classify each with D. Part (b) is Q7 on a larger disc: check which critical points lie inside it, reduce the function on the boundary circle to one variable, keep only the critical numbers that fall inside the interval of x-values, test the interval's endpoints, and report every point at which each extreme occurs. A Lagrange multiplier on the circle is an alternative for the boundary, and it reaches the same candidates.
Part (c) links local to absolute. An absolute extreme attained at a point inside the region is also a local extreme there. Ask which of the classifications from (a) is compatible with that, and the question of which critical point could have been dropped from the comparison answers itself.
Preview all 6 pages
Click any page to open the full PDF.
Getting the most out of it
Split into cases instead of cancelling
Every time a first-order equation or a Lagrange equation has a common factor, write it as a product equal to zero and follow each factor as a separate case. Cancelling is the single most common way to lose a critical point in this topic, and the lost point is often the answer.
Read D before fxx
The sign of D decides between a saddle and an extreme; fxx only decides which kind of extreme, and only once D is positive. Write the classification in that order every time, and say plainly when D is zero that the test has told you nothing.
List candidates in a table
On a closed region, and after a Lagrange system, write every candidate in one table: where it came from (interior, which edge, which endpoint, which case), the point, and the value of f. The comparison at the end is then one look down a column, and a missing corner or endpoint is easy to spot.
Say why the extremes exist
Comparing candidate values finds an absolute maximum and minimum only when they are known to exist. Before comparing, name the reason — a continuous function on a closed bounded region or curve — and in an applied problem on an open domain, give the argument that replaces it.
Sketch the region and the constraint
A quick picture of the triangle, disc or ellipse shows how many boundary pieces there are, where their endpoints sit, and whether a critical point is inside. It takes a few seconds and prevents the two cheapest mistakes in the set.
Want the solutions, or something more challenging?
The worksheet, the questions above and every explanation on this page stay free permanently. Three more PDFs exist for this topic — the worked answer key, a harder problem set, and the answer key to that. They come with the University Calculus III Solutions Bundle, beside the unit notes and the unit test, which is what keeps the rest of the series free.
What else exists for Optimization in Several Variables
Three PDFs · 15 pages · all three are in the bundle below.
- Answer key — 3 pages. All 11 questions worked step by step, including the restrictions and the justifications. Not a list of final answers.
- Challenge problems — 8 pages, 8 problems. A separate sheet at exam-plus difficulty covering the same 6 concepts. Harder than anything on the free sheet.
- Challenge answer key — 4 pages. Every challenge problem worked to the same standard, with the checks shown.
- PDF, letter size, print-ready.
The one thing that's for sale
Every University Calculus III topic — the complete Solutions Bundle
One download, one payment, the whole program. For all 9 University Calculus III units: the worksheet, the reference notes, the challenge set, the unit test and every answer key — including this one.
- Worked solutions, not answer lists — every step written out
- Covers the whole year's program at this level
- Less than the price of one hour of tutoring — for the entire year's solutions
Taking Secondary 1 Math as well? The Secondary 1 Math bundle covers all 15 of its units — 106 PDFs, 474 pages — on the same terms.
Taking Secondary 2 Math as well? The Secondary 2 Math bundle covers all 14 of its units — 98 PDFs, 449 pages — on the same terms.
Taking Secondary 3 Math as well? The Secondary 3 Math bundle covers all 11 of its units — 77 PDFs, 367 pages — on the same terms.
Taking Secondary 4 Math as well? The Secondary 4 Math bundle covers all 17 of its units — 122 PDFs, 466 pages — on the same terms.
Taking Secondary 5 Math as well? The Secondary 5 Math bundle covers all 21 of its units — 147 PDFs, 589 pages — on the same terms.
Taking CEGEP Calculus I as well? The CEGEP Calculus I bundle covers all 9 of its units — 72 PDFs, 371 pages — on the same terms.
Taking CEGEP Calculus II as well? The CEGEP Calculus II bundle covers all 8 of its units — 64 PDFs, 335 pages — on the same terms.
Taking CEGEP Linear Algebra as well? The CEGEP Linear Algebra bundle covers all 7 of its units — 56 PDFs, 298 pages — on the same terms.
Taking University Linear Algebra as well? The University Linear Algebra bundle covers all 9 of its units — 72 PDFs, 496 pages — on the same terms.
Taking University Differential Equations as well? The University Differential Equations bundle covers all 9 of its units — 36 PDFs, 182 pages — on the same terms.
Taking University Business Math as well? The University Business Math bundle covers all 9 of its units — 36 PDFs, 190 pages — on the same terms.
Taking University Introductory Statistics as well? The University Introductory Statistics bundle covers all 9 of its units — 36 PDFs, 186 pages — on the same terms.
Taking University Discrete Math as well? The University Discrete Math bundle covers all 9 of its units — 36 PDFs, 155 pages — on the same terms.
Taking AP Calculus AB as well? The AP Calculus AB bundle covers all 8 of its units — 64 PDFs, 527 pages — on the same terms.
Common questions
Is this worksheet really free?
Yes — the questions are on this page to read, and the PDF downloads directly, no email and no account. The one paid item is optional: the complete University Calculus III Solutions Bundle, which covers every set at this level.
Which university courses is this for?
The course codes listed on this page are taken from the public course calendars of universities that teach multivariable calculus after CEGEP. Each course orders and weights the topics its own way — some spend longer on the closed-region method, some give Lagrange multipliers a week of their own — so check the outline for your own section to see where this set falls in your term.
What do I need to know before starting this set?
CEGEP Calculus I and II, CEGEP Linear Algebra, and the two previous sets on partial derivatives and on the gradient. You should be comfortable computing first- and second-order partial derivatives, using the product rule, solving a small system of equations, and finding the extremes of a one-variable function on a closed interval.
What is the difference between a local and an absolute extreme?
A local maximum is larger than every nearby value; an absolute maximum is larger than every value on the whole domain or region. The second derivative test only ever speaks about local behaviour. To find absolute extremes you either use the closed-region method, where they are guaranteed to exist, or give an argument about the whole domain.
Why does the second derivative test use D and not just fₓₓ?
Because fₓₓ describes the graph only along lines parallel to the x-axis. A function can curve upward in that direction and downward in another, which is a saddle. D combines all three second partials and tells you whether the curvature has the same sign in every direction; only then does the sign of fₓₓ say which way.
Why is the Taylor polynomial in an optimisation set?
Because at a critical point its linear terms vanish, and the quadratic part that remains decides whether the graph rises, falls or does both near the point. The second derivative test is a statement about the sign of that quadratic part, so seeing the polynomial first explains where the test comes from.
When should I use a Lagrange multiplier instead of substituting?
Substituting works when the constraint is easy to solve for one variable over a clear interval, as on a circle or a straight edge — just remember the interval's endpoints. A multiplier is better when solving the constraint is awkward or would split it into branches, and it treats the variables symmetrically. On a closed region's boundary either route reaches the same candidates.
Does this set cover two constraints or inequality constraints?
No. The set stops at Lagrange multipliers with a single equality constraint, and absolute extremes on a closed region are handled by checking the interior and the boundary separately. Two constraints at once, inequality constraints as a method, and the multiplier read as a sensitivity are not part of this course.
Can teachers use this in class?
Yes. Print and photocopy it for your own classes freely — I just ask that the tutorinmontreal.ca footer stays on the page.
I'm stuck on one question. Can you help?
Yes — through one-on-one tutoring, in Montreal or online. Get in touch to arrange a session, or see the current rates.
← All 9 University Calculus III worksheets · Secondary 1 Math series (15 sheets) → · Secondary 2 Math series (14 sheets) → · Secondary 3 Math series (11 sheets) → · Secondary 4 Math series (17 sheets) → · Secondary 5 Math series (21 sheets) → · CEGEP Calculus I series (9 sheets) → · CEGEP Calculus II series (8 sheets) → · CEGEP Linear Algebra series (7 sheets) → · University Linear Algebra series (9 sheets) → · University Differential Equations series (9 sheets) → · University Business Math series (9 sheets) → · University Introductory Statistics series (9 sheets) → · University Discrete Math series (9 sheets) → · AP Calculus AB series (8 sheets) →




