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 x2 – 2 at x = 10.
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 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+ q) (r/s + s)`
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 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)
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 + cos x)/(sin x - 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 the following function at the indicated point:
Find the derivative of the following function at the indicated point:
2 cos x at x =\[\frac{\pi}{2}\]
\[\frac{2}{x}\]
\[\frac{2x + 3}{x - 2}\]
Differentiate of the following from first principle:
e3x
x ex
Differentiate each of the following from first principle:
\[\frac{\cos x}{x}\]
Differentiate each of the following from first principle:
\[\sqrt{\sin (3x + 1)}\]
Differentiate each of the following from first principle:
\[e^\sqrt{2x}\]
Differentiate each of the following from first principle:
\[3^{x^2}\]
\[\cos \sqrt{x}\]
ex log a + ea long x + ea log a
\[\frac{2 x^2 + 3x + 4}{x}\]
\[\frac{( x^3 + 1)(x - 2)}{x^2}\]
2 sec x + 3 cot x − 4 tan x
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}\]
xn loga x
x2 sin x log x
x5 ex + x6 log x
logx2 x
\[e^x \log \sqrt{x} \tan x\]
x4 (5 sin x − 3 cos x)
x−4 (3 − 4x−5)
\[\frac{x \sin x}{1 + \cos x}\]
\[\frac{x^2 - x + 1}{x^2 + x + 1}\]
\[\frac{1}{a x^2 + bx + c}\]
Write the value of \[\lim_{x \to a} \frac{x f (a) - a f (x)}{x - a}\]
If x < 2, then write the value of \[\frac{d}{dx}(\sqrt{x^2 - 4x + 4)}\]
If f (x) = \[\log_{x_2}\]write the value of f' (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 \[y = \frac{\sin\left( x + 9 \right)}{\cos x}\] then \[\frac{dy}{dx}\] at x = 0 is
