Solved Exercises on Definition of a Function

Master the definition of a function: identifying functions, domain and range, and function notation through these 3 detailed exercises.

Solution: Exercises 1 to 3
1 Identifying Functions
Exercise 1
Determine if the following relation is a function: {(1, 2), (2, 4), (3, 6), (4, 8), (5, 10)}
Definition:

Function: A relation where each input (domain element) has exactly one output (range element).

Function test method:
  1. Identify the inputs (first elements of ordered pairs)
  2. Identify the outputs (second elements of ordered pairs)
  3. Check if any input appears more than once with different outputs
  4. If all inputs are unique, it's a function
  5. If any input maps to multiple outputs, it's not a function
Relation
{(1, 2), (2, 4), (3, 6), (4, 8), (5, 10)}
Inputs
{1, 2, 3, 4, 5}
Outputs
{2, 4, 6, 8, 10}
Step 1: List all inputs

Inputs: 1, 2, 3, 4, 5

Step 2: Check for repeated inputs

Each input (1, 2, 3, 4, 5) appears exactly once

Step 3: Verify unique mapping

1 → 2, 2 → 4, 3 → 6, 4 → 8, 5 → 10 (each input has exactly one output)

Step 4: Apply function definition

Since each input maps to exactly one output, this relation is a function

Step 5: Identify domain and range

Domain: {1, 2, 3, 4, 5}, Range: {2, 4, 6, 8, 10}

Step 6: Verify using vertical line test

If we were to plot these points, no vertical line would intersect more than one point

This relation IS a function
Final answer:

Yes, this relation is a function because each input has exactly one output.

Applied rules:

• Function Definition: Each element in domain maps to exactly one element in range

• Vertical Line Test: No vertical line intersects the graph at more than one point

• Unique Mapping: No input appears with multiple outputs

2 Non-Function Relation
Exercise 2
Determine if the following relation is a function: {(2, 1), (4, 3), (2, 5), (6, 7), (4, 9)}
Definition:

Not a function: A relation where at least one input has more than one output.

Relation
{(2, 1), (4, 3), (2, 5), (6, 7), (4, 9)}
Repeats
2→{1,5}, 4→{3,9}
Result
Not a function
Step 1: List all inputs

Inputs: 2, 4, 2, 6, 4

Step 2: Identify repeated inputs

Input 2 appears with outputs 1 and 5

Input 4 appears with outputs 3 and 9

Step 3: Check for unique mapping

2 → 1 and 2 → 5 (input 2 has two different outputs)

4 → 3 and 4 → 9 (input 4 has two different outputs)

Step 4: Apply function definition

Since some inputs map to multiple outputs, this relation is NOT a function

Step 5: Identify domain and range

Domain: {2, 4, 6}, Range: {1, 3, 5, 7, 9}

Step 6: Verify using vertical line test

If plotted, vertical lines at x=2 and x=4 would intersect the graph at two points each

This relation is NOT a function
Final answer:

No, this relation is not a function because inputs 2 and 4 each have multiple outputs.

Applied rules:

• Function Definition: Each input must map to exactly one output

• Violation: Input 2 maps to both 1 and 5

• Vertical Line Test: Vertical lines intersect the graph at multiple points

3 Function Notation
Exercise 3
Given the function f(x) = 3x - 2, find f(4), f(-1), and f(a + 1). Also, if f(x) = 13, find the value of x.
Definition:

Function notation: f(x) represents the output of function f when the input is x. f(x) is read as "f of x".

Function
f(x) = 3x - 2
Evaluations
f(4)=10, f(-1)=-5, f(a+1)=3a+1
Inverse
f(x)=13 → x=5
Step 1: Find f(4)

f(4) = 3(4) - 2 = 12 - 2 = 10

Step 2: Find f(-1)

f(-1) = 3(-1) - 2 = -3 - 2 = -5

Step 3: Find f(a + 1)

f(a + 1) = 3(a + 1) - 2 = 3a + 3 - 2 = 3a + 1

Step 4: Find x when f(x) = 13

Set up equation: 3x - 2 = 13

Step 5: Solve for x

3x - 2 = 13
3x = 15
x = 5

Step 6: Verify the solution

f(5) = 3(5) - 2 = 15 - 2 = 13 ✓

f(4) = 10, f(-1) = -5, f(a+1) = 3a+1, and when f(x) = 13, x = 5
Final answer:

f(4) = 10, f(-1) = -5, f(a+1) = 3a+1, and when f(x) = 13, x = 5.

Applied rules:

• Function Evaluation: Substitute the input value for x in the function rule

• Function Notation: f(x) represents the output when input is x

• Inverse Process: To find x given f(x), solve the equation for x

Rules and methods, laws,...
f: x \mapsto y
Function Mapping
Function
One output
Each input
Not a Function
Multiple outputs
Same input
Notation
f(x) = y
Input → Output
Key definitions:

Function: A relation where each input (x-value) has exactly one output (y-value).

Domain: The set of all possible input values (x-values) for which the function is defined.

Range: The set of all possible output values (y-values) that the function can produce.

Function notation: A way to write functions using f(x), g(x), h(x), etc., where f(x) represents the output when x is the input.

Complete methodology:
  1. Identify inputs: List all x-values in the relation
  2. Identify outputs: List all y-values in the relation
  3. Check uniqueness: Verify each input maps to exactly one output
  4. Determine domain: Set of all unique input values
  5. Determine range: Set of all output values
  6. Apply function notation: Use f(x) to represent function values
Tip 1: A function can have repeated outputs as long as inputs are unique.
Tip 2: Use the vertical line test on graphs: if any vertical line crosses the graph more than once, it's not a function.
Tip 3: In function notation f(x), x is called the argument of the function.
Tip 4: When evaluating f(g(x)), substitute g(x) for every instance of x in f(x).
Common errors: Confusing domain and range, thinking a function cannot have repeated outputs, misapplying function notation.
Exam preparation: Practice identifying functions from various representations, master function notation, understand domain and range.
Key Concepts and Function Properties
\text{Domain} \rightarrow \text{Function} \rightarrow \text{Range}
Input-Process-Output
Linear
f(x) = mx + b
Constant rate
Quadratic
f(x) = ax² + bx + c
Parabolic shape
Absolute Value
f(x) = |x|
V-shape
Function Types:

Linear functions: Graphs are straight lines, constant rate of change.

Quadratic functions: Graphs are parabolas, variable rate of change.

Absolute value functions: Graphs have V-shapes, piecewise linear behavior.

Polynomial functions: Sums of power functions, smooth curves.

Function Analysis:
  1. Identify the rule: Determine the formula that defines the function
  2. Find domain restrictions: Identify values for which the function is undefined
  3. Evaluate function values: Calculate outputs for given inputs
  4. Solve inverse problems: Find inputs given outputs
  5. Graph the function: Visualize the relationship between inputs and outputs
Tip 1: Domain restrictions often occur with division by zero or square roots of negative numbers.
Tip 2: The range depends on the function's behavior and domain.
Tip 3: When solving f(x) = c, you're finding the x-value(s) that produce output c.
Tip 4: Function notation helps distinguish between different functions in the same problem.
Function Characteristics: Every function has a unique mapping from domain to range.
Real-World Relevance: Functions model cause-and-effect relationships in science, economics, and engineering.
Important Properties:

• Uniqueness: Each input maps to exactly one output

• Domain: Set of all valid input values

• Range: Set of all possible output values

• Function Notation: Provides a concise way to represent functions

Detailed Summary: Definition of a Function

Definitions of Key Concepts:

Function: A special type of relation where each input (element in the domain) has exactly one output (element in the range). For every x-value in the domain, there is exactly one corresponding y-value in the range.

Domain: The set of all possible input values (x-values) for which the function is defined. These are the values you can substitute into the function.

Range: The set of all possible output values (y-values) that the function can produce. These are the values the function can equal.

Function Notation: A way to write functions using symbols like f(x), g(x), h(x), etc. The notation f(x) is read as "f of x" and represents the output of function f when the input is x.

Ordered Pair: A pair of numbers written as (x, y) that represents a point on a coordinate plane, where x is the input and y is the output.

Relation: A set of ordered pairs. A function is a special kind of relation.

Core Rules and Principles:

Uniqueness Rule: For a relation to be a function, each input must map to exactly one output. No input can map to more than one output.

Vertical Line Test: On a graph, if any vertical line intersects the graph at more than one point, the relation is not a function.

Domain and Range: The domain is the set of all possible x-values, and the range is the set of all possible y-values.

Function Evaluation: To evaluate f(x) for a specific value, substitute that value for x in the function rule.

Step-by-Step Methods and Procedures:

  1. Identifying Functions: Check if each input in the relation has exactly one output. If any input has multiple outputs, it's not a function.
  2. Vertical Line Test: Draw vertical lines across the graph. If any vertical line intersects the graph more than once, it's not a function.
  3. Evaluating Functions: Substitute the given input value for x in the function rule and simplify to find the output.
  4. Finding Domain: Identify all possible input values. Look for restrictions like division by zero or square roots of negative numbers.
  5. Finding Range: Determine all possible output values by analyzing the function's behavior.
  6. Solving Function Equations: Set the function equal to a value and solve for the input variable.

Examples from Simple to Advanced:

Simple Example: f(x) = 2x + 1 - This is a function because each input x gives exactly one output - f(3) = 2(3) + 1 = 7 - Domain: all real numbers, Range: all real numbers

Intermediate Example: {(1, 2), (2, 4), (3, 6), (4, 8)} - This is a function because each input (1, 2, 3, 4) has exactly one output - Domain: {1, 2, 3, 4}, Range: {2, 4, 6, 8}

Advanced Example: f(x) = x² - 4x + 3 - This is a quadratic function - f(2) = (2)² - 4(2) + 3 = 4 - 8 + 3 = -1 - Domain: all real numbers, Range: y ≥ -1 (since it opens upward with vertex at x = 2)

Tips, Tricks, and Common Pitfalls:

Tips:

  • Remember: a function can have repeated outputs (different inputs can have the same output)
  • Use the vertical line test on graphs to quickly identify functions
  • When evaluating f(g(x)), substitute g(x) for every x in f(x)
  • Function notation is just a way to write equations more compactly

Common Pitfalls:

  • Thinking that a function cannot have repeated outputs (it can!)
  • Confusing domain and range (domain = inputs, range = outputs)
  • Forgetting to check if inputs are repeated in ordered pairs
  • Misapplying function notation like f(x + h) = f(x) + f(h) (this is generally false)

Tricks:

  • If an equation has y isolated, it's usually a function of x
  • Linear equations (except vertical lines) are always functions
  • Quadratic equations are functions (pass vertical line test)
  • Circle equations are NOT functions (fail vertical line test)

Key Notes for Memorization:

Function Criteria: Each input → exactly one output (many-to-one allowed, one-to-many forbidden)

Notation: f(x) means "f of x" (not f times x)

Domain vs Range: Domain = x-values (inputs), Range = y-values (outputs)

Vertical Line Test: Passes = function, Fails = not a function

Learning Strategies:

Start by understanding the fundamental concept: each input has exactly one output. Practice with various representations: ordered pairs, tables, graphs, and equations. Use the vertical line test extensively to develop intuition. Focus on function notation early, as it's fundamental to all future function work. Connect the abstract concept to real-world examples where each input naturally corresponds to one output (like a person's age corresponding to their height).

Practice identifying functions from different representations and become comfortable with function evaluation. Work on finding domains and ranges both algebraically and graphically.

Questions & Answers

Question: I'm confused about whether a function can have the same output for different inputs. For example, in f(x) = x², both f(2) and f(-2) equal 4. Is this still a function?

Answer: Yes, this is absolutely still a function! This is a common misconception. The key rule for functions is:

Each input has exactly one output (but different inputs can have the same output)

In your example with f(x) = x²:

  • Input x = 2 → Output f(2) = 4 (exactly one output)
  • Input x = -2 → Output f(-2) = 4 (exactly one output)

This is perfectly fine! Each input still maps to exactly one output. What would NOT be a function is if one input mapped to multiple outputs, like if f(2) somehow equaled both 4 and 5.

Functions like f(x) = x² are called "many-to-one" functions because multiple inputs can lead to the same output.

Question: How can I quickly tell if a graph represents a function without testing every point?

Answer: Use the Vertical Line Test:

  1. Draw vertical lines across the entire graph
  2. Observe intersections between vertical lines and the graph
  3. If any vertical line intersects the graph at more than one point, it's NOT a function
  4. If every vertical line intersects at most one point, it IS a function

Examples:

  • Function: Straight lines (except vertical), parabolas (opening up/down), circles (wait, no!)
  • Not a function: Circles, sideways parabolas, any shape where a vertical line touches multiple points

The vertical line test works because it checks whether any x-value corresponds to more than one y-value.

Question: What's the difference between f(x+h) and f(x) + h? Are they the same thing?

Answer: No, these are completely different operations:

  • f(x+h): This means substitute (x+h) wherever x appears in the function rule
  • f(x) + h: This means take the output of f(x) and add h to it

Example: Let f(x) = x²

  • f(x+h) = (x+h)² = x² + 2xh + h² (substituted x+h for x)
  • f(x) + h = x² + h (added h to the result)

These are only equal if h = 0 or if f(x) is a linear function of the form f(x) = x + c.

Understanding this difference is crucial for calculus (derivatives) and transformations of functions.