integral from 0 to 3 abs(x-1) dx
break it in to two parts, or else use geometry
geometry is probably easiest
First, to get rid of the absolute value signs I'd solve for when it =0 and then you can make one part that's less than 0 negative to that point and then leave the positive part untouched and adjust your limits of integration accordingly.
|dw:1396232288130:dw|
you have two triangles, left one has base 1 and height 1, right one has base 2 and height 2 use one half base times height to get the area, you can almost do it in your head
ok i understand that but can you explain how i would solve it by breaking it into two parts?
ok
\[f(x) = |x-1| = \left\{\begin{array}{rcc} 1-x & \text{if} & x <1 \\ x-1& \text{if} & x \geq 1 \end{array} \right. \]
so \[\int_0^3 f(x)=\int_0^1(1-x)dx+\int_1^3(x-1)dx\]
i.e. it is a piecewise function, so you have to break the integral in to two pieces this is a rather long way to do it, but it certainly works
that is why absolute value is such a pain seems like it is easy when you first learn it means "make it positive" but actually since it is a piecewise function it is quite annoying
much easier to say \(\frac{1}{2}+2=\frac{5}{2}\) and be done with it
Ahh i see. Thank you!
yw
Join our real-time social learning platform and learn together with your friends!