Question:medium

If \(f(x)=x+\frac{1}{x}, x \neq 0\), then local maximum and minimum values of function \(f\) are respectively.......

Show Hint

Find the critical points from the first derivative and test with the second derivative.
Updated On: Nov 19, 2026
  • \(-1\) and 1
  • \(-2\) and 2
  • 2 and \(-2\)
  • 1 and \(-1\)
Show Solution

The Correct Option is B

Solution and Explanation

Step 1: Sign of f prime
$f'(x)>0$ for $x>1$ and for $x<-1$; $f'(x)<0$ in $(-1,0)$ and $(0,1)$.

Step 2: Behaviour
At $x=-1$, $f'$ changes from positive to negative (local maximum). At $x=1$, it changes from negative to positive (local minimum).

Step 3: Calculation
$f(-1)=-1-1=-2$ and $f(1)=1+1=2$.

Final Answer:
The local maximum is -2 and the local minimum is 2. \[ \boxed{\text{(B) }-2\text{ and }2} \]
Was this answer helpful?
0