All Posts
Resources

A Guide to Wolfram Alpha and Mathematica for Students

A practical guide to using Wolfram Alpha and Mathematica for mathematics: from quick computations and plotting to symbolic algebra, solving differential equations, and exploring mathematical concepts.

What Are Wolfram Alpha and Mathematica?

Wolfram Alpha and Mathematica are two closely related products from Wolfram Research, founded by Stephen Wolfram. They are among the most powerful computational tools available to mathematics students.

  • Wolfram Alpha is a free, web-based computational knowledge engine. You type a query in natural language or mathematical notation, and it returns computations, plots, and information.
  • Mathematica is a full-featured computational software system with its own programming language (the Wolfram Language). It is much more powerful than Wolfram Alpha but requires a license.

Both are built on the same underlying Wolfram Language, but they serve different purposes and audiences.


Wolfram Alpha: The Quick Calculator

What It Can Do

Wolfram Alpha handles an enormous range of mathematical queries. Here are some examples:

Algebra and arithmetic:

  • Type solve x^2 - 5x + 6 = 0 to get x=2x = 2 and x=3x = 3
  • Type factor x^4 - 1 to see (x1)(x+1)(x2+1)(x-1)(x+1)(x^2+1)
  • Type simplify (sin^2(x) + cos^2(x)) to confirm the result is 11

Calculus:

  • Type integrate x^2 sin(x) dx to compute x2sin(x)dx\int x^2 \sin(x) \, dx
  • Type derivative of ln(x^2 + 1) to find 2xx2+1\frac{2x}{x^2+1}
  • Type limit (sin x)/x as x -> 0 to confirm the limit is 11
  • Type Taylor series of e^x at x=0 to see 1+x+x22!+x33!+1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \cdots

Linear algebra:

  • Type eigenvalues {{2,1},{1,2}} to find the eigenvalues of the matrix (2112)\begin{pmatrix} 2 & 1 \\ 1 & 2 \end{pmatrix}
  • Type determinant {{1,2,3},{4,5,6},{7,8,9}} to compute the determinant
  • Type row reduce {{1,2,3},{4,5,6},{7,8,10}} for row echelon form

Number theory:

  • Type is 2^61 - 1 prime to check primality
  • Type prime factorization of 123456789
  • Type gcd(84, 120) to find the greatest common divisor

Plotting:

  • Type plot sin(x)/x from -10 to 10
  • Type 3D plot x^2 + y^2 for a surface plot
  • Type parametric plot (cos(3t), sin(2t)) for Lissajous curves

How to use it wisely: Wolfram Alpha is a tool for checking your work, exploring conjectures, and building intuition. It should not replace learning to compute by hand. Use it after you have attempted a problem yourself.

Wolfram Alpha Pro

Wolfram Alpha Pro ($7.25/month for students) adds:

  • Step-by-step solutions for integrals, derivatives, equations, and more
  • Extended computation time
  • Ability to upload data for analysis
  • Higher resolution plots

The step-by-step feature is particularly valuable for learning, as it shows you the method used at each stage.


Mathematica: The Full System

Getting Access

Mathematica licenses can be expensive for individuals, but many universities provide free access to students. Check with your institution's IT department or mathematics department.

Alternatively, Wolfram Cloud offers a free tier that lets you use the Wolfram Language in a web-based notebook environment with some computational limits.

The Wolfram Language Basics

Mathematica uses the Wolfram Language, which has a distinctive syntax:

(* Solving equations *)
Solve[x^2 - 5x + 6 == 0, x]
(* Output: {{x -> 2}, {x -> 3}} *)

(* Computing an integral *)
Integrate[x^2 Sin[x], x]
(* Output: -(-2 + x^2) Cos[x] + 2 x Sin[x] *)

(* Finding eigenvalues *)
Eigenvalues[{{2, 1}, {1, 2}}]
(* Output: {3, 1} *)

(* Plotting a function *)
Plot[Sin[x]/x, {x, -10, 10}]

(* Taylor expansion *)
Series[Exp[x], {x, 0, 5}]
(* Output: 1 + x + x^2/2 + x^3/6 + x^4/24 + x^5/120 + O[x]^6 *)

Key conventions:

  • Built-in functions are capitalized: Solve, Integrate, Plot
  • Square brackets for function arguments: Sin[x], not sin(x)
  • Double equals for equations: ==
  • Curly braces for lists: {1, 2, 3}

What Mathematica Can Do That Wolfram Alpha Cannot

Mathematica goes far beyond Wolfram Alpha's capabilities:

Symbolic computation at scale:

  • Compute with hundreds of variables simultaneously
  • Manipulate large symbolic expressions
  • Work with abstract algebraic structures

Programming:

  • Write functions, loops, and complex algorithms
  • Use functional programming paradigms (Map, Apply, Select)
  • Create interactive demonstrations with Manipulate

Advanced mathematics:

  • Group theory computations
  • Topological data analysis
  • Number-theoretic computations with arbitrary precision
  • Differential geometry calculations

Publication-quality output:

  • Beautiful 2D and 3D graphics
  • Animated plots
  • Export to PDF, SVG, or other formats

Example: Want to visualize how a family of curves y=xny = x^n changes as nn varies? In Mathematica:

Manipulate[
  Plot[x^n, {x, 0, 2}, PlotRange -> {0, 4}],
  {n, 0.1, 5}
]

This creates a slider that lets you see the curve change in real time.


Practical Use Cases for Math Students

Checking Homework

After solving a problem by hand, use Wolfram Alpha to verify your answer. This is especially useful for:

  • Integral evaluations where arithmetic errors are common
  • Matrix computations (determinants, eigenvalues, inverses)
  • Solutions to differential equations

Exploring Conjectures

Suppose you are studying number theory and wonder whether n2+n+41n^2 + n + 41 is prime for all positive integers nn. Use Mathematica to check:

Table[{n, n^2 + n + 41, PrimeQ[n^2 + n + 41]}, {n, 1, 50}]

You will discover that it fails at n=40n = 40, since 402+40+41=41240^2 + 40 + 41 = 41^2.

Visualization

Many mathematical concepts become clearer with visualization:

  • Plot the iterates of a dynamical system to understand chaos
  • Visualize the Riemann surface of z\sqrt{z}
  • Plot level curves of functions f(x,y)f(x,y) to understand topology
  • Animate convergence of Fourier series

Preparing Figures for Papers

If you need figures for a paper or presentation, Mathematica produces publication-quality graphics. The output can be exported directly to PDF or SVG format.


Tips for Effective Use

1. Learn the Syntax Gradually

You do not need to master the Wolfram Language all at once. Start by using Wolfram Alpha for quick queries, then gradually learn Mathematica syntax for more complex tasks.

2. Use the Documentation Center

Mathematica has one of the best documentation systems of any software. Every function has a detailed page with:

  • Description and syntax
  • Examples (from basic to advanced)
  • Related functions
  • Links to tutorials

Access it from within Mathematica or at reference.wolfram.com.

3. Try the Wolfram Demonstrations Project

The Wolfram Demonstrations Project hosts thousands of interactive demonstrations created with Mathematica. These are excellent for:

  • Seeing what is possible with Mathematica
  • Learning visualization techniques
  • Finding demonstrations relevant to your courses

4. Use Notebooks for Exploration

Mathematica's notebook interface lets you combine code, output, and text in a single document. This makes it ideal for:

  • Keeping a computational research journal
  • Documenting your explorations
  • Creating lab reports or computational assignments

Warning: Do not become dependent on computational tools to the point where you cannot perform basic calculations by hand. The purpose of these tools is to augment your mathematical thinking, not replace it. In exams and proofs, you need to be able to work without a computer.


Alternatives Worth Knowing

SageMath

SageMath is a free, open-source alternative to Mathematica. It is built on Python and offers comparable symbolic computation capabilities. See our guide to SageMath and Python for details.

GeoGebra and Desmos

For quick graphing and geometric visualization, GeoGebra and Desmos are often faster and more convenient than Mathematica.

SymPy

SymPy is a Python library for symbolic mathematics. It is free, open-source, and integrates well with the broader Python ecosystem (NumPy, SciPy, Matplotlib).


Summary: When to Use What

ToolBest ForCost
Wolfram AlphaQuick computations, checking answersFree (Pro: $7.25/month for students)
MathematicaExtended computation, programming, visualizationUniversity license or $70/year for students
Wolfram CloudCloud-based Wolfram Language accessFree tier available
SageMathFree alternative to MathematicaFree
DesmosQuick function graphingFree

Final Thoughts

Wolfram Alpha and Mathematica are extraordinarily powerful tools for mathematics students. Wolfram Alpha gives you instant access to computational power for checking work and exploring ideas. Mathematica provides a complete environment for serious mathematical computation, visualization, and programming.

Used wisely, these tools can accelerate your learning and deepen your understanding. The key is to treat them as extensions of your mathematical thinking, not substitutes for it.


References