- #1
Ofey
- 75
- 0
Homework Statement
What are the extreme values for the function
[tex]f:f(x)=\int_0^x(|t|-|t-1|) \ d t [/tex]
in the interval [tex][-1,3][/tex]
Homework Equations
-
The Attempt at a Solution
I tried to simplify the function by getting rid of the absolute values.
This gave me three different possibilities depending on the value for t.
[tex]f:f(x)=\begin{cases} \int_0^x-1 \ d t, & \mbox{if } t \leq 0 \\ \int_0^x(2t-1) \ d t, & \mbox{if } 0<t<1 \\ \int_0^x1 \ d t ,& \mbox{if } t\geq1 \end{cases}[/tex]
Which I got to be
[tex]f:f(x)=\begin{cases} -x, & \mbox{if } t \leq 0 \\ x^2-x, & \mbox{if } 0<t<1 \\ x ,& \mbox{if } t\geq1 \end{cases}[/tex]
This is where it gets tricky for me. How do I treat the fact that the boundaries for the "different" functions are determined by t, when the variable is x. How to pursue the solution from this point?