Demos | Mathematics - Wyatt's Notes
sources:
- text: Spivak - Calculus
This section covers essential mathematical techniques and theories. These foundations underpin quantitative reasoning across the sciences and are tested in both pure and applied contexts.
Interactive demonstrations provide a powerful way to develop mathematical intuition. Rather than passively reading definitions and theorems, demos let you manipulate variables, observe how functions behave, and build understanding through experimentation. Research in mathematics education consistently shows that students who engage with visual and interactive tools develop deeper conceptual understanding than those who rely solely on symbolic manipulation.
The demos in this section use WebAssembly-powered interactive tools that run directly in your browser. You can adjust parameters, see real-time changes in graphs and visualisations, and test your understanding by predicting outcomes before checking them.
Prerequisites: Review the prerequisite topics before attempting this section.
Topics
Section titled “Topics”Why Interactive Demos Matter in Mathematics
Section titled “Why Interactive Demos Matter in Mathematics”Mathematics is often taught as a purely abstract subject — a sequence of definitions, theorems, and proofs. While rigour is essential, it is not sufficient for true understanding. Many students can manipulate symbols correctly without understanding what the symbols mean. Interactive demos bridge this gap by providing visual, dynamic representations of abstract concepts.
The Power of Visualisation
Section titled “The Power of Visualisation”Consider the concept of a derivative. Symbolically, the derivative of is . This tells you the rate of change at any point. But what does “rate of change” actually look like? An interactive demo can show you the tangent line moving along the curve, steepening as increases and becoming horizontal at . Seeing this动态 behaviour builds intuition that the symbolic expression alone cannot provide.
Similarly, eigenvalues and eigenvectors are defined algebraically as scalars and non-zero vectors satisfying . But geometrically, an eigenvector is a direction that is merely stretched (not rotated) by a linear transformation, and the eigenvalue is the factor by which it is stretched. An interactive demo showing a transformation acting on a grid of points, with eigenvectors highlighted, makes this geometric meaning immediately clear.
Learning Through Experimentation
Section titled “Learning Through Experimentation”Interactive demos support a constructivist approach to learning mathematics. Rather than being told a theorem, you discover it through experimentation:
- Observe — Manipulate parameters and watch how the output changes
- Hypothesise — Formulate a conjecture based on your observations
- Test — Check your conjecture with different parameter values
- Generalise — Determine whether your conjecture holds in general
- Prove — Construct a rigorous proof (or understand why the theorem is true)
This cycle mirrors how mathematical knowledge is actually created. Professional mathematicians work by experimenting, conjecturing, and then proving. Demos let you experience this process at an accessible level.
Types of Interactive Demos
Section titled “Types of Interactive Demos”Function Visualisers
Section titled “Function Visualisers”Function visualisers let you input a function and see its graph in real time. You can:
- Adjust coefficients and observe how the graph changes
- Zoom in to inspect local behaviour (e.g. near a root or inflection point)
- Add tangent lines, secant lines, or area representations
- Compare multiple functions on the same axes
Example experiment: Plot and . What happens to the period when you double the frequency? Now try . What changes? Can you predict the graph of before plotting it?
Matrix Transformation Demos
Section titled “Matrix Transformation Demos”Matrix transformation demos show how linear transformations affect points in the plane or in 3D space. You can:
- Apply rotation, scaling, shearing, and reflection matrices
- See how the unit square or unit circle is transformed
- Identify eigenvectors visually (directions that are merely stretched)
- Compose transformations and observe the result
Example experiment: Apply the matrix to a set of points. Which directions are stretched? Which direction is preserved? Can you identify the eigenvectors and eigenvalues from the visualisation?
Series and Sequence Demos
Section titled “Series and Sequence Demos”Series demos let you visualise partial sums of infinite series and observe convergence behaviour:
- Plot partial sums and watch them approach a limit
- Compare convergent and divergent series side by side
- Visualise geometric series as areas or lengths
- See how the remainder decreases as increases
Example experiment: Visualise the partial sums of . How quickly do the partial sums converge? Compare with . Why does one converge while the other diverges?
Probability and Statistics Demos
Section titled “Probability and Statistics Demos”Probability demos help you develop intuition for random processes:
- Simulate coin flips, dice rolls, and card draws
- See the law of large numbers in action — does the empirical probability approach the theoretical probability?
- Visualise the central limit theorem — what happens to the distribution of sample means as sample size increases?
- Explore conditional probability with Venn diagrams or tree diagrams
Example experiment: Flip a coin 100 times and record the proportion of heads. Repeat this process 1000 times. Plot the distribution of proportions. What shape does it take? How does the spread change with more flips?
Worked Example: Exploring Calculus Concepts with Demos
Section titled “Worked Example: Exploring Calculus Concepts with Demos”Understanding Limits
Section titled “Understanding Limits”The formal definition of a limit ( means for every there exists a such that if then ) is notoriously difficult to grasp intuitively. An interactive demo can help:
- Choose a function — Start with near
- Observe the graph — The function appears to approach as approaches , but the function is undefined at
- Adjust epsilon — Set . For what range of -values is within of ?
- Find delta — The demo shows the corresponding interval. As you decrease , what happens to ?
- Generalise — This process demonstrates the formal definition: you can always find a for any
Understanding Integration
Section titled “Understanding Integration”The definite integral can be visualised as the area under a curve. An interactive demo can:
- Show Riemann sums — Partition the interval into subintervals and draw rectangles. The area of the rectangles approximates the integral.
- Increase — As you increase the number of rectangles, the approximation improves. Watch the error decrease.
- Compare methods — Left endpoint, right endpoint, midpoint, and trapezoidal rules give different approximations. Which is most accurate for a given function?
- Reveal the exact area — The demo can compute the exact integral analytically and compare it with the numerical approximation.
Understanding Linear Algebra Concepts
Section titled “Understanding Linear Algebra Concepts”Eigenvalues and eigenvectors can be explored interactively:
- Start with a 2×2 matrix — For example,
- Apply the transformation — Watch how the plane is stretched and sheared
- Identify invariant directions — Some directions are merely stretched, not rotated. These are the eigenvectors.
- Measure the stretching factor — The eigenvalues tell you by how much each eigenvector is stretched
- Try different matrices — What happens with a rotation matrix? (Hint: no real eigenvectors exist for rotations other than 0° and 180°)
Study Approach
Section titled “Study Approach”Begin with the topic summaries, then work through the practice problems to test your understanding. Use the cross-references to link related concepts across subjects where applicable.
Tips for Using Interactive Demos Effectively
Section titled “Tips for Using Interactive Demos Effectively”Don’t just watch — interact. The value of demos comes from manipulating parameters yourself. Change values, observe the results, and form your own conclusions.
Make predictions first. Before adjusting a parameter, predict what will happen. Then check your prediction. Being wrong is informative — it reveals a gap in your understanding.
Keep a demo journal. Record your observations: what you tried, what you expected, and what actually happened. This documentation reinforces learning and helps you remember key insights.
Connect visualisations to symbols. After observing a pattern visually, try to express it algebraically. For example, after seeing that eigenvalues determine stretching factors, write down the characteristic equation and solve it.
Use demos to prepare for exams. Before an exam, review key concepts using demos. Visualising a concept is often faster and more memorable than re-reading notes.
Key Concepts
Section titled “Key Concepts”This section introduces fundamental concepts that form the foundation for advanced study. Understanding these core ideas is essential before progressing to more complex topics.
Functions and Their Behaviour
Section titled “Functions and Their Behaviour”A function assigns to each element of a set (the domain) exactly one element of a set (the codomain). Functions are the fundamental objects of calculus and analysis. Key properties include:
- Continuity — A function is continuous at if . Informally, the graph can be drawn without lifting the pen.
- Differentiability — A function is differentiable at if exists. Differentiability implies continuity, but not vice versa (e.g. is continuous but not differentiable at ).
- Monotonicity — A function is increasing if and decreasing if .
- Concavity — A function is concave up if and concave down if .
Sequences and Series
Section titled “Sequences and Series”A sequence is an ordered list of numbers . A series is the sum of a sequence: .
Key convergence tests include:
- Geometric series — converges if , with sum
- p-series — converges if
- Ratio test — If , the series converges if and diverges if
Linear Algebra Fundamentals
Section titled “Linear Algebra Fundamentals”Linear algebra studies vector spaces and linear maps between them. Core concepts include:
- Vectors — Elements of a vector space, which can be added together and scaled by scalars
- Matrices — Rectangular arrays of numbers representing linear transformations
- Determinants — Scalar values that encode information about a linear transformation (area scaling factor, invertibility)
- Eigenvalues and eigenvectors — Scalars and vectors satisfying
Common Mistakes
Section titled “Common Mistakes”Skipping prerequisite material before attempting this section: Demos are most effective when you already have some theoretical background. If you have not yet studied derivatives, a demo about tangent lines will be confusing rather than illuminating.
Not practising problems after reading the theory: Watching a demo is not the same as solving problems on your own. Use demos to build intuition, then test your understanding with pencil-and-paper exercises.
Failing to connect concepts across different topics: Mathematics is deeply interconnected. The derivative is a limit; the integral is a limit of sums; eigenvalues are roots of a characteristic polynomial. Look for these connections.
Over-relying on visual intuition without formal verification: Visualisations can be misleading, especially near discontinuities or for functions with subtle behaviour. Always verify your visual observations with algebraic or analytical arguments.
Neglecting edge cases: Demos often show “typical” behaviour. Always consider what happens at boundaries, in limits, or for degenerate cases. For example, the empty matrix has no eigenvalues, and the zero vector is excluded from the definition of eigenvectors.
Further Reading
Section titled “Further Reading”For deeper understanding, consult the recommended textbooks and additional resources linked throughout the topic pages.
- Calculus by Michael Spivak — A rigorous treatment of single-variable calculus with excellent exercises
- Linear Algebra Done Right by Sheldon Axler — A modern approach to linear algebra emphasising conceptual understanding
- Visual Complex Analysis by Tristan Needham — Demonstrates the power of visualisation in complex analysis
- Interactive Linear Algebra by Dan Margalit and Joseph Rabinoff — Free online textbook with interactive demos
Overview
Section titled “Overview”This section provides comprehensive study materials and resources. Content is organised to build understanding progressively, from foundational concepts to advanced applications.
Key Topics
Section titled “Key Topics”- Core concepts and definitions
- Worked examples with step-by-step solutions
- Practice problems for self-assessment
- Cross-references to related topics
Study Tips
Section titled “Study Tips”Begin with the introductory material before progressing to advanced topics. Use the practice problems to test your understanding and identify areas for further study.