Advertisements
Advertisements
Question
Evaluate: `int_1^4 {|x -1|+|x - 2|+|x - 4|}dx`
Advertisements
Solution 1
I = `int_1^4 (|x -1|+|x - 2|+|x - 4|)dx`
Let f (x) = |x - 1| + |x - 2| + |x - 4|
We have three critical points x = 1, 2, 4
(i) when x <1
(ii) when 1≤ x < 2
(iii) when 2 ≤ x < 4
(iv) when x ≥ 4


Solution 2

RELATED QUESTIONS
By using the properties of the definite integral, evaluate the integral:
`int_0^(2x) cos^5 xdx`
Show that `int_0^a f(x)g (x)dx = 2 int_0^a f(x) dx` if f and g are defined as f(x) = f(a-x) and g(x) + g(a-x) = 4.
\[\int\limits_0^k \frac{1}{2 + 8 x^2} dx = \frac{\pi}{16},\] find the value of k.
Evaluate`int (1)/(x(3+log x))dx`
Evaluate : ∫ log (1 + x2) dx
Evaluate: `int_0^pi ("x"sin "x")/(1+ 3cos^2 "x") d"x"`.
`int_2^7 sqrt(x)/(sqrt(x) + sqrt(9 - x)) dx` = ______.
`int_0^1 ((x^2 - 2)/(x^2 + 1))`dx = ?
`int_0^(pi"/"4)` log(1 + tanθ) dθ = ______
`int_0^1 (1 - x)^5`dx = ______.
`int_0^1 x tan^-1x dx` = ______
`int_3^9 x^3/((12 - x)^3 + x^3)` dx = ______
Which of the following is true?
`int_("a" + "c")^("b" + "c") "f"(x) "d"x` is equal to ______.
`int_(-2)^2 |x cos pix| "d"x` is equal to ______.
Evaluate the following:
`int_(-pi/4)^(pi/4) log|sinx + cosx|"d"x`
Evaluate: `int_(pi/6)^(pi/3) (dx)/(1 + sqrt(tanx)`
If `intxf(x)dx = (f(x))/2` then f(x) = ex.
If `int_0^1(sqrt(2x) - sqrt(2x - x^2))dx = int_0^1(1 - sqrt(1 - y^2) - y^2/2)dy + int_1^2(2 - y^2/2)dy` + I then I equal.
The value of the integral `int_(-1)^1log_e(sqrt(1 - x) + sqrt(1 + x))dx` is equal to ______.
`int_0^1|3x - 1|dx` equals ______.
If `int_0^(π/2) log cos x dx = π/2 log(1/2)`, then `int_0^(π/2) log sec dx` = ______.
The value of `int_0^(π/4) (sin 2x)dx` is ______.
For any integer n, the value of `int_-π^π e^(cos^2x) sin^3 (2n + 1)x dx` is ______.
`int_1^2 x logx dx`= ______
Evaluate the following integral:
`int_0^1 x(1-x)^5 dx`
Solve the following.
`int_0^1e^(x^2)x^3dx`
