Tricky visualization of maximization problem

*To*: mathgroup at smc.vnet.net*Subject*: [mg71034] [mg71004] Tricky visualization of maximization problem*From*: Uwe Ziegenhagen <newsgroup at ziegenhagen.info>*Date*: Mon, 6 Nov 2006 02:52:34 -0500 (EST)*Organization*: Humboldt Universitaet zu Berlin

Hi, I want to maximize x1^2 + 4*x1*x2 + 3*x2^2 (eq.1) under the constraint x1^2 + x2^2 == 1 (eq. 2) So far no problem, Maximize gives me 2 + sqrt(5) But how can I display this visually? For eq. 1 I can use Plot3D[], for eq. 2 ImplicitPlot[] but how to have them in one picture? Thanks in advance, Uwe