- Thread starter
- #1

- Thread starter Fermat
- Start date

- Thread starter
- #1

- Jan 17, 2013

- 1,667

Since you are integrating on the interval $[0,t]$ so we have $0\leq s \leq t$.How would I compute the following integral? Let t be in [0,1].

$\int_{0}^{t}|s-t|\,ds$

- Jan 29, 2012

- 1,159

The integral is for s from 0 to t so s is always less than t and s- t is always negative. |s- t|= -(s- t) soHow would I compute the following integral? Let t be in [0,1].

$\int_{0}^{t}|s-t|\,ds$

[tex]\int_0^{t}|s- t| ds= -\int_0^t (t- s) ds= \left[ts- s^2/2\right]_0^t= t^2/2[/tex]