If F (X) = |X| + |X−1|, Write the Value of D D X ( F ( X ) )
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 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):
`(1 + 1/x)/(1- 1/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):
`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):
(ax + b)n (cx + d)m
Find the derivative of f (x) = cos x at x = 0
Find the derivative of the following function at the indicated point:
sin x at x =\[\frac{\pi}{2}\]
\[\frac{2}{x}\]
\[\frac{x^2 - 1}{x}\]
Differentiate of the following from first principle:
e3x
Differentiate of the following from first principle:
sin (x + 1)
Differentiate each of the following from first principle:
x2 ex
Differentiate each of the following from first principle:
\[3^{x^2}\]
tan 2x
\[\left( \sqrt{x} + \frac{1}{\sqrt{x}} \right)^3\]
a0 xn + a1 xn−1 + a2 xn−2 + ... + an−1 x + an.
\[\frac{1}{\sin x} + 2^{x + 3} + \frac{4}{\log_x 3}\]
cos (x + a)
\[\text{ If } y = \left( \frac{2 - 3 \cos x}{\sin x} \right), \text{ find } \frac{dy}{dx} at x = \frac{\pi}{4}\]
\[If y = \sqrt{\frac{x}{a}} + \sqrt{\frac{a}{x}}, \text{ prove that } 2xy\frac{dy}{dx} = \left( \frac{x}{a} - \frac{a}{x} \right)\]
Find the rate at which the function f (x) = x4 − 2x3 + 3x2 + x + 5 changes with respect to x.
x2 ex log x
x2 sin x log x
x5 ex + x6 log x
(x sin x + cos x) (x cos x − sin x)
(x sin x + cos x ) (ex + x2 log x)
logx2 x
x4 (5 sin x − 3 cos x)
(ax + b) (a + d)2
\[\frac{a + \sin x}{1 + a \sin x}\]
\[\frac{x}{\sin^n x}\]
\[\frac{ax + b}{p x^2 + qx + r}\]
Write the value of \[\frac{d}{dx}\left( x \left| x \right| \right)\]
If |x| < 1 and y = 1 + x + x2 + x3 + ..., then write the value of \[\frac{dy}{dx}\]
Mark the correct alternative in of the following:
Let f(x) = x − [x], x ∈ R, then \[f'\left( \frac{1}{2} \right)\]
Mark the correct alternative in of the following:
If\[y = 1 + \frac{x}{1!} + \frac{x^2}{2!} + \frac{x^3}{3!} + . . .\]then \[\frac{dy}{dx} =\]
Mark the correct alternative in of the following:
If \[f\left( x \right) = x^{100} + x^{99} + . . . + x + 1\] then \[f'\left( 1 \right)\] is equal to
