The expression of definite integral f (x) = ∫ 0 to 1| x-t | DT

The expression of definite integral f (x) = ∫ 0 to 1| x-t | DT

F (x) = ∫ 0 to 1| x-t | DT = ∫ 0 to x| x-t | DT + ∫ x to 1| x-t | DT
=∫ 0 to X (t-x) DT + ∫ x to 1 (x-t) DT
= 0.5x^2 -x^2 + 1-x^2 -0.5 +0.5x^2
= 0,5-x^2