MTH117 · 2079 · 10 marks
If a function is defined by f(x) = begincases 1 + x, & x leq -1 x2, & x > -1 endcases, evaluate f(-3), f(-1) and f(0) and sketch the graph. Prove that limx to 0 frac|x|x does not exist. [10+0]
If a function is defined by $f(x) = \begin{cases} 1 + x, & x \leq -1 \ x^2, & x > -1 \end{cases}$, evaluate $f(-3)$, $f(-1)$ and $f(0)$ and sketch the graph. Prove that $\lim_{x \to 0} \frac{|x|}{x}$ does not exist. [10+0]
Piecewise Function Evaluation, Graph, and Limit Proof
Given Data
$$f(x) = \begin{cases} 1 + x, & x \leq -1 \ x^2, & x > -1 \end{cases}$$
Evaluate $f(-3)$, $f(-1)$, $f(0)$; sketch graph; prove $\lim_{x\to 0}\frac{|x|}{x}$ does not exist.
Part 1: Evaluations
$f(-3)$: Since $-3 \leq -1$, use $1+x$: $$f(-3) = 1 + (-3) = -2$$
$f(-1)$: Since $-1 \leq -1$, use $1+x$: $$f(-1) = 1 + (-1) = 0$$
$f(0)$: Since $0 > -1$, use $x^2$: $$f(0) = 0^2 = 0$$
Part 2: Graph
Line $y = 1+x$ for $x \leq -1$:
| $x$ | $-3$ | $-2$ | $-1$ |
|---|---|---|---|
| $f(x)$ | $-2$ | $-1$ | $0$ (closed) |
Parabola $y = x^2$ for $x > -1$:
| $x$ | $-1$ | $0$ | $1$ | $2$ |
|---|---|---|---|---|
| $f(x)$ | $1$ (open) | $0$ | $1$ | $4$ |
At $x = -1$: left branch gives closed point $(-1, 0)$; right branch approaches open point $(-1, 1)$. The function is discontinuous at $x = -1$ (jump discontinuity of size 1).
f(x)
4 | *
3 |
2 |
1 | o *
0 | * *
-1 | * (line)
-2 | * /
+--+--+--+--+--+--+--+---> x
-3 -2 -1 0 1 2 3
- Line drawn for $x \le -1$, closed dot at $(-1,0)$
- Parabola drawn for $x > -1$, open dot at $(-1,1)$
Part 3: Prove $\lim_{x\to 0}\frac{|x|}{x}$ does not exist
Recall $|x| = \begin{cases} x, & x > 0 \ -x, & x < 0 \end{cases}$
RHL ($x \to 0^+$): here $|x| = x$: $$\lim_{x\to 0^+}\frac{|x|}{x} = \lim_{x\to 0^+}\frac{x}{x} = 1$$
LHL ($x \to 0^-$): here $|x| = -x$: $$\lim_{x\to 0^-}\frac{|x|}{x} = \lim_{x\to 0^-}\frac{-x}{x} = -1$$
Since $\text{LHL} = -1 \neq 1 = \text{RHL}$, the one-sided limits are unequal.
$$\therefore \lim_{x\to 0}\frac{|x|}{x} \text{ does not exist.} \qquad \blacksquare$$
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.