Maple Lab

A practice space where NAMSSN UI students can learn Maple from scratch and use it to support calculus, linear algebra, differential equations, and course-aligned worksheets.

How this lab fits together

Maple here is not just a calculator. It is a course companion: a place to test examples, visualise ideas from lectures, and store polished worksheets that match UI courses.

  • • This page: a Maple learning roadmap plus a scratchpad for planning commands.
  • • Subpages: slower, more detailed walkthroughs for beginners and tutors.
  • • Worksheets: carefully named .mw files tied to UI courses (calculus, algebra, ODEs,…).
🌱Absolute beginners welcome 📐Calculus & algebra support 🧮Linear algebra & ODEs 📁UI course worksheets

A student who works through the modules and uses Maple on real UI problems should be able to read, edit, and design their own Maple worksheets confidently.

Maple Lab path
Choose where to start, then come back here to sketch commands and plan your worksheets.

🌱 Foundations & interface

For students who have never opened Maple. Learn how to run commands, structure a worksheet, get help, and save your work safely.

Best place to start Open foundations

📐 Calculus & algebra

Functions, plots, limits, derivatives, integrals, and equation solving, all aligned with UI first- and second-year courses.

For analysis courses Open calculus track

🧮 Linear algebra & systems

Matrix operations, eigenvalues, linear systems, and simple dynamical systems, with Maple commands that mirror your lecture notes.

🧪 Projects & UI worksheets

A space for building full worksheets tied to specific UI courses, contests, and NAMSSN projects, including the ODE–Integration Bee.

For confident users Open project ideas

Module 0 • First contact with Maple Beginner

Start here if Maple is new to you. By the end of this module you should know how a worksheet is structured, how to run commands, and how to avoid losing your work.

0.1 Opening Maple and running your first commands

A Maple worksheet is made of input regions (where you type commands) and output regions (where Maple shows results). Lines end with a semicolon ; or a colon :.

  • 2 + 3;
  • 3^4; (powers)
  • sqrt(2);
Read the slow version in Foundations

Basic rule: press the Enter key (not just a new line) to execute an input region.

0.2 Understanding worksheet structure

A good worksheet has clear text blocks and tidy command blocks. You can type explanations in plain text, then insert input regions for Maple to execute.

In this module you practise:

  • • Creating a title and section headings.
  • • Separating text from commands.
  • • Saving and reopening .mw files safely.
0.3 Getting help and restarting Maple

Maple has built-in help. A few commands:

  • ?int — open help for the integral command.
  • ?LinearAlgebra — help for linear algebra commands.
  • restart; — clear all definitions and start fresh.

Module 1 • Calculus & algebra basics Beginner

Here you connect Maple directly to calculus and algebra courses: functions, plots, derivatives, integrals, and solving simple equations.

1.1 Defining functions and plotting graphs

In Maple, a function is often written as f := x -> expression;.

  • f := x -> sin(x) + x^2;
  • f(0); f(1); f(2);
  • plot( f(x), x = -2..2 );
Full notes on functions & plots
1.2 Differentiation and integration

Maple commands for calculus:

  • diff( f(x), x ); — derivative of f.
  • int( x^2, x ); — indefinite integral.
  • int( exp(-x^2), x = -infinity..infinity ); — definite integral.
1.3 Solving equations and inequalities

Two essential commands:

  • solve( x^2 - 5*x + 6 = 0, x );
  • fsolve( sin(x) = x/2, x ); (numerical solutions)

Module 2 • Linear algebra with Maple Intermediate

Maple’s LinearAlgebra package turns matrix computations into short, readable commands. Perfect for MAT 2xx / 3xx courses.

2.1 Matrices, vectors, and basic operations

Start by loading the package: with(LinearAlgebra):

with(LinearAlgebra):

A := Matrix([[1,2],[3,4]]);
B := Matrix([[0,1],[1,0]]);

A + B;
A . B;
Determinant(A);
Complete matrix walkthrough
2.2 Eigenvalues, eigenvectors, and diagonalisation

A compact way to explore eigenvalues:

  • Eigenvalues(A);
  • Eigenvectors(A);
  • JordanForm(A, output = 'P,J');

Module 3 • Differential equations & simple dynamics Advanced

Here you use Maple to solve standard ODEs, visualise solution curves, and experiment with simple dynamical systems tied to UI ODE courses and the ODE–Integration Bee.

3.1 Solving standard ODEs with dsolve

A first test problem:

de  := diff(y(x), x) = y(x);
sol := dsolve(de, y(x));

# With an initial condition y(0) = 1
sol_ic := dsolve({de, y(0) = 1}, y(x));
ODE examples & plots
3.2 Visualising solution curves and slope fields

Use DEplot (from DEtools) and plot to see how solutions behave. Typical tasks:

  • • Plot families of solutions for several initial conditions.
  • • Plot a slope field for a first-order ODE.
3.3 Building course-aligned Maple worksheets

The ambition of Module 3 is to design worksheets that map directly to UI courses: MAT 2xx, MAT 3xx, ODE–Integration Bee practice sheets, and project notes.

You decide:

  • • Which examples to include from each week’s lectures.
  • • How to structure your worksheet (sections, warm-ups, main examples, challenges).
  • • How to annotate results so that Maple output is easy to read later.

Long-term goal: a living library of Maple worksheets for UI mathematics, built and maintained by NAMSSN students.

Maple scratchpad Ready to copy

Draft commands here, then paste into Maple on your laptop.

This pad does not execute Maple (Maple runs on your own machine). It is a clean space to organise commands, pull examples from the modules, and prepare snippets before saving them as .mw files.

Quick inserts
Common patterns:
Scratchpad
Copy the whole pad in one click, then paste into Maple. You can keep separate files for each course (e.g. maple-mat212.mw, maple-ode-lab.mw). Copied to clipboard ✓

How to study with Maple

Maple is most powerful when it is woven into your normal study routine:

  • • After a lecture, recreate one example in Maple and add one new example of your own.
  • • Use Maple to check steps, not replace your reasoning.
  • • Change parameters, functions, or matrices and observe how the output changes.
  • • Save your worksheets in a clearly named folder (by course and semester).
  • • Reuse the same worksheet across the semester so it becomes a mini “course notebook”.

As NAMSSN UI expands this lab, tutors can attach real .mw worksheets to modules and link them from the resource pages for each course.