How do I plot this function graphically?

34 Views Asked by At

Let $F(t)$ be a function of $t$, given by $$F(t) = t U(t)-(t-1) U(t-1) + (t-2) U(t-2) - (t-3) U(t-3)$$ where $U$ is the Heaviside step function.

I am getting confused regarding its graphical representation. Any help would be highly appreciated.

1

There are 1 best solutions below

2
On BEST ANSWER

Hint: The first term is

$$tU(t)= \begin{cases} 0 & t<0\\ t & t\geq 0 \end{cases}$$

the second

$$(t-1)U(t-1)=\begin{cases} 0 &t<1\\ t-1 & t\geq 1 \end{cases}$$

and so on... Can you take it from here?

Edit:

$$F(t)= \begin{cases} 0, & t<0\\ t, & 0\leq t<1\\ 1, & 1\leq t<2\\ t-1,& 2\leq t<3\\ 2, &t\geq 3 \end{cases}$$