3
$\begingroup$

If I'm not crazy, area under the graph of the function $f$ between $x=a$ and $x=b$ is given by formula: $\displaystyle \int_a^b|f(x)|\mbox{d}x$. But I tried to count it for every polynomial and I got the wrong result. Is it difficult? My approach was that:

Let $f$ be any polynomial and $F'=f$. By integration by parts: $$\int_a^b |f(x)|\mbox{d}x=\int_a^b f(x)\cdot \mbox{sgn}(f(x))\mbox{d}x= \\=F(x)\cdot\mbox{sgn}(f(x))\Big|_a^b - \int_a^b F(x)\cdot \mbox{sgn}'(f(x)) \mbox{d}x= F(x)\cdot\mbox{sgn}(f(x))\Big|_a^b$$ because $\mbox{sgn}'(x)=0$ for all $x\in \mathbb{R}$.

But let $f(x)=x^2-5x+4$ and $a=0, \ b=5$, then $\int_a^b|f(x)|\mbox{d}x=\frac{49}{6}$ by WolframAlpha and with my method $F(x)\cdot\mbox{sgn}(f(x))\Big|_a^b=-\frac{5}{6}$.

Where I made a mistake?

  • 0
    sgn is not even continuous, even less differetntiable at $x=0$2012-09-19
  • 2
    The sign function is not differentiable. Its derivative is a Dirac delta in the sense of distributions. Be careful to differentiate it.2012-09-19
  • 0
    I like this question. To the OP : note that substitution might also fail because $f(x)$ might not be one-to-one where it needs to be for the substitution.2012-09-19
  • 0
    Now I understand, thank you. So, is it possible to deduce some nice formula for $\int_a^b |f(x)|\mbox{d}x $ as I was trying? Or to count it I have to count all definite integrals separately with adequate signs?2012-09-19
  • 1
    You should split the interval according to the sign of $f$.2012-09-19
  • 0
    It is best not to use absolute values, you lose visual control of the situation.2012-09-19

0 Answers 0