Find the Extreme Values of z Under Two Constraints
At a glance
- 1. Identify both constraints
The stated information gives xyz = 24, but does not specify the value of x² + y² + z².
- 2. Set z to a magnitude
Write u = |z|. The product fixes xy = 24/z, while the sum-of-squares constraint limits u.
- 3. Check feasibility
Use x² + y² ≥ 2|xy| to obtain u² + 48/u ≤ C, where C is the specified sum of squares.
- 4. Find the endpoints
Solve u³ − Cu + 48 = 0; the largest positive root gives the greatest possible |z|.
The supplied title identifies as the objective, but it does not state either constraint. In particular, it does not say or specify a value for , so the problem cannot be determined from the title alone.
For illustration, suppose the intended constraints are
If those are the intended constraints, the problem can be solved in terms of the missing value . The largest and smallest possible values of are opposites. Their magnitude is determined by a cubic equation.
Why the missing value matters
If the only constraint in this hypothetical setup were , then could be any nonzero real number: choose, for example, and . Thus would have no maximum or minimum. A fixed value of restricts the variables and can make extrema possible, but the numerical answer depends on that value.
In what follows, denotes the intended value of the sum of squares. This also lets you check whether the constraints are feasible at all.
Reduce the problem to one variable
Set . Since , none of can be zero, and
For real and , the inequality holds. Therefore,
This condition is also sufficient: given a nonzero and , real with the required sum of squares exist exactly when . So the possible magnitudes of are precisely the positive satisfying
Multiplying by gives
The smallest possible value of occurs where its derivative is zero:
At that point the minimum is . Hence the constraints have real solutions only if
General extreme values
When is at least this threshold, the largest feasible magnitude occurs at equality in the feasibility condition. It is the largest positive root of
Because the product is positive, both signs of are possible: changing the sign of and one of preserves and leaves the sum of squares unchanged. Therefore the extreme values are
where is the largest positive root of the cubic. If , the two positive roots merge at , and the only possible values of are .
Worked example: if the missing value is 25
This example illustrates how a specified value produces numerical extrema; it does not assume that 25 was the omitted value. Let . Then the endpoint equation is
It factors as
The positive roots are and . The largest is , so the extreme values of are and . They are attained. For , take ; then and . For , take and .
Common mistakes
- Treating as a complete constraint. A constraint must specify a value, such as ; naming the function alone is not enough.
- Using only . That constraint does not bound away from arbitrarily large positive or negative values.
- Assuming equality in for every feasible point. Equality describes endpoint cases, not generally every feasible point. It occurs when .
- Ignoring feasibility. If , there are no real triples satisfying both constraints, so there are no extrema to find.
To get a numerical answer to the intended problem, the full constraints must be supplied. The results above apply only if they are and .
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.