Functions
Definition
A function is a relation in which each input value from a set called the domain is assigned exactly one output value in a set called the range.
In mathematical notation, a function is often written as:
f(x) = expression
where:
x
- is the input,
f(x)
- is the output,
- the expression shows the rule used to get the output.
Example: If f(x) = 2x + 3, then for input x = 4, f(4) = 2(4) + 3 = 11.
This means the function takes 4 as input and returns 11 as output.
Main Content
1. First Concept
Domain and Range
The domain is the set of all possible input values that can be used in a function. The range is the set of all possible output values produced by the function. Understanding domain and range is essential because every function must have valid inputs and corresponding outputs.
Example: If f(x) = x², and the domain is all real numbers, then:
- input 2 gives output 4
- input -3 gives output 9
- input 0 gives output 0
Here, the range is all non-negative numbers because the square of any real number is never negative.
Input-Output Relationship
A function always follows a rule that connects each input to exactly one output. This relationship can be shown using tables, graphs, equations, or mapping diagrams. The same input cannot give two different outputs in a function.
Example: | x | f(x) = x + 5 | |---|--------------| | 1 | 6 | | 2 | 7 | | 3 | 8 |
This table clearly shows how each input has only one output.
2. Second Concept
Types of Functions
Functions can be classified in many ways. Common types include:
- Constant function: output stays the same for every input, such as f(x) = 7
- Linear function: graph is a straight line, such as f(x) = 2x + 1
- Quadratic function: includes a squared term, such as f(x) = x² - 4x + 3
- Polynomial function: contains powers of variables with whole-number exponents
- Rational function: ratio of two polynomials
- Exponential function: variable is in the exponent, such as f(x) = 2^x
- Trigonometric function: includes sine, cosine, tangent, etc.
Each type behaves differently and is used for different kinds of problems.
One-to-One, Many-to-One, and Function Behavior
In a one-to-one function, different inputs give different outputs. In a many-to-one function, different inputs may produce the same output, but each input still has only one output. This is still a valid function.
Example: For f(x) = x²:
- f(2) = 4
- f(-2) = 4
This is many-to-one, because two different inputs lead to the same output.
3. Third Concept
Representation of Functions
Functions can be represented in several ways:
- Equation form: example f(x) = 3x - 2
- Table form: lists input-output values
- Graph form: shows the relationship on coordinate axes
- Mapping diagram: arrows show how inputs connect to outputs
Example mapping:
Domain Rule Range
1 ---------> 3
2 ---------> 5
3 ---------> 7
This can represent f(x) = 2x + 1.
Function Notation and Evaluation
Function notation is a short way of writing outputs from a function. Instead of writing “the value of the function at x,” we write f(x). This notation makes calculations simpler and clearer.
Example: If f(x) = 4x - 1, then:
- f(2) = 4(2) - 1 = 7
- f(0) = 4(0) - 1 = -1
- f(-3) = 4(-3) - 1 = -13
Evaluating a function means substituting the input into the expression and simplifying.
Working / Process
1. Identify the input
- Determine the value or variable that will be substituted into the function.
- Example: If f(x) = x² + 2x, and the input is 3, then x = 3.
2. Apply the rule
- Replace the variable with the given input and perform the operations in the correct order.
- Example: f(3) = 3² + 2(3)
3. Find the output
- Simplify the expression to get the final answer.
- Example: f(3) = 9 + 6 = 15
- Therefore, the output is 15.
Advantages / Applications
- Functions make it easier to describe relationships between quantities in a clear and organized way.
- They are used in real-life situations such as calculating cost, distance, time, profit, population growth, and temperature change.
- Functions are essential in higher mathematics, science, engineering, computer programming, data analysis, and economics.
Summary
- Functions connect each input to exactly one output.
- They are described using domain, range, and a rule.
- Functions can be shown by equations, tables, graphs, or mapping diagrams.
- Important terms to remember: domain, range, input, output, function notation, evaluation