O'Reilly logo

Beginning Pre-Calculus for Game Developers by Boris Meltreger, John P. Flynt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Lines that Parallel the x and y Axes

Some linear functions are known as constant functions. They are characterized by vertical or horizontal lines that run parallel to the y or x axes. These functions assume one of two forms. In the first form, the value of y remains the same regardless of the position you plot relative to the x axis. This line runs parallel to the x axis and is distinguished only by the changing value of x.

y = a

In y = a, a identifies a constant value. When you plot such a function, the graph assumes the form shown in Figure 10.8. You equate the lines this figure shows as a flat slope. In other words, the slope has no rise, only a run. For all values of x, y remains the same.

Figure 10.8. A constant value on the y axis creates ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required