Solved Exercises on Domain and Range of Functions in College Algebra

Master domain and range: polynomial, rational, radical, absolute value, piecewise functions through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Polynomial function domain and range
Exercise 1
Find the domain and range of \(f(x) = x^2 - 4x + 3\)
Definition:

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

Polynomial analysis method:
  1. For polynomial functions, the domain is typically all real numbers unless otherwise restricted
  2. For quadratic functions, analyze the vertex and direction of opening to find the range
  3. Complete the square or use the vertex formula to find minimum/maximum values
Given function
\(f(x) = x^2 - 4x + 3\)
Find domain
Domain = ?
Step 1: Analyze the polynomial

This is a quadratic function (polynomial of degree 2) with no restrictions on x

Step 2: Determine domain

Since there are no denominators, even roots, or logarithms, the domain is all real numbers: \(\mathbb{R}\)

Step 3: Find the range by completing the square

\(f(x) = x^2 - 4x + 3 = (x^2 - 4x + 4) - 4 + 3 = (x - 2)^2 - 1\)

Step 4: Analyze the completed square form

Since \((x - 2)^2 \geq 0\) for all real x, the minimum value occurs when \((x - 2)^2 = 0\)

Step 5: Find the minimum value

When \(x = 2\), \(f(2) = (2 - 2)^2 - 1 = 0 - 1 = -1\)

Step 6: Determine the range

Since the parabola opens upward (coefficient of x² is positive), the range is \([-1, \infty)\)

Domain: \(\mathbb{R}\) or \((-\infty, \infty)\)
Range: \([-1, \infty)\)
Final answer:

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

Applied rules:

• Polynomial domain: All polynomials have domain of all real numbers

• Quadratic range: Depends on vertex and direction of opening

• Completing the square: Technique to rewrite quadratics in vertex form

2 Rational function domain and range
Exercise 2
Find the domain and range of \(g(x) = \frac{2x + 1}{x - 3}\)
Definition:

Rational function: A function expressed as the ratio of two polynomials

Given function
\(g(x) = \frac{2x + 1}{x - 3}\)
Find domain
Domain = ?
Step 1: Find domain restrictions

The denominator cannot equal zero: \(x - 3 \neq 0\), so \(x \neq 3\)

Step 2: Express the domain

Domain: \((-\infty, 3) \cup (3, \infty)\)

Step 3: Find the range by solving for x

Let \(y = \frac{2x + 1}{x - 3}\), then solve for x in terms of y

Step 4: Cross multiply

\(y(x - 3) = 2x + 1\)

\(yx - 3y = 2x + 1\)

Step 5: Collect x terms

\(yx - 2x = 3y + 1\)

\(x(y - 2) = 3y + 1\)

Step 6: Solve for x

\(x = \frac{3y + 1}{y - 2}\)

Step 7: Find range restrictions

For x to be defined, the denominator cannot equal zero: \(y - 2 \neq 0\), so \(y \neq 2\)

Step 8: Express the range

Range: \((-\infty, 2) \cup (2, \infty)\)

Domain: \((-\infty, 3) \cup (3, \infty)\)
Range: \((-\infty, 2) \cup (2, \infty)\)
Final answer:

Domain: \((-\infty, 3) \cup (3, \infty)\) and Range: \((-\infty, 2) \cup (2, \infty)\)

Applied rules:

• Rational domain: Exclude values that make the denominator zero

• Rational range: Solve for x in terms of y and find restrictions

• Horizontal asymptotes: Provide clues about range behavior

3 Radical function domain and range
Exercise 3
Find the domain and range of \(h(x) = \sqrt{4 - x^2}\)
Definition:

Radical function: A function containing a variable inside a radical (root)

Given function
\(h(x) = \sqrt{4 - x^2}\)
Find domain
Domain = ?
Step 1: Identify the restriction

For the square root to be defined, the expression under the radical must be non-negative: \(4 - x^2 \geq 0\)

Step 2: Solve the inequality

\(4 - x^2 \geq 0\)

\(4 \geq x^2\)

\(x^2 \leq 4\)

\(|x| \leq 2\)

\(-2 \leq x \leq 2\)

Step 3: Express the domain

Domain: \([-2, 2]\)

Step 4: Find the range by analyzing extrema

The maximum value occurs when \(4 - x^2\) is maximized, which happens when \(x^2\) is minimized

Step 5: Find maximum value

When \(x = 0\): \(h(0) = \sqrt{4 - 0^2} = \sqrt{4} = 2\)

Step 6: Find minimum value

At the endpoints: \(h(-2) = h(2) = \sqrt{4 - 4} = \sqrt{0} = 0\)

Step 7: Express the range

Since the function is continuous on \([-2, 2]\) and achieves all values between 0 and 2, the range is \([0, 2]\)

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

Domain: \([-2, 2]\) and Range: \([0, 2]\)

Applied rules:

• Even root restriction: Expression under even root must be non-negative

• Range of radicals: Usually starts at 0 and goes up to maximum value

• Continuity: Continuous functions achieve all intermediate values

Key Concepts, Rules, and Methods
\(\text{Domain}(f) = \{x \in \mathbb{R} \mid f(x) \text{ is defined}\}\)
Domain Definition
Domain Rules
\(\frac{1}{x-a}: x \neq a\), \(\sqrt{x}: x \geq 0\)
Common restrictions
Range Analysis
Min ≤ f(x) ≤ Max
Find extrema
Interval Notation
\([a,b]\), \((a,b)\), \([a,b)\)
Express sets
Key definitions:

Domain: The set of all possible input values (x-values) for which the function is defined and produces a real output

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

Function: A relation where each input has exactly one output

Interval notation: A way to represent sets of numbers using brackets and parentheses

Restrictions: Conditions that limit the domain due to mathematical impossibilities

Complete methodology:

Finding Domain:

  1. Polynomials: Domain is all real numbers
  2. Rational functions: Exclude values that make denominator zero
  3. Radical functions: Ensure expression under even root is non-negative
  4. Logarithmic functions: Ensure argument is positive
  5. Combination functions: Find intersection of all individual restrictions

Finding Range:

  1. Graphical analysis: Look at the y-values the function attains
  2. Algebraic manipulation: Solve for x in terms of y
  3. Find extrema: Locate maximum and minimum values
  4. Analyze behavior: Consider limits and asymptotes
Tip 1: Always start with finding the domain - it's usually easier than finding the range.
Tip 2: For range, try to solve for x in terms of y - this reveals restrictions on y.
Tip 3: Graph the function to visualize the domain and range.
Tip 4: Remember that domain restrictions come from mathematical impossibilities.
Common errors: Forgetting to exclude values that make denominators zero, not considering restrictions for even roots, confusing domain and range.
Memorization aid: "Domain is the input (x-axis), Range is the output (y-axis)".
Essential rules to know:

Domain Restrictions:

• Division by zero: Exclude values that make denominators equal to zero

• Even roots: Expression under √ must be ≥ 0

• Logarithms: Argument must be > 0

• Trigonometric: Consider periodicity and restrictions of inverse functions

Range Determination:

• Quadratic functions: Range depends on vertex and direction of opening

• Rational functions: Often involves horizontal asymptotes

• Radical functions: Usually starts at minimum value and extends

Solution: Exercises 4 to 5
4 Absolute value function domain and range
Exercise 4
Find the domain and range of \(p(x) = |x - 2| + 1\)
Definition:

Absolute value function: A function containing the absolute value of an expression

Given function
\(p(x) = |x - 2| + 1\)
Find domain
Domain = ?
Step 1: Analyze the absolute value

The expression inside the absolute value, \(x - 2\), is defined for all real numbers

Step 2: Determine domain

Since there are no other restrictions (no division, roots, or logarithms), the domain is all real numbers

Step 3: Express the domain

Domain: \((-\infty, \infty)\)

Step 4: Find the range by analyzing the absolute value

Since \(|x - 2| \geq 0\) for all real x, the minimum value of \(|x - 2|\) is 0

Step 5: Find minimum value of p(x)

The minimum occurs when \(|x - 2| = 0\), which happens when \(x = 2\)

\(p(2) = |2 - 2| + 1 = 0 + 1 = 1\)

Step 6: Analyze behavior as x approaches infinity

As \(x \to \pm\infty\), \(|x - 2| \to \infty\), so \(p(x) \to \infty\)

Step 7: Express the range

Since the function is continuous and achieves all values from 1 upward, the range is \([1, \infty)\)

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

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

Applied rules:

• Absolute value property: \(|a| \geq 0\) for all real a

• Minimum of absolute value: Achieved when the expression inside equals zero

• Continuity: Continuous functions achieve all intermediate values

5 Piecewise function domain and range
Exercise 5
Find the domain and range of \(q(x) = \begin{cases} x^2 & \text{if } x \leq 0 \\ 2x + 1 & \text{if } x > 0 \end{cases}\)
Definition:

Piecewise function: A function defined by different expressions over different intervals

Given function
\(q(x) = \begin{cases} x^2 & \text{if } x \leq 0 \\ 2x + 1 & \text{if } x > 0 \end{cases}\)
Find domain
Domain = ?
Step 1: Analyze each piece separately

First piece: \(x^2\) is defined for all \(x \leq 0\)

Second piece: \(2x + 1\) is defined for all \(x > 0\)

Step 2: Determine the overall domain

The domain includes all real numbers: \((-\infty, 0] \cup (0, \infty) = (-\infty, \infty)\)

Step 3: Find range of first piece (\(x^2\) for \(x \leq 0\))

For \(x \leq 0\), \(x^2 \geq 0\), and as \(x \to -\infty\), \(x^2 \to \infty\)

When \(x = 0\), \(x^2 = 0\)

Range of first piece: \([0, \infty)\)

Step 4: Find range of second piece (\(2x + 1\) for \(x > 0\))

For \(x > 0\), as \(x \to 0^+\), \(2x + 1 \to 1^+\)

As \(x \to \infty\), \(2x + 1 \to \infty\)

Range of second piece: \((1, \infty)\)

Step 5: Find the overall range

Combine ranges: \([0, \infty) \cup (1, \infty) = [0, \infty)\)

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

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

Applied rules:

• Piecewise domain: Union of domains of all pieces

• Piecewise range: Union of ranges of all pieces

• Boundary analysis: Check behavior at transition points between pieces

Comprehensive Summary: Domain and Range of Functions
\(\text{Domain} = \{x \in \mathbb{R} \mid f(x) \in \mathbb{R}\}\)
Domain Definition
Key definitions:

Domain: The complete set of all possible input values (x-values) for which a function is defined and produces a real output value. It represents all the values that can be legitimately substituted into the function.

Range: The complete set of all possible output values (y-values) that a function can produce when all valid inputs from the domain are used. It represents all the values that the function can actually reach.

Function: A special type of relation where each input value corresponds to exactly one output value, ensuring predictability and consistency.

Interval notation: A standardized mathematical notation using brackets [] and parentheses () to express sets of real numbers, making it easier to represent continuous ranges.

Restrictions: Mathematical conditions that prevent certain values from being part of the domain due to operations that would be undefined or impossible.

Complete methodologies:

Finding Domain - Systematic Approach:

  1. Polynomial functions: Domain is always all real numbers \(\mathbb{R}\) unless explicitly restricted
  2. Rational functions: Exclude values that make any denominator equal to zero
  3. Radical functions: Ensure expressions under even-indexed roots are non-negative
  4. Logarithmic functions: Ensure arguments are positive
  5. Trigonometric functions: Consider the natural domain of the trigonometric ratios
  6. Combination functions: Find the intersection of all individual domain restrictions

Finding Range - Various Techniques:

  1. Graphical method: Examine the y-values that the function's graph covers
  2. Algebraic method: Solve the equation \(y = f(x)\) for x and determine restrictions on y
  3. Extrema analysis: Find maximum and minimum values of the function
  4. Behavior analysis: Consider limits as x approaches critical values or infinity
  5. Transformation approach: Use known ranges of basic functions and apply transformations
Tip 1: Always start with finding the domain - it's typically more straightforward than finding the range.
Tip 2: For range determination, try to solve for x in terms of y - this often reveals restrictions on y.
Tip 3: Graph the function to visualize both domain and range - a picture often clarifies the situation.
Tip 4: Remember that domain restrictions come from mathematical impossibilities like division by zero or taking even roots of negative numbers.
Tip 5: For piecewise functions, analyze each piece separately, then combine the results appropriately.
Common errors: Forgetting to exclude values that make denominators zero, not considering restrictions for even roots, confusing domain and range, overlooking endpoint inclusion/exclusion in interval notation.
Exam preparation: Practice with various function types (polynomial, rational, radical, exponential, logarithmic), memorize standard restrictions, master interval notation.
Memory aids: "Domain is the input (x-axis), Range is the output (y-axis)"; "What goes in? What comes out?"
Essential rules and formulas:

Domain Restrictions by Function Type:

• Division by zero: For \(\frac{f(x)}{g(x)}\), exclude values where \(g(x) = 0\)

• Even roots: For \(\sqrt[n]{f(x)}\) where n is even, require \(f(x) \geq 0\)

• Logarithms: For \(\log_a(f(x))\), require \(f(x) > 0\)

• Trigonometric: \(\tan(x)\) and \(\sec(x)\) are undefined at odd multiples of \(\pi/2\)

Range Determination by Function Type:

• Linear functions: Range is all real numbers (except for constant functions)

• Quadratic functions: Range depends on vertex and direction of opening

• Rational functions: Often excludes horizontal asymptote values

• Absolute value functions: Range typically starts at minimum value

• Exponential functions: Range is typically \((0, \infty)\) or similar

Domain and Range Workflow

🔄
Domain Finding Steps
1
Identify Function Type
2
Find Restrictions
3
Express Domain
Range Finding Steps
1
Analyze Behavior
2
Find Extrema
3
Express Range
Visual Representation
Domain = x-axis coverage | Range = y-axis coverage
📚 Practice Makes Perfect!

Questions & Answers

Question: I often get confused about when to use open vs closed intervals for domain and range. How do I know whether to use parentheses or brackets?

Answer: The choice between open and closed intervals depends on whether the endpoints are included in the set:

  • Open interval (a, b): Includes all numbers between a and b, but NOT a and b themselves
  • Closed interval [a, b]: Includes all numbers between a and b, INCLUDING a and b
  • Half-open intervals [a, b) or (a, b]: Include one endpoint but not the other

For domain:

  • Use parentheses when the function is undefined at that point (like division by zero)
  • Use brackets when the function is defined at that point

For range:

  • Use parentheses when the function approaches but never reaches that value (asymptotes)
  • Use brackets when the function actually attains that value

Example: For \(f(x) = \frac{1}{x}\), the domain is \((-\infty, 0) \cup (0, \infty)\) because f(0) is undefined. The range is also \((-\infty, 0) \cup (0, \infty)\) because f(x) can never equal 0.

Question: When finding the range of a rational function, how do I know if there are values that are excluded from the range?

Answer: Here's a systematic approach to find excluded values in the range of a rational function:

  1. Set the function equal to y: \(y = f(x)\)
  2. Solve for x in terms of y: Rearrange to get x = g(y)
  3. Find restrictions on y: Look for values of y that make the denominator of g(y) equal to zero
  4. These y-values are excluded from the range

Example: For \(f(x) = \frac{2x + 1}{x - 3}\)

  • Set \(y = \frac{2x + 1}{x - 3}\)
  • Cross multiply: \(y(x - 3) = 2x + 1\)
  • Expand: \(yx - 3y = 2x + 1\)
  • Collect x terms: \(yx - 2x = 3y + 1\)
  • Factor: \(x(y - 2) = 3y + 1\)
  • Solve: \(x = \frac{3y + 1}{y - 2}\)
  • Restriction: \(y - 2 \neq 0\), so \(y \neq 2\)

Therefore, the range excludes y = 2, giving us \((-\infty, 2) \cup (2, \infty)\).

Question: How do I handle domain and range for functions with multiple restrictions, like \(\frac{\sqrt{x-1}}{x-3}\)?

Answer: When dealing with multiple restrictions, you must satisfy ALL conditions simultaneously. Find each restriction separately, then take their intersection.

For \(f(x) = \frac{\sqrt{x-1}}{x-3}\), let's identify each restriction:

  1. Even root restriction: \(x - 1 \geq 0\), so \(x \geq 1\)
  2. Division restriction: \(x - 3 \neq 0\), so \(x \neq 3\)

Now find the intersection of these conditions:

  • We need \(x \geq 1\) AND \(x \neq 3\)
  • This gives us the domain: \([1, 3) \cup (3, \infty)\)

For the range, analyze the behavior on each interval of the domain:

  • On \([1, 3)\): As \(x \to 1^+\), \(f(x) \to 0\); as \(x \to 3^-\), \(f(x) \to -\infty\)
  • On \((3, \infty)\): As \(x \to 3^+\), \(f(x) \to +\infty\); as \(x \to \infty\), \(f(x) \to +\infty\)

After careful analysis, the range turns out to be \((-\infty, 0] \cup (0, \infty)\), which simplifies to \(\mathbb{R} \setminus \{0\}\).

Remember: Always consider ALL restrictions and find their intersection for the domain!