I want to obtain a maximum value of an expression including parameter constants. Can someone provide me the syntax in MAPLE for evaluating maximum of
1.$ax^2+bx+c$ where a,b,c are constants and x is variable.
2.$ax^2+bx+c$-dy where a,b,c,d are constants and x,y are variable. Thanks in advance.
the result is $$\left\{ \begin{array}{cc} \{ & \begin{array}{cc} c & (b=0\land a=0)\lor (b=0\land a<0) \\ \frac{4 a c-b^2}{4 a} & (b>0\land a<0)\lor (b<0\land a<0) \\ \infty & \text{True} \\ \end{array} \\ \end{array} ,\left\{x\to \begin{array}{cc} \{ & \begin{array}{cc} -\frac{b}{2 a} & (b>0\land a<0)\lor (b<0\land a<0) \\ 0 & (b=0\land a=0)\lor (b=0\land a<0) \\ \text{Indeterminate} & \text{True} \\ \end{array} \\ \end{array} \right\}\right\}$$