SAO Maths Primer


Mathematics Primer: Function

Function
Multi-variable function

A function is a relation that uniquely associates one set of numbers with members of another set. For example for f(x) , f is the function and x is an input number or "variable".

You can think of it as a "black box" which takes a variable x and returns a value f(x) . For example, for the function f(x) = x2

When plotting functions we usually plot the input number or variable in the horizontal axis (x axis), and the value returned by the function in the vertical axis (y axis). For the example above f(x) = x2 :

Multi-variable function

A function can depend on more than one variable, for example f( x, y, z ) is a function   f , which requires three input parameters ( x , y , z ) to produce a value. An example of a multi-variable function is the expression for Newton's Law of gravitation that gives the force between two bodies of masses m1 and m2 separated by a distance r :


This is a function F( m1 , m2 , r ) where you need three input parameters m1 , m2 and r to calculate the value for the force F .


Recommended Web Sites:

Eric Weisstein's world of Mathematics mathworld.wolfram.com

S.O.S. Mathematics www.sosmath.com


Return to Maths Primer page


Back to the Swinburne Astronomy Online Home Page

© Swinburne Copyright and disclaimer information
Maintained by: Rebecca Allen (rebeccaallen@swin.edu.au)
Authorised by: Prof. Jean Brodie (jbrodie@swin.edu.au)
Monday, 19-Nov-2007 11:19:37 AEDT