Solved Exercises on Functions: Inputs/Outputs, Tables, Graphs in Algebra 1

Master functions: inputs/outputs, tables, graphs, and function identification through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Input/output relationship
Exercise 1
For the function f(x) = 2x + 3, find the output when the input is x = 4. Then find the input when the output is f(x) = 11.
Definition:

Function: A relation where each input (x-value) has exactly one output (y-value). The input is the independent variable, and the output is the dependent variable.

Input/output evaluation method:
  1. To find output: substitute the input value into the function
  2. To find input: set the function equal to the output and solve for x
  3. Always verify your results by substituting back
Given
f(x) = 2x + 3
Input x = 4
f(4) = 11
Output f(x) = 11
x = 4
Step 1: Find output when x = 4

f(x) = 2x + 3
f(4) = 2(4) + 3
f(4) = 8 + 3
f(4) = 11

Step 2: Find input when f(x) = 11

Set f(x) = 11
2x + 3 = 11
2x = 11 - 3
2x = 8
x = 4

Step 3: Verify the results

When x = 4: f(4) = 2(4) + 3 = 8 + 3 = 11 ✓
When f(x) = 11: x = 4 gives f(4) = 11 ✓

Step 4: Interpret the relationship

The input 4 corresponds to the output 11, and vice versa. This demonstrates the one-to-one correspondence in this linear function.

When x = 4, f(x) = 11
When f(x) = 11, x = 4
Final answer:

For f(x) = 2x + 3: when x = 4, f(x) = 11; when f(x) = 11, x = 4.

Applied rules:

• Function evaluation: Substitute the input value for x in the function

• Inverse process: Solve the equation for x when output is known

• Verification: Always check results by substituting back into original function

2 Function table completion
Exercise 2
Complete the table for the function g(x) = x² - 2x + 1. Then determine if this relation is a function by checking if each input has exactly one output.
Definition:

Function table: A table showing input values (x) and their corresponding output values (f(x)). Each input must have exactly one output for the relation to be a function.

Function
g(x) = x² - 2x + 1
Table entries
See completed table
Function check
Yes, it's a function
Step 1: Evaluate g(x) for each input

For x = -2: g(-2) = (-2)² - 2(-2) + 1 = 4 + 4 + 1 = 9
For x = -1: g(-1) = (-1)² - 2(-1) + 1 = 1 + 2 + 1 = 4
For x = 0: g(0) = (0)² - 2(0) + 1 = 0 - 0 + 1 = 1
For x = 1: g(1) = (1)² - 2(1) + 1 = 1 - 2 + 1 = 0
For x = 2: g(2) = (2)² - 2(2) + 1 = 4 - 4 + 1 = 1
For x = 3: g(3) = (3)² - 2(3) + 1 = 9 - 6 + 1 = 4

Step 2: Complete the table
x g(x)
-2 9
-1 4
0 1
1 0
2 1
3 4
Step 3: Check if it's a function

Each input value has exactly one output value:
-2 → 9, -1 → 4, 0 → 1, 1 → 0, 2 → 1, 3 → 4
No input appears twice with different outputs
Therefore, this relation IS a function

Step 4: Note interesting pattern

Notice that g(x) = x² - 2x + 1 = (x-1)², which is a perfect square trinomial. This function always produces a unique output for each input.

Completed table shows each input has exactly one output
This relation is a function
Final answer:

The completed table shows each input has exactly one output, confirming this is a function.

Applied rules:

• Function definition: Each input must have exactly one output

• Table completion: Substitute each x-value into the function to find g(x)

• Function test: Check that no input appears with multiple outputs

3 Graphing functions
Exercise 3
Graph the function h(x) = -x + 4 using at least 4 points. Use the vertical line test to determine if the graph represents a function.
Definition:

Vertical line test: A graph represents a function if and only if every vertical line intersects the graph at most once. This ensures each input has at most one output.

Function
h(x) = -x + 4
Points
(0,4), (1,3), (2,2), (4,0)
Function test
Passes vertical line test
Step 1: Select input values

Choose x-values: 0, 1, 2, 4 (to get integer outputs)

Step 2: Calculate corresponding outputs

For x = 0: h(0) = -0 + 4 = 4 → Point (0, 4)
For x = 1: h(1) = -1 + 4 = 3 → Point (1, 3)
For x = 2: h(2) = -2 + 4 = 2 → Point (2, 2)
For x = 4: h(4) = -4 + 4 = 0 → Point (4, 0)

Step 3: Plot the points

Mark the points (0, 4), (1, 3), (2, 2), and (4, 0) on the coordinate plane

Step 4: Connect the points

Draw a straight line through the points since h(x) = -x + 4 is a linear function

Step 5: Apply vertical line test

Draw vertical lines at various x-values. Each vertical line intersects the graph at exactly one point. Therefore, the graph represents a function.

Graph passes vertical line test
h(x) = -x + 4 is a function
Final answer:

The graph of h(x) = -x + 4 passes the vertical line test, confirming it is a function.

Applied rules:

• Vertical line test: Each vertical line intersects the graph at most once

• Linear function: Forms a straight line when graphed

• Function property: Each x-value maps to exactly one y-value

Key Concepts, Rules, and Methods
f(x) = y
Function Notation
Function
Each input → One output
Definition of a function
Domain
All possible inputs
Set of x-values
Range
All possible outputs
Set of y-values
Key definitions:

Function: A relation where each element in the domain corresponds to exactly one element in the range.

Input (Domain): The independent variable (usually x) that is fed into the function.

Output (Range): The dependent variable (usually y or f(x)) that results from processing the input.

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

Vertical line test: A visual test to determine if a graph represents a function.

Function identification methodology:
  1. Examine the relation: Check if each input has exactly one output
  2. For tables: Verify no x-value appears twice with different y-values
  3. For graphs: Apply the vertical line test
  4. For equations: Ensure each x produces exactly one y
  5. For mappings: Check that each input maps to only one output
Tip 1: Think of a function as a machine: you put in an input, and it gives exactly one output.
Tip 2: The vertical line test is the fastest way to determine if a graph represents a function.
Tip 3: A function can have repeated outputs, but never repeated inputs with different outputs.
Tip 4: Always check your work by verifying that inputs map to the correct outputs.
Common errors: Confusing inputs and outputs, failing the vertical line test, misapplying function notation, thinking that different inputs cannot have the same output.
Exam preparation: Practice identifying functions from different representations, master function notation, understand domain and range concepts.
Essential rules to remember:

• Function definition: Each input has exactly one output

• Vertical line test: Graph is a function if every vertical line intersects at most once

• Function notation: f(x) means "the output of function f when the input is x"

• Domain: Set of all possible input values

• Range: Set of all possible output values

Solution: Exercises 4 to 5
4 Identifying functions from relations
Exercise 4
Determine whether each relation is a function: A) {(1,2), (2,3), (3,4), (4,5)} B) {(1,2), (1,3), (2,4), (3,5)} C) {(2,1), (3,1), (4,1), (5,1)}
Definition:

Relation: A set of ordered pairs (x, y). A function is a special type of relation where each x-value appears only once.

Relation A
{(1,2), (2,3), (3,4), (4,5)}
Relation B
{(1,2), (1,3), (2,4), (3,5)}
Relation C
{(2,1), (3,1), (4,1), (5,1)}
Step 1: Analyze Relation A

Relation A: {(1,2), (2,3), (3,4), (4,5)}
Input values: 1, 2, 3, 4 (all different)
Each input appears exactly once
Each input maps to exactly one output
Therefore, Relation A IS a function

Step 2: Analyze Relation B

Relation B: {(1,2), (1,3), (2,4), (3,5)}
Input values: 1, 1, 2, 3 (input 1 appears twice)
Input 1 maps to both output 2 and output 3
This violates the function definition
Therefore, Relation B is NOT a function

Step 3: Analyze Relation C

Relation C: {(2,1), (3,1), (4,1), (5,1)}
Input values: 2, 3, 4, 5 (all different)
Each input appears exactly once
All inputs map to the same output (1)
Each input still has exactly one output
Therefore, Relation C IS a function (constant function)

Step 4: Compare the results

Function requires: Each input → Exactly one output
A: ✓ Each input appears once → Function
B: ✗ Input 1 appears twice → Not a function
C: ✓ Each input appears once → Function

A: Function ✓
B: Not a function ✗
C: Function ✓
Final answer:

Relation A and C are functions; Relation B is not a function.

Applied rules:

• Function definition: Each input must have exactly one output

• Input uniqueness: In a function, no x-value can appear with different y-values

• Constant function: Multiple inputs can have the same output in a function

5 Function mapping and interpretation
Exercise 5
A function f maps the set {1, 2, 3, 4} to the set {a, b, c, d}. Given f(1) = a, f(2) = b, f(3) = c, f(4) = a. Find the domain, range, and determine if f is one-to-one. Also find f(2) and f⁻¹(b).
Definition:

One-to-one function: A function where each output corresponds to exactly one input. No two different inputs map to the same output.

Function
f: {1,2,3,4} → {a,b,c,d}
Domain
{1, 2, 3, 4}
Range
{a, b, c}
Step 1: Identify the domain

The domain is the set of all input values.
Given function f maps {1, 2, 3, 4}
Domain = {1, 2, 3, 4}

Step 2: Identify the range

The range is the set of all output values.
f(1) = a, f(2) = b, f(3) = c, f(4) = a
Output values are: a, b, c, a
Distinct output values: a, b, c
Range = {a, b, c}

Step 3: Determine if f is one-to-one

A function is one-to-one if each output corresponds to exactly one input.
f(1) = a and f(4) = a
Two different inputs (1 and 4) map to the same output (a)
Therefore, f is NOT one-to-one

Step 4: Find specific values

f(2) = b (given directly)
To find f⁻¹(b): What input maps to output b?
Since f(2) = b, then f⁻¹(b) = 2

Step 5: Verify function property

Check that each input has exactly one output:
1 → a ✓, 2 → b ✓, 3 → c ✓, 4 → a ✓
Each input maps to exactly one output → f is a function

Domain: {1, 2, 3, 4}
Range: {a, b, c}
f is not one-to-one
f(2) = b, f⁻¹(b) = 2
Final answer:

Domain = {1, 2, 3, 4}, Range = {a, b, c}, f is not one-to-one, f(2) = b, f⁻¹(b) = 2.

Applied rules:

• Domain: Set of all possible input values

• Range: Set of all possible output values

• One-to-one: Different inputs must map to different outputs

• Inverse function: f⁻¹(y) = x means f(x) = y

Complete List of Laws, Methods, Rules, Definitions, Expressions
f: X → Y
Function Mapping
Key definitions:

Function: A special type of relation where each element in the domain (input set) is paired with exactly one element in the range (output set).

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

Range: The set of all possible output values that the function can produce.

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

Vertical line test: A graphical method to determine if a curve represents a function.

One-to-one function: A function where each output value corresponds to exactly one input value.

Onto function: A function where every element in the codomain is mapped to by at least one element in the domain.

Bijection: A function that is both one-to-one and onto.

Complete function analysis methodology:
  1. Identify domain: Determine all possible input values
  2. Find range: Determine all possible output values
  3. Verify function property: Check that each input has exactly one output
  4. Evaluate function: Calculate outputs for given inputs
  5. Find inverse (if exists): Determine input for given outputs
  6. Classify function type: Determine if one-to-one, onto, etc.
  7. Graph representation: Visualize the function relationship
Tip 1: Remember: "one input, one output" - this is the fundamental property of functions.
Tip 2: Different inputs can have the same output (like f(2) = 4 and f(-2) = 4 for f(x) = x²).
Tip 3: Same input cannot have different outputs (this would violate the function definition).
Tip 4: Use the vertical line test on graphs: if any vertical line crosses the graph more than once, it's not a function.
Tip 5: The range is always a subset of the codomain, and can be equal to or smaller than the codomain.
Common error patterns: Confusing domain and range, thinking that functions cannot have repeated outputs, applying the vertical line test incorrectly, misunderstanding function notation.
Advanced considerations: Piecewise functions, composite functions, function transformations, continuity, and differentiability.
Comprehensive function formulas:

• Function definition: ∀x₁, x₂ ∈ Domain: x₁ = x₂ ⇒ f(x₁) = f(x₂)

• One-to-one: ∀x₁, x₂ ∈ Domain: f(x₁) = f(x₂) ⇒ x₁ = x₂

• Onto: ∀y ∈ Range, ∃x ∈ Domain such that f(x) = y

• Composition: (f ∘ g)(x) = f(g(x))

• Inverse: f⁻¹(f(x)) = x and f(f⁻¹(y)) = y

• Domain restrictions: Division by zero, even roots of negative numbers, logarithms of non-positive numbers

Detailed Summary: What is a Function? (Inputs/Outputs, Tables, Graphs)

Key Concepts and Definitions

Function: A special relationship between two sets where each element in the first set (domain) is paired with exactly one element in the second set (range). Think of it as a machine that takes an input and produces exactly one output.

Input (Domain): The independent variable that goes into the function. These are the x-values in ordered pairs (x, y) or the values you substitute into the function.

Output (Range): The dependent variable that comes out of the function. These are the y-values in ordered pairs (x, y) or the result of evaluating the function.

Function Notation: f(x) is read as "f of x" and represents the output of function f when x is the input. Other common notations include g(x), h(x), etc.

Vertical Line Test: A visual test to determine if a graph represents a function. If any vertical line intersects the graph more than once, then the graph does not represent a function.

Function Table: A table that lists input values (x) and their corresponding output values (f(x)). Each input should appear only once in a function table.

Core Rules and Properties

Function Rule: Every input in the domain must correspond to exactly one output in the range. This is the defining characteristic of a function.

Uniqueness Property: Different inputs can have the same output, but the same input cannot have different outputs. For example, f(2) = 5 and f(-2) = 5 is allowed, but f(2) = 5 and f(2) = 7 is not allowed.

Domain and Range: The domain is the set of all possible input values, and the range is the set of all possible output values. The range is always a subset of the codomain.

Vertical Line Test: A graph represents a function if and only if every vertical line intersects the graph at most once.

Function Evaluation: To evaluate f(a), substitute a for every occurrence of x in the function rule.

Step-by-Step Methods and Procedures

Evaluating Functions:

  1. Identify the function rule (e.g., f(x) = 2x + 3)
  2. Identify the input value (e.g., x = 4)
  3. Substitute the input value for x in the function rule
  4. Simplify the expression to find the output
  5. Write the result as f(input) = output

Creating Function Tables:

  1. Choose several input values (x-values)
  2. For each input, evaluate the function to find the output
  3. Create a table with columns for input and output
  4. Verify that each input appears only once

Graphing Functions:

  1. Choose several input values and calculate corresponding outputs
  2. Plot the ordered pairs (input, output) on a coordinate plane
  3. Connect the points appropriately (straight line for linear, curve for others)
  4. Apply the vertical line test to verify it's a function

Identifying Functions:

  1. For tables: Check that no x-value appears twice with different y-values
  2. For graphs: Apply the vertical line test
  3. For ordered pairs: Ensure no x-value is repeated with different y-values
  4. For equations: Ensure that for each x, there is exactly one y

Examples: Simple to Advanced

Simple Example:

Function: f(x) = x + 2

Evaluation: f(3) = 3 + 2 = 5

Input 3 gives output 5

Intermediate Example:

Function: g(x) = x² - 1

Table: x=-2→3, x=-1→0, x=0→-1, x=1→0, x=2→3

Each input has exactly one output → Function

Advanced Example:

Function: h(x) = √(x-1)

Domain: x ≥ 1 (since we can't take square root of negative numbers)

For x=1: h(1) = √(0) = 0

For x=5: h(5) = √(4) = 2

Tips, Tricks, and Common Pitfalls

Tips and Tricks:

  • Function Machine Analogy: Think of a function as a machine that takes an input, performs operations, and gives an output.
  • Memory Aid: "IOP" - Input, Operation, Output
  • Vertical Line Test: Imagine running a ruler vertically across the graph. If it ever touches the graph at two points, it's not a function.
  • Table Check: Scan the x-column for duplicates. If you see the same x-value twice with different y-values, it's not a function.

Common Pitfalls:

  • Thinking that different inputs cannot have the same output (they can!)
  • Confusing inputs and outputs when reading function notation
  • Applying the vertical line test incorrectly
  • Misunderstanding that f(x) means "f times x" instead of "f of x"
  • Forgetting domain restrictions when working with rational or radical functions

Key Notes and Takeaways for Memorization

  • FUNDAMENTAL RULE: One input → Exactly one output (but multiple inputs can have the same output)
  • NOTATION: f(x) means "the output of function f when the input is x"
  • TEST: Vertical line test - if any vertical line crosses the graph more than once, it's not a function
  • TABLE TEST: No x-value should appear twice with different y-values
  • DOMAIN: Set of all possible inputs
  • RANGE: Set of all possible outputs
  • PRACTICE: Always verify your work by substituting back into the original function

Questions & Answers

Question: I'm confused about function notation. What does f(x) mean and why isn't it f times x?

Answer: f(x) is read as "f of x" and represents the output of the function f when the input is x. It is NOT f times x. The parentheses in function notation do not indicate multiplication.

Think of f as the name of a machine or process, and x as what you put into that machine. So f(x) means "apply the process f to the input x."

For example, if f(x) = 2x + 3, then f(5) = 2(5) + 3 = 13. Here, f is the name of the function (the process of multiplying by 2 and adding 3), and f(5) is the result of applying that process to the input 5.

Other common function names include g(x), h(x), p(x), etc. The letter before the parentheses is the name of the function, not a variable being multiplied.

Question: Can different inputs give the same output in a function? I thought each input had to have a unique output.

Answer: Yes, different inputs can absolutely give the same output in a function! This is a common misconception. The rule for a function is that each input must have exactly one output, but multiple inputs can share the same output.

For example, consider f(x) = x². Here, f(2) = 4 and f(-2) = 4. Different inputs (2 and -2) give the same output (4), yet this is still a function because each input has only one output.

What's NOT allowed is one input having multiple outputs. For example, {(1,2), (1,3)} is not a function because the input 1 has two different outputs (2 and 3).

Functions where each output corresponds to exactly one input are called "one-to-one functions," but regular functions don't have this restriction.

Question: How do I quickly tell if a graph represents a function?

Answer: Use the vertical line test! This is the quickest and most reliable method:

Imagine or draw vertical lines (lines parallel to the y-axis) across the entire graph. If ANY vertical line intersects the graph at more than one point, then the graph does NOT represent a function. If every vertical line intersects the graph at most once, then it DOES represent a function.

Why does this work? Because a vertical line represents a constant x-value (input). If that vertical line crosses the graph at two points, it means that single x-value corresponds to two different y-values (outputs), which violates the function definition.

For example, a parabola opening upward passes the vertical line test and is a function, but a circle fails the vertical line test (except at the leftmost and rightmost points) and is not a function.