The correct option is A Both Assertion and Reason are correct and Reason is the correct explanation for Assertion
f(x)=log|x|
f(x)=logx for x>0
∴f′(x)=1x for x>0
Now for x<0,f(x)=log|x|=log(−x)
∴f′(x)=ddx(log(−x))=−1x(−1)=1x
Hence, assertion is correct.
Reason:|x|={x if x≥0−x if x<0
Reason is correct.
Hence, reason is the correct explanation for assertion