Ma · Mathematics

What Are the Least and Greatest Values of x?

Published By the 9to5Science editorial team

At a glance

  1. 1. Isolate the other variables

    Rewrite the conditions using the sum y plus z and the product yz, both in terms of x.

  2. 2. Require real roots

    Treat y and z as roots of a quadratic; their discriminant must be nonnegative.

  3. 3. Solve the bound

    The discriminant condition gives the full possible interval for x.

  4. 4. Check the endpoints

    At each endpoint, the quadratic has a repeated root, so the bound is attained.

Assume that xx, yy, and zz are real numbers, with no additional restrictions. The two given equations determine the sum and product of yy and zz once you choose xx. Requiring yy and zz to be real then gives exactly the range of possible values of xx.

The least value is −1-1, and the greatest is 133\frac{13}{3}. Both are actually attained, not merely approached.

Express the sum and product of y and z

From x+y+z=5x+y+z=5, we have

y+z=5−x.y+z=5-x.

Using xy+xz=x(y+z)xy+xz=x(y+z) in the second condition,

xy+yz+zx=x(y+z)+yz=3.xy+yz+zx=x(y+z)+yz=3.

Therefore,

yz=3−x(y+z)=3−x(5−x)=x2−5x+3.yz=3-x(y+z)=3-x(5-x)=x^2-5x+3.

For each proposed value of xx, the numbers yy and zz must have sum 5−x5-x and product x2−5x+3x^2-5x+3.

Require y and z to be real

Two numbers with sum SS and product PP are roots of the quadratic equation

t2−St+P=0.t^2-St+P=0.

Here, that equation is

t2−(5−x)t+(x2−5x+3)=0,t^2-(5-x)t+(x^2-5x+3)=0,

whose roots are yy and zz. A quadratic with real coefficients has real roots exactly when its discriminant is nonnegative. Thus,

(5−x)2−4(x2−5x+3)≥0,25−10x+x2−4x2+20x−12≥0,13+10x−3x2≥0.\begin{aligned} (5-x)^2-4(x^2-5x+3)&\geq 0,\\ 25-10x+x^2-4x^2+20x-12&\geq 0,\\ 13+10x-3x^2&\geq 0. \end{aligned}

Factoring gives

−(3x−13)(x+1)≥0,-(3x-13)(x+1)\geq 0,

so

−1≤x≤133.-1\leq x\leq \frac{13}{3}.

Every value in this interval works: the quadratic for yy and zz has real roots there. Values outside it make the discriminant negative, so no real yy and zz can satisfy the conditions.

Check that both endpoints are attained

At either endpoint the discriminant is zero, so y=zy=z.

If x=−1x=-1, then y+z=6y+z=6 and yz=9yz=9, giving y=z=3y=z=3. The triple (−1,3,3)(-1,3,3) satisfies both original equations:

−1+3+3=5,(−1)(3)+(3)(3)+(3)(−1)=3.-1+3+3=5,\qquad (-1)(3)+(3)(3)+(3)(-1)=3.

If x=133x=\frac{13}{3}, then y+z=23y+z=\frac{2}{3} and yz=19yz=\frac{1}{9}, giving y=z=13y=z=\frac{1}{3}. This triple also satisfies the conditions:

133+13+13=5,\frac{13}{3}+\frac{1}{3}+\frac{1}{3}=5, 139+139+19=3.\frac{13}{9}+\frac{13}{9}+\frac{1}{9}=3.

So the bounds are included, and the requested least and greatest values are −1-1 and 133\frac{13}{3}.

Common mistakes

  • Assuming xx must be positive. The question gives no positivity condition. The valid triple (−1,3,3)(-1,3,3) shows that negative xx is allowed.
  • Checking only that xx is real. A real value of xx is not enough; the resulting yy and zz must also be real. The discriminant condition enforces this.
  • Giving bounds without checking attainability. A discriminant inequality gives a closed interval here, but verifying the endpoint triples confirms that both extreme values occur.

If the variables are required to be nonnegative instead, the least value remains 00: for x=0x=0, yy and zz are the positive roots of t2−5t+3=0t^2-5t+3=0. If all three variables must be strictly positive, there is no least value of xx; its infimum is 00. The greatest value remains 133\frac{13}{3} in either case.

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.