0

Here is what I have so far.

Let $x_0 \in [0,1]$. $f$ is differentiable if $f'(x_0) = \lim_{x \to x_{0}} \frac{f(x) - f(x_0)}{x - x_0}$ exists. So $\lim_{x \to x_0} \frac{2 - e^x + 2x -2 + e^{x_0} - 2x_0}{x - x_0} = \lim_{x \to x_0} \frac{-e^x + e^{x_0} + 2x - 2x_0}{x - x_0} = 2 +\lim_{x \to x_0} \frac{e^{x_0}-e^x}{x - x_0}$.

I do not know how to proceed from here.

I am grateful for any help. Thank you in advance.

Garrett
  • 397

4 Answers4

2

The derivative of a sum is the sum of the derivatives..

Use that rule with $f(x)=g(x)+h(x)+i(x),$ where $g(x)=2,$ $h(x)=-e^x$, and $i(x)=2x,$

to get $f'(x)=-e^x+2$.

J. W. Tanner
  • 60,406
1

With

$$f(x) = 2 - e^x + 2x \tag{1}\label{eq1}$$

you can get

$$f'(x) = -e^x + 2 \tag{2}\label{eq2}$$

just using the basic derivatives for constants, $e^x$ and powers of $x$.

As you're doing it, I suggest you do the limit calculations for each term separately, to make it a bit easier (e.g., the derivative of $2$, as a constant, is just $0$). This is not particularly important for a relatively simple expression as in \eqref{eq1}, but it can be very helpful to use that the derivative of a sum of expressions is the sum of the derivatives of these expressions when they become considerably more complicated, e.g., when there are many terms involved.

What you've done with your work is correct. Note that

$$\lim_{x \to x_0} \frac{e^{x_0} - e^{x}}{x - x_0} = -e^{x} \tag{3}\label{eq3}$$

You can determine this using the properties of exponentials. In particular, the MSE Using the Limit definition to find the derivative of $e^x$ gives a lot of good details about how to do this.

John Omielan
  • 47,976
  • Yes, I'm restricting myself to using the definition of the derivative. I'm going to try to apply it to each term separately as you suggested. Thank you. – Garrett Aug 04 '19 at 04:00
  • @Garrett You're welcome. It's useful to understand the basics of calculus, so it's good to check on using the direct definition of derivatives, like you're doing. – John Omielan Aug 04 '19 at 04:19
0

By definition then, $$f'(x)=\lim_{h\to0}\frac{2-e^{x+h}+2(x+h)-(2-e^x+2x)}{h}$$ $$=\lim_{h\to0}\frac{e^x-e^{x+h}+2h}{h}=\lim_{h\to0}\frac{e^x(1-e^h)}{h}+\lim_{h\to0}\frac{2h}{h}$$ $$=-e^x\lim_{h\to0}\frac{e^h-1}{h}+\lim_{h\to0}2$$

Recall since $e^h=\sum_{n=0}^\infty\frac{h^n}{n!}$ that $$\lim_{h\to0}\frac{e^h-1}{h}=1$$

Hence we have $$f'(x)=-e^x(1)+2=2-e^x$$

0

Partial answer:

Let $h \not =0$.

Show $\lim_{h \rightarrow 0}\dfrac{e^h-1}{h}=1$;

1)$\displaystyle{\int_{0}^{h}}e^tdt=e^h-1$;

2) $\displaystyle{\int_{0}^{h}}e^tdt = e^r \int_{0}^{h}dt= he^r$,

where $r \in [0,h]$.

(Mean value theorem for integration)

3)$\dfrac{e^h-1}{h}=e^r$;

Note: $\lim_{ h \rightarrow 0} r = 0$;

Hence:

$\lim_{ h \rightarrow 0}\dfrac{e^h-1}{h}= \lim_{h \rightarrow 0}e^r =1$.

Peter Szilas
  • 20,344
  • 2
  • 17
  • 28