paulmdrdo1
- 382
- 0
$\displaystyle\int|2x-1|dx$
please tell me what is the first step to solve this.
please tell me what is the first step to solve this.
The discussion revolves around the integration of the absolute value function, specifically $\displaystyle\int|2x-1|dx$. Participants explore the steps involved in solving this integral, including the need to handle the piecewise nature of the absolute value function and the implications for both indefinite and definite integrals.
Participants generally agree on the need to handle the piecewise nature of the absolute value function but express differing views on the integration process and the implications for continuity and differentiability. The discussion remains unresolved regarding the best approach to express the integral and the evaluation of the definite integral.
There are limitations in the discussion regarding the assumptions made about continuity and differentiability at the boundary point $x = \frac{1}{2}$. The participants do not fully resolve the mathematical steps involved in the integration process.
paulmdrdo said:does that mean i have to integrate those two definitions?
paulmdrdo said:$\displaystyle \int (2x-1)dx = {x^2}+x+C\,\,if\,x\geq\frac{1}{2}$
$\displaystyle \int (1-2x)dx = x-{x^2}+C\,\,if\,x\leq\frac{1}{2}$
Besides $x^2-x$ in the first formula, an indefinite integral, by definition, is a differentiable, and therefore a continuous, function. So, the constants in the two lines have to be such that at 1/2 the functions have the same value.paulmdrdo said:we will have two answers is this correct?
$\displaystyle \int (2x-1)dx = {x^2}+x+C\,\,if\,x\geq\frac{1}{2}$
$\displaystyle \int (1-2x)dx = x-{x^2}+C\,\,if\,x\leq\frac{1}{2}$
You still compute two definite integrals: from -1 to 1/2 plus from 1/2 to 1.paulmdrdo said:follow-up question, what if it is bounded?
$\displaystyle\int_{-1}^1|2x-1|dx$
paulmdrdo said:follow-up question, what if it is bounded?
$\displaystyle\int_{-1}^1|2x-1|dx$
paulmdrdo said:why is it from-1 to 1/2 plus 1/2 to 1?
It's not like there are many lines with formulas and constants in the first quote in post #8. Anyway, to understand this I suggest you write explicitly the answer to your original problem in post #1, i.e., the result of evaluating this indefinite integral. And remember that the resulting function should be differentiable and, in particular, continuous. .paulmdrdo said:evgenymakarov "So, the constants in the two lines have to be such that at 1/2 the functions have the same value." - what do you mean by this?
paulmdrdo said:and why is it from-1 to 1/2 plus 1/2 to 1?
Evgeny.Makarov said:Besides $x^2-x$ in the first formula, an indefinite integral, by definition, is a differentiable, and therefore a continuous, function. So, the constants in the two lines have to be such that at 1/2 the functions have the same value.
I assume this is related to evaluating $\int_{-1}^1|2x-1|\,dx$, but I am not sure how it is related.paulmdrdo said:what i have in my mind is like this
$\displaystyle\int_{-1}^1 (2x-1)dx$
$\displaystyle\int_{-1}^1 (1-2x)dx$