Finding the Range of a Function (Algebraic Methods)

What Is “Range”?

  • The set of all possible output (dependent-variable) values yy a function y=f(x)y = f(x) can take.
  • Formal description: Range(f)=yxDomain(f)  s.t.  y=f(x)\text{Range}(f)={\,y\mid \exists\,x\in\text{Domain}(f)\;\text{s.t.}\;y=f(x)\,}
  • Historically in statistics: “highest − lowest” value in a data set. In functions, the idea generalizes to every achievable output, not a single difference.

Why Some Values Are Excluded

  • An output is impossible if no admissible xx produces it.
    • Function might be bounded (e.g.
    f(x)=x4+1f(x)=-x^4+1 can never exceed 11).
    • Vertical asymptotes / discontinuities can leave gaps (e.g. a rational function skips the horizontal asymptote value).
    • Radicals or logarithms after inversion may restrict yy (square-root needs a non-negative radicand, ln()\ln(\cdot) needs positive input, etc.).

Core Algebraic Strategy

  1. Write the function in the form y=f(x)y = f(x).
  2. Isolate xx in terms of yy, giving x=g(y)x = g(y) (the “inverse relation”).
  3. Determine the domain of g(y)g(y) (all yy for which g(y)g(y) is defined).
    • Any restriction on yy here becomes a restriction on the range of ff.
  4. Translate the domain of gg into the range of ff.
  5. Check special or excluded xx values in the original function to ensure their corresponding yy outputs are removed if needed.
  6. Graph if algebraic inversion is impractical; blend graphical intuition with analytic bounds.

Worked Example 1 – Quadratic Shift

Given f(x)=x2+1f(x)=x^2+1

  • Step 1 y=x2+1y = x^2 + 1
  • Step 2 Solve for xx: x2=y1x=±y1x^2 = y-1\quad\Rightarrow\quad x=\pm\sqrt{y-1}
  • Step 3 Domain requirement of g(y)=±y1g(y)=\pm\sqrt{y-1}: y10    y1y-1\ge0\;\Rightarrow\;y\ge1
  • Range [1,)[1,\infty)
    • Test value: y=5y=5 gives x=±2x=\pm2, confirming inclusion.

Worked Example 2 – Absolute Value

Function f(x)=xf(x)=|x|

  • Intuition: output never negative.
  • Formal proof:
    • Pick arbitrary y0y\ge0.
    • Choose x=yx=y (or x=yx=-y) so x=y|x|=y.
  • Range [0,)[0,\infty).
  • Practice check: Solve x=12|x|=12x=12,12x=12,\,-12 (two symmetric pre-images).

Worked Example 3 – Quartic with Reflection & Shift

f(x)=x4+1f(x)=-x^4+1

  • Domain: all reals (polynomial).
  • Observations:
    x40x40x^4\ge0\Rightarrow -x^4\le0.
    • Maximum occurs at x=0x=0: f(0)=1f(0)=1.
  • Algebraic confirmation:
  1. y=x4+1y=-x^4+1
  2. y1=x4y-1=-x^41y=x41-y=x^4
  3. Need 1y0y11-y\ge0\Rightarrow y\le1.
  4. Fourth-root: x=±1y4x=\pm\sqrt[4]{1-y} defines real xx for every y1y\le1.
  • Range (,1]( -\infty,\,1 ] (open at -\infty, closed at 11).

Quick-Reference Table – Common Families

  • Absolute value: f(x)=x[0,)f(x)=|x|\quad\Rightarrow\quad [0,\infty)
  • Logarithm (any base >1 or <1): f(x)=logax(,)f(x)=\log_a x\quad\Rightarrow\quad (-\infty,\infty)
  • Exponential: f(x)=a^x,\; a>0,\,a\neq1\quad\Rightarrow\quad (0,\infty)

General Tips & Pitfalls

  • Always confirm the domain first; excluded xx can knock holes out of the range.
  • When inversion gives an even root, impose radicand0\text{radicand}\ge0.
  • For rational functions, set denominator 0\neq0 before solving for xx.
  • Infinity endpoints are always written with parentheses: (k,) or (,k)(k,\infty)\text{ or }(-\infty,k).
  • If the inverse relation involves lny\ln y, remember y>0.
  • If stuck: sketch a quick graph (monotonicity, asymptotes, extrema).

Conceptual Connections & Real-World Relevance

  • Range analysis underpins solving equations: knowing reachable outputs tells you whether a target value is feasible.
  • In optimization, extrema (max/min) are edges of the range; many engineering and economic problems reduce to identifying these bounds.
  • Control systems & physics: ensuring output stays within safe range prevents saturation/overload.
  • Data science: understanding domain-range transformations (e.g.
    activation functions in neural networks) is crucial for gradient behaviors.

Summary Algorithm (4-Step Version Recap)

  1. Declare y=f(x)y=f(x).
  2. Express xx explicitly: x=g(y)x=g(y).
  3. Find all yy where g(y)g(y) is defined and original domain conditions hold.
  4. State range, adjusting for unattainable outputs.

Key Terms

  • Range: set of possible yy values.
  • Domain: allowed xx inputs.
  • Inverse relation: expression of xx in terms of yy (may not be a formal function if it fails vertical-line test).
  • Bounded: function has upper and/or lower finite limits.
  • Asymptote: line a function approaches but never meets; its yy-value may be excluded from the range.