LyXHow to make a matrix that wolfram and symbolab can read

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
hanmah
Posts: 3
Joined: Thu Mar 31, 2016 11:44 am

How to make a matrix that wolfram and symbolab can read

Post by hanmah »

Hello,

I would like to be able to visually write math equations in lyx and then copy them to wolfram and symbolab to compute the answer. For example I can copy

Code: Select all

\left(-1-\lambda\right)\cdot\left(1-\lambda\right)\left(-\lambda\right)+3
into those sites and they will be able to read it and give me the answer, however they do not understand

Code: Select all

\begin{pmatrix}1 & 0 & 1\\
0 & 0 & 1\\
-3 & 1 & 3
\end{pmatrix}\cdot\begin{pmatrix}1 & -1 & 0\\
3 & -6 & 1\\
0 & 1 & 0
\end{pmatrix}
Do you have any recommendations?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

How to make a matrix that wolfram and symbolab can read

Post by scottkosty »

I don't know how to do exactly what you want, but you could consider using Maxima, with which LyX has good integration. To download an example document, run this command:

Code: Select all

wget --output-document=maxima.lyx "http://marc.info/?l=lyx-devel&m=137720956926816&q=p3"
(or just go there and save as should probably work)

Then open maxima.lyx and follow the instructions.

LyX + maxima works great for me.
hanmah
Posts: 3
Joined: Thu Mar 31, 2016 11:44 am

How to make a matrix that wolfram and symbolab can read

Post by hanmah »

LyX + maxima works great for me.
I cannot see how to do matrix multiplications with it. Is there a way?
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

How to make a matrix that wolfram and symbolab can read

Post by scottkosty »

hanmah wrote:
LyX + maxima works great for me.
I cannot see how to do matrix multiplications with it. Is there a way?
Good question (and clearly related to your original post). I don't know. I would suggest sending an email to lyx-users@lists.lyx.org.
hanmah
Posts: 3
Joined: Thu Mar 31, 2016 11:44 am

Re: How to make a matrix that wolfram and symbolab can read

Post by hanmah »

Thanks
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Re: How to make a matrix that wolfram and symbolab can read

Post by scottkosty »

Cross posted at
http://tex.stackexchange.com/questions/ ... ugh-lyx-ds

Please read here for why you should reference your other posts:
http://latex-community.org/home/latex-c ... crossposts
Post Reply