O'Reilly logo

Beginning Math and Physics for Game Programmers by Wendy Stahler

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

Chapter 1, “Points and Lines”

Equation of a Line

The graph of an equation of the form Ax + By = C, where A and B are not both 0, is a straight line.

Slope

For any line in standard form, Ax + By = C, the slope m = –A/B.

Parallel Lines

If two lines are parallel, their slopes must be equal.

Perpendicular Lines

If two lines are perpendicular,

Equation of a Line

Slope-intercept form: y = mx + b

Point-slope form: (yy1) = m(xx1)

where (x1,y1) is a point on the line.

System of Linear Equations

A system of two linear equations in the same plane has ...

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