Write the value of the derivative of f(x)=|x−1|+|x−3| at x=2.
for x = 2
|x−1|=(x−1) and |x−3|=−(x−3)
ddx(|x−1|+|x−3|)
=ddx(|x−1|)+ddx(|x−3|)
ddx(x−1)+ddx(−(x−3))
ddx(x−1)+ddx(3−x)
=1−1=0