Calculus has a reputation for being the hardest course in the standard math curriculum. That reputation is half-deserved. The concepts behind calculus — limits, derivatives, and integrals — are genuinely deep ideas that took mathematicians centuries to formalize. But the computational techniques are learnable by anyone who takes the time to understand the underlying logic rather than just memorizing procedures.
I use calculus every day in nuclear engineering. Neutron transport equations, radioactive decay modeling, heat transfer in reactor cores — all of it runs on calculus. Before that, I studied physics at UC Berkeley where calculus was not a hurdle to clear but a language to learn. This guide will teach you that language, from the first definition of a limit through integration by parts.
What this guide covers: Limits and continuity, derivatives and differentiation rules, applications of derivatives, definite and indefinite integrals, and the Fundamental Theorem of Calculus. Each section builds on the previous one. Work through it in order if you are new to calculus; use the section headers to jump to specific topics if you are reviewing.
Limits: The Foundation of Calculus
Everything in calculus is built on the concept of a limit. A limit asks: what value does a function approach as the input approaches some value? The notation limx→a f(x) = L means that as x gets arbitrarily close to a (but does not necessarily equal a), f(x) gets arbitrarily close to L.
This distinction matters. The limit of f(x) as x approaches a is about the behavior of f near a, not at a. The function might not even be defined at a. That subtlety is what allows calculus to handle rates of change (derivatives) and accumulated areas (integrals) rigorously.
Computing Limits
For most continuous functions, you compute limits by direct substitution: limx→a f(x) = f(a). When direct substitution gives 0/0 (an indeterminate form), you need additional techniques.
| Technique | When to Use | Example |
|---|---|---|
| Direct substitution | Function is continuous at a | limx→3 (x² + 1) = 10 |
| Factor and cancel | 0/0 form, polynomial numerator/denominator | limx→2 (x²−4)/(x−2) = lim (x+2) = 4 |
| L'Hôpital's Rule | 0/0 or ∞/∞ form | limx→0 sin(x)/x = 1 |
| Rationalize | Square roots in 0/0 form | Multiply by conjugate |
One-Sided Limits and Continuity
A function is continuous at x = a if three conditions hold: f(a) is defined, limx→a f(x) exists, and limx→a f(x) = f(a). Geometrically, a continuous function is one you can draw without lifting your pen. Calculus requires continuity in most of its theorems, so recognizing discontinuities (removable holes, jump discontinuities, vertical asymptotes) is a prerequisite to applying those theorems correctly.
Derivatives: The Rate of Change
The derivative of a function f at a point x measures the instantaneous rate of change of f at that point. Geometrically, it is the slope of the tangent line to the graph of f at x. The formal definition uses the limit of a difference quotient:
f'(x) = limh→0 [f(x+h) − f(x)] / h
You will rarely compute derivatives from this definition once you learn the differentiation rules. But understanding where the rules come from is essential for knowing when they apply and when they fail.
Core Differentiation Rules
| Rule | Formula | Example |
|---|---|---|
| Power rule | d/dx [xⁿ] = nxⁿ⁻¹ | d/dx [x³] = 3x² |
| Constant rule | d/dx [c] = 0 | d/dx [7] = 0 |
| Sum/difference rule | d/dx [f ± g] = f' ± g' | Differentiate term by term |
| Product rule | d/dx [fg] = f'g + fg' | d/dx [x²sin x] = 2x sin x + x² cos x |
| Quotient rule | d/dx [f/g] = (f'g − fg') / g² | "Low d-high minus high d-low, over low squared" |
| Chain rule | d/dx [f(g(x))] = f'(g(x)) · g'(x) | d/dx [sin(x²)] = cos(x²) · 2x |
Derivatives of Common Functions
| Function | Derivative |
|---|---|
sin x | cos x |
cos x | −sin x |
eₓ | eₓ |
ln x | 1/x |
tan x | sec² x |
aₓ | aₓ ln a |
Worked Example 1 — Chain Rule in Depth
Problem: Find the derivative of f(x) = e3x²
Identify the composition: Outer function is eu, inner function is u = 3x²
Apply chain rule: f'(x) = e3x² · d/dx[3x²] = e3x² · 6x
Answer: f'(x) = 6xe3x²
Applications of Derivatives
Derivatives earn their keep in applications. The two most important applications in calculus I are finding extrema (maximum and minimum values) and analyzing function behavior.
Critical Points and the First Derivative Test
A critical point occurs where f'(x) = 0 or f'(x) is undefined. At a critical point, the function might have a local maximum, a local minimum, or neither (a saddle point). The first derivative test: if f' changes from positive to negative at a critical point, there is a local maximum. If f' changes from negative to positive, there is a local minimum. If f' does not change sign, it is neither.
Concavity and the Second Derivative Test
The second derivative f''(x) measures the rate of change of the rate of change. If f''(x) > 0, the function is concave up (curves like a cup). If f''(x) < 0, the function is concave down (curves like an arch). At a critical point, if f''(x) > 0 there is a local minimum; if f''(x) < 0 there is a local maximum; if f''(x) = 0 the test is inconclusive.
Worked Example 2 — Optimization
Problem: A farmer has 120 meters of fence to enclose a rectangular field against a straight river (no fence needed on the river side). Find the dimensions that maximize area.
Setup: Let x = width perpendicular to river, y = length parallel to river. Constraint: 2x + y = 120, so y = 120 − 2x. Area: A = xy = x(120 − 2x) = 120x − 2x²
Maximize: dA/dx = 120 − 4x = 0 → x = 30 m
Verify it's a maximum: d²A/dx² = −4 < 0 (concave down, confirmed maximum)
Answer: x = 30 m, y = 120 − 60 = 60 m. Maximum area = 30 × 60 = 1800 m²
Integration: Accumulation and Area
Integration is the inverse of differentiation, and also the tool for computing accumulated quantities. The definite integral of f from a to b represents the net signed area between the curve y = f(x) and the x-axis over the interval [a, b].
The Fundamental Theorem of Calculus
The Fundamental Theorem connects derivatives and integrals. It has two parts. Part 1: if F is an antiderivative of f, then ∫ab f(x) dx = F(b) − F(a). Part 2: d/dx [∫ax f(t) dt] = f(x). In plain terms: differentiation and integration are inverse operations, in the same sense that multiplication and division are inverse operations.
Basic Integration Rules
| Function | Antiderivative |
|---|---|
xⁿ (n ≠ −1) | xⁿ⁺¹/(n+1) + C |
1/x | ln|x| + C |
eₓ | eₓ + C |
sin x | −cos x + C |
cos x | sin x + C |
sec² x | tan x + C |
u-Substitution
u-Substitution is the integration analog of the chain rule. If the integrand contains a function and its derivative (or a scalar multiple of its derivative), let u = the inner function. Rewrite everything in terms of u, integrate, then substitute back.
Worked Example 3 — u-Substitution
Problem: Evaluate ∫ 2x cos(x²) dx
Let u = x². Then du/dx = 2x, so du = 2x dx. The integral becomes:
∫ cos(u) du = sin(u) + C = sin(x²) + C
Verify by differentiating: d/dx[sin(x²)] = cos(x²) · 2x. Correct.
Integration by Parts
Integration by parts handles products where u-substitution fails. The formula: ∫ u dv = uv − ∫ v du. The mnemonic for choosing u is LIATE — Logarithm, Inverse trig, Algebraic (polynomial), Trigonometric, Exponential. Choose u to be the function that comes first in that list.
Worked Example 4 — Integration by Parts
Problem: Evaluate ∫ x ex dx
Choose: u = x (algebraic, listed first in LIATE), dv = ex dx
Then: du = dx, v = ex
Apply formula: ∫ x ex dx = x ex − ∫ ex dx = x ex − ex + C = ex(x − 1) + C
From nuclear engineering practice: I use integration constantly to compute neutron flux distributions, radioactive decay integrals, and heat generation rates. Every real physics problem involves integration. Students who treat calculus as an abstract hurdle to clear are missing the point — it is the quantitative language of the physical world. Learning it deeply, not just procedurally, pays dividends across every STEM discipline.
Recommended Textbooks
Calculus: Early Transcendentals — James Stewart
The most widely used calculus textbook in the United States, and for good reason. Stewart's exposition is clear, the examples are well-chosen, and the problem sets are excellent with a good range from routine to challenging. The "Early Transcendentals" edition introduces exponential and logarithmic functions early, which makes applications more natural. If your university uses Stewart, work every assigned problem and then some from the sections that give you trouble.
View on Amazon (affiliate link) →Linear Algebra Done Right — Sheldon Axler
Not a calculus book, but the natural next step after calculus for students heading into STEM. Understanding linear algebra is the single biggest multiplier for advanced mathematics, physics, and machine learning. Axler's approach is unusually clean, avoiding the determinant-first treatment that confuses most students. After you have solid calculus, this book will open every door in higher mathematics.
View on Amazon (affiliate link) →Struggling With Calculus? Let's Fix That.
I tutor calculus at all levels, from Calc I survival through multivariable and differential equations. Book a free intro call and leave with a clear understanding of exactly where your gaps are.
Book Free 30-Min Intro →Weekly Math and Science Insights
Join 500+ students receiving Dr. Preston's weekly tips on calculus, physics, and STEM study strategy.
Subscribe Free →