Assume that a function $f$ satisfies the condition $f'(1) = 2.$ Figure out the limit $$\lim_{h\to0}\frac{f(1+h)-f(1-3h)}{5h}.$$
This seemed to be a very simple problem just dealing with the definition of a derivative, but the proposed solution was a bit confusing. It went as follows:
Adding $-f(1)$ and $f(1)$ to the numerator we get
$$\frac{f(1+h)-f(1-3h)}{5h} = \frac{f(1+h)- f(1) +f(1)-f(1-3h)}{5h}. \tag{1}\label{eq1A}$$
This can be simplified to
$$\frac{f(1+h)-f(1)}{5h} + \frac{f(1)-f(1-3h)}{5h}. \tag{2}\label{eq2A}$$
And now from here we get
$$\frac15 \cdot \frac{f(1+h)-f(1)}{h} + \frac35 \cdot \frac{f(1)-f(1-3h)}{3h}. \tag{3}\label{eq3A}$$
Furthermore
$$\frac15 \cdot \frac{f(1+h)-f(1)}{h} + \frac35 \cdot \frac{f(1-3h)-f(1)}{-3h}. \tag{4}\label{eq4A}$$
Now taking the limit $h \to 0$, we have that
$$\lim_{h\to0} \frac15 \cdot \frac{f(1+h)-f(1)}{h} + \lim_{h\to0} \frac35 \cdot \frac{f(1-3h)-f(1)}{-3h} = \frac15\cdot f'(1) + \frac35\cdot f'(1) = \frac85$$
Could someone educate me on parts $(3)$ and $(4)$. Why do we chose $\frac35$ in $(3)$ instead of $\frac15$? If we would have taken out $\frac15$ the result would have been $\frac15\cdot f'(1) + \frac15\cdot f'(1) = \frac45$ right? Also what's happening on $(4)$ how do we suddenly flip the numerator?
You are assuming that$$\lim_{h\to0}\frac{f(1+h)-f(1)}h=2.$$This means that, for every number $a\in\mathbb R\setminus\{0\}$,$$\lim_{h\to0}\frac{f(1+ah)-f(1)}{ah}=2,\tag1$$too. Those manipulations were done so that you had to deal with limits of the form $(1)$.