Mathematica and systems of equations

In summary: Perhaps just make a copy of the existing stylesheet and work with that.In summary, the conversation was about how to write a system of equations in Mathematica in a visually appealing way. The individual wanted to use the "leftmodified" symbol to create a big left curly bracket, but was having trouble with scaling. They also asked for suggestions on resources for learning more about typesetting and publishing in Mathematica. Some suggested solutions included using TraditionalForm and creating modified stylesheets.
  • #1
cenit
5
0
I'd like to write (so not calculate, just "publish") some notes using mathematica. My very big problem in fact is the text-mode...

How could I write a system of equations in mathematica, so that it appears "beauty", divided into multiple lines?
I don't want something like this:
f = {{3x+2y},{2x+3z},{4x+2z},{t}=={5,4,1,1}}
but something nicer!

I tried the "leftmodified" symbol to get a big left curly bracket, but it doesn't scale with an inside table... I saw it in some .nb files, but nowhere how to produce it...

To make it easier to understand, I'd like to write my system in this way (very difficult to show here in the forum):

. . . --
. . . | 3x+2y = 5 bla blah..
. . . |
. . . | 2y + 3z = 4 ...
f= <
. . . | 4x+2z = 1 ...
. . . |
. . . | t =1
. . . --

I'm new to mathematica, so I'm sorry if I'm asking such a strange question...
thanks...edit: sorry for the dots in the system of equations, but spaces were ignored if removed... I hope my problem is still clear...edit2: sorry, I just found for myself (exactly after having posted my question...) that the command is ESC pw ESC...
Now I only have to find a way to left align system's cells but center the system itself...
 
Last edited:
Physics news on Phys.org
  • #2
I believe this
http://www.mathematica-journal.com/issue/v8i1/tricks/contents/html/Links/index_lnk_2.html
has the answer to your question.
 
  • #3
SredniVashtar said:
I believe this
http://www.mathematica-journal.com/issue/v8i1/tricks/contents/html/Links/index_lnk_2.html
has the answer to your question.

I found that in mathematica 8, using ESC pw ESC, it writes a curly bracket that automatically braces all the equations of the system, while using the standard { character does not the trick (and maybe requires your suggestion).

Anyway, thanks a lot! I know something about coding in mathematica, but absolutely nothing about typesetting and presenting results using this software. Do you know any good book about this topic, from the beginning to the advanced level? Thanks again
 
  • #4
You might want to give a try to a few of these tutorials.
http://www.wolfram.com/learningcenter/tutorialcollection/
Especially those related to notebooks and documents.

Despite the massive amount of material, a lot of people feels that Mathematica documentation is somewhat incomplete. Particularly regarding typesetting.
 
  • #5
Personally, if you're just using Mathematica to typeset, I would consider using LaTeX instead.
 
  • #6
jhae2.718 said:
Personally, if you're just using Mathematica to typeset, I would consider using LaTeX instead.

In fact I use LaTeX everyday. I just wanted to learn a little about mathematica typesetting, but it doesn't seem so effective, at least at the beginning.
I saw one guy doing wonderful things (particularly interesting is the mixing of typesetting and interactive material), and I wanted to try...
 
  • #7
In that case, I'll stand back and let the Mathematica wizards here figure something out. (I'm a MATLAB guy.)
 
  • #8
If there is a traditional way of displaying/publishing what you want then TraditionalForm can sometimes help. For Example:

TraditionalForm[HoldForm[f = {{3x+2y==5}, {2x+3z==4}, {4x+2z == 1}, {t == 1}}]]

If there is no clear traditional way of displaying what you want then this will likely not help.

There was one fairly thin book published about twenty years ago that did have a brief introduction to publishing using Mathematica. Unfortunately I cannot recall the title, but I did hold it in my hands once and since you know that it is out there you might try a variety of searches to see if you could stumble onto it.

For more serious control of the layout of a page within Mathematica people start creating modified stylesheets and this may lead you in helpful directions

http://www.google.com/search?q=mathematica+stylesheets

Caution is always recommended before you start changing system stylesheets.
 

1. What is Mathematica and how is it used?

Mathematica is a computational software program used for mathematical, scientific, and engineering calculations. It allows for symbolic and numerical computations, data analysis, and visualization. It is commonly used in research and education settings.

2. How does Mathematica handle systems of equations?

Mathematica has built-in functions for solving systems of linear and nonlinear equations. It uses advanced algorithms to efficiently and accurately find numerical solutions, as well as symbolic solutions when possible. It also has tools for visualizing and manipulating systems of equations.

3. Can Mathematica handle large systems of equations?

Yes, Mathematica is designed to handle complex and large-scale computations. It has capabilities for parallel and distributed computing, allowing it to efficiently solve systems of equations with a large number of variables and equations.

4. Can Mathematica solve systems of equations with constraints?

Yes, Mathematica has functions for solving systems of equations subject to constraints. It can handle both equality and inequality constraints, and can find solutions that satisfy all constraints or minimize/maximize a certain quantity.

5. Is Mathematica only useful for solving systems of equations?

No, Mathematica has many other features and capabilities beyond solving systems of equations. It can perform various mathematical and statistical operations, generate visualizations, and work with data sets. It also has functions for optimization, differential equations, and more.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
93
  • Differential Equations
Replies
2
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
1K
Replies
1
Views
707
  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
1K
  • Differential Equations
Replies
4
Views
1K
  • Precalculus Mathematics Homework Help
Replies
19
Views
1K
Back
Top