Multivariable calculus
Critical Points of cos x + cos y + cos(x+y)
For f(x,y) = cos x + cos y + cos(x+y) the origin is a local maximum with D = 3 and value 3. The point (2pi/3, 2pi/3) is a local minimum with D = 0.75 and value -1.5. The point (pi, pi) is a saddle with D = -1. The surface has period 2pi in each variable, so every one of these repeats on a grid.
- local maximumdiscriminant D = 3
- local minimumdiscriminant D = 0.75
- saddle pointdiscriminant D = -1
These are not necessarily all of them; the page says which it covers.
Subtract the two equations before you solve either
Both partials inherit a term from , and since the inside derivative is 1 in each variable, that term is identical in the two equations.
Subtracting kills the shared term and leaves a relation between and alone. That is the move worth remembering whenever a coupled system shares a piece: subtract first, substitute second.
On the branch , the first equation becomes . Replace with and the whole thing factors.
That gives , and along the diagonal. On the other branch, makes , so the equation reduces to and produces two more saddles at and .
Three different verdicts from the same formulas
Every second partial is a cosine, so the arithmetic at each point is a matter of reading three values off the unit circle.
At the origin every cosine equals 1, so and . Then with , a local maximum. The value is the global maximum as well, since no cosine can exceed 1 and all three reach it together at the origin. Every translate by in either variable does the same thing, so the global maximum is attained at infinitely many points, all at height 3.
At we have and , so and .
That is a local minimum with . At , and , so while , and : a saddle.
The mistake students make
Seeing and at , students often report the test as inconclusive. Inconclusive means , not . When both diagonal entries vanish, , which is negative unless the mixed partial is also zero. Here , so and the answer is a saddle with no ambiguity at all.
The other slip is stopping after the diagonal branch. Subtracting the partials gives , and sine is not one to one: solves it just as well as . Dropping that branch loses the saddles at and completely. Those two are easy to confirm by substitution: at , and , so it is a genuine critical point that the diagonal branch never produces.
- Subtract the two equations to get .
- Keep both branches, and .
- Substitute each branch back into one of the original equations.
- Add to either variable to generate every remaining copy.
Frequently asked questions
Is this a complete list of the critical points?
No, and it cannot be. has period in and in , so shifting any critical point by in either variable produces another one. The three points on this page are representatives of the three behaviours. One full period also contains the local minimum at and the saddles at and .
Why subtract the equations rather than solving one of them directly?
Because still has both unknowns tangled inside a sine, and there is no clean way to isolate either. Subtracting removes , the only term the two equations have in common, and what is left relates to directly. You then substitute that relation into one original equation and face a single variable problem.