So far, we have only described lines where the distance between any two points on the line is well defined by a “metric”. Before we look at how to draw curves, let’s remind ourselves what a line looks like in math language:
(x, y) = (x0, y0) + (Dx, Dy)*S
The starting point on the line is (x0, y0) and the direction the line takes (Dx, Dy) in a cartesian coordinate system, and “S” is the distance from the starting point. Note that “S” serves as an index or indicator for every point on the line. In math language, “S” is known as the “independent variable”. It determines the exact point on a line a distance “S” from the starting point. Of course, we assume we already know the starting point (x0, y0) and direction (Dx, Dy) of the line.
In “function notation” we put the independent variable (S) next to the “dependent variables” (x and y) in parenthesis to remind ourselves that if we pick a number for “S”, it will give us an exact point (x(S), y(S)) on the line:
(x(S), y(S)) = (x0, y0) + (Dx, Dy)*S
This “function” notation is extremely helpful. We can use this notation to replace the variable “S” with any number or symbol we wish. For example, let us replace the variable “S” with “t” (like a “cut-paste” of “S” with “t”):
(x(t), y(t)) = (x0, y0) + (Dx, Dy)*t
We can even replace “S” with a mathematical statement:
(x(S+3), y(S+3)) = (x0, y0) + (Dx, Dy)*(S+3)
The rule is that whatever goes in the parenthesis in function notation it is substituted into the “function” at the appropriate place.
Now we can start drawing curves by considering functions that are “non-linear” (they don’t draw a line). We have already looked at how to draw a circle. You may recall that we use the same equation for a line, but instead of varying the distance “S” we varied the direction (Dx, Dy) = (Cos(t), Sin(t)), where “t” is the angle off the x-axis. So, the equation for a circle of radius S=1, centered at (x0, y0) = (0, 0) would be written:
(x(t), y(t)) = (Cos(t), Sin(t))
where “t” goes from 0 to 360 degrees. We could also draw just any arc of the circle by determining the range that the angle “t” spans, for example, a quarter circle is drawn when t goes from 0 to 90 degrees. You get the idea.
We should mention at this point that we chose “t” as the “index” that indicates where any point is on the curve. It doesn’t tell us how much distance traveled along the curve, or even the time that it takes for a point to travel along the curve. It is just taken as a general parameter. In the case of the circle of radius 1, we know that the circumference is 2*Pi over 360 degrees and so the distance traveled along the circle from 0 to the angle “t” is S = 2*Pi * (t/360).
Now we can have fun drawing a bunch of curves, using this function notation.
An oval that has major axis 3 and minor axis 2 has this equation:
(x(t), y(t)) = (3*Cos(t), 2*Sin(t))
A spiral that starts at (0, 0) and goes to (1, 0) is drawn by this equation:
(x(t), y(t)) = ((t/360)*Cos(t), (t/360)*Sin(t))
We can also draw curves in 3-dimensions just as easily; here is a spiral around a cone:
(x(t), y(t), z(t)) = ((t/360)*Cos(t), (t/360)*Sin(t), t/360)
We can use any non-linear equation to draw a curve, like:
(x(t), y(t)) = (-2*t+3*t2, 2*t2-5*t3+4*t4)
We could keep going all day, curves are always visually interesting.
Later we will see how we can hook curves together to form any shape we want, but first we need another tool to analyze curves, differential calculus. It really is not as difficult as you might think, so keep tuned.























