Let S be the set of all real triples (x,y,z) satisfying
⎩⎨⎧x≥0,y≥0,z≥0,x+y≤2,x+2y≤3,x+z≤3,y+z≤3.
Define the function
F(x,y,z)=−5x2−4y2−6z2+4xy−2xz+3yz+20x+14y+15z+1.
Let
M=(x,y,z)∈SmaxF(x,y,z).
Suppose M can be written in the form M=qp in lowest terms, where p and q are positive coprime integers. Find the value of p2q.
Ground Truth
44652
Execution Trace
Reasoning Process
To find the maximum value M of the function F(x,y,z) over the set S defined by the given constraints, we need to evaluate F at the vertices of the feasible region and on the edges where the maximum might occur.
The function F(x,y,z) is given by:
F(x,y,z)=−5x2−4y2−6z2+4xy−2xz+3yz+20x+14y+15z+1
The constraints are:
⎩⎨⎧x≥0,y≥0,z≥0,x+y≤2,x+2y≤3,x+z≤3,y+z≤3.
First, we identify the vertices of the feasible region by solving the system of equations formed by the intersections of the constraints. The vertices are:
The highest value among these vertices is 38 at (1,1,2). However, we need to check the edges to ensure that the maximum does not occur on an edge.
Consider the edge between (1,1,2) and (1,1,0). This edge is parameterized by z=t where t ranges from 0 to 2, and x=1, y=1. The function F on this edge is: