Sigma / Σ Summation
2D Parametric Sigma Curve
A closed parametric curve from the partial sums of cos(nt)/n and sin(nt)/n.
parametric(sum(cos(n*t)/n, (n, 1, 20)), sum(sin(n*t)/n, (n, 1, 20)), 0, 2*pi) draws x(t) and y(t) as twenty-term harmonic sums. t runs from 0 to 2π.
At t = 0 every cosine is 1 and every sine is 0, so the curve starts on the positive x-axis. The path is one closed parametric curve on the 2D board.
Equation
parametric(sum(cos(n*t)/n, (n, 1, 20)), sum(sin(n*t)/n, (n, 1, 20)), 0, 2*pi)
Polar and parametric curves
Polar and parametric equations describe a point by a rule instead of by y as a function of x. In polar form, a radius r depends on the angle θ, and the plotted point is (r cos θ, r sin θ). A negative radius is drawn in the opposite direction.
A parametric curve gives x(t) and y(t) separately. The parameter t is not a coordinate on the page; it only tells the pen how to move. Closed curves usually let t run from 0 to 2π. DGS samples the path and draws it as one JSXGraph curve.
Reading the input
parametric(sum(cos(n*t)/n, (n, 1, 20)), sum(sin(n*t)/n, (n, 1, 20)), 0, 2*pi)— This is a command. The name selects the routine, and the items inside the parentheses are its arguments.
Try a change
- If the expression contains an integer frequency, add 1 to it and generate again. Petal counts and tooth counts follow that integer.
- Shorten the parameter interval so t or θ stops at π. You should see only part of the closed curve.
Generate Graph posts the expression to the studio graph engine and draws the result on the homepage. The editable field is the entire input, including every line.