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.
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)`
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):
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):
`(sec x - 1)/(sec x + 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):
x4 (5 sin x – 3 cos x)
Find the derivative of f (x) = 99x at x = 100
\[\frac{1}{\sqrt{x}}\]
k xn
x2 + x + 3
\[\sqrt{2 x^2 + 1}\]
Differentiate of the following from first principle:
eax + b
Differentiate of the following from first principle:
\[\cos\left( x - \frac{\pi}{8} \right)\]
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
\[\left( \sqrt{x} + \frac{1}{\sqrt{x}} \right)^3\]
\[\frac{1}{\sin x} + 2^{x + 3} + \frac{4}{\log_x 3}\]
x3 sin x
x2 ex log x
(x sin x + cos x) (x cos x − sin x)
x4 (5 sin x − 3 cos x)
(ax + b) (a + d)2
\[\frac{x^2 + 1}{x + 1}\]
\[\frac{e^x}{1 + x^2}\]
\[\frac{x \sin x}{1 + \cos x}\]
\[\frac{3^x}{x + \tan x}\]
\[\frac{a + b \sin x}{c + d \cos x}\]
Write the value of \[\lim_{x \to c} \frac{f(x) - f(c)}{x - c}\]
Write the value of \[\lim_{x \to a} \frac{x f (a) - a f (x)}{x - a}\]
If f (1) = 1, f' (1) = 2, then write the value of \[\lim_{x \to 1} \frac{\sqrt{f (x)} - 1}{\sqrt{x} - 1}\]
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
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
Find the derivative of f(x) = tan(ax + b), by first principle.
(ax2 + cot x)(p + q cos x)
Let f(x) = x – [x]; ∈ R, then f'`(1/2)` is ______.
