From: 3blue1brown
Computing Derivatives: An Overview
Once the meaning of a derivative and its connection to rates of change are understood, the next step is to learn how to compute these derivatives for functions with explicit formulas [00:00:16]. This skill is crucial because many real-world phenomena analyzed with calculus are modeled using polynomials, trigonometric functions, and exponentials [00:00:42]. Developing fluency in finding rates of change for these abstract functions provides a common language to discuss changes in concrete situations [00:00:53].
It’s important to remember that derivatives fundamentally involve looking at tiny changes in one quantity and how they relate to resulting tiny changes in another quantity [00:01:16]. This concept of “tiny nudges” is at the heart of understanding derivatives intuitively and geometrically [00:01:28].
Deriving the Power Rule Geometrically
The power rule is a method for computing derivatives of functions where the variable is raised to a power. It can be understood through geometric visualization.
Derivative of f(x) = x²
To find the derivative of f(x) = x²
, consider a square with side length x
[00:02:30]. If x
is increased by a tiny nudge, dx
, the resulting change in the area of the square (dF
) is sought [00:02:39].
This change in area consists of three new bits [00:02:59]:
- Two thin rectangles, each with dimensions
x
bydx
, contributing2 * x * dx
to the new area [00:03:06]. - A minuscule square with area
dx²
[00:03:29].
When dealing with “truly tiny amounts” for dx
, any term involving dx
raised to a power greater than 1 (like dx²
) can be safely ignored because it becomes negligibly tiny [00:03:54].
Therefore, the change in area (dF
) is approximately 2x * dx
[00:04:07]. The derivative, dF/dx
, is then 2x
[00:04:11]. This represents the rate of change of the area per unit change in x
[00:04:24].
Derivative of f(x) = x³
Similarly, for f(x) = x³
, this can be visualized as the volume of a cube with side length x
[00:04:51]. When x
is increased by dx
, the resulting increase in volume (the yellow region in the visualization) is dF
[00:04:57].
This new volume is predominantly comprised of three square faces, each with dimensions x
by x
by dx
[00:05:18]. Each of these thin squares contributes x² * dx
to the volume change, totaling 3x² * dx
[00:05:33]. Other slivers of volume along edges (dx²
terms) or in the corner (dx³
terms) are proportional to higher powers of dx
and can be ignored as dx
approaches zero [00:05:47].
Thus, the derivative of x³
, dF/dx
, is 3x²
[00:06:11]. This corresponds to the slope of the graph of x³
at any point x
[00:06:20].
The General Power Rule
The derivations for x²
and x³
reveal a pattern known as the power rule: the derivative of xⁿ
for any power n
is n * x^(n-1)
[00:07:04].
This rule can be understood by considering (x + dx)ⁿ
[00:07:58]. When x
is nudged by dx
, (x + dx)ⁿ
involves multiplying n
terms of (x + dx)
[00:08:02].
- The first term in the expansion is
xⁿ
[00:08:19]. - The next set of terms comes from choosing
dx
from one parenthesis andx
from the remainingn-1
parentheses [00:08:30]. Since there aren
ways to choose which parenthesis contributesdx
, this results inn
terms, each of which isx^(n-1) * dx
[00:08:41]. In total, this contributesn * x^(n-1) * dx
to the change [00:09:25]. - All other terms in the expansion will include
dx²
or higher powers ofdx
, making them negligible whendx
is tiny [00:09:14].
Therefore, the increase in the output is negligibly n * x^(n-1) * dx
, meaning the derivative of xⁿ
is n * x^(n-1)
[00:09:31].
Application and Challenges
While the power rule is often applied symbolically (the exponent “hops down in front” and is “reduced by one” [00:07:35]), understanding its geometric foundation reinforces the underlying principles of derivatives as “tiny nudges” [00:10:00].
Challenge: Derivative of f(x) = 1/x (or x⁻¹)
One can apply the power rule directly to f(x) = 1/x
by rewriting it as x⁻¹
[00:10:12]. The video poses a challenge to reason about this geometrically:
- Visualize
1/x
as the height of a rectangle with an area of 1 and a width ofx
[00:10:42]. - Consider how the height must change (
d(1/x)
) if the width increases by a tinydx
, while maintaining a constant area of 1 [00:11:34]. - The video encourages comparing the geometrically derived
d(1/x)/dx
to the result obtained by applying the power rule symbolically [00:12:10].
Challenge: Derivative of f(x) = √x
Another challenge presented is to reason through what the derivative of the square root of x
should be [00:12:29].
Other Types of Derivatives Explained Intuitively
The video briefly touches upon finding derivatives of other functions through intuitive geometric understanding, such as trigonometric functions.
Derivative of f(x) = sin(θ)
The derivative of sine can be understood by looking at the unit circle [00:12:45].
sin(θ)
represents the height of a point on the unit circle after traversing an arc lengthθ
[00:13:14].- If
θ
is nudged by a tinydθ
along the circumference, the change in height isd(sin(θ))
[00:15:01]. - Zooming in, the arc
dθ
can be seen as the hypotenuse of a tiny right triangle, where the vertical side isd(sin(θ))
[00:15:21]. - This tiny triangle is similar to a larger triangle formed by the radius and
θ
within the unit circle [00:15:40]. - By properties of similar triangles, the ratio
d(sin(θ))/dθ
(adjacent side divided by hypotenuse in the tiny triangle, which isd(sin(θ))
divided bydθ
) corresponds tocos(θ)
(adjacent side ofθ
in unit circle triangle divided by hypotenuse of 1) [00:16:01]. - Therefore, the derivative of
sin(θ)
iscos(θ)
[00:16:18].
Challenge: Derivative of f(x) = cos(θ)
A challenge is posed to apply a similar line of reasoning to find the derivative of cos(θ)
[00:16:49].
Moving Forward
Subsequent topics in calculus build upon these fundamental derivative rules, including how to take derivatives of functions that combine simple functions through sums, products, or function compositions, like the sum rule, product rule, and chain rule [00:16:56]. The goal remains to understand each rule geometrically and intuitively for better memorability and understanding [00:17:06].