LaTeX LaTex to Work With Symbolic Expressions

AI Thread Summary
The discussion centers on the challenges faced in engineering and STEM courses regarding algebraic manipulation of equations. Users express a need for a more intuitive interface for solving problems symbolically, emphasizing the difficulties of transferring equations to coding environments like MATLAB, which can lead to errors and obscure the solution process. Suggestions include using platforms that allow for natural equation input, such as Math Quill, and enabling sharing and collaboration among users. SymPy in Jupyter notebooks is highlighted as a viable option, with its strong documentation and the potential for enhanced performance through SymEngine.py. The conversation also touches on the idea of creating a tool similar to fxsolver, which would allow users to define and manipulate systems of equations while incorporating features like unit conversions. Overall, there's a clear demand for user-friendly, collaborative tools that streamline the process of symbolic computation in educational and professional settings.
person123
Messages
326
Reaction score
52
TL;DR Summary
I'm curious if there's a tool out there to work with symbolic expressions (defining, substituting, solving), but with a natural display using LaTex as opposed to a coding language.
For many of the problems in my engineering courses (as well as other STEM courses and maybe even in industry), much of the work is in algebraic manipulation of equations. These problems could be solved using by using symbolic expressions in a coding language like MATLAB. However, it is very clunky to copy those equations over and write the code to solve the problems, is prone to mistakes, and is much more difficult for others to see the steps. Is there an interface which has the basic functionality (defining variables and equations, substitutions, and solving in terms of a variable), but is natural to write and read in? I was imagining using something like Math Quill so the user can write the equations in directly. If it were a site, I think it would also be helpful to allow people to share and build off of what other people made on the site, and to allow people to export it as code.
 
Physics news on Phys.org
SymPy in a jupyter workbook?
 
  • Like
Likes S.G. Janssens
SymPy does seem very neat. I was thinking of something a bit more like Desmos as used here (the graph part isn't relevant), but where you can also define and use systems of equations to solve for symbolically.
 
pasmith said:
SymPy in a jupyter workbook?
I would very much recommend that, too. It has very good documentation.

Maybe to add to this, it it worth mentioning that when execution speed becomes a problem (as it sometimes does, for me), you can use SymEngine.py to let SymPy use the computational power of SymEngine. This can indeed all be done from Jupyter notebooks, if you like.
 
I was actually thinking of something very similar to fxsolver (I just found it now) where you have common equations to choose from and you can also make your own (it also allows for unit conversions, which is something else I was thinking of). However, it seems fxsolver is difficult to build off of (the links would get very confusing if you started adding more equations for example).
 
I was thinking of something where you could define systems of equations and build off of them. Here would be a simple example for a projectile motion problem:
20210410_215057.jpg
 

Similar threads

Replies
6
Views
3K
Replies
11
Views
5K
Replies
5
Views
3K
Replies
16
Views
3K
Replies
16
Views
4K
Replies
1
Views
3K
Replies
3
Views
2K
Back
Top