Graph Types
FlashcardZen supports five types of mathematical graphs. Each type uses different variables and expression formats.
| Type | Variables | Format | Example |
|---|---|---|---|
| 2D Function | x | y = f(x) | sin(x) |
| 3D Surface | x, y | z = f(x, y) | x^2 + y^2 |
| Parametric Curve | t | x(t), y(t), z(t) | sin(t), cos(t), t/5 |
| Vector Field | x, y, z | vx, vy [, vz] | y, -x |
| Vector | — | ox, oy, oz, vx, vy, vz | 0, 0, 0, 1, 1, 1 |
Supported Functions
All standard mathematical operations are supported:
Basic Operators
+Addition-Subtraction*Multiplication/Division^Power (e.g., x^2)Trigonometric
sin(x)Sinecos(x)Cosinetan(x)Tangentasin(x)Arc sineacos(x)Arc cosineatan(x)Arc tangentExponential & Log
exp(x)e^xlog(x)Natural log (ln)log10(x)Base-10 logsqrt(x)Square rootcbrt(x)Cube rootOther Functions
abs(x)Absolute valuefloor(x)Round downceil(x)Round upround(x)Round to nearestsign(x)Sign (-1, 0, 1)Constants
pi = 3.14159...e = 2.71828...Examples by Graph Type
2D Function (y = f(x))
sin(x) x^2 cos(x) + 1 1/x exp(-x^2) abs(sin(x) * x)
3D Surface (z = f(x, y))
x^2 + y^2 sin(x) * cos(y) sqrt(x^2 + y^2) exp(-(x^2 + y^2)) sin(sqrt(x^2 + y^2))
Parametric Curve (x(t), y(t), z(t))
Three comma-separated expressions for x, y, and z coordinates:
sin(t), cos(t), t/5 // helix cos(t), sin(t), 0 // circle in XY plane t*cos(t), t*sin(t), t // 3D spiral sin(t), sin(2*t), sin(3*t) // Lissajous curve
Vector Field (vx, vy [, vz])
Two or three comma-separated expressions for velocity components:
y, -x // 2D rotation (counterclockwise) -y, x // 2D rotation (clockwise) x, y // divergence (outward flow) -x, -y // convergence (inward flow) y, -x, z // 3D helical field
Vector (origin + direction)
Six numbers: origin (ox, oy, oz) and direction (vx, vy, vz):
0, 0, 0, 1, 1, 1 // from origin to (1,1,1) 0, 0, 0, 1, 0, 0 // unit vector along X 2, 0, 0, 0, 1, 0 // from (2,0,0) along Y 1, 1, 1 // shorthand: origin at (0,0,0)
Tip: Use just 3 values (vx, vy, vz) for vectors starting from origin.
Domain Configuration
Use the "Domain" tab in the graph editor to adjust the viewing range:
X, Y, Z Range
Controls the viewing area for all axes. Range is symmetric, e.g., [-5, 5].
t Range (Parametric only)
For parametric curves, controls the parameter t range independently.