I really don't have any idea how to do this question ? I am already try my best to think but i am still get nothing
Let $f \in C^{3}([a,b])$. Find $\alpha$,$\beta$ and $\gamma$ so that
$$\dfrac{\alpha f(x+3h) + \beta f(x+h) + \gamma f(x)}{h}$$
is second order approximation to $f'(x)$. I.e for any $x \in (a,b)$, There are constants $\delta$ and $C$ so that when $|h|\le \delta $,
$$\bigg | \dfrac{\alpha f(x+3h) + \beta f(x+h) + \gamma f(x)}{h} - f'(x) \bigg | \le Ch^2$$
Can Someone help me to figure this out?
To find a representation accurate to the second order, simply expand the representation in Taylor series to give: $$ f'(x)=\dfrac{\alpha}{h}\left[f(x)+3hf'(x)+\dfrac{(3h)^2}{2!}f''(x)\right] +\dfrac{\beta}{h}\left[f(x)+hf'(x)+\dfrac{h^2}{2!}f''(x)\right] +\dfrac{\gamma}{h}f(x)+\cdots .$$ Equating coefficients gives $$\alpha+\beta+\gamma=0,\quad\text{which eliminates }f(x);$$ $$3\,\alpha +\beta =1,\quad\text{which equates the coefficients of }f'(x);$$ $$\alpha\dfrac{9\,h}{2}+\beta\dfrac{h}{2}=0,\quad\text{which eliminates } f''(x).$$ Solving for $\alpha,\,\beta,\,\gamma,\,$ gives $$\alpha=-\dfrac{1}{6},\quad\beta=\dfrac{3}{2},\quad\gamma=-\dfrac{4}{3}.$$ These values eliminate the terms in $f''(x)$ and the result is therefore accurate to terms of the second order in $h$, as required.