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 x at x = 1.
Find the derivative of `2x - 3/4`
Find the derivative of x5 (3 – 6x–9).
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):
`a/x^4 = b/x^2 + 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):
`(sin(x + a))/ cos x`
Find the derivative of f (x) = tan x at x = 0
\[\frac{1}{\sqrt{x}}\]
\[\frac{x + 1}{x + 2}\]
\[\frac{x + 2}{3x + 5}\]
Differentiate of the following from first principle:
e3x
Differentiate each of the following from first principle:
\[\sqrt{\sin (3x + 1)}\]
Differentiate each of the following from first principle:
\[e^\sqrt{2x}\]
tan 2x
\[\sqrt{\tan x}\]
\[\tan \sqrt{x}\]
\[\left( x + \frac{1}{x} \right)\left( \sqrt{x} + \frac{1}{\sqrt{x}} \right)\]
a0 xn + a1 xn−1 + a2 xn−2 + ... + an−1 x + an.
xn tan x
x2 sin x log x
x3 ex cos x
x4 (5 sin x − 3 cos x)
Differentiate each of the following functions by the product rule and the other method and verify that answer from both the methods is the same.
(3 sec x − 4 cosec x) (−2 sin x + 5 cos x)
(ax + b)n (cx + d)n
\[\frac{x + e^x}{1 + \log x}\]
\[\frac{1}{a x^2 + bx + c}\]
\[\frac{e^x + \sin x}{1 + \log x}\]
\[\frac{2^x \cot x}{\sqrt{x}}\]
\[\frac{x^2 - x + 1}{x^2 + x + 1}\]
\[\frac{\sqrt{a} + \sqrt{x}}{\sqrt{a} - \sqrt{x}}\]
\[\frac{x}{\sin^n x}\]
Write the value of \[\lim_{x \to a} \frac{x f (a) - a f (x)}{x - a}\]
Write the derivative of f (x) = 3 |2 + x| at x = −3.
Mark the correct alternative in of the following:
If \[f\left( x \right) = \frac{x - 4}{2\sqrt{x}}\]
Mark the correct alternative in each of the following:
If\[y = \frac{\sin x + \cos x}{\sin x - \cos x}\] then \[\frac{dy}{dx}\]at x = 0 is
Mark the correct alternative in of the following:
If f(x) = x sinx, then \[f'\left( \frac{\pi}{2} \right) =\]
