Skip to content

Rules for manipulating derivatives #121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 37 commits into from
Apr 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
424f19f
Inserted notes
mollygracehicks Apr 16, 2025
5b1aabf
issue-30
mollygracehicks Apr 16, 2025
09b5bdc
issue-30
mollygracehicks Apr 16, 2025
490ae9b
issue30
mollygracehicks Apr 16, 2025
cb2ade4
issue30
mollygracehicks Apr 16, 2025
d782732
issue30
mollygracehicks Apr 16, 2025
4441482
issue30
mollygracehicks Apr 16, 2025
2253d16
issue30
mollygracehicks Apr 16, 2025
b8a97b2
issue 30
mollygracehicks Apr 16, 2025
d15b4fd
issue30
mollygracehicks Apr 16, 2025
cd423c2
issue30
mollygracehicks Apr 16, 2025
1a23111
issue30
mollygracehicks Apr 16, 2025
3b47e6a
issue30
mollygracehicks Apr 16, 2025
153a343
issue30
mollygracehicks Apr 16, 2025
ff7d607
issue30
mollygracehicks Apr 16, 2025
baf7f88
issue30
mollygracehicks Apr 16, 2025
098d801
issue-30
mollygracehicks Apr 16, 2025
cc339dc
issue30
mollygracehicks Apr 16, 2025
8f133e9
issue30
mollygracehicks Apr 16, 2025
897b1b6
issue30
mollygracehicks Apr 16, 2025
3cbe127
issue30
mollygracehicks Apr 16, 2025
3720179
issue30
mollygracehicks Apr 16, 2025
a51fdc8
Merge branch 'main' into issue-30
mphoward Apr 22, 2025
ed7ca60
Update multivariable-calculus/manipulating-derivatives.md
mollygracehicks Apr 23, 2025
96e8f78
Update multivariable-calculus/manipulating-derivatives.md
mollygracehicks Apr 23, 2025
6ffddd3
Update manipulating-derivatives.md
mollygracehicks Apr 23, 2025
0ba999d
Update manipulating-derivatives.md
mollygracehicks Apr 23, 2025
2e56ec3
Update manipulating-derivatives.md
mollygracehicks Apr 23, 2025
3302c50
Update manipulating-derivatives.md
mollygracehicks Apr 23, 2025
a7a6927
issue30
mollygracehicks Apr 23, 2025
439797b
issue30
mollygracehicks Apr 23, 2025
ad02348
Merge branch 'main' into issue-30
mphoward Apr 24, 2025
d64d5e9
issue30
mollygracehicks Apr 26, 2025
ec17b9f
issue30
mollygracehicks Apr 26, 2025
9357b40
Merge branch 'main' into issue-30
mphoward Apr 28, 2025
1fbb89e
Revise prose
mphoward Apr 28, 2025
0582022
Add Molly Grace Hicks to credits
mphoward Apr 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions credits.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ This work (c) 2025 is licensed under
- Paine Cole
- Alexis Florit
- Ella Governale
- Molly Grace Hicks
- Michael P. Howard
- Evan M. Hughes
- Esther Laiming
Expand Down
89 changes: 89 additions & 0 deletions multivariable-calculus/manipulating-derivatives.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,94 @@
# Manipulating partial derivatives

We sometimes need to find derivatives we don't obtain easily from one of these
potentials. For this, we use some calculus rules.

---

The inversion rule states that the partial derivative of each variable with
respect to each other are reciprocals if the two variables are related through
an inverse function.

```{topic} Inversion rule
If $x(y, z)$ has an inverse function $y(x, z)$, then:

\begin{equation}
\td{}{x}{y}{z} = \frac{1}{(\partial y/\partial x)_z}
\end{equation}
```

To demonstrate use of this rule, consider two ways of calculating the partial
derivative $(\partial x/\partial y)_z$ for the function

\begin{equation}
x = \frac{y^2}{z}
\end{equation}

and the inverse function

\begin{equation}
y = \sqrt{xz}
\end{equation}

Evaluating the partial derivative of *x* with respect to *y* directly gives

\begin{equation}
\td{}{x}{y}{z} = \frac{2y}{z}
\end{equation}

while the partial derivative of *y* with respect to *x* is:

\begin{equation}
\td{}{y}{x}{z} = \frac{1}{2} \sqrt{\frac{z}{x}}
\end{equation}

Now, use the inversion rule and substitute $x(y,z)$ back in:

\begin{equation}
\frac{1}{(\partial y/\partial x)_z} = 2 \sqrt{\frac{x}{z}}
= 2 \sqrt{\frac{y^2/z}{z}} = \frac{2y}{z}
\end{equation}

The results are the same!

---

When working with multivariable functions, we often want to compute the
derivative of one variable with respect to another, even when the relationship
between them is indirect. In such cases, the chain rule allows us to break down
the derivative into intermediate steps.

```{topic} Chain rule
If $x(w,z)$ depends on a variable $w(y,z)$ that depends on a variable *y*, then

\begin{equation}
\td{}{x}{y}{z} = \td{}{x}{w}{z} \td{}{w}{y}{z}
\end{equation}
```

To demonstrate use of this rule, let $w = yz$, which means that

\begin{equation}
x = \frac{y^2}{z} = \frac{w^2}{z^3}
\end{equation}

We will calculate the partial derivative of *x* with respect to *y* using the
chain rule, then show it gives the same as if we differentiated directly. First,
we need partial derivatives of *x* with respect to *w* and *w* with respect to
*y*:

\begin{equation}
\td{}{x}{w}{z} = \frac{2w}{z^3}, \qquad \td{}{w}{y}{z} = z
\end{equation}

Therefore, by the chain rule:

\begin{equation}
\td{}{x}{y}{z} = \left(\frac{2w}{z^3} \right)z = \frac{2yz}{z^2} = \frac{2y}{z}
\end{equation}

This matches our previous result for the derivative!

## Derivatives as functions

The first law of thermodynamics for a pure substance is:
Expand Down