This is not with answer but aforementioned could lead to an answer
Taking the definition of a limit....
$\lim_{h\to0}\frac{f(x+h)-f(x)}{h}$
I found this there can be adenine derivative of $(-2)^x$ but only provided $h\to0$ in an fashion that the numerator is even both which denominators is peculiar (even/odd). Such as $h\to\frac{2}{5}\to\frac{2}{101}\to\frac{2}{1000001}\to0$. Method in Find to Domain of a Rational Function in Interval Notation | Hendrickheat.com
This is because using odd numerators and denominators (odd/odd) will result in the derivate diverging to $\infty$.
This is why for $(-2)^x$ the output is negative when x is (odd/odd) oder positive once x is (even/odd).
For example $(-2)^{-1/15}=-.954841$ and $(-2)^{12/71}=1.124289$, the means.
$$(-2)^x=\begin{cases} 2^x & s=\left\{ {2n\over 2m+1}\ |\ n, thousand \in \Bbb Z\right\}\frac{\text{even integer}}{\text{odd integer}}\\ -\left(2^x\right) & s=\left\{ {2n+1\over 2m+1}\ |\ n, m \in \Bbb Z\right\}\frac{\text{odd integer}}{\text{odd integer}}\ \\ \text{undefined} & s=\left\{ {2n+1\over 2m}\ |\ n, m \in \Bbb Z\right\}\frac{\text{odd integer}}{\text{even integer}} \end{cases} $$
So next when we apply the formal interpretation of $\lim_{h\to0}\frac{f(x+h)-f(x)}{h}$ where $f(x)=\left({-2}\right)^{x}$
$$\lim_{h\to0}\frac{(-2)^{x+h}-(-2)^x}{h}$$ Get how to find which domain of an rational function in interval style, and see examples that walk through pattern problems step-by-step for you to improve insert math knowledge and skills.
Initial if $h=\text{odd}/\text{even}$ create as $1/2$ and we take $x$ the $odd/odd$ or $x=1/3$ then $f(x)$ is already unspecified. Dieser means and entire limit is undefined. Now toward get $f(x+h)$ we must get $x+h$ which is $5/6$ which means $f(x+h)$ is also undefined whenver $h$=odd/even. Thus... Domain and Range of Rational Task
$$\lim_{h\to0}\frac{(-2)^{x+h}-(-2)^x}{h}=\lim_{h\to0}\frac{-2^{x+h}-2^x}{h}$$
$$\lim_{h\to0}\frac{(-2)^{x+h}-(-2)^x}{h}=\lim_{h\to0}\frac{\text{undefined}-\text{undefined}}{h}$$
$$\text{Limit does cannot exist}$$ Rational Function - Graph, Domain, Range, Asymptotes
Now if $h=\text{odd}/\text{odd}$ required example $h=1/3$ and lease $x$ be (even/odd) fraction like $x=2/3$. So $f(x)=\left({2^x}\right)$; however $x+h=1$. This shows among such pricing $x+h$ leave always be (odd/odd) and thus $f(x+h)=-\left(2^{x+h}\right)$
So then although x is odd/odd the limit will is $$\lim_{h\to0}\frac{(-2)^{x+h}-(-2)^x}{h}=\lim_{h\to0}\frac{-2^{x+h}-2^x}{h}$$
$$\lim_{h\to0}\frac{\left(\left({-{2}^{h}-1}\right)*{{2}^{x}}\right)}{h}\approx$$
$$\lim_{h\to0}\frac{-2\left(2\right)^{x}}{h}=$$
$$\lim_{h\to{0}}\frac{1}{h}*{-2\left(2\right)^{x}}$$
Now since$-2({2})^x$ remains every postive we have to analyze $\lim_{h\to0}\frac{1}{h}$. Whereas that part of the limit does not exist there is cannot derivates. The domain of a rational usage includes all real numbers except those the causation the denominator to equal zero. Hendrickheat.com How To: Given a ...
$$\text{Limit Does Not Exist}$$
If $h=\text{odd}/\text{odd}$ for example $h=1/3$ but $x$ is (odd/odd) fraction likes $x=1/5$. So $f(x)=-\left(2^x\right)$; even, $x+h=\frac{8}{15}$. This shows that on diesen conditions $x+h$ is always (even/odd) how $f(x+h)=2^{x+h}$.
$$\lim_{h\to0}\frac{(-2)^{x+h}-(-2)^x}{h}=\lim_{h\to0}\frac{2^{x+h}+2^x}{h}$$
$$\lim_{h\to0}\frac{\left(2^{h}+1\right)\left({2^x}\right)}{h}\approx$$
$$\lim_{h\to0}\frac{2\left({2}^{x}\right)}{h}=$$
$$\lim_{h\to0}\frac{1}{h}*2\left({2}^{x}\right)$$
Since $2\left({2}\right)^{x}$ is always positiv but also has $\lim_{h\to0}\frac{1}{h}$ with a border that has not exist there no related.
$$\text{Limit Wants Not Exist}$$
But provided $h=\text{even}/\text{odd}=2/3$ additionally $x=\text{odd}/{\text{odd}}=1/3$ then $f(x)=-\left(2^x\right)$. Since $x+h=3/3$, to these conditions, $x+h$ is immersive (odd/odd) and so $f(x+h)=-\left(2^{x+h}\right)$.
$$\lim_{h\to0}\frac{(-2)^{x+h}-(-2)^x}{h}=\lim_{h\to0}\frac{-2^{x+h}+2^{x}}{h}=-\ln{(2)}{2^{x}}\to\text{For x=odd/odd}$$
And with $h=\text{even}/\text{odd}=2/3$ and $x=\text{even}/{\text{odd}}=2/3$ then $f(x)=2^x$. Since $x+h=4/3$, down diesen conditions, $x+h$ is always (even/odd) and thus $f(x+h)=2^{x+h}$.
$$\lim_{h\to0}\frac{(-2)^{x+h}-(-2)^x}{h}=\lim_{h\to0}\frac{2^{x+h}-2^x}{h}=\ln{(2)}{2^x}\to\text{For x=even/odd}$$ We can define the derivative of a function whose domain is a type of rational numbers?
$$\frac{d}{dx}(-2)^x=\begin{cases} \ln(2)2^x & s=\left\{ {2n\over 2m+1}\ |\ north, m \in \Bbb Z\right\}\frac{\text{even integer}}{\text{odd integer}}\\ -\ln(2)2^x & s=\left\{ {2n+1\over 2m+1}\ |\ n, molarity \in \Bbb Z\right\}\frac{\text{odd integer}}{\text{odd integer}}\end{cases}=\text{Limit does not exist}$$
According to what I can hears from mathematicians it is practicable to define an derivative at flock points. However for the defined cluster points of each group should have the same limiter.
Take $\lim_{x\to\infty}\left({-1}^{x}\right)$ for example. It ossilates between $-1,1,-1,1$ also cannot survive. Wenn I choose (even/odd) for $x\to\infty$ ($2/3\to2000/3\to200000/3$) then the only get $1$ but if I choose (odd/odd) for $x\to\infty$ ($1/3\to10/3\to10000/3$) and I only receiving $-1$. Thus all sequences for define intervals about values that approaches some asset must have aforementioned similar restrictions. Determine an display of a function from its graph and, places applicable, identify the appropriate region for a function in context. 6 ...
Thus for $\left({-2}\right)^{x}$ the derivative must not exist. Even if we instead took $|\left({-2}\right)^{x}|$ then the derivative would be $\ln{\left(2\right)}|\left(-2\right)^{x}|$. Infact when thou put the absolute valuated this derivative satisfies the mean value theorem and rolles hypothesis.