Piecewise Function: Continuity and Differentiability

Interactive Piecewise Function: Continuity and Differentiability graph — click to explore
Click the graph to explore it interactively →
Question: 0 if t < -1 and 1over2 time (1-t^2) for -1<=t<0 and half for t>=0
An analysis and visual breakdown of the piecewise function f(t) is presented below:
f(t) = \begin{cases} 0 & \text{if } t < -1 \\ \dfrac{1}{2}(1 - t^2) & \text{if } -1 \le t < 0 \\ \dfrac{1}{2} & \text{if } t \ge 0 \end{cases}

1. Piecewise Breakdown

  1. Left Branch ( t < -1):
    • Equation: f(t) = 0
    • Shape: A flat horizontal line lying directly on the t-axis.
    • As t \to -1^-: The value approaches 0.
  2. Middle Branch ( -1 \le t < 0):
    • Equation: f(t) = \dfrac{1}{2}(1 - t^2) = -\dfrac{1}{2}t^2 + \dfrac{1}{2}
    • Shape: A downward-opening parabolic arc.
    • Start point ( t = -1): f(-1) = \dfrac{1}{2}(1 - (-1)^2) = 0.
    • End/Peak point ( t = 0): f(0) = \dfrac{1}{2}(1 - 0^2) = \dfrac{1}{2}.
    • Behavior: Strictly increasing from 0 up to its maximum value of \dfrac{1}{2} on [-1, 0].
  3. Right Branch ( t \ge 0):
    • Equation: f(t) = \dfrac{1}{2}
    • Shape: A flat horizontal line at a constant height of y = 0.5.

2. Continuity Analysis

To determine if the function is continuous everywhere, we check the transition boundaries:
  • At t = -1:
\begin{align*} \lim_{t \to -1^-} f(t) &= 0 \\ \lim_{t \to -1^+} f(t) &= \frac{1}{2}(1 - (-1)^2) = 0 \\ f(-1) &= 0 \end{align*}
Since \lim_{t \to -1} f(t) = f(-1) = 0, the function is continuous at t = -1.
  • At t = 0:
\begin{align*} \lim_{t \to 0^-} f(t) &= \frac{1}{2}(1 - 0^2) = \frac{1}{2} \\ \lim_{t \to 0^+} f(t) &= \frac{1}{2} \\ f(0) &= \frac{1}{2} \end{align*}
Since \lim_{t \to 0} f(t) = f(0) = \frac{1}{2}, the function is continuous at t = 0.
Therefore, f(t) is continuous for all t \in \mathbb{R}.

3. Differentiability and Smoothness

Taking the derivative piecewise: f'(t) = \begin{cases} 0 & \text{if } t < -1 \\ -t & \text{if } -1 < t < 0 \\ 0 & \text{if } t > 0 \end{cases}
  • At t = -1: The left derivative is 0, while the right derivative is -(-1) = 1. Because the slopes do not match, there is a sharp corner (non-differentiable) at (-1, 0).
  • At t = 0: The left derivative approaches -0 = 0, and the right derivative is 0. Because both slopes match with a value of 0, the transition is completely smooth (differentiable) at (0, 0.5).

4. Summary of Properties

  • Domain: (-\infty, \infty)
  • Range: \left[0, \dfrac{1}{2}\right]
  • Key Boundary Points: A(-1, 0) and B(0, 0.5)
Below is the interactive visual representation of f(t) showing the three connected branches.