Math in computer game development

By Murray Bourne, 10 Jul 2008

A common cry in mathematics classrooms is, "When am I ever gonna use this stuff?"

I think it's a perfectly reasonable question and it is evidence of the learner seeking meaning in pages of mindless algebra.

Well, who uses math and how do they use it?

One field where math is alive, kicking and vital is the multi-billion dollar computer games industry.

I came across this Math and Physics forum in gamedev.net. It gives a fascinating insight into the things that game programmers are trying to achieve in their games and the math that they need to achieve it.

Some recent forum topics:

  • Collision detection (vectors, coordinate geometry, distance formula)
  • Mollweide projection (3-D geometry)
  • Checking if an x,y point is within an ellipse (analytical coordinate geometry)
  • Poker (probability)
  • Angular velocity
  • Matrix operations

I'm always impressed with how people freely give of their time and expertise on such forums.

That forum link again: Math and Physics forum

See also Math in computer games for another example of how math is being used every day in the computer games industry.

See the 1 Comment below.

One Comment on “Math in computer game development”

  1. Anuja says:

    It was really very intersting to learn that maths has so many fun applications and being a Bsc Maths student i will be more interested in knowing more such applications of maths which may be usefull in making my carrer choice.

Leave a comment


Comment Preview

HTML: You can use simple tags like <b>, <a href="...">, etc.

To enter math, you can can either:

  1. Use simple calculator-like input in the following format (surround your math in backticks, or qq on tablet or phone):
    `a^2 = sqrt(b^2 + c^2)`
    (See more on ASCIIMath syntax); or
  2. Use simple LaTeX in the following format. Surround your math with \( and \).
    \( \int g dx = \sqrt{\frac{a}{b}} \)
    (This is standard simple LaTeX.)

NOTE: You can't mix both types of math entry in your comment.

Search IntMath, blog and Forum