QlarIITy

MathematicsJEE Main 2021 · 17 MarchInteger

The maximum value of zz in the following equation z=6xy+y2z = 6xy + y^2, where 3x+4y≤1003x + 4y \leq 100 and 4x+3y≤754x + 3y \leq 75 for x≥0x \geq 0 and y≥0y \geq 0 is ______

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. A non-linear expression over a region can have its greatest value in the middle of an edge, not at a corner.

Concept refresher. The quadratic py−qy2py - qy^2 with q>0q > 0 is greatest at

y=p2qy = \dfrac{p}{2q}

where its value is p24q\dfrac{p^2}{4q}.

Picture the situation. Both lines pass through (0,25)(0, 25). For x≥0x \geq 0, 4x+3y≤754x + 3y \leq 75 gives y≤25−4x3y \leq 25 - \dfrac{4x}{3}, which is below 25−3x425 - \dfrac{3x}{4}, so the other inequality adds nothing. The region is the triangle with vertices (0,0)(0, 0), (754,0)\left(\dfrac{75}{4}, 0\right) and (0,25)(0, 25).

The two lines 4x + 3y = 75 and 3x + 4y = 100, both through the point (0, 25). The shaded triangle between the axes and the steeper line 4x + 3y = 75 is the region, and a point on that line marks where z is greatest.

Approach. Move to the binding line and maximise a quadratic in one variable.

  1. Step 1: The boundary

    For x≥0x \geq 0 and y≥0y \geq 0, z=6xy+y2z = 6xy + y^2 does not decrease when xx or yy grows, so its greatest value is on the line 4x+3y=754x + 3y = 75, where x=75−3y4x = \dfrac{75 - 3y}{4}.

  2. Step 2: One variable

    Substituting this into the expression leaves a quadratic in yy alone:

    z=6y(75−3y)4+y2=112.5y−3.5y2\begin{aligned} z &= \dfrac{6y(75 - 3y)}{4} + y^2 \\[4pt] &= 112.5y - 3.5y^2 \end{aligned}

    for 0≤y≤250 \leq y \leq 25.

  3. Step 3: The maximum

    This quadratic is greatest at y=112.57=22514y = \dfrac{112.5}{7} = \dfrac{225}{14}, about 16.07, where x=37556x = \dfrac{375}{56}, about 6.70, is positive. Its value there is 112.5214=5062556\dfrac{112.5^2}{14} = \dfrac{50625}{56}, about 904.02. The answer is entered as an integer, so the maximum is given to the nearest integer, 904.

Answer. 904

Sanity check. At the corners zz is 0, 0 and 252=62525^2 = 625, all below 904, and at the nearby point (6.75,16)(6.75, 16) of the line z=648+256=904z = 648 + 256 = 904 exactly.

Common wrong answers

  • 625: Checking only the corners of the region gives z=625z = 625 at (0,25)(0, 25) and misses the higher values along the edge.
  • 1429: Using the line 3x+4y=1003x + 4y = 100 as the boundary gives z=200y−7y2z = 200y - 7y^2, with greatest value about 1429, at a point outside the region.

Key takeaway

The trap. An inequality that lies wholly outside the other one does not shape the region.

How toppers think. They check which constraint binds before doing any calculus.

Remember. z=112.5y−3.5y2z = 112.5y - 3.5y^2 on 4x+3y=754x + 3y = 75

More on Maxima & Minima