The last article built two moves from scratch: shrink a secant line down to a tangent (the derivative), and shrink rectangles down to an exact area (the integral). Both worked perfectly for x², because x² is simple enough to expand by hand. Real problems rarely hand you x². They hand you sin(x)·e^x, or 1/(x²−1), or an equation that only tells you how fast something is changing and asks you to reconstruct what it actually is.
This article is about those two original moves surviving contact with everything else. Every rule below isn't a separate thing to memorize, it's the secant-to-tangent idea, or the rectangle-to-area idea, worked out one more time against a harder target. Watch for that pattern. It's the same pattern every time.
Chapter 1The Product Rule: Watching a Rectangle Grow
Two quantities, u and v, multiplied together, is naturally a rectangle: one side has length u, the other has length v, and the area is u·v. If both sides are changing (both u and v are functions of x), how fast does the area change?
Picture the rectangle growing outward on two edges at once, the right edge stretches out by a small amount , and the top edge stretches up by a small amount . The new, bigger area splits cleanly into four pieces:
| Region | Dimensions | Area |
|---|---|---|
| Original rectangle | u by v | u·v |
| Right strip (new area from u growing) | by v | |
| Top strip (new area from v growing) | u by | |
| Tiny corner (both growing at once) | by |
Total new area . Subtract the original area to get just the change: . Divide everything by and let shrink toward zero, exactly the same shrinking move from the last article. Picture the two strips settling into ordinary numbers as and , while the tiny corner region, growing in both directions simultaneously, shrinks to nothing faster than either strip does, and drops out of the limit entirely. What's left:
| Formula | Meaning |
|---|---|
| The rate of change of a product is each piece's own rate, weighted by how big the other piece currently is. The vanishing corner is why there's no third term |
Worked example: differentiate . Let (so ) and (so , derived two sections from now). Then:
No expanding, no first-principles limit needed ever again for a product, just the two pieces' own rates, cross-weighted.
Chapter 2The Chain Rule: Rates Inside Rates
Some quantities depend on something that itself depends on something else. A balloon's volume depends on its radius. Its radius, while someone's inflating it, depends on time. If you want to know how fast the volume is growing per second, and you only know how volume depends on radius, and how radius depends on time, the chain rule is the tool that connects the two.
| Formula | Meaning |
|---|---|
| If y depends on u, and u depends on x, the rate of y with respect to x is the product of the two intermediate rates, a rate inside a rate |
Worked example, the balloon: volume , and the radius is currently 5 cm, growing at cm per second. How fast is the volume growing right now?
At :
The balloon shows the chain rule doing real-world work, connecting two separate, physically meaningful rates. It's worth also seeing the more everyday version, differentiating a single function that simply has another function tucked inside it. Take . The "outer" function is sine, the "inner" function is :
Same rule, same multiplication, just with the "outer rate" and "inner rate" both living inside a single formula instead of two separate real-world quantities. That's the entire chain rule: multiply the two rates that sit between the thing you care about and the thing you actually control. Every "rate of a rate" problem, a shadow lengthening as someone walks away from a lamppost, a ripple's radius growing as its area grows, temperature changing as altitude changes as a plane climbs, is this same multiplication, just with different letters.
Chapter 3The Quotient Rule: The Product Rule in Disguise
A quotient is really times , so the quotient rule isn't a new idea at all, it's the product rule combined with the power rule applied to a negative exponent.
| Formula | Meaning |
|---|---|
| The derivative of a quotient, derivable directly from treating it as and applying the product rule plus the chain rule to the term |
Worked example: derive the derivative of , a result that isn't obvious on its own and can't be found by simplifying first. Since , let () and ():
using the Pythagorean identity to collapse the numerator into something clean. That's a genuinely new result, the derivative of tangent, arrived at with nothing but the quotient rule and one trig identity.
Worked check with numbers, on a case simple enough to verify independently: differentiate at the point , where the honest answer should just be the derivative of itself, which is 1. Let (), ().
Confirms the rule against something already checkable by simplifying first.
Chapter 4Derivatives of Sine and Cosine: A Circle Doing the Proving
Here's a genuinely different kind of function, , and the shrinking-interval definition from the last article still applies directly:
Using the angle-addition identity , this splits into two separate pieces:
Both of those small limits get answered by the same picture, the unit circle: mark a small angle from the positive x-axis to a point P on the circle, drop a vertical line from P down to the x-axis (that segment's length is exactly ), and draw the circular arc from to P (that arc's length is exactly ). For a small angle, that vertical segment and that arc are already nearly the same length, and they converge completely as shrinks toward zero.
Made rigorous rather than just eyeballed, comparing against against a third quantity, (the length you'd get by extending the radius line out to the vertical tangent at ), gives the inequality for any small positive angle. Divide through by : . As shrinks toward zero, approaches 1, so approaches 1 too, squeezing between two things that both approach 1. It has no choice but to approach 1 as well, which means . The second limit, , works out to 0 through a similar squeeze argument.
Substitute both limit values back into the split expression from the start of this section:
| Formula | Meaning |
|---|---|
| The derivative of sine is cosine, proven entirely from the unit circle picture above, no memorization required | |
| Proven the identical way, starting from the angle-addition identity for cosine instead, and substituting the same two limit values |
Derivatives of Exponentials and Logarithms: Why e Is the "Natural" Base
Apply the shrinking-interval definition to directly:
That remaining limit, as shrinks to zero, isn't a coincidence to memorize, it's essentially the definition of the number : is the unique base for which this particular limit equals exactly 1.
Substitute that value directly back into the expression above:
| Formula | Meaning |
|---|---|
| is its own derivative, by construction, this property is what defines as a number in the first place |
Logarithms fall out of this almost for free, using implicit differentiation, properly introduced in the next section, but here's the preview. If , then by definition . Differentiate both sides with respect to , remembering that is secretly a function of :
Since by the original definition, substitute it back in:
| Formula | Meaning |
|---|---|
| Derived directly from the inverse relationship between and , no separate rule to memorize |
Implicit Differentiation: When y Refuses to Be Isolated
Every function differentiated so far has had sitting by itself on one side: , . Plenty of genuinely useful equations don't cooperate. A circle of radius 5 is written , and there's no way to isolate as a single clean function, the top half and bottom half are two different functions glued together at the edges.
The trick: differentiate both sides with respect to anyway, treating as an unnamed function of , and every time shows up, the chain rule quietly kicks in, contributing an extra .
Worked check at the point , which sits on this circle since :
That claim survives a direct geometric test rather than sitting as an unverified formula. The radius from the origin to has slope . The tangent line at that same point, drawn from the implicit derivative, has slope . A tangent line to a circle is always perpendicular to the radius at that point, and the negative reciprocal of is exactly , so the two lines agree completely. The implicit derivative and a basic geometry fact confirm each other, which is a good sign the technique is doing something real, not just producing symbols.
Chapter 7u-Substitution: Undoing the Chain Rule
Every technique so far has been about taking derivatives apart. Integration is the reverse direction, and it turns out every differentiation rule has a mirror-image integration technique built by literally running it backward.
The chain rule says . Flip that statement around: if you're ever handed the integral , and you notice that is exactly the derivative of the sitting inside the cosine, you're looking at a chain rule in reverse, and the antiderivative is just .
The formal bookkeeping for this is called u-substitution:
| Step | What Happens |
|---|---|
| 1. Spot the inner function and its derivative sitting nearby | In , let , so |
| 2. Substitute | The integral becomes |
| 3. Integrate the simpler expression | |
| 4. Substitute back |
Worked check: differentiate the answer. , exactly the original integrand. u-substitution isn't a new idea, it's pattern-matching for "does this integral secretly contain a chain rule that already happened," then running it in reverse.
Everything above handles an indefinite integral, no boundaries, just an antiderivative plus a constant. Definite integrals need one extra piece of bookkeeping: when is replaced by , the boundary values need to switch to matching -values too.
Worked example: . Using the same substitution as above, , the boundaries transform along with everything else: when , ; when , .
Worked check: find the antiderivative in terms of first (already done above, ), then evaluate directly at the original -boundaries instead: . Both routes land on the identical answer, which is the actual point: changing the boundaries during substitution isn't a separate rule to memorize, it's just doing the "substitute back to " step early, once, instead of saving it for the very end.
Chapter 8Integration by Parts: Undoing the Product Rule, and Why the Trade Is Worth Making
The product rule, rearranged, gives a genuinely useful integration formula. Starting from , integrate both sides:
Rearranged into its standard, more usable form:
| Formula | Meaning |
|---|---|
| Integration by parts: swap one hard integral for a (hopefully easier) different one, using the product rule run in reverse |
Here's the actual intuition behind why anyone would want to make this trade, since the formula alone doesn't explain it. Every integration-by-parts problem hands you a product of two pieces, and everything depends on which piece becomes and which becomes . The piece called should be whichever one gets simpler when differentiated, differentiates down to just 1, differentiates down to . The piece called should be whichever one stays perfectly manageable when integrated, integrates right back to , integrates to . The trade deliberately routes the "get simpler" job to whichever piece is actually capable of getting simpler, and routes the "stay easy" job to whichever piece can absorb it without complaint.
This is also where the classic ordering, logarithmic, inverse trig, algebraic, trigonometric, exponential (sometimes taught as the acronym LIATE), actually comes from, not as an arbitrary sequence to memorize, but as a genuine ranking of which function types simplify fastest under differentiation. A logarithm differentiates into something dramatically simpler. An exponential differentiates into itself, no simplification at all. So when a product contains both, the logarithm becomes , since it has somewhere useful to go, and the exponential becomes , since it doesn't mind being integrated.
Worked example: . Here is algebraic (simplifies to 1 under differentiation) and is exponential (stays exactly itself either way), so () and ():
Worked check: differentiate . Using the product rule on the first term: , exactly the original integrand.
Sometimes neither piece simplifies in either direction, they just trade places with each other forever, and integration by parts still gets there, by a stranger route worth seeing once.
Worked example: . Apply integration by parts, letting and , so and :
The remaining integral needs integration by parts too. Apply it again, letting and , so :
Substitute this back into the first line:
The original integral has quietly reappeared on the right-hand side. Treat it like an unknown to solve for, calling it :
Worked check: differentiate , using the product rule on each term: , exactly the original integrand. Integration by parts didn't just simplify this integral, it looped back on itself, and the loop itself was the solution, treating the unsolved integral as an algebraic unknown and solving for it directly.
Chapter 9Integration of Special Forms
Trig integrals using identities and substitution. The right technique for a trig integral depends on a single question: is the power even or odd?
For an even power, like , there's no obvious antiderivative sitting in plain sight, isn't the derivative of anything simple. The half-angle identity rewrites it into something that is:
Worked check: differentiate . Using the chain rule on the second term: , matching the same identity used to set the problem up.
For an odd power, a genuinely different move works better, worth seeing since it's a different trick entirely. : peel off a single factor of , leaving an even power behind, then rewrite that even power using :
The integral is now secretly a u-substitution: let , so , meaning :
Worked check: differentiate . Using the chain rule on the second term: , matching the original integrand.
The decision rule underneath both examples: an even power needs an identity to break it into pieces with a direct antiderivative; an odd power can always spare one factor to feed a substitution, since peeling off one sine leaves an even power that converts cleanly into cosines.
Rational functions using partial fractions. looks intractable until the denominator factors: . The technique splits the single fraction into two simpler ones:
| Step | Calculation |
|---|---|
| Clear denominators | |
| Choose to eliminate | |
| Choose to eliminate |
, and each piece integrates directly to a logarithm:
It's worth seeing why this technique works at all, rather than trusting the algebra on faith. Adding two simple fractions over a common denominator, plus , produces exactly , a single, messier-looking fraction. Partial fractions is that exact process, run in reverse: given the messy combined fraction, find the two simple pieces that would have combined to produce it. Two separate terms are already known how to integrate. The technique's entire value is turning one unfamiliar integral into two familiar ones, using nothing but the algebra of adding fractions, done backward.
Chapter 10Differential Equations, Revisited: The Integrating Factor
The last article solved by separating variables, but plenty of differential equations don't separate cleanly. The general first-order linear form is , and the fix is a genuinely clever trick, one worth deriving rather than just accepting as a formula.
The goal: find some function to multiply the whole equation by, chosen specifically so the left-hand side collapses into the derivative of a single product, . Start from what that would actually require. The product rule says:
Compare that to what's sitting on the left side of the original equation after multiplying through by : . For these two expressions to match exactly, the second terms have to be equal:
This is itself a differential equation for , and it's the exact same separable equation solved earlier in this article, just with different letters. Separate it:
| Formula | Meaning |
|---|---|
| The integrating factor, derived rather than assumed, by demanding that exactly equal |
Worked example, a bathtub filling while draining, a genuinely common shape for this kind of equation: . Here , a constant, so:
Multiply the whole equation by :
The entire left side is, by design, exactly . So:
Integrate both sides directly:
Worked check: . Plug back into the original equation: . And there's a genuinely nice physical reading here: as grows large, the term fades to nothing, and settles toward 5, a steady equilibrium.
That equilibrium claim holds regardless of the starting point. Three solution curves, starting from three different values (, , and , corresponding to starting values of 2, 8, and 11), all bend toward the same horizontal line at as grows, no matter where each one began. This single differential equation doesn't have one solution, it has an entire family of them, one curve for every possible starting value, and the starting condition only ever changes , never where the family eventually ends up.
Chapter 11Slope Fields: Seeing a Solution Before Solving Anything
Every differential equation solved so far needed algebra to actually produce an answer. There's a way to see what the family of solutions looks like without doing any of that algebra at all.
A differential equation like hands you, at every single point in the plane, the exact slope a solution curve would have if it happened to pass through that point. Plot a short line segment with that slope at a grid of points, and the resulting picture, called a slope field, lets a solution curve's shape emerge visually, just by imagining a curve that stays tangent to the little segments as it moves through the grid.
Take the equation , which happens to be exactly the implicit-differentiation relationship derived earlier for the circle . Plotting short slope-segments at a grid of points, each tilted according to the local value of , visibly curls into circular arcs, matching a reference circle laid over the same grid, all without separating a single variable or integrating anything.
| Point (x, y) | Slope | What It Suggests |
|---|---|---|
| Tilting steeply downward, curling clockwise | ||
| Even steeper, same clockwise curl | ||
| Gentler downward tilt | ||
| Tilting upward, continuing the same clockwise loop | ||
| Consistent with a closed circular path |
That the slope field for visually traces circles isn't a coincidence, it's the same relationship found earlier by implicitly differentiating . Solving that differential equation algebraically (separating variables: , integrating both sides: , rearranging: ) produces exactly the family of circles the slope field already showed by eye. Seeing the answer first, then confirming it with algebra, is often a faster and more honest way to understand what a differential equation is actually describing.
Chapter 12How These Techniques Actually Relate to Each Other
Nothing in this article is a separate trick. Every integration technique is a differentiation rule, run in reverse, on purpose.
| Differentiation Rule | Its Reverse (Integration Technique) |
|---|---|
| Product rule: | Integration by parts: |
| Chain rule: | u-substitution: spot the inner derivative, substitute, integrate the simpler piece |
| Power rule and trig/log derivatives | Trig identities and partial fractions: rewrite first, so a known derivative rule applies in reverse |
| Implicit differentiation on a relationship | Slope fields: the same relationship, read visually instead of algebraically |
| Separation of variables | The integrating factor: itself derived from a second, smaller separable equation, for equations that don't separate cleanly on their own |
Conclusion & Key Takeaways
Nothing in this article introduced a new idea. The secant collapsing into a tangent, and the rectangles collapsing into an exact area, from the last article, are still the entire engine. Every rule here is what happens when that engine gets pointed at a harder target: two functions multiplied together, one function nested inside another, a circle instead of a simple curve, an equation that only describes a rate instead of handing you the answer directly. Learn the target, not a separate formula for each one, and the formulas stop needing to be memorized at all, they're just what the shrinking-interval trick was always going to produce, run one more time.
| Takeaway | Why It Matters |
|---|---|
| The product rule comes from a growing rectangle, not a formula to memorize | Two strips survive the shrinking limit; the tiny corner region, growing in both directions at once, vanishes faster and drops out entirely |
| The chain rule is just multiplying rates that sit between each other | Whether it's a balloon's volume growing 628.3 cubic centimeters per second, or a sine function with a polynomial tucked inside it, it's the same two-rate multiplication either way |
| The derivatives of sine and cosine come from a single picture | The unit circle inequality , squeezed as shrinks to zero, proves both derivatives without any memorization |
| The quotient rule earns its keep on results that can't be found any other way | The derivative of , worked out to , isn't available by simplifying first, the quotient rule is the only route in |
| e is defined by its own derivative property | being its own derivative isn't a coincidence to accept, it's the actual definition of what makes special |
| Implicit differentiation checks out against plain geometry | A circle's tangent slope, found without ever isolating , matches the fact that a tangent is always perpendicular to its radius |
| u-substitution is the chain rule, noticed and run backward | If an inner function's derivative is sitting right next to it in the integral, that's a chain rule waiting to be undone |
| Definite integrals just move the "back to x" step earlier | Transforming the boundaries during substitution and evaluating in u, or substituting back to x first and using the original boundaries, land on the exact same answer |
| Choosing and is a reasoned decision, not a coin flip | should be whatever simplifies under differentiation; should be whatever tolerates being integrated, which is also the actual logic behind the LIATE ordering |
| Integration by parts can solve for an integral that reappears in its own answer | , applied twice, loops back to itself and gets solved algebraically, like an unknown in an equation |
| Trig integrals split on one question: even power or odd | Even powers need an identity; odd powers can always spare one factor to feed a substitution |
| Partial fractions is fraction addition, run in reverse | The same algebra that combines and into one fraction also tells you how to split a combined fraction back apart |
| The integrating factor is derived, not assumed | Demanding that the product rule collapse the left side into one clean derivative produces a second, smaller separable equation, solved with the exact technique from earlier in the article |
| A family of solution curves can share one destination | Three different starting values all bend toward the same equilibrium line, the starting condition only changes the path there, never the destination |
| A slope field lets you see a differential equation's answer before solving it | visually traces circles, the same family of curves the algebra confirms afterward |
| Every technique in this article is a mirror image of one from the last | Differentiation rules and integration techniques are the same short list of ideas, read in opposite directions |
Sources
Paul Dawkins, Paul's Online Math Notes, Calculus I: derivative rules and implicit differentiation Paul Dawkins, Paul's Online Math Notes, Calculus II: integration by parts Paul Dawkins, Paul's Online Math Notes, Calculus II: integration techniques including partial fractions MIT OpenCourseWare 18.03SC, Differential Equations, Solutions of First Order Linear Equations MIT OpenCourseWare 18.03SC, Differential Equations, practice problems on first-order linear ODEs and direction fields James Stewart, Calculus, standard reference for derivative rules, integration techniques, and the unit circle derivation of the derivatives of sine and cosine; George B. Thomas, Thomas' Calculus, standard reference for implicit differentiation and partial fraction decomposition