autodidude said:
If you define a function g(x) = \int_a^x \! f(t) \, \mathrm{d} t then from what I currently understand, g(x) gives the value of the area under the curve y=f(t)
It doesn't give you "the" area under the curve. It gives you a particular area under the curve. The "a" and the "x" are also used to define which area.
When you differentiate both sides, g'(x) gives the rate of change of the area underneath y=f(t), however, I don't understand intuitively why f(x) is the rate of change of the area underneath its curve.
Would it be intuiitively clear to you if f(x) was a linear function? Would it be intuitively clear that the rate of change of the are under a linear function would only depend on its slope? If so, then think how the derivative is used in finding the formula for a tangent line. The tangent line is an approximation for the function f(x) in the vicinity of the point x where the tangent line is drawn.
Also, when why when you differentiate it (the right hand side), is it f(x) and not f(t)? I can't seem to get my head around the whole respect to x thing - what about t? Why not respect to t? Then if you were to integrate it again, would x become the dummy variable?
The dummy variable is really confusing!
In the original function g we are taking "a" as a constant and "x" as the variable. So the derivative depends on the same variable as the function that is differentiated. But you could call the derivative f(w) or f( Willy_Smith) if you wanted to, if you purpose is merely to name it as a function. In reading mathematics, you have to pay attention the "scope" of variables like "x" and "t".
If you do computer programming, you should already be familar with the scope of variables. In a computer program, an "x" in one function has nothing to do with an "x" in a different function unless there is some orgnization of the code that forces the "x" to have the same value in both places. Likewise in a mathematics, an "x" at the top of the page need not mean the same thing as an "x" at the bottom of the page, or even as an "x" in the next line or paragraph. If you are trying to convey the idea that the derivative of g(x) evaluated at the argument 5 is equal to the function f evaluated at the argument 5, then it is important to say g'(x) = f(x) and the context indicates that "x" has the same meaning in both the left and right hand sides.
The scope of the "dummy" variable such as w used in definite integrations such as \int_a^p f(w)dw doesn't extend outside the integrand. If you know computer programming, imagine a numerical computation of the integral that is done by a function. The programmer who writes the function needs to introduce some local variable "w" whose value is not visible outside the function. In a computer program, there is no reason to incorporate the name of the dummy variable into the function. For example, a function that computes the above integral might be named "integ(f,a,p)". There is no need to name it "integDw(f,a,p)". In writing mathematics in English there is a reason for naming the dummy variable in an integration. Sometimes there are expressions where several symbols are involved, such as y \sin(x^2 + z) and you want to integrate such an expression assuming some of the symbols are constants and one of the symbols is the variable. The dummy variable notation conveys which symbol is in the expression is treated as the variable.