# Why do we need the gradient function?

##### 1 Answer

Oct 9, 2014

The gradient function, or the idea of the gradient function, is vital for understanding calculus.

When we're dealing with a linear graph, the gradient function is simply calculating rise/run. In the real world, graphs don't always behave in a linear fashion, so we need a more accurate representation of the gradient function. However, we still need the basic idea of that linear gradient to explore how exactly we find out the gradient of a non-linear function at any point.