Exercises

Use Maple commands to optimize following expressions.

  1. Find the minimum:

            expr1:=(2*x-3)^2 → + 2*x
            plot(expr1, x=-10..10)
            deriv := diff(expr1, x)
            minx := solve(deriv=0, x)
            minval := subs(x=minx,expr1)
  2. Find all local and absolute minima and maxima:

    screen shot

    Look at the plot and decide which roots will produce the local maximums and minimums and the absolute minimum. Be sure to sub back into the expression to find the actual max or min value.

  3. Find maximum:

                expr3:= 7/3 → -1/3 → * (3*x-5/2)^2
                plot(expr3, x=-4..4, y=-50..10)
                dexpr3 := diff(expr3, x)
                maxX := solve(dexpr3=0, x)
                maxVal := subs(x=maxX, expr3)