Mathematica at WWU

notes by Branko Ćurgus


Wolfram Mathematica at WWU

These notes are written for
which is available in BH 215, HH 233 and in the Math Center BH 209/211A. This is the most recent version that we have.
Getting started


Selected videos from wolfram.com

A good place to start with learning Mathematica are the following videos from wolfram.com. Please read my comments as well. One general comment: In the movies below please ignore everything that relates to free-form input. Your homework notebooks should not contain free-form linguistic input. Only Mathematica language is allowed for calculations on Assignments. Movies below are Wolfram movies posted on YouTube. The reason for linking to YouTube is that I liked these movies and I could not find them at the Wolfram site. However, you can find many more useful movies at the Wolfram site Getting Started with Mathematica.

Brackets in Mathematica

Before presenting a few examples of how to use Mathematica it is important to notice that there are five types of brackets in Mathematica:
Each example below uses some (or all) of these brackets. Please pay attention and make each example a learning experience.
What to do if things go wrong?

Eventually things will go wrong. Mathematica might stop responding. When this happens, there are 6 ordered actions that you can do to remedy things. Start with the first action, then proceed to the next one until Mathematica responds.
  1. Abort evaluation in the Evaluation menu; the keyboard shortcut is Alt+.
    (This means: hold down the Alt key, then press the . key.)
  2. In Evaluation menu chose Quit kernel, then click Local.
  3. Activate the Windows Task Manager by the keyboard shortcut Ctrl+Alt+Del, then select Processes tab. Highlight MathKernel.exe in the Processes list and click End Process.
  4. Exit the Mathematica notebook in the File menu; the keyboard shortcut is Ctrl+F4.
  5. Activate the Windows Task Manager by the keyboard shortcut Ctrl+Alt+Del, then highlight Mathematica in the Applications list and click End Task.
  6. Power off your computer

Random, but important remarks


Mathematica, like all good software, has a lot of shortcuts

Here I list shortcuts that I use often. Below Key1+Key2 means that you press Key1 and Key2 two together, while Key1-Key2 means that you press Key1 then Key2. When we use letter keys, then we do not write - between them. For example, Esc-pi-Esc means that you should press the Escape key then p, then i, then the Escape again. This is the shortcut for the Greek lower case $\pi.$ I use capitalized Key1, since the names of all named keys on a keyboard are capitalized. In describing keyboard shortcuts below, I use lover case letters as names of alphabet keys. When I write a capital letter that means that one has to use the Shift key, as you would to type a capital letter.
Arithmetic in Mathematica


Mathematical functions and their explorations


Recursively defined functions


Linear Algebra in Mathematica