algebraunstuck.com

Unit 1 · Function review & piecewise

Evaluate functions and find domains

About 15 minFree, no account needed
Goal
Evaluate f(x)f(x) at any input and write a function's domain in interval notation.

Function notation is a recipe: f(x)=x2−3x+1f(x)=x^2-3x+1 says “square the input, subtract 3 times the input, add 1.” To find f(−2)f(-2), put −2-2 in parentheses everywhere you see xx. The parentheses keep the sign attached when you square.

Example 1

f(−2) for x² − 3x + 1: parentheses keep the sign

f(x)=x2−3x+1,f(−2)= ?f(x)=x^2-3x+1,\quad f(\mv{k}{-2})=\ ?
  1. Replace every x with (−2), parentheses included

    f(−2)=(−2)2−3(−2)+1f(\mv{k}{-2})=(\mv{k}{-2})^2-3(\mv{k}{-2})+1
  2. Square first: (−2)² = 4; and −3·(−2) = +6

    f(−2)=4+6+1f(-2)=\mv{s}{4+6+1}
  3. Add the terms

    f(−2)=11f(-2)=\mv{s}{11}

Check: 4 + 6 + 1 = 11 ✓

The domain is every input the recipe can handle. Two things break a function here: a zero denominator and the square root of a negative. Turn each rule into an equation or inequality, solve it, and write the answer in interval notation: a bracket [ ][\ ] includes an endpoint, a parenthesis ( )(\ ) leaves it out, and ∞\infty always gets a parenthesis.

Example 2

Domain of √(6 − 2x): dividing by −2 flips the inequality

f(x)=6−2xf(x)=\sqrt{\mv{r}{6-2x}}
  1. The radicand must be nonnegative

    6−2x≥0\mv{r}{6-2x}\ge0
  2. Subtract 6 from both sides

    −2x≥−6-2x\ge-6
  3. Divide by −2: dividing by a negative flips ≥ to ≤

    x≤3x\hl{\le}3
  4. Everything up to 3, with 3 included

    x∈(−∞,3]x\in(-\infty,3]

Check: x = 3 gives √0 = 0; x = 4 gives √(−2), undefined ✓

Example 3

Domain of (x + 1)/(x² − 9): two inputs are off limits

f(x)=x+1x2−9f(x)=\frac{x+1}{\mv{d}{x^2-9}}
  1. Factor the denominator

    x2−9=(x−3)(x+3)\mv{d}{x^2-9}=(x-3)(x+3)
  2. A denominator cannot be zero

    x≠3,x≠−3x\ne3,\quad x\ne-3
  3. Remove −3 and 3 from the real line

    x∈(−∞,−3)∪(−3,3)∪(3,∞)x\in(-\infty,-3)\cup(-3,3)\cup(3,\infty)

Check: x = 3 gives 4/0, undefined; x = 0 gives −1/9 ✓

Practice

10 practice problems with hints, then a mastery check of 8 questions, right on this page.