If f(x)=x2|x|, write ddx(f(x)).
We have,
ddxx2|x|=⎧⎪ ⎪ ⎪⎨⎪ ⎪ ⎪⎩ddxx [if x>0]ddx(−x) [if x<0]⎫⎪ ⎪ ⎪⎬⎪ ⎪ ⎪⎭
={1 [if x>0]−1 ,[if x<0]
If f(x) = |x| + |x - 1|, write the value of ddx (f(x)).
If f(x) and g(x) are two functions of x, then the integration of product of f(x) and g(x) is: