Hotmath
Math Homework. Do It Faster, Learn It Better.

Functions

What is a Function?

A function is a way of dealing with an "input" , applying some "rule" (the function), and then getting an "output" .

A function is a set of ordered pairs in which no two different ordered pairs have the same x -coordinate.  An equation that produces such a set of ordered pairs defines a function.

What is the catch? There can be at most one output for every input. The inputs that make "sense" form the domain of the function, and the answers or outputs form the range .

Function Notation

We can call the input x , the rule f , and then the output is f ( x ) , read " f of x ".

This DOES NOT mean " f times x " , it's just a notation device to record the input and output.

For example, find the output of the function f ( x ) = x 2 when the input, x = 3 .

To find the output value when x = 3 , substitute 3 for x in the function.

f ( 3 ) = 3 2

3 2 means 3 times 3 .

f ( 3 ) = 3 × 3 = 9

(Note: f ( 3 ) is not f times 3 )

Think of f ( x ) = x 2 as f ( ) = ( ) 2 ; that way you can safely plug in negative numbers or even other expressions:

f ( 5 ) = ( 5 ) 2 = 25

f ( x + h ) = ( x + h ) 2

Functions and Relations

A function is a special type of relation . A relation is just a set of ordered pairs ( x , y ) . In formal mathematical language, a function is a relation for which:

if ( x 1 , y ) and ( x 2 , y ) are both in the relation, then x 1 = x 2 .

This just says that in a function, you can't have two ordered pairs with the same x -value but different y -values.

If you have the graph of a relation, you can use the vertical line test to find out whether the relation is a function.