Advertisements
Advertisements
Question
If f (x) = |x| + |x−1|, write the value of \[\frac{d}{dx}\left( f (x) \right)\]
Advertisements
Solution
\[f\left( x \right) = \left| x \right| + \left| x - 1 \right|\]
\[\text{ Case }1: x<0 (\therefore x-1<-1<0)\]
\[\left| x \right| = - x; \left| x - 1 \right| = - \left( x - 1 \right) = - x + 1\]
\[f\left( x \right) = - x + \left( - x + 1 \right) = - 2x\]
\[f'\left( x \right) = - 2\]
\[\text{ Case } 2: 0< x <1 (\therefore x>0 \text{ and } x-1<0)\]
\[\left| x \right| = x; \left| x - 1 \right| = - \left( x - 1 \right) = 1 - x\]
\[f\left( x \right) = x + 1 - x = 1\]
\[f'\left( x \right) = 0\]
\[\text{ Case } 3: x>1 \therefore x>1>0 \Rightarrow x>0)\]
\[\left| x \right| = x; \left| x - 1 \right| = x - 1\]
\[f\left( x \right) = x + x - 1 = 2x - 1\]
\[f'\left( x \right) = 2\]
\[f'(x)=\begin{cases}-2, \text{When } x < 0 \\0, \text{When }0 < x <1\\2, \text{When } x >1 \end{cases}\]
APPEARS IN
RELATED QUESTIONS
Find the derivative of 99x at x = 100.
For the function
f(x) = `x^100/100 + x^99/99 + ...+ x^2/2 + x + 1`
Prove that f'(1) = 100 f'(0)
Find the derivative of `2x - 3/4`
Find the derivative of x–4 (3 – 4x–5).
Find the derivative of `2/(x + 1) - x^2/(3x -1)`.
Find the derivative of the following function (it is to be understood that a, b, c, d, p, q, r and s are fixed non-zero constants and m and n are integers):
(ax + b) (cx + d)2
Find the derivative of the following function (it is to be understood that a, b, c, d, p, q, r and s are fixed non-zero constants and m and n are integers):
`(px^2 +qx + r)/(ax +b)`
Find the derivative of the following function (it is to be understood that a, b, c, d, p, q, r and s are fixed non-zero constants and m and n are integers):
`4sqrtx - 2`
Find the derivative of the following function (it is to be understood that a, b, c, d, p, q, r and s are fixed non-zero constants and m and n are integers):
cosec x cot x
Find the derivative of the following function (it is to be understood that a, b, c, d, p, q, r and s are fixed non-zero constants and m and n are integers):
`cos x/(1 + sin x)`
Find the derivative of the following function (it is to be understood that a, b, c, d, p, q, r and s are fixed non-zero constants and m and n are integers):
`(sin(x + a))/ cos x`
Find the derivative of the following function (it is to be understood that a, b, c, d, p, q, r and s are fixed non-zero constants and m and n are integers):
x4 (5 sin x – 3 cos x)
Find the derivative of the following function at the indicated point:
sin 2x at x =\[\frac{\pi}{2}\]
\[\frac{2}{x}\]
\[\frac{1}{\sqrt{x}}\]
\[\frac{x^2 + 1}{x}\]
\[\frac{x + 2}{3x + 5}\]
k xn
x ex
Differentiate of the following from first principle:
− x
Differentiate of the following from first principle:
x sin x
Differentiate each of the following from first principle:
x2 sin x
Differentiate each of the following from first principle:
\[e^\sqrt{2x}\]
tan (2x + 1)
\[\tan \sqrt{x}\]
log3 x + 3 loge x + 2 tan x
x5 ex + x6 log x
logx2 x
\[\frac{x^2 \cos\frac{\pi}{4}}{\sin x}\]
x5 (3 − 6x−9)
Differentiate in two ways, using product rule and otherwise, the function (1 + 2 tan x) (5 + 4 cos x). Verify that the answers are the same.
\[\frac{e^x - \tan x}{\cot x - x^n}\]
\[\frac{x}{1 + \tan x}\]
\[\frac{1}{a x^2 + bx + c}\]
\[\frac{3^x}{x + \tan x}\]
\[\frac{1}{a x^2 + bx + c}\]
If x < 2, then write the value of \[\frac{d}{dx}(\sqrt{x^2 - 4x + 4)}\]
Write the value of \[\frac{d}{dx}\left( x \left| x \right| \right)\]
Find the derivative of f(x) = tan(ax + b), by first principle.
