Mathematica Solve large equation (Mathematica)

  • Thread starter Thread starter Anna Kaladze
  • Start date Start date
  • Tags Tags
    Mathematica
AI Thread Summary
The discussion revolves around a complex function in Mathematica, where the user seeks to derive the function with respect to tau, set it to zero, and solve for tau. The user expresses frustration with the long computation time of the Solve function, questioning whether inefficiencies in their approach are contributing to this delay. Suggestions include considering whether an algebraic solution is necessary, as simpler numerical methods like NSolve may be more efficient. Additionally, the possibility of using Mathematica's built-in Maximize or Minimize functions is raised, indicating that the goal may be to optimize the function rather than derive a complex algebraic expression. The conversation emphasizes the challenges posed by complicated expressions and the potential for more efficient computational strategies.
Anna Kaladze
Messages
34
Reaction score
0
Hi All,

I have a big ugly function (please see the attached Mathematica file), of tau (f(tau)). The only parameters there in symbolic form are w and v. I need to take the derivative of this function with respect to tau, set it equal to zero and solve for tau. (Please see g(tau)). But Solve runs for a long time. Part of me says it is not surprising because the function is complicated, but part of me is saying I am doing something wrong which makes Solver run “inefficiently”, as in the past I was able to get a nice compact solution for tau albeit for somewhat less complex looking problems. Can you please help?

Thanks a lot.

Anna.
 

Attachments

Physics news on Phys.org
Perhaps nice compact solutions simply don't exist if your expressions are too complicated. Do you really require an algebraic expression? If not, plug in your expressions for w and v, then use Solve/NSolve.
 
queenofbabes said:
Perhaps nice compact solutions simply don't exist if your expressions are too complicated. Do you really require an algebraic expression? If not, plug in your expressions for w and v, then use Solve/NSolve.

Yes, I require an algebraic solution. I wonder what would be the most efficient way to get in Mathematica.
 
Just let it run. If it is messy then it will take a long time.

Can you expand it about some point?
 
It appears that you are trying to maximize(or Minimize) the function. If so there is already the Maximize (and Minimize) functions.
 

Similar threads

Replies
19
Views
2K
Replies
2
Views
2K
Replies
6
Views
4K
Replies
1
Views
3K
Replies
4
Views
3K
Replies
12
Views
2K
Replies
5
Views
3K
Replies
2
Views
5K
Replies
2
Views
3K
Back
Top