Mathematics → Calculus
Calculus
Calculus is the mathematics of continuous change. Developed independently by Newton and Leibniz in the 17th century, it provides the language for physics, engineering, economics, and every quantitative science.
Limits
The limit is the foundation of calculus. It captures what value a function approaches as its input approaches some point.
Definition — Limit (informal)
We write
limx→af(x)=L if
f(x) can be made arbitrarily close to
L by taking
x sufficiently close to
a (but not equal to
a).
x→2lim(3x+1)=7x→0limxsinx=1x→∞limx1=0 The first and third limits follow by direct substitution. The middle one — sin(x)/x as x→0 — is a different story entirely. Direct substitution gives 0/0, L'Hôpital's rule is circular here, and the proof requires a geometric argument about areas on a unit circle. See the full proof →
Limit laws
If limx→af(x)=L and limx→ag(x)=M, then:
x→alim[f(x)+g(x)]=L+Mx→alim[f(x)⋅g(x)]=LMx→alimg(x)f(x)=ML(M=0) Continuity
Definition — Continuity
A function
f is
continuous at a if: (1)
f(a) is defined, (2)
limx→af(x) exists, and (3)
limx→af(x)=f(a).
Intuitively: the graph has no holes, jumps, or vertical asymptotes at a. Polynomials, exponentials, and trigonometric functions are continuous everywhere on their domains.
The Intermediate Value Theorem states that if f is continuous on [a,b] and k is between f(a) and f(b), then there exists c∈(a,b) with f(c)=k. This guarantees roots exist — it's why every polynomial of odd degree has at least one real root.
The Derivative
Definition — Derivative
The
derivative of
f at
a is the limit of the difference quotient:
f′(a)=h→0limhf(a+h)−f(a) If this limit exists,
f is
differentiable at
a.
Geometrically, f′(a) is the slope of the tangent line to the graph of f at the point (a,f(a)). Physically, if f(t) is position, then f′(t) is velocity and f′′(t) is acceleration.
The equation of the tangent line to f at x=a is: y=f(a)+f′(a)(x−a)
Differentiation Rules
Rather than computing limits every time, these rules let us differentiate any elementary function:
Power Rule
dxdxn=nxn−1Sum Rule
(f+g)′=f′+g′Product Rule
(fg)′=f′g+fg′Quotient Rule
(gf)′=g2f′g−fg′Chain Rule
(f∘g)′(x)=f′(g(x))⋅g′(x)Exponential
dxdex=exCommon derivatives
dxdsinx=cosxdxdcosx=−sinxdxdlnx=x1dxdax=axlna The Integral
Definition — Definite Integral
The
definite integral of
f from
a to
b is the signed area between the graph and the
x-axis:
∫abf(x)dx=n→∞limi=1∑nf(xi∗)Δx where
Δx=(b−a)/n and
xi∗ is any sample point in the
i-th subinterval.
The indefinite integral (antiderivative) ∫f(x)dx is a family of functions F(x)+C such that F′(x)=f(x). The constant C reflects the fact that derivatives of constants vanish.
Common antiderivatives
∫xndx=n+1xn+1+C(n=−1)∫exdx=ex+C∫x1dx=ln∣x∣+C ∫sinxdx=−cosx+C∫cosxdx=sinx+C Fundamental Theorem of Calculus
The Fundamental Theorem unifies differentiation and integration — revealing that they are inverse operations.
Part I — Differentiation of an Integral
If
f is continuous on
[a,b] and
g(x)=∫axf(t)dt, then
g is differentiable and:
g′(x)=f(x) Part II — Evaluation Theorem
If
F is any antiderivative of
f on
[a,b], then:
∫abf(x)dx=F(b)−F(a) Part II is the engine of calculus: to compute the area under a curve, find an antiderivative and evaluate at the endpoints. What seemed to require an infinite sum reduces to two function evaluations.
Example: ∫0πsinxdx=[−cosx]0π=−cosπ+cos0=1+1=2
Next: Linear Algebra →