I am trying to find a minimum of a function depending on a parameter, but I cannot get it to work. For example, I try to find the minima of $\sin(ax)$ where $a$ is a parameter. For example, trying the following doesn't return anything:
Minimize[Sin[a*x], x]
Trying something like
Assuming[a > 0, Minimize[Sin[a*x], x]]
Also doesn't work. What's wrong with my code?
Thanks!
Reduce
like this:Reduce[D[Sin[a x], x] == 0 && D[Sin[a x], {x, 2}] > 0, x]
. And the output reads:C[1] \[Element] Integers && a \[Element] Reals && a != 0 && x == -((\[Pi] - 4 \[Pi] C[1])/(2 a))
. The idea is to solve for first and second derivatives to find min or max. $\endgroup$ – Alx Jan 16 '17 at 2:47