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

Linear Graphs

A linear function generates a graph characterized by a slope that does not change. The line-slope-intercept equation provides a way to experiment with linear equations. Here is the line-slope-intercept equation as you have seen it in previous chapters:

f (x) = mx + b or y = mx + b

Drawing from Table 10.1, you can use this equation to generate a line with a positive slope of 2 and a y-intercept at 3:

y = 2x + 3

Table 10.1. Experiments with Linear Equations
ItemDiscussion
y = 2x + 3Creates an equation that slopes upward into quadrant I with the y-intercept at 3.

Creates a line that is perpendicular to the line you create with y = 2x

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