LaTeX LaTex to Work With Symbolic Expressions

Click For Summary
SUMMARY

The discussion centers on the need for an intuitive interface for manipulating symbolic expressions in engineering and STEM courses. Users express frustration with the clumsiness of coding in MATLAB and seek alternatives that allow for easy equation definition, substitution, and solving. Tools like SymPy in Jupyter Notebooks and Math Quill are highlighted as potential solutions, with an emphasis on the importance of user-friendly interfaces that facilitate sharing and exporting code. Additionally, the use of SymEngine.py to enhance SymPy's performance is recommended for users facing execution speed issues.

PREREQUISITES
  • Familiarity with symbolic mathematics and algebraic manipulation
  • Basic understanding of Jupyter Notebooks and Python programming
  • Knowledge of tools like SymPy and SymEngine.py
  • Experience with mathematical software such as MATLAB or Wolfram Alpha
NEXT STEPS
  • Explore the capabilities of SymPy in Jupyter Notebooks for symbolic computation
  • Investigate Math Quill for integrating user-friendly equation input in web applications
  • Learn about SymEngine.py to optimize performance in symbolic calculations
  • Research collaborative platforms for sharing symbolic expressions and code
USEFUL FOR

Students and professionals in engineering and STEM fields, educators looking to enhance teaching methods, and developers interested in creating user-friendly mathematical tools.

person123
Messages
326
Reaction score
52
TL;DR
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 ·
Replies
6
Views
3K
  • · Replies 11 ·
Replies
11
Views
8K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 11 ·
Replies
11
Views
5K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K