Number of roots of the e

69 Views Asked by At

enter image description here

I differentiated firstly and looked for extreme values then checked function value nearby that point using calculator.Graphing is not easy for all the equations too. Is there any proper method that surely tells the number of roots for an equation?

2

There are 2 best solutions below

9
On BEST ANSWER

$$f(x)=\log{x}-x+2$$

$$f'(x)=\frac{1}{x}-1$$

$$\frac{1}{x}-1=0$$

$$x=1$$

This tells us that $f(x)$ achieves maxima at $x=1$ and is strictly increasing from $(0,1)$ and strictly decreasing from $(1,\infty)$. Now just check where it approaches at $0$ and $\infty$

EDIT:

We can easily check that the function approaches $-\infty$ both at $0$ and $\infty$. This tells us that the function takes each value exactly once between $-\infty$ and $1$ in $(0,1)$ and also in $(1,\infty)$. Therefore it will take $0$ once in $(0,1)$ and then again $(1,\infty)$ which will constitute its two roots.

1
On

$$f(x)=\log x-x+2$$ $$f'(x)=\frac{1}{x}-1$$

$f'(x)=0$ when $x=1$.

$f_{max}(x)=f(1)=1$ and $\lim_{x\rightarrow 0}f(x)=-\infty$ and $\lim_{x \rightarrow \infty}f(x)=-\infty$ thats why $f(x)=0$ has two solutions.