[Math] Exposition On An Integral Of An Absolute Value Function

absolute valuealgebra-precalculuscalculus

At the moment, I am trying to work on a simple integral, involving an absolute value function. However, I am not just trying to merely solve it; I am undertaking to write, in detail, of everything I am doing.


So, the function is $f(x) = |x^2 + 3x – 4|$. I know that this isn't an algebraic-like function, so we can't evaluate it as one; but, by using the definition of absolute value, we can rewrite it as one.

The function $f(x)$, without the absolute value signs, can take on both positive and negative values; so, in order to retain the strictly positive output that the absolute value function demands, we have to put a negative sign in front of the algebraic definiton of our absolute vaue function on the interval where the values yield a negative value, so we'll get a double negative -(-), resulting in the positve we want.


This is how far I've gotten so far. From what i've been taught, in order to find the intervals where the function is positive and where it is negative, you have to find the values that make the function zero, and create test intervals from those values. For instance, the zeros of the function above are $x = -4$ and $x = 1$; our test intervals are then $(- \infty, -4)$, $(-4, 1)$, and $(1, \infty)$ My question is, why does finding the zeros of the function guarantee that we will find those precise test intervals?

Best Answer

Let us use your example to illustrate. If $x<-4$, then $x+4<0$ and $x-1<0$ so their product is positive. If $-4<x<1$, then $x+4>0$ and $x-1<0$ so their product is negative. If $x>1$, then $x+4>0$ and $x-1>0$ so their product is positive. The zeros help us split up the real line into these intervals where the individual factors are positive or negative so that we can determine if the product is positive or negative.