All Posts
Resources

GeoGebra and Desmos: Visualizing Mathematics

A hands-on guide to GeoGebra and Desmos, two powerful free tools for visualizing mathematical concepts, from function graphing and geometric constructions to 3D surfaces and interactive demonstrations.

Why Visualization Matters in Mathematics

Mathematical visualization is not just a pedagogical convenience — it is a thinking tool. Being able to see a function, manipulate a geometric construction, or rotate a 3D surface can reveal structure and patterns that formulas alone obscure.

Two free tools dominate mathematical visualization: Desmos and GeoGebra. This guide covers both in detail, showing you what each does best and how to use them effectively.


Desmos: The Fast, Beautiful Graphing Calculator

What Is Desmos?

Desmos is a free online graphing calculator known for its speed, beauty, and ease of use. It runs entirely in your browser with no installation needed.

Getting Started

Go to desmos.com/calculator and start typing expressions in the left panel. Desmos supports:

Functions:

  • Type y = sin(x) to plot the sine function
  • Type y = x^2 - 3x + 2 for a parabola
  • Type y = e^(-x^2) for a Gaussian curve

Implicit equations:

  • Type x^2 + y^2 = 1 to plot the unit circle
  • Type x^2/4 + y^2/9 = 1 for an ellipse
  • Type x^2 - y^2 = 1 for a hyperbola

Parametric curves:

  • Type (cos(t), sin(t)) for a circle
  • Type (cos(3t), sin(2t)) for Lissajous curves
  • Type (t - sin(t), 1 - cos(t)) for a cycloid

Polar curves:

  • Type r = 1 + cos(θ) for a cardioid
  • Type r = cos(3θ) for a rose curve

Sliders and Animation

One of Desmos's best features is parameter sliders. Type y = sin(ax) and Desmos automatically creates a slider for a. Drag the slider to see how the function changes in real time.

Try this: Plot y = sin(ax + b) in Desmos. Use the sliders for aa and bb to see how the frequency and phase shift affect the wave. This builds intuition faster than any textbook explanation.

Desmos Features for Math Students

Tables: Click the "+" button and add a table to plot discrete data points alongside continuous functions.

Regressions: Enter data points and type y_1 ~ ax_1 + b to perform linear regression. Desmos supports polynomial, exponential, and logarithmic regressions.

Calculus tools:

  • Derivatives: d/dx(sin(x)) displays the derivative
  • Integrals: from the keyboard or type \int to compute definite integrals
  • Summations: Type \sum for sigma notation

Inequalities: Type y > x^2 to shade the region above a parabola.

Restrictions: Use {condition} to restrict domains: y = sin(x) {0 < x < 2π}.

Sharing and Embedding

Every Desmos graph can be saved and shared via a unique URL. This makes it easy to:

  • Share graphs with classmates
  • Embed interactive graphs in websites and presentations
  • Create demonstrations for teaching

GeoGebra: The Comprehensive Mathematics Tool

What Is GeoGebra?

GeoGebra is a free, open-source mathematics software package that combines geometry, algebra, calculus, statistics, and 3D visualization in a single platform.

GeoGebra is more comprehensive than Desmos but has a steeper learning curve. It excels at interactive geometric constructions and 3D visualization.

GeoGebra Apps

GeoGebra offers several specialized apps:

All apps are free and run in your browser.

Geometric Constructions

GeoGebra's strength is interactive Euclidean geometry. You can:

  1. Construct points, lines, and circles using the toolbar
  2. Perform constructions (perpendicular bisectors, angle bisectors, tangent lines)
  3. Measure lengths, angles, and areas
  4. Drag points and watch the entire construction update dynamically

This is invaluable for:

  • Exploring geometric theorems (e.g., drag vertices of a triangle and watch the circumcenter move)
  • Discovering conjectures through experimentation
  • Creating figures for papers and presentations

Example: Construct a triangle and its three medians in GeoGebra. Drag any vertex and observe that the medians always intersect at a single point (the centroid). Now construct the circumcenter, incenter, and orthocenter. Observe how they move as you deform the triangle.

3D Visualization

GeoGebra's 3D calculator is excellent for visualizing:

Surfaces:

  • Type z = x^2 + y^2 for a paraboloid
  • Type x^2 + y^2 + z^2 = 1 for a sphere
  • Type z = sin(x) * cos(y) for an oscillating surface

Space curves:

  • Type Curve(cos(t), sin(t), t/5, t, 0, 10*π) for a helix

Planes and intersections:

  • Visualize the intersection of a plane with a surface
  • See cross-sections of solids of revolution

You can rotate the 3D view by dragging, zoom with the scroll wheel, and toggle surfaces on and off.

GeoGebra Classroom

GeoGebra Classroom allows teachers to create interactive activities and see student work in real time. If your instructor uses GeoGebra, you may encounter this in your courses.


Desmos vs GeoGebra: When to Use Which

FeatureDesmosGeoGebra
Function graphing (2D)Excellent — fast and beautifulGood
Geometric constructionsLimitedExcellent
3D visualizationNot available (2D only)Excellent
Ease of useVery easyModerate learning curve
Computer algebraBasicAvailable (GeoGebra CAS)
Speed and responsivenessVery fastGood
Mobile appsiOS, AndroidiOS, Android
SharingEasy URL sharingEasy URL sharing
Community resourcesLarge library of shared graphsEnormous library of materials

Bottom line: Use Desmos for quick 2D function graphing. Use GeoGebra for geometric constructions, 3D visualization, and more complex mathematical explorations.


Practical Applications for Math Students

Calculus

  • Visualize limits: Plot f(x)=sinxxf(x) = \frac{\sin x}{x} near x=0x = 0 to see the limit approaching 1
  • Explore derivatives: Plot a function and its derivative side by side to see the relationship between slope and the derivative graph
  • Riemann sums: GeoGebra has tools to visualize Riemann sum rectangles with adjustable partition size
  • Taylor polynomials: Plot exe^x alongside its Taylor polynomials of degree 1,2,3,1, 2, 3, \ldots and watch the approximation improve

Linear Algebra

  • Visualize linear transformations: In GeoGebra, create a 2D grid and apply a matrix transformation to see how it stretches, rotates, and shears the plane
  • Eigenvectors: Visualize which vectors maintain their direction under a transformation
  • Column space and null space: See the image and kernel of a linear map geometrically

Differential Equations

  • Direction fields: Both Desmos and GeoGebra can plot slope fields for first-order ODEs
  • Phase portraits: GeoGebra can visualize phase plane dynamics for systems of ODEs
  • Solution families: Use sliders to see how initial conditions affect the solution curve

Topology and Geometry

  • Surfaces: Visualize a Möbius strip, torus, or Klein bottle in GeoGebra 3D
  • Curvature: Plot curves and their osculating circles to visualize curvature
  • Geodesics: Explore shortest paths on surfaces

The GeoGebra Materials Library

GeoGebra Materials is a massive community library of interactive applets, worksheets, and demonstrations. Before creating something from scratch, search here — someone may have already built exactly what you need.

Key collections include:

  • Calculus visualizations (limits, derivatives, integrals)
  • Euclidean geometry theorem demonstrations
  • Linear algebra transformation tools
  • Probability and statistics demonstrations
  • 3D surface galleries

Tips for Effective Visualization

1. Use Visualization to Build Intuition, Then Prove

Visualization can suggest conjectures and reveal patterns. But always follow up with rigorous proofs. The picture might be misleading — continuous functions can behave in counterintuitive ways, and 3D surface plots can create optical illusions.

2. Explore Edge Cases

The most informative visualizations are those that explore extreme or boundary cases:

  • What happens as a parameter approaches 0 or infinity?
  • What does the function look like at its singularities?
  • How does the surface behave near its boundary?

3. Animate Parameters

Static plots show one instance; animations show relationships. Always use sliders and animation to understand how changing a parameter affects the mathematical object.

4. Create Your Own Demonstrations

Building a visualization forces you to think precisely about the mathematics. Even if a pre-built applet exists, creating your own version deepens your understanding.

5. Use Visualization in Your Writing

Include well-labeled figures in your homework, theses, and papers. Export plots as SVG or PDF for the highest quality. Both Desmos and GeoGebra support exporting.


Beyond Desmos and GeoGebra

For more specialized visualization needs:

  • Matplotlib (Python) — Full control over every aspect of your plots. See our SageMath and Python guide.
  • Manim (manim.community) — Create animations like 3Blue1Brown. Steep learning curve but stunning results.
  • TikZ (LaTeX) — For publication-quality diagrams embedded in your papers.
  • Mathematica — Excellent 3D visualization and animation capabilities.

Final Thoughts

Desmos and GeoGebra are essential tools for any mathematics student. They are free, accessible, and powerful enough to visualize virtually any concept you will encounter in your studies. Used alongside rigorous study, they can transform abstract ideas into concrete understanding.

Bookmark them, learn their basics, and make visualization a regular part of your mathematical practice.


References