Solved Exercises on Domain and Range in Grade 8

Master domain and range: function domains, ranges, and practical applications through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Basic domain and range
Exercise 1
Find the domain and range of:
\(f(x) = 2x + 1\) for the set of points \(\{(-2, -3), (-1, -1), (0, 1), (1, 3), (2, 5)\}\)
Definition:

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

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

Method for discrete sets:
  1. List all x-coordinates to find the domain
  2. List all y-coordinates to find the range
  3. Present results in set notation or interval notation
  4. Ensure values are listed in ascending order
Given Points
\(\{(-2, -3), (-1, -1), (0, 1), (1, 3), (2, 5)\}\)
Domain
\(\{-2, -1, 0, 1, 2\}\)
Range
\(\{-3, -1, 1, 3, 5\}\)
Step 1: Identify all x-coordinates (inputs)

From the ordered pairs: -2, -1, 0, 1, 2

Step 2: Write the domain

Domain = \(\{-2, -1, 0, 1, 2\}\)

Step 3: Identify all y-coordinates (outputs)

From the ordered pairs: -3, -1, 1, 3, 5

Step 4: Write the range

Range = \(\{-3, -1, 1, 3, 5\}\)

Step 5: Verify the function relationship

Check: f(-2) = 2(-2) + 1 = -3 ✓, f(-1) = 2(-1) + 1 = -1 ✓, etc.

Domain: \(\{-2, -1, 0, 1, 2\}\)
Range: \(\{-3, -1, 1, 3, 5\}\)
Final answer:

Domain: \(\{-2, -1, 0, 1, 2\}\), Range: \(\{-3, -1, 1, 3, 5\}\)

Applied rules:

• Discrete Function: Domain and range consist of specific points

• Set Notation: Use curly braces to list elements

• Order: List values in ascending order for clarity

TIP: Domain values are always the first coordinates in ordered pairs.
COMMON MISTAKE: Don't mix up domain (x-values) and range (y-values).
2 Linear function domain and range
Exercise 2
Find the domain and range of:
\(f(x) = 3x - 2\) when the domain is restricted to \([-1, 3]\)
Definition:

Interval notation: Uses brackets [ ] for inclusive endpoints and parentheses ( ) for exclusive endpoints.

Restricted domain: When a function's domain is limited to a specific subset of real numbers.

Function
\(f(x) = 3x - 2\)
Domain
\(x \in [-1, 3]\)
Range
\(f(x) \in [-5, 7]\)
Step 1: Identify the domain restriction

Domain: \([-1, 3]\) means \(-1 \leq x \leq 3\)

Step 2: Find the minimum output value

At \(x = -1\): \(f(-1) = 3(-1) - 2 = -3 - 2 = -5\)

Step 3: Find the maximum output value

At \(x = 3\): \(f(3) = 3(3) - 2 = 9 - 2 = 7\)

Step 4: Determine the range

Since the function is linear and increasing, the range is \([-5, 7]\)

Step 5: Express results in interval notation

Domain: \([-1, 3]\), Range: \([-5, 7]\)

Domain: \([-1, 3]\)
Range: \([-5, 7]\)
Final answer:

Domain: \([-1, 3]\), Range: \([-5, 7]\)

Applied rules:

• Linear Function Behavior: Increasing functions map intervals to intervals

• Endpoint Mapping: Boundary values map to boundary values

• Interval Notation: Brackets indicate inclusive endpoints

TIP: For linear functions, find outputs at domain endpoints to determine range.
COMMON MISTAKE: Don't forget to check if the function is increasing or decreasing.
3 Quadratic function domain and range
Exercise 3
Find the domain and range of:
\(g(x) = x^2 - 4x + 3\)
Definition:

Quadratic function: A function of the form \(f(x) = ax^2 + bx + c\), whose graph is a parabola.

Vertex: The highest or lowest point on a parabola, determining the range.

Function
\(g(x) = x^2 - 4x + 3\)
Domain
\((-\infty, \infty)\)
Range
\([-1, \infty)\)
Step 1: Determine the domain

For polynomial functions, the domain is all real numbers: \((-\infty, \infty)\)

Step 2: Find the vertex of the parabola

For \(g(x) = x^2 - 4x + 3\), use vertex formula: \(x = -\frac{b}{2a} = -\frac{-4}{2(1)} = 2\)

Step 3: Calculate the y-coordinate of the vertex

\(g(2) = (2)^2 - 4(2) + 3 = 4 - 8 + 3 = -1\)

Step 4: Determine the direction of the parabola

Since \(a = 1 > 0\), the parabola opens upward

Step 5: Establish the range

Minimum value is at the vertex: \([-1, \infty)\)

Domain: \((-\infty, \infty)\)
Range: \([-1, \infty)\)
Final answer:

Domain: \((-\infty, \infty)\), Range: \([-1, \infty)\)

Applied rules:

• Polynomial Domain: All polynomials have domain \((-\infty, \infty)\)

• Vertex Formula: \(x = -\frac{b}{2a}\) for quadratic functions

• Parabola Direction: \(a > 0\) opens upward, \(a < 0\) opens downward

TIP: For quadratics, find the vertex to determine the range.
COMMON MISTAKE: Don't forget to consider the direction of the parabola when determining range.
Domain and Range Rules and Methods
\(\text{Domain} = \{x | f(x) \text{ exists}\}\)
Domain Definition
\(\text{Range} = \{y | y = f(x), x \in \text{domain}\}\)
Range Definition
Linear Function
\(f(x) = ax + b\)
Domain: \((-\infty, \infty)\), Range: \((-\infty, \infty)\)
Quadratic Function
\(f(x) = ax^2 + bx + c\)
Domain: \((-\infty, \infty)\), Range: depends on vertex
Square Root
\(f(x) = \sqrt{x}\)
Domain: \([0, \infty)\), Range: \([0, \infty)\)
Key definitions:

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 can produce

Interval Notation: Uses brackets [ ] for inclusive endpoints and parentheses ( ) for exclusive endpoints

Set Notation: Uses curly braces {} to list elements or describe sets

Complete methodology:
  1. Identify the function type: Linear, quadratic, radical, rational, etc.
  2. Determine domain restrictions: Look for values that make the function undefined
  3. Find range based on domain: Analyze function behavior over the domain
  4. Consider function characteristics: Maximum/minimum values, asymptotes, etc.
  5. Express in proper notation: Use interval or set notation appropriately
Domain Restrictions: Division by zero, negative square roots, negative logarithms.
Function Types: Polynomials have domain \((-\infty, \infty)\), rationals may have restrictions.
Domain and Range Rules:

• Polynomials: Domain is always \((-\infty, \infty)\)

• Rational Functions: Exclude values that make denominator zero

• Square Root: Radicand must be non-negative

• Quadratic Functions: Range determined by vertex and direction

Solution: Exercises 4 to 5
4 Square root function domain and range
Exercise 4
Find the domain and range of:
\(h(x) = \sqrt{x + 2}\)
Definition:

Radical function: A function containing a radical expression, typically requiring the radicand to be non-negative.

Restriction condition: For \(\sqrt{expression}\), the expression under the radical must be ≥ 0.

Function
\(h(x) = \sqrt{x + 2}\)
Domain Condition
\(x + 2 \geq 0\)
Domain
\(x \geq -2\)
Range
\(y \geq 0\)
Step 1: Identify the restriction

For \(\sqrt{x + 2}\) to be real, the expression under the radical must be ≥ 0

Step 2: Solve the inequality

\(x + 2 \geq 0\), so \(x \geq -2\)

Step 3: Express the domain

Domain: \([-2, \infty)\) in interval notation

Step 4: Determine the range

Since square root always produces non-negative results, and minimum value occurs at \(x = -2\): \(h(-2) = \sqrt{0} = 0\)

Step 5: Express the range

Range: \([0, \infty)\) in interval notation

Domain: \([-2, \infty)\)
Range: \([0, \infty)\)
Final answer:

Domain: \([-2, \infty)\), Range: \([0, \infty)\)

Applied rules:

• Radical Restriction: Expression under radical must be ≥ 0

• Square Root Property: \(\sqrt{x} \geq 0\) for all valid inputs

• Interval Notation: Use brackets for inclusive, parentheses for exclusive

TIP: For square root functions, set the radicand ≥ 0 to find the domain.
COMMON MISTAKE: Don't forget that square roots always yield non-negative results.
5 Word problem with domain and range
Exercise 5
A rectangular garden has a perimeter of 20 meters. If the length is \(x\) meters, express the area as a function of \(x\) and find its domain and range.
Definition:

Applied function: A function derived from a real-world situation, where domain and range often have physical constraints.

Perimeter Equation
\(2x + 2w = 20\)
Width
\(w = 10 - x\)
Area Function
\(A(x) = x(10 - x)\)
Simplified
\(A(x) = 10x - x^2\)
Step 1: Set up the relationship

Perimeter: \(2x + 2w = 20\), so \(w = 10 - x\)

Step 2: Express area as function of x

\(A(x) = x \cdot w = x(10 - x) = 10x - x^2\)

Step 3: Find domain constraints

Both dimensions must be positive: \(x > 0\) and \(w = 10 - x > 0\), so \(x < 10\)

Step 4: Express the domain

Domain: \((0, 10)\) in interval notation

Step 5: Find the range

This is a quadratic function \(A(x) = -x^2 + 10x\) opening downward. Vertex at \(x = 5\): \(A(5) = 25\). Minimum occurs at endpoints: \(A(0) = A(10) = 0\). Range: \((0, 25]\)

Step 6: Express the range

Range: \((0, 25]\) in interval notation

\(A(x) = 10x - x^2\)
Domain: \((0, 10)\)
Range: \((0, 25]\)
Final answer:

Area function: \(A(x) = 10x - x^2\), Domain: \((0, 10)\), Range: \((0, 25]\)

Applied rules:

• Physical Constraints: Dimensions must be positive in geometric problems

• Quadratic Analysis: Find vertex for maximum/minimum values

• Real-world Context: Domain and range often differ from mathematical possibilities

TIP: In word problems, consider the real-world meaning of your domain and range.
COMMON MISTAKE: Don't forget physical constraints like positive dimensions in geometry problems.
Domain and Range Laws, Methods, and Definitions
\(\text{Domain: } \{x \in \mathbb{R} | f(x) \text{ is defined}\}\)
Domain Formal Definition
\(\text{Range: } \{y \in \mathbb{R} | \exists x \in \text{domain}, f(x) = y\}\)
Range Formal Definition
Key definitions:

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

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

Interval Notation: Uses brackets and parentheses to describe continuous sets of numbers

Set Builder Notation: Describes sets by specifying properties of elements

Complete methodology:
  1. Identify function type: Determine if linear, quadratic, radical, rational, etc.
  2. Look for restrictions: Check for division by zero, negative radicals, etc.
  3. Determine domain: Based on restrictions and function type
  4. Analyze function behavior: Find max/min values, asymptotes, trends
  5. Establish range: Based on domain and function behavior
Tip 1: For polynomials, domain is usually all real numbers unless restricted.
Tip 2: For rational functions, exclude values that make the denominator zero.
Tip 3: For radical functions, ensure the expression under the radical is non-negative.
Tip 4: Draw the graph to visualize domain and range when possible.
Common errors: Forgetting restrictions, mixing up domain and range, incorrect interval notation.
Exam preparation: Practice different function types, understand restrictions, master notation.
Domain and Range Rules:

• Polynomial Functions: Domain is \((-\infty, \infty)\)

• Rational Functions: Exclude values that make denominator zero

• Square Root Functions: Radicand must be ≥ 0

• Quadratic Functions: Range determined by vertex and direction

Questions & Answers

Question: I'm confused about interval notation. What's the difference between (a, b) and [a, b]?

Answer: Interval notation uses different symbols to indicate inclusion or exclusion of endpoints:

  • (a, b) means "from a to b, excluding both endpoints" (open interval)
  • [a, b] means "from a to b, including both endpoints" (closed interval)
  • [a, b) means "from a to b, including a but excluding b" (half-open interval)
  • (a, b] means "from a to b, excluding a but including b" (half-open interval)

For infinity: always use parentheses because infinity is not a specific number that can be included.

Example: Domain of \(f(x) = \sqrt{x}\) is \([0, \infty)\) because x can be 0 but cannot be negative.

Question: Why do some functions have restricted domains while others don't?

Answer: Different function types have inherent mathematical limitations:

  • Polynomials: No restrictions - domain is all real numbers
  • Rational functions: Cannot divide by zero - exclude values that make denominator zero
  • Square root functions: Cannot take square root of negative number - radicand must be ≥ 0
  • Logarithmic functions: Cannot take log of zero or negative numbers - argument must be > 0

These restrictions come from mathematical impossibilities - we cannot perform certain operations with certain numbers.

Example: For \(f(x) = \frac{1}{x}\), x cannot be 0 because division by zero is undefined.

Question: How do I find the range of a quadratic function without graphing?

Answer: For quadratic functions, you can find the range algebraically using the vertex:

  1. Find the vertex using \(x = -\frac{b}{2a}\)
  2. Calculate the y-coordinate of the vertex by substituting into the function
  3. Determine if parabola opens upward (a > 0) or downward (a < 0)
  4. If upward: range is [vertex_y, ∞), if downward: range is (-∞, vertex_y]

For example, for \(f(x) = x^2 - 4x + 3\): x = -(-4)/(2×1) = 2, f(2) = 4 - 8 + 3 = -1, since a=1 > 0, range is [-1, ∞).

This works because the vertex represents the minimum (or maximum) value of the function.

Question: Can a function have the same domain and range?

Answer: Yes, a function can have the same domain and range! Examples include:

  • Identity function: \(f(x) = x\) has domain = range = \((-\infty, \infty)\)
  • Linear functions: \(f(x) = ax + b\) (where a ≠ 0) have domain = range = \((-\infty, \infty)\)
  • Odd-powered functions: \(f(x) = x^3\) has domain = range = \((-\infty, \infty)\)

However, many functions have different domains and ranges. For example, \(f(x) = x^2\) has domain \((-\infty, \infty)\) but range \([0, \infty)\).

Whether domain and range are the same depends on the function's behavior and any restrictions.

Question: How do domain and range relate to the graph of a function?

Answer: Domain and range have direct visual representations on graphs:

  • Domain: The horizontal extent of the graph - all x-values where the graph exists
  • Range: The vertical extent of the graph - all y-values that the graph reaches

To find domain from a graph: look at how far left and right the graph extends.

To find range from a graph: look at how far up and down the graph extends.

Gaps, holes, or asymptotes in the graph correspond to restrictions in the domain or range.

Complete Summary: Domain and Range

Key Concepts and Definitions:

Domain: The set of all possible input values (x-values) for which a function is defined. It represents all the values you can "put into" the function.

Range: The set of all possible output values (y-values) that a function can produce. It represents all the values you can "get out" of the function.

Function: A relationship where each input has exactly one output. For a relation to be a function, it must pass the vertical line test.

Interval Notation: A concise way to write sets of real numbers using parentheses and brackets to indicate inclusion or exclusion of endpoints.

Core Rules and Principles:

• Domain Determination: Start with all real numbers and subtract values that make the function undefined

• Range Determination: Analyze the function's behavior over its domain to find possible output values

• Polynomial Functions: Always have domain \((-\infty, \infty)\)

• Rational Functions: Exclude values that make the denominator zero

• Radical Functions: Ensure the expression under even roots is non-negative

Step-by-Step Methods:
  1. Identify Function Type: Determine if linear, quadratic, radical, rational, etc.
  2. Find Domain Restrictions: Look for mathematical impossibilities (division by zero, negative square roots, etc.)
  3. Express Domain: Write domain in appropriate notation (set or interval)
  4. Analyze Function Behavior: Determine how the function behaves over its domain
  5. Find Critical Points: For quadratics, find vertex; for others, find maxima/minima
  6. Express Range: Write range in appropriate notation based on function behavior
Multiple Examples:
Simple Example: For \(f(x) = x + 2\), domain = \((-\infty, \infty)\), range = \((-\infty, \infty)\)
Quadratic Example: For \(f(x) = x^2\), domain = \((-\infty, \infty)\), range = \([0, \infty)\)
Rational Example: For \(f(x) = \frac{1}{x}\), domain = \((-\infty, 0) \cup (0, \infty)\), range = \((-\infty, 0) \cup (0, \infty)\)
Square Root Example: For \(f(x) = \sqrt{x}\), domain = \([0, \infty)\), range = \([0, \infty)\)
Tips and Tricks: Always check for domain restrictions first, then analyze function behavior to find range.
Common Pitfalls: Don't forget to consider real-world constraints in word problems.
Memory Aid: Domain = "what you can put in", Range = "what you can get out".
Key Takeaways: Domain and range are fundamental concepts that describe the scope of a function's inputs and outputs. Understanding these concepts helps in analyzing function behavior, solving real-world problems, and preparing for advanced mathematics.