Functions
A function is an equation with one input (variable) in which each unique input value yields no more than one output. The set of elements that make up the possible inputs of a function is the domain of the function. The set of elements that make up the possible outputs of a function is the range of the function.
A function commonly takes the form f(x) = x + c, where x is a variable and c is a constant. The values for x are the domain of this function. The values of f(x) are the range of the function.
If f(x) = 5x + 2, what is f(3)?
To find the value of a function given an input, substitute the given input for the variable: f(3) = 5(3) + 2 = 15 + 2 = 17.
Domain
The function f(x) = 3x has a domain of all real numbers. Any real number can be substituted for x in the equation, and the value of the function will be a real number.
The function f(x) = – 4 has a domain of all real numbers excluding 4. If x = 4, the value of the function would be
, which is undefined. In a function, the values that make a part of the function undefined are the values that are NOT in the domain of the function.
What is the domain of the function f(x) = ?
The square root of a negative number is an imaginary number, so the value of x must not be less than 0. Therefore, the domain of the function is x ≥ 0.
Range
As you just saw, the function f(x) = 3x has a domain of all real numbers. If any real number can be substituted for x, 3x can yield any real number. The range of this function is also all real numbers.
Although the domain of the function f(x) = – 4 is all real numbers excluding 4, the range of the function is all real numbers excluding 0, because no value for x can make f(x) = 0.
What is the range of the function f(x) = ?
You already found the domain of the function to be x ≥ 0. For all values of x greater than or equal to 0, the function will return values greater than or equal to 0.
Nested Functions
Given the definitions of two functions, you can find the result of one function (given a value) and place it directly into another function. For example, if f(x) = 5x + 2 and g(x) = –2x, what is f [g(x)] when x = 3?
Begin with the innermost function: find g(x) when x = 3. In other words, find g(3). Then, substitute the result of that function for x in f(x): g(3) = –2(3) = –6, f(–6) = 5(–6) + 2 = –30 + 2 = –28. Therefore, f [g(x)] = –28 when x = 3.
What is the value of g[f(x)] when x = 3?
Start with the innermost function; this time, it is f(x): f(3) = 5(3) + 2 = 15 + 2 = 17. Now, substitute 17 for x in g(x): g(17) = –2(17) = –34. When x = 3, f [g(x)] = –28 and g[f(x)] = –34.
Practice problems for these concepts can be found at:
- 1
-
2
Add your own comment
Ask a Question
Have questions about this article or topic? AskRelated Questions
See More QuestionsToday on Education.com
Popular Articles
- Kindergarten Sight Words List
- The Five Warning Signs of Asperger's Syndrome
- What Makes a School Effective?
- Child Development Theories
- Why is Play Important? Social and Emotional Development, Physical Development, Creative Development
- 10 Fun Activities for Children with Autism
- Bullying in Schools
- Test Problems: Seven Reasons Why Standardized Tests Are Not Working
- Should Your Child Be Held Back a Grade? Know Your Rights
- First Grade Sight Words List


Celebrate Memorial Day! Worksheets and Activities About American History
May Workbooks are Here!
Get Outside! 10 Playful Activities 