DGS Studio

Example library

Math example pages

Browse written example pages for DGS Studio graphs, charts, and equations, including 2D curves, 3D surfaces, calculus, Fourier series, fractals, and geometry.

There are 380 pages, one for each sample already in DGS Studio. The equation on each page is the gallery expression, not a rewritten copy. Open a page to read how the expression works, edit it, and generate it in the studio. Choosing Try example inside the studio still loads that sample in one click.

Statistical Analysis

Statistical Analysis examples you can open in DGS Studio.

Charts

CSV samples for the chart workflow. Each table below is complete and can be edited before it is drawn.

Implicit Curves

Real implicit relations and smooth contours: circle, ellipse, hyperbola, parabola, and the folium of Descartes.

Calculus Theorems

Verify the hypotheses of Rolle's theorem and the Mean Value Theorem, then solve for interior tangent points.

Limits & Continuity

Finite and infinite limits, one-sided approaches, and continuity checks with the original function kept in Graph.

Functions & Inverses

Compose functions in the specified order, find one-to-one inverses, and preserve domain restrictions.

Multiple Equations

Multiple Equations examples. Each page explains the expression, then opens it in the graph workspace.

Polar & Fourier Curves

Roses, modulated radii, and Fourier sums, including the constant contributed by a₀.

2D Examples

Parametric drawings on the flat board, including a Fourier heart, coefficient sums, and a curve rebuilt from an FFT.

Physics / Oscillations

Physics / Oscillations examples. Each page explains the expression, then opens it in the graph workspace.

3D / Dynamical Systems

3D / Dynamical Systems examples. Each page explains the expression, then opens it in the graph workspace.

Fractals

Repeated geometric rules and the quadratic Mandelbrot and Julia sets.

Physics Simulations

Physics Simulations examples. Each page explains the expression, then opens it in the graph workspace.

Sequences & Mathematical Patterns

Sequences & Mathematical Patterns examples. Each page explains the expression, then opens it in the graph workspace.

Core Graphing

Ordinary explicit graphs, intersections, asymptotes, and a derivative you can plot.

Step & Integer Functions

Step & Integer Functions examples. Each page explains the expression, then opens it in the graph workspace.

Riemann Zeta

Riemann Zeta examples. Each page explains the expression, then opens it in the graph workspace.

Interactive Calculus

Sliders, secants, Riemann sums, and transformations of a parent function.

Advanced Visualization

Advanced Visualization examples. Each page explains the expression, then opens it in the graph workspace.

Geometry

Common tangents of two circles, with the length formula evaluated for these radii.

Distance Formula

The distance between two points, simplified when the squared length is a perfect square.

Sets & Venn Diagrams

Sets & Venn Diagrams examples. Each page explains the expression, then opens it in the graph workspace.

Pascal's Triangle

Pascal's Triangle examples. Each page explains the expression, then opens it in the graph workspace.

Linear Algebra / Matrices

Matrices acting on the unit square, including rotations, shears, determinants, and inverses.

Matrix Transformations & Linear Algebra

Interactive matrix pictures: 2D and 3D transformations, real eigenvectors, and the singular value decomposition. Each card opens in Generate Graph.

Spherical Coordinates

Point conversions and rho surfaces. The angle order depends on which notation you use.

Spherical Triangles

Spherical Triangles examples. Each page explains the expression, then opens it in the graph workspace.

3D Surfaces

Height fields, quadrics, and parametric surfaces in the shared 3D viewer.

Parametric Curves

Parametric Curves examples. Each page explains the expression, then opens it in the graph workspace.

3D Parametric Curves

3D Parametric Curves examples. Each page explains the expression, then opens it in the graph workspace.

3D Graph

Surfaces and volumes of revolution in the shared 3D viewer, including Gabriel's Horn.

Implicit 3D

Implicit 3D examples. Each page explains the expression, then opens it in the graph workspace.

3D

3D examples. Each page explains the expression, then opens it in the graph workspace.

Calabi–Yau

Calabi–Yau examples. Each page explains the expression, then opens it in the graph workspace.

Hyperbolic Functions

Hyperbolic Functions examples. Each page explains the expression, then opens it in the graph workspace.

3D Coordinate Systems

3D Coordinate Systems examples. Each page explains the expression, then opens it in the graph workspace.

Roots & Radicals

Roots & Radicals examples. Each page explains the expression, then opens it in the graph workspace.

Infinite Series

Infinite Series examples. Each page explains the expression, then opens it in the graph workspace.

Sigma / Σ Summation

Finite and infinite sums written with sum(expression, (index, start, end)). Equation cards return an exact value. Graph cards draw the same syntax as a curve, a polar loop, or a 3D surface.

Gamma & Continuous Factorial

Gamma & Continuous Factorial examples. Each page explains the expression, then opens it in the graph workspace.

Fourier Series

Fourier coefficients, trigonometric and complex series, and partial sums for a periodic function, including square, sawtooth, triangle, and semicircle waves.

Optimization

Single-variable optimization on an interval: critical points, endpoints, and the difference between an attained extreme and a supremum or infimum.

Lagrange Multipliers

One equality constraint in two or three variables. Equation cards solve the system grad f = lambda grad g with g = 0 and classify each stationary candidate. Graph cards draw the objective or the constraint in the existing 3D viewer.

Taylor & Maclaurin

Taylor and Maclaurin polynomials from derivatives and factorials. A center of 0 is the Maclaurin case. Equation cards show the computed steps. Graph cards plot the function, the polynomial, and the expansion center.

Differential Equations

First-order separable and linear equations, and second-order linear equations with constant coefficients. Equation cards show the method and the solution. Graph cards draw a slope field or the solution curve.

Numerical Methods

Newton, bisection, and secant approximations of a root. Equation cards show the iteration table and the residual. Graph cards draw the function, the iterates, and a step slider.

Vector Fields

Planar and spatial vector fields drawn as arrows. Length and color follow the magnitude. A zero vector is a marker, and an undefined sample is skipped.

Streamlines

Integral curves of a vector field. 2D streamlines are drawn on the board. 3D streamlines use the existing viewer. Direction arrows follow the flow, and a ray stops at the window or a singularity.

Line Integrals

Scalar line integrals use the arc-length element. Vector line integrals use F·dr and keep the direction of the path. Equation cards show the steps. Graph cards draw the path.

Surface Integrals

Scalar surface integrals use the area element. Flux uses the oriented normal from the parameterization. The surface is drawn in the existing 3D viewer.

Vector Calculus Theorems

Green's theorem, Stokes' theorem, and the divergence theorem. Each command computes both sides, checks the hypotheses, and draws the region with its orientation.

Implicit Curves

Real implicit relations and smooth contours: circle, ellipse, hyperbola, parabola, and the folium of Descartes.

Calculus Theorems

Verify the hypotheses of Rolle's theorem and the Mean Value Theorem, then solve for interior tangent points.

Limits & Continuity

Finite and infinite limits, one-sided approaches, and continuity checks with the original function kept in Graph.

Functions & Inverses

Compose functions in the specified order, find one-to-one inverses, and preserve domain restrictions.

Modulo / Remainder

Modulo / Remainder examples solved in the equation workspace, with the original expression kept editable.

Simplify Expressions

Simplify Expressions examples solved in the equation workspace, with the original expression kept editable.

Equation Solving

Algebra, identities, and puzzles solved with steps rather than plotted as curves.

Integer Solutions

Integer Solutions examples solved in the equation workspace, with the original expression kept editable.

Cryptarithm / Alphametic

Cryptarithm / Alphametic examples solved in the equation workspace, with the original expression kept editable.

Calculus

Derivatives, integrals, limits, and multivariable calculus with exact steps.

equation Derivative Differentiate an expression in Solve Equation. equation Integral Evaluate indefinite and definite integrals. equation Fundamental Theorem of Calculus Differentiate an integral whose limit depends on the variable. equation Improper Integral Evaluate an integral with an infinite bound. equation Area Between Curves Integrate the absolute difference of two curves. equation Volumes of Revolution Exact volumes by the disk, washer, and cylindrical shell methods. equation Scalar Line Integral Integrate a scalar field along a parameterized curve with respect to arc length. equation Vector Line Integral Integrate a vector field along a parameterized curve. equation Closed Line Integral Integrate a vector field around a closed curve. equation Scalar Surface Integral Integrate a scalar field over a parameterized surface. equation Vector Surface Flux Integral Integrate the flux of a vector field through a parameterized surface. equation Closed Surface Integral Integrate the outward flux of a vector field through a closed surface. equation Triple Integral Evaluate an iterated triple integral. The innermost limit is written first. equation Volume of a Sphere Integrate over a named solid region. equation Green's Theorem Compare a closed planar line integral with the double integral of its curl. equation Stokes' Theorem Compare circulation around a closed curve with the flux of the curl. equation Divergence Theorem Compare the outward flux through a closed surface with the triple integral of the divergence. equation Double Integrals Evaluate an iterated double integral and view the region in 3D. equation Partial Derivatives Differentiate with respect to one variable and show the surface in 3D. equation Gradient Show the gradient as a 2D vector field, with a 3D surface available. equation Tangent Plane Draw the tangent plane on the surface at the chosen point. equation Directional Derivatives Measure the slope of the surface along a direction in the plane. equation Limit Evaluate standard and removable limits.

Optimization

Single-variable optimization on an interval: critical points, endpoints, and the difference between an attained extreme and a supremum or infimum.

Pascal's Triangle

Pascal's Triangle examples solved in the equation workspace, with the original expression kept editable.

Number Systems

Number Systems examples solved in the equation workspace, with the original expression kept editable.

Roots & Radicals

Roots & Radicals examples solved in the equation workspace, with the original expression kept editable.

Infinite Series

Infinite Series examples solved in the equation workspace, with the original expression kept editable.

Factorial & Gamma

Factorial & Gamma examples solved in the equation workspace, with the original expression kept editable.

Sigma / Σ Summation

Finite and infinite sums written with sum(expression, (index, start, end)). Equation cards return an exact value. Graph cards draw the same syntax as a curve, a polar loop, or a 3D surface.

Advanced Mathematics

Laplace transforms, determinants, matrix inverses, finite-set union and intersection, and convolution. Each example keeps an exact result and the original command.

Matrix Operations

Matrix Operations examples solved in the equation workspace, with the original expression kept editable.

equation Matrix Multiplication (2×2) Multiply a 2×2 matrix by a 2×2 matrix. The exact product is [[26,18],[9,17]]. equation Matrix Multiplication (3×3) Multiply two 3×3 matrices. The exact product is [[30,24,18],[84,69,54],[138,114,90]]. equation Rectangular Matrix Multiplication Multiply a 2×3 matrix by a 3×2 matrix. The exact product is [[58,64],[139,154]]. equation Identity Matrix Multiplication Multiply by the 2×2 identity with matmul. The matrix stays [[3,7],[2,5]]. equation Matrix Multiplication with Negative Numbers Multiply matrices that contain negative entries. The exact product is [[-19,22],[43,-50]]. equation Matrix Addition Add two 2×2 matrices of the same shape. The exact sum is [[6,8],[10,12]]. equation Matrix Subtraction Subtract two 2×2 matrices of the same shape. The exact difference is [[8,6],[4,2]]. equation Scalar Matrix Multiplication Multiply every entry by 3. The exact result is [[3,6],[-9,12]]. equation Decimal Matrix Multiplication Multiply matrices with decimal entries. The exact product is [[5/2,6],[9/2,2]]. equation Incompatible Multiplication Dimensions Expected Error. A 2×2 matrix cannot be multiplied by a 1×3 matrix. equation Invalid Matrix Row Lengths Expected Error. The first matrix has rows of different lengths. equation Incompatible Matrix Addition Dimensions Expected Error. A 1×2 matrix cannot be added to a 2×2 matrix. equation Matrix Transpose (2×3) Swap rows and columns of a 2×3 matrix. The exact transpose is [[1,4],[2,5],[3,6]]. equation Matrix Transpose (3×3) Swap rows and columns of a 3×3 matrix. The exact transpose is [[1,4,7],[2,5,8],[3,6,9]]. equation Matrix Power (Positive Exponent) Raise the Fibonacci matrix to the fifth power. The exact result is [[8,5],[5,3]]. equation Matrix Power (Zero Exponent) A square matrix to the power 0 is the identity. The exact result is [[1,0],[0,1]]. equation Matrix Power (Negative Exponent) A negative exponent uses the inverse. The exact result is [[-2,1],[3/2,-1/2]]. equation Matrix Rank (Dependent Rows) The second row is twice the first. The rank is 1. equation Matrix Rank (Full Rank) Three independent rows. The rank is 3. equation Matrix Trace The diagonal entries 1, 5, and 9 add to 15. equation RREF (Dependent Rows) Row reduction leaves one nonzero row. The exact result is [[1,2,3],[0,0,0]]. equation RREF (3×3) This invertible matrix reduces to the identity [[1,0,0],[0,1,0],[0,0,1]]. equation Eigenvalues (Real) The real eigenvalues of this symmetric matrix are 3 and 1. equation Eigenvalues (Diagonal Matrix) A diagonal matrix has its diagonal entries as eigenvalues. They are 7, 4, and 2. equation Eigenvalues (Complex) A quarter turn has the complex eigenvalues I and -I. equation Eigenvectors (2×2) Eigenvalue 3 has direction [1,1], and eigenvalue 1 has direction [1,-1]. equation Eigenvectors (Repeated Eigenvalue) Eigenvalue 2 is repeated and the matrix is defective. One independent eigenvector is [1,0]. equation Gaussian Elimination (2 Variables) Forward elimination of an augmented matrix. The unique solution is x=8/5, y=9/5. equation Gaussian Elimination (3 Variables) Forward elimination of a 3-variable system. The unique solution is x=1, y=2, z=3. equation Matrix Solve (Unique Solution) Solve Ax=b. The exact unique solution is [8/5,9/5]. equation Matrix Solve (Infinite Solutions) Infinite solutions. The second equation repeats the first, so the solution set is [3-2*t, t]. equation Matrix Solve (No Solution) No solution. The two equations contradict, so the system is inconsistent. equation LU Decomposition (Partial Pivoting) Partial pivoting swaps the rows. The factors satisfy P*A = L*U. equation LU Decomposition (No Row Swap) The first pivot is already the largest, so P is the identity. equation QR Decomposition Householder reflections give a complete factorization with A = Q*R. equation Singular Value Decomposition Singular values are listed from largest to smallest. This diagonal matrix has 3 and 2. equation Cholesky Decomposition A symmetric positive-definite matrix factors as L*L^T. equation Moore-Penrose Pseudoinverse The pseudoinverse of a 3×2 matrix is 2×3. equation Least Squares (Overdetermined) The system has no exact solution. The least-squares approximation is x = [1/3, 3/2]. equation Least Squares (Underdetermined) Many exact solutions exist. The result is the one with the smallest length. equation Cholesky (Not Positive Definite) Expected Error. This symmetric matrix has a negative eigenvalue, so Cholesky factorization does not exist. equation Least Squares (Vector Length) Expected Error. The constant vector needs one entry for each row of the coefficient matrix. equation Symbolic Matrix Symbols, fractions, and radicals stay exact. The determinant is a*d-b*c, and the inverse assumes that value is not zero. equation Complex Matrix The letter I is the imaginary unit. This matrix is Hermitian and its determinant is 1. equation Jordan Normal Form A repeated eigenvalue with one block of size 2. The result gives J and P with A = P*J*P^(-1). equation Kronecker Product Each entry of the first matrix scales a copy of the second. The product is 4×4. equation Hadamard Product Entrywise multiplication gives [[5,12],[21,32]]. This is different from the ordinary matrix product. equation Hadamard Product (Different Shapes) Expected Error. Hadamard multiplication needs two matrices of the same shape. equation Matrix Norm The default is the Frobenius norm. For this matrix the exact value is 5. equation Matrix Exponential The exact exponential is [[cos(1),sin(1)],[-sin(1),cos(1)]]. It comes from the Jordan form, not a truncated series. equation Matrix Logarithm The principal logarithm is [[log(2),0],[0,log(3)]]. A matrix logarithm is not unique in general. equation Matrix Logarithm (Singular) Expected Error. A singular matrix has no logarithm. equation Characteristic Polynomial det(λI − A) expands to λ² − 4λ + 3 and factors as (λ − 3)(λ − 1). equation Null Space The null space has dimension 1. A basis vector is [[-2],[1]], and any scalar multiple is also a solution of Av = 0.

Fourier Series

Fourier coefficients, trigonometric and complex series, and partial sums for a periodic function, including square, sawtooth, triangle, and semicircle waves.

Lagrange Multipliers

One equality constraint in two or three variables. Equation cards solve the system grad f = lambda grad g with g = 0 and classify each stationary candidate. Graph cards draw the objective or the constraint in the existing 3D viewer.

Taylor & Maclaurin

Taylor and Maclaurin polynomials from derivatives and factorials. A center of 0 is the Maclaurin case. Equation cards show the computed steps. Graph cards plot the function, the polynomial, and the expansion center.

Differential Equations

First-order separable and linear equations, and second-order linear equations with constant coefficients. Equation cards show the method and the solution. Graph cards draw a slope field or the solution curve.

Numerical Methods

Newton, bisection, and secant approximations of a root. Equation cards show the iteration table and the residual. Graph cards draw the function, the iterates, and a step slider.

Line Integrals

Scalar line integrals use the arc-length element. Vector line integrals use F·dr and keep the direction of the path. Equation cards show the steps. Graph cards draw the path.

Surface Integrals

Scalar surface integrals use the area element. Flux uses the oriented normal from the parameterization. The surface is drawn in the existing 3D viewer.

Vector Calculus Theorems

Green's theorem, Stokes' theorem, and the divergence theorem. Each command computes both sides, checks the hypotheses, and draws the region with its orientation.