What this les­son cov­ers

This les­son adds four more fam­i­lies to our list: cubic func­tions, ratio­nal func­tions, irra­tional func­tions and the mod­u­lus (absolute value) func­tion. For each we note the domain, the range and the shape of the graph. The mod­u­lus func­tion comes with a set of prop­er­ties that you will use con­stantly.

Cubic func­tion

A func­tion of the form f(x)=ax3+bx2+cx+df(x) = ax^3 + bx^2 + cx + d with a≠0a \neq 0 is called a cubic func­tion.

The sim­plest exam­ple is f(x)=x3f(x) = x^3. Its graph passes through the ori­gin, rises steadily from the third quad­rant to the first, and flat­tens momen­tar­ily at the ori­gin. Domain =R= \mathbb{R}, range =R= \mathbb{R}.

Ratio­nal func­tion

A func­tion of the form f(x)g(x)\displaystyle \dfrac{f(x)}{g(x)}, where f(x)f(x) and g(x)g(x) are poly­no­mial func­tions and g(x)≠0g(x) \neq 0, is called a ratio­nal func­tion. Its domain leaves out every zero of the denom­i­na­tor.

  • f(x)=x−3x−6\displaystyle f(x) = \dfrac{x - 3}{x - 6} has domain R−{6}\mathbb{R} - \{6\}.
  • f(x)=1x\displaystyle f(x) = \dfrac{1}{x}, x≠0x \neq 0: the graph has two branches, one in the first quad­rant and one in the third, each approach­ing both axes with­out touch­ing them. Domain =R−{0}= \mathbb{R} - \{0\}, range =R−{0}= \mathbb{R} - \{0\}.
  • f(x)=1x2\displaystyle f(x) = \dfrac{1}{x^2}: both branches lie above the xx-axis, ris­ing steeply near the yy-axis and flat­ten­ing towards the xx-axis. Domain =R−{0}= \mathbb{R} - \{0\}, range =(0,∞)= (0, \infty).

Irra­tional func­tions

Func­tions involv­ing a rad­i­cal sign or a frac­tional power of the inde­pen­dent vari­able are called irra­tional func­tions. Exam­ples are x\sqrt{x} and 2x2+x1+5x2\displaystyle \dfrac{2x^2 + \sqrt{x}}{\sqrt{1 + 5x^2}}.

The graph of y=xy = \sqrt{x} starts at the ori­gin and rises to the right, ever more slowly. Domain =[0,∞)= [0, \infty), range =[0,∞)= [0, \infty).

Absolute value (mod­u­lus) func­tion

The func­tion f:R→Rf : \mathbb{R} \to \mathbb{R} defined by f(x)=∣x∣f(x) = |x| is called the mod­u­lus func­tion, mod func­tion or absolute value func­tion. Domain =R= \mathbb{R}, range =[0,∞)= [0, \infty). Piece­wise,

f(x)=∣x∣={−xif x<0,0if x=0,xif x>0.f(x) = |x| = \begin{cases} -x & \text{if } x < 0, \\ 0 & \text{if } x = 0, \\ x & \text{if } x > 0. \end{cases}

Its graph is a V shape with its cor­ner at the ori­gin: the line y=−xy = -x to the left of the yy-axis and the line y=xy = x to the right.

Prop­er­ties of the mod­u­lus

For real xx and yy:

  1. ∣x∣≥0|x| \ge 0 for all x∈Rx \in \mathbb{R}.
  2. ∣x∣=0  ⟺  x=0|x| = 0 \iff x = 0.
  3. ∣x∣>x  ⟺  x<0|x| > x \iff x < 0.
  4. ∣x∣<x|x| < x holds for no real xx.
  5. ∣−x∣=∣x∣|-x| = |x|.
  6. ∣xn∣=∣x∣n|x^n| = |x|^n.
  7. ∣xy∣=∣x∣ ∣y∣|xy| = |x|\,|y|.
  8. ∣xy∣=∣x∣∣y∣\displaystyle \left|\dfrac{x}{y}\right| = \dfrac{|x|}{|y|}, for y≠0y \neq 0.
  9. ∣x+y∣≤∣x∣+∣y∣|x + y| \le |x| + |y| (the tri­an­gle inequal­ity).
  10. ∣x+y∣=∣x∣+∣y∣|x + y| = |x| + |y| when xy≥0xy \ge 0.
  11. ∣x+y∣<∣x∣+∣y∣|x + y| < |x| + |y| when xy<0xy < 0.
  12. ∣∣x∣−∣y∣∣≤∣x+y∣≤∣x∣+∣y∣\big||x| - |y|\big| \le |x + y| \le |x| + |y| and ∣∣x∣−∣y∣∣≤∣x−y∣≤∣x∣+∣y∣\big||x| - |y|\big| \le |x - y| \le |x| + |y|.
  13. For a>0a > 0:
    • ∣x∣<a  ⟺  −a<x<a  ⟺  x∈(−a,a)|x| < a \iff -a < x < a \iff x \in (-a, a)
    • ∣x∣≤a  ⟺  −a≤x≤a  ⟺  x∈[−a,a]|x| \le a \iff -a \le x \le a \iff x \in [-a, a]
    • ∣x∣>a  ⟺  x<−a|x| > a \iff x < -a or x>a  ⟺  x∈(−∞,−a)∪(a,∞)x > a \iff x \in (-\infty, -a) \cup (a, \infty)
    • ∣x∣≥a  ⟺  x≤−a|x| \ge a \iff x \le -a or x≥a  ⟺  x∈(−∞,−a]∪[a,∞)x \ge a \iff x \in (-\infty, -a] \cup [a, \infty)

The last group is the key to mod­u­lus inequal­i­ties: ∣x∣<a|x| < a means "xx is within dis­tance aa of 00".

Exam­ple 1

Solve ∣2x−3∣<5|2x - 3| < 5.

−5<2x−3<5  ⟺  −2<2x<8  ⟺  −1<x<4.\begin{aligned} -5 < 2x - 3 < 5 &\iff -2 < 2x < 8 \\ &\iff -1 < x < 4. \end{aligned}

So x∈(−1,4)x \in (-1, 4).

Prac­tice

  1. Find the domain of f(x)=x+1x2−9\displaystyle f(x) = \dfrac{x + 1}{x^2 - 9}.
  2. Find the domain of f(x)=1x2+1\displaystyle f(x) = \dfrac{1}{x^2 + 1}.
  3. Solve ∣x−2∣≤3|x - 2| \le 3.
  4. Solve ∣3x+1∣>8|3x + 1| > 8.
  5. Find all xx with ∣x∣=−x|x| = -x.
  6. Using prop­erty 10, decide whether ∣x+4∣=∣x∣+4|x + 4| = |x| + 4 holds when x=−1x = -1.

Answers

Show answers
  1. x2−9≠0x^2 - 9 \neq 0, so the domain is R−{−3,3}\mathbb{R} - \{-3, 3\}.
  2. x2+1>0x^2 + 1 > 0 always, so the domain is R\mathbb{R}.
  3. −3≤x−2≤3-3 \le x - 2 \le 3, so x∈[−1,5]x \in [-1, 5].
  4. 3x+1>83x + 1 > 8 or 3x+1<−83x + 1 < -8, so x∈(−∞,−3)∪(73,∞)\displaystyle x \in (-\infty, -3) \cup \left(\frac73, \infty\right).
  5. x≤0x \le 0, that is x∈(−∞,0]x \in (-\infty, 0].
  6. No: xy=−4<0xy = -4 < 0, and indeed ∣3∣=3|3| = 3 while ∣−1∣+4=5|-1| + 4 = 5.