Practice / Precalculus

Functions, domain, range and composition

Ten problems on functions: evaluating f at numbers and expressions, domains limited by a denominator or a square root, a piecewise shipping charge, ranges from completing the square, composing two functions in both orders, the domain of a composite, difference quotients, coupons applied in two orders, a composite whose simplified formula hides its domain, and the area of a spreading ripple, with worked solutions and the mistakes of distributing f over a sum, losing the negative root of a denominator, multiplying instead of composing, reading a domain from the simplified formula, and assuming the order of composition does not matter.

Before you start

A function is a rule that turns each allowed input into exactly one output, and most of precalculus is asking three questions about such a rule: which inputs are allowed, which outputs come out, and what happens when one rule is fed into another. These ten problems practice function notation until f(a+1)f(a + 1) is as routine as f(3)f(3), find domains and ranges from the formula, and compose functions in both orders, including a shipping charge, two coupons at a checkout and a ripple spreading on a pond. Two of the mistakes at the end treat ff as a number to be multiplied rather than a rule to be applied; the other three are about domains and the order of composition.

  • Function notation. f(x)f(x) is the output of the rule ff at the input xx; it is not ff times xx. To find f(anything)f(\text{anything}), replace every xx in the formula by that thing, in brackets.
  • Domain. The set of inputs for which the formula gives a real number. Two things restrict it in this chapter: a denominator cannot be 00, and the expression under a square root cannot be negative.
  • Range. The set of outputs the function actually produces as xx runs over the domain.
  • Interval notation. [a,b][a, b] includes both ends, (a,b)(a, b) excludes both, and ∪\cup joins two pieces: (−∞,2)∪(2,∞)(-\infty, 2) \cup (2, \infty) is every real number except 22.
  • Composition. (f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x)): apply gg first, then apply ff to the result. Its domain is every xx in the domain of gg whose output g(x)g(x) is in the domain of ff.
  • Difference quotient. f(x+h)−f(x)h\dfrac{f(x + h) - f(x)}{h} for h≠0h \neq 0: the average rate of change of ff between xx and x+hx + h. Calculus begins with this expression.

Builds on: Equations and inequalities

Problems

  1. ·

    For f(x)=2x2−3x+1f(x) = 2x^2 - 3x + 1, find f(−2)f(-2), f(12)f\left(\tfrac12\right) and f(a+1)f(a + 1).

  2. ·

    Find the domain of each function: (a) f(x)=x+1x2−9f(x) = \dfrac{x + 1}{x^2 - 9}, (b) g(x)=10−2xg(x) = \sqrt{10 - 2x}, (c) h(x)=x+4x−2h(x) = \dfrac{\sqrt{x + 4}}{x - 2}.

  3. ··

    A courier charges by the weight ww of a parcel, in kilograms, up to 3030 kg:

    C(w)={4.500<w≤14.50+1.20(w−1)1<w≤102010<w≤30C(w) = \begin{cases} 4.50 & 0 < w \le 1 \\ 4.50 + 1.20(w - 1) & 1 < w \le 10 \\ 20 & 10 < w \le 30 \end{cases}

    with CC in dollars. Find C(0.6)C(0.6), C(1)C(1), C(3.5)C(3.5), C(10)C(10) and C(12)C(12), and give the domain and range of CC.

  4. ··

    Find the range of each function: (a) f(x)=x2−6x+11f(x) = x^2 - 6x + 11, (b) g(x)=9−x2g(x) = \sqrt{9 - x^2}, (c) h(x)=1x−2+5h(x) = \dfrac{1}{x - 2} + 5.

  5. ··

    Let f(x)=x2+1f(x) = x^2 + 1 and g(x)=2x−3g(x) = 2x - 3. Find (f∘g)(x)(f \circ g)(x), (g∘f)(x)(g \circ f)(x), (f∘g)(2)(f \circ g)(2) and (g∘f)(2)(g \circ f)(2). For which xx do the two compositions agree?

  6. ···

    Let f(x)=1x−1f(x) = \dfrac{1}{x - 1} and g(x)=x+2g(x) = \sqrt{x + 2}. Find formulas and domains for f∘gf \circ g and g∘fg \circ f.

  7. ··

    Find and simplify the difference quotient f(x+h)−f(x)h\dfrac{f(x + h) - f(x)}{h} for (a) f(x)=x2−4xf(x) = x^2 - 4x and (b) f(x)=1xf(x) = \dfrac1x. Evaluate (a) at x=3x = 3, h=0.1h = 0.1 and (b) at x=2x = 2, h=0.5h = 0.5.

  8. ··

    At a checkout you have two coupons: 2020 dollars off, and 15%15\% off. Let f(x)=x−20f(x) = x - 20 and g(x)=0.85xg(x) = 0.85x for a price xx. Find (g∘f)(x)(g \circ f)(x) and (f∘g)(x)(f \circ g)(x), say what each means, and find both for a cart of 180180 dollars. Which order is better for you, and by how much?

  9. ···

    Let f(x)=x−4f(x) = \sqrt{x - 4} and g(x)=x2+4g(x) = x^2 + 4. Simplify (f∘g)(x)(f \circ g)(x) and (g∘f)(x)(g \circ f)(x) and give the domain of each. Find (f∘g)(−3)(f \circ g)(-3) and (g∘f)(1)(g \circ f)(1).

  10. ··

    A stone dropped into a pond sends out a circular ripple whose radius grows at 0.60.6 meters per second, so r(t)=0.6tr(t) = 0.6t after tt seconds. The area inside a circle of radius rr is A(r)=πr2A(r) = \pi r^2. Find (A∘r)(t)(A \circ r)(t) and say what it means. Find the area after 55 seconds, the time at which the area reaches 100100 m², and the average rate at which the area grows between t=2t = 2 and t=5t = 5.

Worked solutions

Problem 1

For f(x)=2x2−3x+1f(x) = 2x^2 - 3x + 1, find f(−2)f(-2), f(12)f\left(\tfrac12\right) and f(a+1)f(a + 1).

  1. f(−2)=2(−2)2−3(−2)+1=8+6+1=15f(-2) = 2(-2)^2 - 3(-2) + 1 = 8 + 6 + 1 = 15.Replace each xx by (−2)(-2), with the brackets: (−2)2=4(-2)^2 = 4, and −3(−2)=+6-3(-2) = +6.
  2. f(12)=2⋅14−32+1=12−32+1=0f\left(\tfrac12\right) = 2\cdot\tfrac14 - \tfrac32 + 1 = \tfrac12 - \tfrac32 + 1 = 0.The same substitution with 12\tfrac12. An output of 00 means 12\tfrac12 is a zero of ff.
  3. f(a+1)=2(a+1)2−3(a+1)+1f(a + 1) = 2(a + 1)^2 - 3(a + 1) + 1.The input is the whole expression a+1a + 1, so it goes in brackets wherever xx was.
  4. =2(a2+2a+1)−3a−3+1=2a2+4a+2−3a−2= 2(a^2 + 2a + 1) - 3a - 3 + 1 = 2a^2 + 4a + 2 - 3a - 2.(a+1)2=a2+2a+1(a + 1)^2 = a^2 + 2a + 1, including the middle term, and the −3-3 multiplies both aa and 11.
  5. f(−2)=15f(-2) = 15, f(12)=0f\left(\tfrac12\right) = 0, f(a+1)=2a2+af(a + 1) = 2a^2 + aCollect terms in step 4: 4a−3a=a4a - 3a = a and 2−2=02 - 2 = 0. Check with a=1a = 1: f(2)=8−6+1=3f(2) = 8 - 6 + 1 = 3 and 2+1=32 + 1 = 3.

Problem 2

Find the domain of each function: (a) f(x)=x+1x2−9f(x) = \dfrac{x + 1}{x^2 - 9}, (b) g(x)=10−2xg(x) = \sqrt{10 - 2x}, (c) h(x)=x+4x−2h(x) = \dfrac{\sqrt{x + 4}}{x - 2}.

  1. (a) x2−9=0x^2 - 9 = 0 when x=3x = 3 or x=−3x = -3.The only restriction is the denominator. x2=9x^2 = 9 has two solutions. The numerator being 00 at x=−1x = -1 is no problem: 00 divided by a nonzero number is 00.
  2. Domain of ff: all real xx except ±3\pm 3, that is (−∞,−3)∪(−3,3)∪(3,∞)(-\infty, -3) \cup (-3, 3) \cup (3, \infty).Remove the two points from the number line, which leaves three intervals.
  3. (b) 10−2x≥010 - 2x \ge 0, so −2x≥−10-2x \ge -10 and x≤5x \le 5.The expression under the root must not be negative; 00 is allowed, since 0=0\sqrt0 = 0. Dividing by −2-2 reverses the inequality.
  4. Domain of gg: (−∞,5](-\infty, 5].The square bracket includes 55.
  5. (c) x+4≥0x + 4 \ge 0 gives x≥−4x \ge -4, and x−2≠0x - 2 \ne 0 gives x≠2x \ne 2.Both restrictions apply at once: the root on top and the denominator below.
  6. (a) x≠±3x \ne \pm 3. (b) x≤5x \le 5, or (−∞,5](-\infty, 5]. (c) x≥−4x \ge -4 with x≠2x \ne 2, or [−4,2)∪(2,∞)[-4, 2) \cup (2, \infty)Steps 2, 4 and 5.

Problem 3

A courier charges by the weight ww of a parcel, in kilograms, up to 3030 kg:

C(w)={4.500<w≤14.50+1.20(w−1)1<w≤102010<w≤30C(w) = \begin{cases} 4.50 & 0 < w \le 1 \\ 4.50 + 1.20(w - 1) & 1 < w \le 10 \\ 20 & 10 < w \le 30 \end{cases}

with CC in dollars. Find C(0.6)C(0.6), C(1)C(1), C(3.5)C(3.5), C(10)C(10) and C(12)C(12), and give the domain and range of CC.

  1. C(0.6)=4.50C(0.6) = 4.50 and C(1)=4.50C(1) = 4.50.Both weights satisfy 0<w≤10 < w \le 1, the first rule. The ≤\le puts w=1w = 1 in the first piece, not the second.
  2. C(3.5)=4.50+1.20(3.5−1)=4.50+3.00=7.50C(3.5) = 4.50 + 1.20(3.5 - 1) = 4.50 + 3.00 = 7.50.1<3.5≤101 < 3.5 \le 10, so use the second rule: 1.201.20 dollars for each kilogram beyond the first.
  3. C(10)=4.50+1.20(9)=4.50+10.80=15.30C(10) = 4.50 + 1.20(9) = 4.50 + 10.80 = 15.30.w=10w = 10 still belongs to the second piece.
  4. C(12)=20C(12) = 20.10<12≤3010 < 12 \le 30: the flat rate.
  5. Domain: 0<w≤300 < w \le 30, that is (0,30](0, 30].The three conditions together cover every weight above 00 up to 3030, with no gaps and no overlaps.
  6. On the second piece CC rises steadily from just above 4.504.50 to 15.3015.30; the first piece gives 4.504.50 and the third gives 2020.A piece that is a line with positive slope takes every value between its ends.
  7. 4.504.50, 4.504.50, 7.507.50, 15.3015.30 and 2020 dollars; domain (0,30](0, 30]; range [4.50,15.30]∪{20}[4.50, 15.30] \cup \{20\}Steps 1 to 6. No parcel costs between 15.3015.30 and 2020 dollars: the charge jumps at 1010 kg.

Problem 4

Find the range of each function: (a) f(x)=x2−6x+11f(x) = x^2 - 6x + 11, (b) g(x)=9−x2g(x) = \sqrt{9 - x^2}, (c) h(x)=1x−2+5h(x) = \dfrac{1}{x - 2} + 5.

  1. (a) x2−6x+11=(x2−6x+9)+2=(x−3)2+2x^2 - 6x + 11 = (x^2 - 6x + 9) + 2 = (x - 3)^2 + 2.Complete the square: half of −6-6 is −3-3, and (−3)2=9(-3)^2 = 9.
  2. (x−3)2≥0(x - 3)^2 \ge 0, with equality at x=3x = 3, so f(x)≥2f(x) \ge 2, and every value from 22 up is reached.A square is never negative and grows without bound. Range: [2,∞)[2, \infty).
  3. (b) The domain is −3≤x≤3-3 \le x \le 3, where 9−x29 - x^2 runs from 00 (at x=±3x = \pm3) up to 99 (at x=0x = 0).9−x2≥09 - x^2 \ge 0 means x2≤9x^2 \le 9. Find the range of the inside first.
  4. So 9−x2\sqrt{9 - x^2} runs from 0=0\sqrt0 = 0 to 9=3\sqrt9 = 3. Range: [0,3][0, 3].The square root is increasing, so it carries the interval [0,9][0, 9] to [0,3][0, 3]. The graph is the top half of a circle of radius 33.
  5. (c) 1x−2\dfrac1{x - 2} takes every real value except 00.A fraction with numerator 11 is never 00; and for any c≠0c \ne 0 it equals cc at x=2+1cx = 2 + \tfrac1c.
  6. Adding 55 shifts every output up by 55, so hh takes every value except 55.Range: (−∞,5)∪(5,∞)(-\infty, 5) \cup (5, \infty).
  7. (a) [2,∞)[2, \infty). (b) [0,3][0, 3]. (c) all real numbers except 55Steps 2, 4 and 6.

Problem 5

Let f(x)=x2+1f(x) = x^2 + 1 and g(x)=2x−3g(x) = 2x - 3. Find (f∘g)(x)(f \circ g)(x), (g∘f)(x)(g \circ f)(x), (f∘g)(2)(f \circ g)(2) and (g∘f)(2)(g \circ f)(2). For which xx do the two compositions agree?

  1. (f∘g)(x)=f(2x−3)=(2x−3)2+1=4x2−12x+10(f \circ g)(x) = f(2x - 3) = (2x - 3)^2 + 1 = 4x^2 - 12x + 10.Apply gg first; its output 2x−32x - 3 becomes the input of ff. (2x−3)2=4x2−12x+9(2x - 3)^2 = 4x^2 - 12x + 9.
  2. (g∘f)(x)=g(x2+1)=2(x2+1)−3=2x2−1(g \circ f)(x) = g(x^2 + 1) = 2(x^2 + 1) - 3 = 2x^2 - 1.Now ff first, and its output goes into gg.
  3. (f∘g)(2)=16−24+10=2(f \circ g)(2) = 16 - 24 + 10 = 2 and (g∘f)(2)=8−1=7(g \circ f)(2) = 8 - 1 = 7.Or step by step: g(2)=1g(2) = 1 and f(1)=2f(1) = 2; f(2)=5f(2) = 5 and g(5)=7g(5) = 7. The order matters.
  4. They agree when 4x2−12x+10=2x2−14x^2 - 12x + 10 = 2x^2 - 1, that is 2x2−12x+11=02x^2 - 12x + 11 = 0.Set the formulas equal and move everything to one side.
  5. x=12±144−884=12±564=3±142x = \dfrac{12 \pm \sqrt{144 - 88}}{4} = \dfrac{12 \pm \sqrt{56}}{4} = 3 \pm \dfrac{\sqrt{14}}{2}.Quadratic formula with a=2a = 2, b=−12b = -12, c=11c = 11; 56=214\sqrt{56} = 2\sqrt{14}.
  6. (f∘g)(x)=4x2−12x+10(f \circ g)(x) = 4x^2 - 12x + 10, (g∘f)(x)=2x2−1(g \circ f)(x) = 2x^2 - 1; at 22 they give 22 and 77; they agree only at x=3±142≈1.129x = 3 \pm \tfrac{\sqrt{14}}2 \approx 1.129 and 4.8714.871Steps 1 to 5. The two orders give different functions that happen to agree at just two inputs.

Problem 6

Let f(x)=1x−1f(x) = \dfrac{1}{x - 1} and g(x)=x+2g(x) = \sqrt{x + 2}. Find formulas and domains for f∘gf \circ g and g∘fg \circ f.

  1. (f∘g)(x)=1x+2−1(f \circ g)(x) = \dfrac{1}{\sqrt{x + 2} - 1}.Put g(x)g(x) into ff.
  2. gg needs x≥−2x \ge -2, and ff needs its input g(x)≠1g(x) \ne 1: x+2≠1\sqrt{x + 2} \ne 1, so x≠−1x \ne -1.The two conditions for a composite: xx is allowed into gg, and g(x)g(x) is allowed into ff.
  3. Domain of f∘gf \circ g: [−2,−1)∪(−1,∞)[-2, -1) \cup (-1, \infty).Step 2.
  4. (g∘f)(x)=1x−1+2=2x−1x−1(g \circ f)(x) = \sqrt{\dfrac{1}{x - 1} + 2} = \sqrt{\dfrac{2x - 1}{x - 1}}.Put f(x)f(x) into gg; 1x−1+2=1+2(x−1)x−1\tfrac1{x - 1} + 2 = \tfrac{1 + 2(x - 1)}{x - 1}.
  5. ff needs x≠1x \ne 1, and gg needs its input f(x)≥−2f(x) \ge -2, that is 2x−1x−1≥0\dfrac{2x - 1}{x - 1} \ge 0.f(x)+2≥0f(x) + 2 \ge 0 is the same condition as the fraction in step 4 being non-negative.
  6. The fraction is 00 at x=12x = \tfrac12 and undefined at x=1x = 1. It is positive for x<12x < \tfrac12 (try 00: −1−1=1\tfrac{-1}{-1} = 1), negative between (try 0.750.75: 0.5−0.25=−2\tfrac{0.5}{-0.25} = -2), and positive for x>1x > 1 (try 22: 33).A fraction can change sign only where its top or bottom is 00, so test one point in each of the three intervals.
  7. (f∘g)(x)=1x+2−1(f \circ g)(x) = \dfrac{1}{\sqrt{x + 2} - 1} on [−2,−1)∪(−1,∞)[-2, -1) \cup (-1, \infty); (g∘f)(x)=2x−1x−1(g \circ f)(x) = \sqrt{\dfrac{2x - 1}{x - 1}} on (−∞,12]∪(1,∞)\left(-\infty, \tfrac12\right] \cup (1, \infty)Steps 3 and 6. x=12x = \tfrac12 is included because 0\sqrt0 is fine; x=1x = 1 is not, because f(1)f(1) does not exist.

Problem 7

Find and simplify the difference quotient f(x+h)−f(x)h\dfrac{f(x + h) - f(x)}{h} for (a) f(x)=x2−4xf(x) = x^2 - 4x and (b) f(x)=1xf(x) = \dfrac1x. Evaluate (a) at x=3x = 3, h=0.1h = 0.1 and (b) at x=2x = 2, h=0.5h = 0.5.

  1. (a) f(x+h)=(x+h)2−4(x+h)=x2+2xh+h2−4x−4hf(x + h) = (x + h)^2 - 4(x + h) = x^2 + 2xh + h^2 - 4x - 4h.Replace xx by (x+h)(x + h) everywhere, then expand.
  2. f(x+h)−f(x)=2xh+h2−4hf(x + h) - f(x) = 2xh + h^2 - 4h.Subtract x2−4xx^2 - 4x. Every term without an hh cancels; if one survives, there is an error in step 1.
  3. 2xh+h2−4hh=2x+h−4\dfrac{2xh + h^2 - 4h}{h} = 2x + h - 4.Each term has a factor of hh, and h≠0h \ne 0, so divide it out.
  4. At x=3x = 3, h=0.1h = 0.1: 6+0.1−4=2.16 + 0.1 - 4 = 2.1.Check directly: f(3.1)=9.61−12.4=−2.79f(3.1) = 9.61 - 12.4 = -2.79 and f(3)=−3f(3) = -3, so the quotient is 0.210.1=2.1\tfrac{0.21}{0.1} = 2.1.
  5. (b) 1x+h−1x=x−(x+h)x(x+h)=−hx(x+h)\dfrac{1}{x + h} - \dfrac1x = \dfrac{x - (x + h)}{x(x + h)} = \dfrac{-h}{x(x + h)}.Subtract the fractions over the common denominator x(x+h)x(x + h).
  6. Dividing by hh: −1x(x+h)\dfrac{-1}{x(x + h)}. At x=2x = 2, h=0.5h = 0.5: −12×2.5=−0.2\dfrac{-1}{2 \times 2.5} = -0.2.Check: 12.5−12=0.4−0.5=−0.1\tfrac1{2.5} - \tfrac12 = 0.4 - 0.5 = -0.1, and −0.1÷0.5=−0.2-0.1 \div 0.5 = -0.2.
  7. (a) 2x+h−42x + h - 4, which is 2.12.1. (b) −1x(x+h)-\dfrac{1}{x(x + h)}, which is −0.2-0.2Steps 3, 4 and 6.

Problem 8

At a checkout you have two coupons: 2020 dollars off, and 15%15\% off. Let f(x)=x−20f(x) = x - 20 and g(x)=0.85xg(x) = 0.85x for a price xx. Find (g∘f)(x)(g \circ f)(x) and (f∘g)(x)(f \circ g)(x), say what each means, and find both for a cart of 180180 dollars. Which order is better for you, and by how much?

  1. (g∘f)(x)=g(x−20)=0.85(x−20)=0.85x−17(g \circ f)(x) = g(x - 20) = 0.85(x - 20) = 0.85x - 17.ff first: take 2020 dollars off, then take 15%15\% off what is left.
  2. (f∘g)(x)=f(0.85x)=0.85x−20(f \circ g)(x) = f(0.85x) = 0.85x - 20.gg first: take 15%15\% off, then 2020 dollars off.
  3. For x=180x = 180: (g∘f)(180)=0.85(160)=136(g \circ f)(180) = 0.85(160) = 136 and (f∘g)(180)=153−20=133(f \circ g)(180) = 153 - 20 = 133.Step by step, or from the formulas: 153−17153 - 17 and 153−20153 - 20.
  4. (g∘f)(x)−(f∘g)(x)=(0.85x−17)−(0.85x−20)=3(g \circ f)(x) - (f \circ g)(x) = (0.85x - 17) - (0.85x - 20) = 3.The difference does not depend on the price.
  5. (g∘f)(x)=0.85x−17(g \circ f)(x) = 0.85x - 17 (dollars off, then percent off) gives 136136; (f∘g)(x)=0.85x−20(f \circ g)(x) = 0.85x - 20 (percent off, then dollars off) gives 133133. Percent first is better by 33 dollars, for every cartSteps 1 to 4. Taking the 2020 dollars off first lets the 15%15\% coupon shrink that discount too: 15%15\% of 2020 is the 33 dollars lost.

Problem 9

Let f(x)=x−4f(x) = \sqrt{x - 4} and g(x)=x2+4g(x) = x^2 + 4. Simplify (f∘g)(x)(f \circ g)(x) and (g∘f)(x)(g \circ f)(x) and give the domain of each. Find (f∘g)(−3)(f \circ g)(-3) and (g∘f)(1)(g \circ f)(1).

  1. (f∘g)(x)=(x2+4)−4=x2=∣x∣(f \circ g)(x) = \sqrt{(x^2 + 4) - 4} = \sqrt{x^2} = \lvert x\rvert.x2\sqrt{x^2} is the non-negative number whose square is x2x^2, which is ∣x∣\lvert x\rvert, not xx.
  2. Its domain is all real numbers.gg accepts every xx, and g(x)=x2+4≥4g(x) = x^2 + 4 \ge 4 is always allowed into ff, which needs an input of at least 44.
  3. (f∘g)(−3)=∣−3∣=3(f \circ g)(-3) = \lvert -3\rvert = 3.Step by step: g(−3)=13g(-3) = 13 and f(13)=9=3f(13) = \sqrt9 = 3.
  4. (g∘f)(x)=(x−4)2+4=(x−4)+4=x(g \circ f)(x) = \left(\sqrt{x - 4}\right)^2 + 4 = (x - 4) + 4 = x.Squaring undoes the square root, where the root exists.
  5. Its domain is x≥4x \ge 4 only.ff comes first and needs x−4≥0x - 4 \ge 0. The simplified formula xx makes sense for every number, but the composite does not: its domain is decided before simplifying.
  6. (g∘f)(1)(g \circ f)(1) is undefined.f(1)=−3f(1) = \sqrt{-3} is not a real number, so there is nothing to put into gg, even though the simplified formula would say 11.
  7. (f∘g)(x)=∣x∣(f \circ g)(x) = \lvert x\rvert for all real xx, and (f∘g)(−3)=3(f \circ g)(-3) = 3; (g∘f)(x)=x(g \circ f)(x) = x for x≥4x \ge 4 only, and (g∘f)(1)(g \circ f)(1) is undefinedSteps 1 to 6.

Problem 10

A stone dropped into a pond sends out a circular ripple whose radius grows at 0.60.6 meters per second, so r(t)=0.6tr(t) = 0.6t after tt seconds. The area inside a circle of radius rr is A(r)=πr2A(r) = \pi r^2. Find (A∘r)(t)(A \circ r)(t) and say what it means. Find the area after 55 seconds, the time at which the area reaches 100100 m², and the average rate at which the area grows between t=2t = 2 and t=5t = 5.

  1. (A∘r)(t)=A(0.6t)=π(0.6t)2=0.36πt2(A \circ r)(t) = A(0.6t) = \pi(0.6t)^2 = 0.36\pi t^2.Time goes into rr, and the radius goes into AA. The composite gives the area inside the ripple directly from the time. Square the 0.60.6 as well as the tt.
  2. At t=5t = 5: 0.36π(25)=9π≈28.270.36\pi(25) = 9\pi \approx 28.27 m².The radius is 33 m, and π⋅32=9π\pi \cdot 3^2 = 9\pi.
  3. 0.36πt2=1000.36\pi t^2 = 100 gives t2=1000.36π≈88.42t^2 = \dfrac{100}{0.36\pi} \approx 88.42, so t≈9.40t \approx 9.40 s.Divide, then take the positive square root, since t≥0t \ge 0.
  4. A(r(5))−A(r(2))5−2=9π−1.44π3=2.52π≈7.92\dfrac{A(r(5)) - A(r(2))}{5 - 2} = \dfrac{9\pi - 1.44\pi}{3} = 2.52\pi \approx 7.92 m² per second.Average rate of change: change in area over change in time, a difference quotient with x=2x = 2 and h=3h = 3.
  5. (A∘r)(t)=0.36πt2(A \circ r)(t) = 0.36\pi t^2, the area in m² after tt seconds; 9π≈28.279\pi \approx 28.27 m² at 55 s; 100100 m² at t≈9.40t \approx 9.40 s; average growth 2.52π≈7.922.52\pi \approx 7.92 m² per secondSteps 1 to 4. The radius grows at a steady rate, but the area does not: it grows faster as the circle gets larger.

Where this goes wrong

1. Distributing f over a sum

The brackets in f(a+1)f(a + 1) look like the brackets in 3(a+1)3(a + 1).

  1. f(x)=2x2−3x+1f(x) = 2x^2 - 3x + 1; find f(a+1)f(a + 1)Right so far: Problem 1.
  2. “f(a+1)f(a + 1) is f(a)f(a) plus f(1)f(1),” or “f(a)f(a) plus 11.”The habit that causes the mistake: reading f( )f(\ ) as multiplication, which distributes over a sum. A function is a rule applied to the whole input.
  3. f(a+1)=f(a)+1=2a2−3a+2f(a + 1) = f(a) + 1 = 2a^2 - 3a + 2Replace every xx by (a+1)(a + 1): 2(a+1)2−3(a+1)+1=2a2+a2(a + 1)^2 - 3(a + 1) + 1 = 2a^2 + a. At a=1a = 1 the wrong formula gives 11, but f(2)=3f(2) = 3.

2. Losing the negative root of the denominator

One value that makes the denominator zero is found, and the search stops.

  1. f(x)=x+1x2−9f(x) = \dfrac{x + 1}{x^2 - 9}; the denominator is 00 when x2=9x^2 = 9Right so far: Problem 2(a).
  2. “x2=9x^2 = 9, so x=3x = 3.”The habit that causes the mistake: taking only the positive square root. (−3)2=9(-3)^2 = 9 as well.
  3. Domain: all real numbers except 33f(−3)=−20f(-3) = \tfrac{-2}{0} is undefined too. Factor to see both: x2−9=(x−3)(x+3)x^2 - 9 = (x - 3)(x + 3). The domain excludes 33 and −3-3.

3. Multiplying instead of composing

The small circle in f∘gf \circ g is read as a multiplication dot.

  1. f(x)=x2+1f(x) = x^2 + 1 and g(x)=2x−3g(x) = 2x - 3; find (f∘g)(x)(f \circ g)(x)Right so far: Problem 5.
  2. “Put the two together: multiply them.”The habit that causes the mistake: (fg)(x)=f(x) g(x)(fg)(x) = f(x)\,g(x) is the product, a different operation. The circle means “apply one after the other”.
  3. (f∘g)(x)=(x2+1)(2x−3)=2x3−3x2+2x−3(f \circ g)(x) = (x^2 + 1)(2x - 3) = 2x^3 - 3x^2 + 2x - 3(f∘g)(x)=f(g(x))=(2x−3)2+1=4x2−12x+10(f \circ g)(x) = f(g(x)) = (2x - 3)^2 + 1 = 4x^2 - 12x + 10. At x=2x = 2 the product gives 55, and the composite gives f(1)=2f(1) = 2.

4. Reading the domain from the simplified formula

After simplifying, the formula is so plain that its domain seems obvious.

  1. f(x)=x−4f(x) = \sqrt{x - 4} and g(x)=x2+4g(x) = x^2 + 4 give (g∘f)(x)=(x−4)2+4=x(g \circ f)(x) = (\sqrt{x - 4})^2 + 4 = xRight so far: Problem 9, step 4.
  2. “The answer is xx, and xx is defined everywhere.”The half-truth that causes the mistake: the simplification is valid only where the original expression exists. Simplifying can hide a restriction but never removes it.
  3. Domain of g∘fg \circ f: all real numbersThe first step of g(f(x))g(f(x)) is x−4\sqrt{x - 4}, which needs x≥4x \ge 4. At x=1x = 1 there is no f(1)f(1) to feed into gg. The domain is [4,∞)[4, \infty).

5. Assuming the order of composition does not matter

Addition and multiplication can be done in either order, and composition looks similar.

  1. A 2020-dollar coupon f(x)=x−20f(x) = x - 20 and a 15%15\% coupon g(x)=0.85xg(x) = 0.85x on a 180180-dollar cartRight so far: Problem 8.
  2. “Both coupons get used either way, so the total is the same.”The habit that causes the mistake: assuming f∘g=g∘ff \circ g = g \circ f. Composition is not commutative.
  3. (g∘f)(180)=(f∘g)(180)=133(g \circ f)(180) = (f \circ g)(180) = 133Dollars first gives 0.85(160)=1360.85(160) = 136; percent first gives 153−20=133153 - 20 = 133. They differ by 33 dollars at every price. Compute each order separately.

Print this set: functions-domain-range-and-composition.pdf (problems, answers, and worked solutions on separate pages).

Read the guide: Domain and range: square roots, denominators, logs, and interval notation