$y'=\frac{\mathrm{d}}{\mathrm{d}x} \int_{a}^{\sqrt{x}}f(t)dt$
Here, $y$ is the area function given by $y = \int_{a}^{\sqrt{x}}f(t)dt$
Let us say that $y=F(x)$.
$$y'=F'(x)=\lim_{h\rightarrow 0}\frac{ \int_{a}^{\sqrt{x+h}}f(t)dt-\int_{a}^{\sqrt{x}}f(t)dt}{h}$$ On working it out we get, $$y'=\lim_{h\rightarrow 0}\frac{\int_{\sqrt{x} }^{\sqrt{x+h}}f(t)dt}{h}$$ We know that, $$\frac{\int_{\sqrt{x}}^{\sqrt{x+h}}f(t)dt}{h}$$ is the average of $f(t)$. We then have, $$y'= \lim_{h\rightarrow 0}f(c)$$ where $f(c)$ is the average of $f(t)$ in the interval. On taking the limit, $$y'=f(\sqrt{x})$$ which is incorrect.
Where could I have gone wrong?
Edit: My statements about "Linearizing" have been withdrawn.