Solveeit Logo

Question

Question: Let \(f:R \to R\) be defined as \(f(x) = \left| x \right| + \left| {{x^2} - 1} \right|\). The total ...

Let f:RRf:R \to R be defined as f(x)=x+x21f(x) = \left| x \right| + \left| {{x^2} - 1} \right|. The total number of points at which ff attains either a local maximum or a local minimum is
A. 5
B. 6
C. 7
D. 8

Explanation

Solution

First of all this is a very simple and a very easy problem. Here this problem deals with arranging the intervals accordingly as the modulus is involved in the function. In order to solve this problem we should know how to split the intervals of x and when to split the intervals of x as f is defined on the real number set. Once the splitting of the intervals is done according to the modulus, almost the job is done, the rest is plotting the obtained function on a graph.

Complete step-by-step solution:
Given that the function ff exists from all real numbers to all real numbers.
Here ff is defined as f:RRf:R \to R.
f(x)=x+x21\Rightarrow f(x) = \left| x \right| + \left| {{x^2} - 1} \right|
Here due to the presence of modulus to xx and (x21)\left( {{x^2} - 1} \right) subdividing the function f(x)f(x)into several intervals of xx as required.
Hence the function f(x)f(x) is subdivided into the functions according to the value of xx.

{\begin{array}{*{20}{c}} {x + ({x^2} - 1)} \\\ {x - ({x^2} - 1)} \\\ { - x - ({x^2} - 1)} \\\ { - x + ({x^2} - 1)} \end{array}}&{\begin{array}{*{20}{c}} ; \\\ ; \\\ ; \\\ ; \end{array}}&{\begin{array}{*{20}{c}} {x > 1} \\\ {0 < x < 1} \\\ { - 1 < x < 0} \\\ {x < \- 1} \end{array}} \end{array}} \right.$$ $$ \Rightarrow f(x) = \left| x \right| + \left| {{x^2} - 1} \right| = \left\\{ {\begin{array}{*{20}{c}} {\begin{array}{*{20}{c}} {{x^2} + x - 1} \\\ { - {x^2} + x + 1} \\\ { - {x^2} - x + 1} \\\ {{x^2} - x - 1} \end{array}}&{\begin{array}{*{20}{c}} ; \\\ ; \\\ ; \\\ ; \end{array}}&{\begin{array}{*{20}{c}} {x > 1} \\\ {0 < x < 1} \\\ { - 1 < x < 0} \\\ {x < \- 1} \end{array}} \end{array}} \right.$$ Hence plotting the function $f(x)$ on the vertical and the horizontal axis, as given below: Here we are going to understand how the sub-intervals are subdivided according to $x$and the modulus involved in the function. ![](https://www.vedantu.com/question-sets/e2fbc7e3-991e-4a65-85ca-a58912f6df3f3074609505611977505.png) First the considered interval of $x$ is $$x > 1$$, here if $x$ is greater than 1, then both $\left| x \right|$ and $\left| {{x^2} - 1} \right|$ are positive, hence the $f(x)$ would be, as given below: $ \Rightarrow f(x) = x + ({x^2} - 1)$ $ \Rightarrow f(x) = {x^2} + x - 1$ The second considered interval of $x$ is $$0 < x < 1$$, here if $x$ is greater than 0 and less than 1, then the function $\left| x \right|$ is positive and $\left| {{x^2} - 1} \right|$ would be negative, hence the $f(x)$ would be, as given below: $ \Rightarrow f(x) = x - ({x^2} - 1)$ $ \Rightarrow f(x) = - {x^2} + x + 1$ The third considered interval of $x$ is $$ - 1 < x < 0$$, here if $x$ is less than 0 and greater than -1, then both $\left| x \right|$ and $\left| {{x^2} - 1} \right|$ would be negative, hence the $f(x)$ would be, as given below: $ \Rightarrow f(x) = - x - ({x^2} - 1)$ $ \Rightarrow f(x) = - {x^2} - x + 1$ The fourth considered interval of $x$ is $$x < \- 1$$, here if $x$ is less than -1, then both the function $\left| x \right|$would be negative and $\left| {{x^2} - 1} \right|$ would be positive, hence the $f(x)$ would be, as given below: $ \Rightarrow f(x) = - x + ({x^2} - 1)$ $ \Rightarrow f(x) = {x^2} - x - 1$ Now looking at the graph the graph has multiple ups and downs. The graph has 3 dips at one and 2 maximums at greater than one and less than two. Hence the graph has in total 5 points at maximums and minimums together. **The total number of points at which $f$ attains either a local maximum or a local minimum is 5.** **Note:** While solving this problem the most important and crucial thing to remember is that while considering the intervals of x in f(x), we have to observe carefully and compute inside the modulus first for each interval of x, and then proceed to plot the graph. One more important thing is that finding the no. of points of maximums and minimums in the plotted graph, can also be done by observing the no. of change in the turnings of the curve of the graph as well tells the total no. of maximums and minimums.