Solved Exercises on Inputs and Outputs of Functions in Algebra 1

Master inputs and outputs of functions: function notation, domain and range, input-output relationships, function evaluation, and mapping diagrams through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Function Evaluation
Exercise 1
Given the function f(x) = 2x + 3, find f(4), f(-1), and f(0).
Definition:

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

Evaluation method:
  1. Identify the input value (the number inside the parentheses)
  2. Replace every occurrence of x in the function rule with the input value
  3. Calculate the resulting expression following order of operations
  4. The final result is the output value
Function Rule
f(x) = 2x + 3
Evaluate f(4)
f(4) = 11
Step 1: Evaluate f(4)

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

Step 2: Evaluate f(-1)

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

Step 3: Evaluate f(0)

f(0) = 2(0) + 3 = 0 + 3 = 3

f(4) = 11, f(-1) = 1, f(0) = 3
Final answers:

f(4) = 11, f(-1) = 1, f(0) = 3

Applied rules:

• Substitution: Replace x with the input value everywhere in the function rule

• Order of operations: Follow PEMDAS/BODMAS when calculating

• Function relationship: Each input has exactly one output

2 Input-Output Tables
Exercise 2
Complete the table for g(x) = x² - 2x:
x: -1, 0, 1, 2, 3
g(x): ?, ?, ?, ?, ?
Definition:

Input-Output Table: A table showing pairs of input values (domain) and their corresponding output values (range) for a function.

Function
g(x) = x² - 2x
Table Values
g(-1)=3, g(0)=0, g(1)=-1, g(2)=0, g(3)=3
Step 1: Calculate g(-1)

g(-1) = (-1)² - 2(-1) = 1 + 2 = 3

Step 2: Calculate g(0)

g(0) = (0)² - 2(0) = 0 - 0 = 0

Step 3: Calculate g(1)

g(1) = (1)² - 2(1) = 1 - 2 = -1

Step 4: Calculate g(2)

g(2) = (2)² - 2(2) = 4 - 4 = 0

Step 5: Calculate g(3)

g(3) = (3)² - 2(3) = 9 - 6 = 3

Table: x = {-1, 0, 1, 2, 3}, g(x) = {3, 0, -1, 0, 3}
Final answer:
x -1 0 1 2 3
g(x) 3 0 -1 0 3
Applied rules:

• Systematic approach: Process each input value in sequence

• Order of operations: Powers before multiplication and addition/subtraction

• Function property: Each input maps to exactly one output

3 Domain and Range
Exercise 3
Find the domain and range of h(x) = √(x + 2) for x ≥ -2.
Definition:

Domain: Set of all possible input values (x-values) for which the function is defined. Range: Set of all possible output values (y-values) the function can produce.

Function
h(x) = √(x + 2)
Domain
x ≥ -2
Range
y ≥ 0
Step 1: Determine domain restrictions

For √(x + 2) to be real, the expression under the radical must be non-negative: x + 2 ≥ 0, so x ≥ -2

Step 2: Analyze the range

Since the square root function outputs non-negative values, h(x) ≥ 0. At x = -2, h(-2) = √(0) = 0, which is the minimum value.

Step 3: Express domain and range

Domain: [-2, ∞), Range: [0, ∞)

Step 4: Verify with examples

h(-2) = √(0) = 0, h(0) = √(2) ≈ 1.41, h(2) = √(4) = 2

Domain: x ≥ -2, Range: y ≥ 0
Final answer:

Domain: [-2, ∞), Range: [0, ∞)

Applied rules:

• Radical restriction: Expressions under even roots must be non-negative

• Function behavior: Understand how the function transforms inputs

• Interval notation: Use brackets for inclusive endpoints, parentheses for exclusive

Key Concepts, Rules and Methods
f(x) = output
Function Notation
Function Rule
f(x) = 2x + 3
Input x → Output f(x)
Domain
x ∈ R
All valid inputs
Range
y ∈ R
All possible outputs
Key definitions:

Function: A relation where each input has exactly one output

Input: Independent variable (usually x) that goes into the function

Output: Dependent variable (usually y or f(x)) that comes out of the function

Function notation: f(x) reads as "f of x", representing the output when x is the input

Function Property: Every input maps to exactly one output. No input can have multiple outputs.
Vertical Line Test: A graph represents a function if no vertical line intersects the graph more than once.
Tip 1: Remember that f(x) does NOT mean f times x. It means "the value of function f when x is the input".
Tip 2: When evaluating f(a), substitute a for every occurrence of x in the function rule.
Tip 3: Domain restrictions often come from denominators (≠0), radicals (≥0), or logarithms (>0).
Solution: Exercises 4 to 5
4 Composite Function Evaluation
Exercise 4
Given f(x) = 3x - 1 and g(x) = x², find f(g(2)) and g(f(2)).
Definition:

Composite function: f(g(x)) means apply g first, then apply f to the result. Read from inside out.

Functions
f(x) = 3x - 1, g(x) = x²
f(g(2))
f(g(2)) = 11
g(f(2))
g(f(2)) = 25
Step 1: Find g(2)

g(2) = (2)² = 4

Step 2: Find f(g(2)) = f(4)

f(4) = 3(4) - 1 = 12 - 1 = 11

Step 3: Find f(2)

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

Step 4: Find g(f(2)) = g(5)

g(5) = (5)² = 25

Step 5: Compare results

f(g(2)) = 11 and g(f(2)) = 25, showing that function composition is not commutative

f(g(2)) = 11, g(f(2)) = 25
Final answer:

f(g(2)) = 11 and g(f(2)) = 25

Applied rules:

• Order matters: Work from inside to outside in composite functions

• Composition: f(g(x)) ≠ g(f(x)) in general (not commutative)

• Step-by-step evaluation: Evaluate innermost function first

5 Function from Mapping Diagram
Exercise 5
A function maps: 1→3, 2→5, 3→7, 4→9. Write the function rule and find f(10).
Definition:

Mapping diagram: Shows how inputs are paired with outputs. Each input connects to exactly one output.

Given Mappings
{(1,3), (2,5), (3,7), (4,9)}
Pattern
f(x) = 2x + 1
f(10)
f(10) = 21
Step 1: Analyze the pattern

1→3 (1×2+1=3), 2→5 (2×2+1=5), 3→7 (3×2+1=7), 4→9 (4×2+1=9)

Step 2: Identify the rule

Each output is twice the input plus 1: f(x) = 2x + 1

Step 3: Verify the rule

f(1) = 2(1)+1 = 3 ✓, f(2) = 2(2)+1 = 5 ✓, etc.

Step 4: Find f(10)

f(10) = 2(10) + 1 = 20 + 1 = 21

Step 5: Check function property

Each input maps to exactly one output, confirming this is a function

f(x) = 2x + 1, f(10) = 21
Final answer:

f(x) = 2x + 1 and f(10) = 21

Applied rules:

• Pattern recognition: Look for consistent mathematical relationship between inputs and outputs

• Function verification: Ensure each input maps to only one output

• Rule generalization: Once found, verify the rule works for all given mappings

Comprehensive Guide: Functions, Domain, Range, and Evaluation
f: X → Y
Function Mapping
Key definitions:

Function: A special type of relation where each element in the domain corresponds to exactly one element in the range

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

Range: Set of all possible output values (y-values) that the function produces

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

Complete methodology:
  1. Identify the function: Recognize the function rule or representation (equation, table, graph, mapping)
  2. Find the domain: Determine all valid input values considering restrictions
  3. Evaluate the function: Substitute specific input values to find corresponding outputs
  4. Determine the range: Find all possible output values the function can produce
  5. Verify the function property: Ensure each input maps to exactly one output
Tip 1: When finding domain, watch for: division by zero, negative values under even roots, and undefined logarithmic arguments.
Tip 2: To evaluate f(a), substitute a for every occurrence of x in the function rule and simplify.
Tip 3: For composite functions f(g(x)), evaluate g(x) first, then use that result as input for f.
Tip 4: In function notation, f(x) does NOT mean f times x. It means "the value of function f when x is the input".
Common errors: Confusing domain and range, forgetting to check domain restrictions, misapplying order of operations when evaluating.
Exam preparation: Practice function evaluation, identify domain restrictions, understand function notation thoroughly, work with various function representations.
Key formulas and concepts to know:

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

• Domain restrictions: Denominators ≠ 0, even roots ≥ 0, log arguments > 0

• Composite functions: f(g(x)) means apply g first, then f

• Function property: Each input has exactly one output

• Vertical line test: Graph represents function if no vertical line crosses graph more than once

Questions & Answers

Question: I'm confused about function notation. Why do we write f(x) instead of just y? What's the difference between f(x) and y?

Answer: Great question! While y and f(x) often represent the same concept (output), function notation is much more powerful:

  • Specificity: f(x) explicitly identifies which function you're working with. If you have multiple functions, you might have f(x), g(x), h(x), etc.
  • Operations: Function notation allows for operations like f(g(x)) or f(x) + g(x) which would be difficult with just y.
  • Input identification: f(3) clearly shows you want the output when the input is 3.
  • Relationship clarity: f(x) emphasizes the relationship between input and output.

Example: If f(x) = x² + 1 and g(x) = 2x, then f(3) = 10 and g(3) = 6. With just y, you'd need separate equations and could easily get confused.

Question: How do I determine the domain of a function like f(x) = 1/(x-3)? What makes some values invalid?

Answer: To find the domain, identify values that would make the function undefined. Common restrictions include:

  • Rational functions: Denominator cannot equal zero. For f(x) = 1/(x-3), set x-3 = 0, so x = 3 is excluded.
  • Even roots: Expressions under √, ∜, etc. must be ≥ 0.
  • Logarithms: Arguments must be > 0.

For f(x) = 1/(x-3): Since x-3 ≠ 0, we have x ≠ 3. The domain is all real numbers except 3, written as (-∞,3) ∪ (3,∞).

Always check for these restrictions systematically: look for division by zero, negative values under even roots, and non-positive values in logarithms.

Question: I'm having trouble with composite functions like f(g(x)). Do I work from left to right or right to left?

Answer: With composite functions f(g(x)), work from inside to outside - right to left!

  • Start with the innermost function (rightmost): evaluate g(x)
  • Take that result as input for the outer function: apply f to g(x)
  • Think of it as a "machine": g processes x first, then f processes the result of g

Example: If f(x) = x + 2 and g(x) = 3x, then f(g(x)) = f(3x) = (3x) + 2 = 3x + 2.

Remember: f(g(x)) generally does NOT equal g(f(x)). Function composition is not commutative!