We have the following function:
![y=ln|x^2+x-20|](https://img.qammunity.org/2023/formulas/mathematics/college/3ip9uu4ls687kqw7s0yjosscw5ifvb0b4u.png)
The graph of this function is given by:
We know that a function is increasing is the first derivative is greater than zero. The derivative of the given function is given by
![(dy)/(dx)=(2x+1)/(x^2+x-20)](https://img.qammunity.org/2023/formulas/mathematics/college/luy2phdxof803ezmhe1tu87xqtdtx7mpt8.png)
Then, the condition is given by
![(dy)/(dx)=(2x+1)/(x^(2)+x-20)>0](https://img.qammunity.org/2023/formulas/mathematics/college/qdnvh9jdjvter13o7axwexpko87p3jzcsl.png)
which implies that
![\begin{gathered} 2x+1>0 \\ then \\ x<-(1)/(2) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/ub66jdvlm7qidizxufphwux635tj9wktjn.png)
By means of this result and the graph from above, f(x) is increasing for x in:
![(-5,-(1)/(2))\cup(4,\infty)](https://img.qammunity.org/2023/formulas/mathematics/college/2ycwrdnnovii3uo2t0swqehghj93dq63i3.png)
Now, the function is decreasing when
![(dy)/(dx)<0](https://img.qammunity.org/2023/formulas/mathematics/college/og96vhkj8wzmsb53t12kzmu47libf4h8bm.png)
which give us
![\begin{gathered} (dy)/(dx)=(2x+1)/(x^(2)+x-20)<0 \\ 2x+1<0 \\ then \\ x>-(1)/(2) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/pr10epmj6cr8oxjl60y0qgru37ckk926y3.png)
Then, by means of this result and the graph from above, the function is decreasing on the interval:
![(-\infty,-5)\cup(-(1)/(2),4)](https://img.qammunity.org/2023/formulas/mathematics/college/lcd8gsvhhy52g5u1iy8m7q308nz9kq6tvw.png)
In order to find the local extremal values, we need to find the second derivative of the given function, that is,
![(d^2y)/(dx^2)=(d)/(dx)((2x+1)/(x^2+x-20))](https://img.qammunity.org/2023/formulas/mathematics/college/vmxmf157sw468cj2d06sgzhvnhq0vrvyc8.png)
which gives
![(d^2y)/(dx^2)=((x^2+x-20)(2)-(2x+1)(2x+1))/((x^2+x-20)^2)](https://img.qammunity.org/2023/formulas/mathematics/college/rlub2rm42bsqqokqy4z0134hcm3ledfy9s.png)
or equivalently
![(d^2y)/(dx^2)=(2(x^2+x-20)-(4x^2+4x+1))/((x^2+x-20)^2)](https://img.qammunity.org/2023/formulas/mathematics/college/7ayy9gtaikhx94bbddtcgw8t5xztuk4zb7.png)
which can be written as
![(d^2y)/(dx^2)=(2x^2+2x-40-4x^2-4x-1)/((x^2+x-20)^2)](https://img.qammunity.org/2023/formulas/mathematics/college/rdt31vm82ly7jn8799in7xrczsjdnd1tpu.png)
then, we get
![(d^2y)/(dx^2)=(-2x^2-2x-41)/((x^2+x-20)^2)](https://img.qammunity.org/2023/formulas/mathematics/college/959xuzadeedzyvuirt445fhmjhnwxe9n55.png)
From the above computations, the critical value point is obtained from the condition
![(dy)/(dx)=(2x+1)/(x^(2)+x-20)=0](https://img.qammunity.org/2023/formulas/mathematics/college/3f951qi16oz6id0pujpnbi1pfxnl4bho9c.png)
which gives
![\begin{gathered} 2x+1=0 \\ then \\ x=-(1)/(2) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/axo29uoqj8c9rtblgg6eahtiljaq8oasui.png)
This means that the critical point (maximum or minimum) is located at
![x=-(1)/(2)](https://img.qammunity.org/2023/formulas/mathematics/college/b8tngw64y1peihjtlnnahdryktnucfhv0f.png)
In order to check if this value corresponds to a maximum or mininum, we need to substitute it into the second derivative result, that is,
![(d^(2)y)/(dx^(2))=(-2(-(1)/(2))^2-2(-(1)/(2))-41)/(((-(1)/(2))^2+(-(1)/(2))-20)^2)](https://img.qammunity.org/2023/formulas/mathematics/college/advmpdbkrq162e2daac0iez21cr3wip5bb.png)
The denimator will be positive because we have it is raised to the power 2, so we need to check the numerator:
![-2(-(1)/(2))^2-2(-(1)/(2))-41=-(2)/(4)+1-41=-40.5](https://img.qammunity.org/2023/formulas/mathematics/college/qca42myj3mn77jctodtvtbwrkh23cwe5t3.png)
which is negative. This means that the second derivative evalueated at the critical point is negative:
![(d^2y)/(dx^2)<0](https://img.qammunity.org/2023/formulas/mathematics/college/cn2uemkpzwgzxw4v33n7p22l3ovo96hojj.png)
which tell us that the critical value of x= -1/2 corresponds to a maximum.
Since there is only one critical point, we get:
f(x) has a local minimum at x= DNE
f(x) has a local maximum at x= -1/2