Let x = [ x 1 , x 2 , x 3 , x 4 ] T be a vector in R 4 , and let f ( x ) = 2 x 1 − 3 x 2 + 5 x 3 + 4 x 4 be the objective function to be maximized over R 4 , subject to the linear constraint, x 1 + 2 x 2 − x 3 + 3 x 4 = 1 0 , and the quadratic constraint, x 1 2 + 2 x 2 2 + 3 x 3 2 + 4 x 4 2 + 2 x 1 + x 2 + 4 x 3 + x 4 = 1 0 0 .
If ( a , b , c , d ) is the point in R 4 at which the function f attains its maximum and, if the value of that maximum is f ∗ , then find a + b + c + d + f ∗ . Round your answer to 3 decimal places.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Problem Loading...
Note Loading...
Set Loading...
The problem can be restated as follows:
Find the maximum of f ( x ) = c T x , subject to the constraints
a T x = b , and x T Q x + e T x = R 2 .
Where, in this problem,
c T = [ 2 , − 3 , 5 , 4 ]
a T = [ 1 , 2 , − 1 , 3 ]
b = 1 0
Q = ⎣ ⎢ ⎢ ⎡ 1 0 0 0 0 2 0 0 0 0 3 0 0 0 0 4 ⎦ ⎥ ⎥ ⎤
e T = [ 2 , 1 , 4 , 1 ]
R = 1 0
Starting with the linear constraint, a T x = b is an equation of a hyperplane in R n whose vector equation is
x = V u + x 0 , u ∈ R n − 1
Upon substituting this into the quadratic constraint, we obtain
( V u + x 0 ) T Q ( V u + x 0 ) + e T ( V u + x 0 ) = R 2
Expanding,
u T V T Q V u + 2 u T V T Q x 0 + u T V T e = R 2 − x 0 T Q x 0 − e T x 0
Next, let u 0 = − ( V T Q V ) − 1 ( V T Q x 0 + 1 / 2 V T e ) , then
( u − u 0 ) T ( V T Q V ) ( u − u 0 ) = r 2 ⋯ ⋯ ( 1 )
where r 2 = R 2 − x 0 T Q x 0 − e T x 0 + u 0 T ( V T Q V ) u 0
Equation (1) specifies a ellipsoid in R n − 1 .
Now the objective function can be written in terms of u as
f = c T x = c T ( V u + x 0 ) = c T V u + c T x 0
Using Lagrange's method, the function is maximum when its gradient is parallel to that of
the contraint specified in (1) , that is,
λ V T c = ( V T Q V ) ( u − u 0 )
Solving for ( u − u 0 ) , we get,
u − u 0 = λ ( V T Q V ) − 1 V T c ⋯ ⋯ ( 2 )
Plugging this into equation (1), we get,
λ 2 c T V ( V T Q V ) − 1 V T c = r 2
and therefore,
λ = c T V ( V T Q V ) − 1 V T c r
Thus, using equation (2), we can calculate u ∗ = u 0 + λ ( V T Q V ) − 1 V T c ,
then calculate x ∗ = V u ∗ + x 0 , and finally, find f ∗ = c T x ∗ = c T V u ∗ + c T x 0 .
Performing these operations for the given values specified in the problem, we obtain,
x ∗ = [ 4 . 8 1 1 9 6 1 , − 1 . 3 0 0 7 7 , 1 . 9 7 1 1 6 6 , 3 . 2 5 3 5 8 1 ] T , and f ∗ = 3 6 . 3 9 6 3 8
The desired answer is the sum of these numbers and evaluates to 4 5 . 1 3 2