Message Boards Message Boards


DSolve return undesired value?

Posted 1 month ago
2 Replies
0 Total Likes


I'm using DSolve to optimize via Euler-Lagrange with an integral constraint some problem. Nevertheless, the output of DSolve returns values and not functions, and some of these values are undesired (impossible from physics). For instance, some optimal value result in "a=-1", but this parameter just has sense higher than zero. How can I restrain these solution space? The example is attach in the notebook, where l am is the Lagrange multiplier.

Thank you so much.

2 Replies

What is the meaning of D[F, a'[x]]? Mathematica returns 0. Your differential equation turns up not to involve derivatives.

Posted 1 month ago

is the derivative of the function respect to the da/dx, as the Euler Lagrange requires. But there is no derivative in the function, then it turns to zero.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract