Calculus Review
Table of Contents
Differentiation
Definition
Let f be a function, and define the limit
f′(x)=h→0limhf(x+h)−f(x).
If this limit exists, then we say that f is differentiable at x and we call f′ the derivative of f. f′ is also written as dxdf(x) or dxdf.
Proposition (properties of the derivative)
Let f,g be differentiable functions and c be a real number. Then the following hold:
-
dxd is linear, that is,
dxd(f(x)+g(x))=dxdf(x)+dxdg(x)anddxdcf(x)=cdxdf(x).
-
The product rule:
dxdf(x)g(x)=f′(x)g(x)+f(x)g′(x)
-
The chain rule:
dxdf(g(x))=f′(g(x))g′(x)
Another commonly used property is the quotient rule:
dxdg(x)f(x)=[g(x)]2f′(x)g(x)−g′(x)f(x),
when g(x) is non-zero.
Exercise 1.
By writing g(x)f(x)=f(x)[g(x)]−1, derive the quotient rule using the product rule and the chain rule.
Proposition
Common Derivatives
dxdxndxdsinxdxdcosxdxdtanxdxdcotxdxdsecxdxdcscxdxdexdxdlogx=========−nxn−1−cosx−sinx−sec2x−csc2x−secxtanx−cscxcotx−ex−x1
Note that logx is base e, not base 10.
Example 1.
Calculate dxdlogax, where a>0 and a=1.
Solution.
By the change of base formula, we have logax=logalogx. Referring to the table above, we get
dxdlogax=dxdlogalogx=xloga1.
Exercise 2.
Calculate dxdbx, where b>0. (Hint: b=elogb)
Integration
Definition
Let f be continuous. If F is a function which satisfies F′=f, then F is called an antiderivative or integral of f. Furthermore, indefinite integral of f with respect to x is
∫f(x)dx=F(x)+C,
where C is a constant.
Proposition (properties of the integral)
Let f,g be integrable functions and c be a real number. Then the following hold:
-
Integration is linear, that is,
∫f(x)+g(x)dx=∫f(x)dx+∫g(x)dxand∫cf(x)dx=c∫f(x)dx.
-
∫abf(x)dx=−∫baf(x)dx
-
∫abf(x)dx+∫bcf(x)dx=∫acf(x)dx
Theorem (the fundamental theorem of calculus)
Let F be an antiderivative of f. Then
- ∫abf(x)dx=F(b)−F(a)
- dxd∫axf(t)dt=f(x)
Notice that in (ii), we replaced x with t as the variable of integration because the bounds contain x. Depending on who you ask, using x as a bound and the variable of integration at the same time may be considered incorrect (i.e., if you do this, you might lose points on exams!). Either way, it can become a big source of confusion, so it's good to get in the habit of doing this.
The variable of integration (x in (i) and t in (ii)) is called a dummy variable, which just means that the symbol you put in their place doesn't matter as long as it isn't used in the bounds. For example, it's perfectly valid to write
dxd∫axf(😊)d😊=f(x),
and you should avoid writing anything like
∫a😢f(😢)d😢.
Integration can be thought of as the inverse of differentiation. For example,
dxdxn=nxn−1⟹∫nxn−1dx=xn+C.
Exercise 3.
Transform the derivative table into an integration table.
Example 2.
Calculate ∫tanxdx.
Solution.
Recall that tanx=cosxsinx. We'll use u-substitution: set u=cosx, which gives du=−sinxdx. Then
∫tanxdx=∫cosxsinxdx=∫cosx1sin(x)dx=−∫cosx1−sin(x)dx=−∫u1du=−log∣u∣+C=−log∣cosx∣+C.
Exercise 4.
Calculate ∫cotxdx.