Questions tagged [chain-rule]

For questions involving the chain rule in analysis. The chain rule is a special rule to differentiate a composition (chain) of several functions. In single-variable calculus, we found that one of the most useful differentiation rules is the chain rule, which allows us to find the derivative of the composition of two functions. The same thing is true for multivariable calculus, but this time we have to deal with more than one form of the chain rule.

The chain rule provides us a technique for finding the derivative of composite functions, with the number of functions that make up the composition determining how many differentiation steps are necessary.

In one-dimensional case takes the simplest form as $$f(g(x))'=f'(g(x))g'(x)$$ where both $f(x)$ and $g(x)$ are functions of one variable.

${}$

CHAIN RULE FOR ONE INDEPENDENT VARIABLE: Suppose that $x=g(t)$ and $y=h(t)$ are differentiable functions of $t$ and $z=f(x,y)$ is a differentiable function of $x$ and $y$ . Then $z=f(x(t),y(t))$ is a differentiable function of $t$ and

$$\frac{dz}{dt}=\frac{∂z}{∂x}\cdot \frac{dx}{dt}+\frac{∂z}{∂y}\cdot \frac{dy}{dt}$$ where the ordinary derivatives are evaluated at $t$ and the partial derivatives are evaluated at $(x,y)$ .

${}$

CHAIN RULE FOR TWO INDEPENDENT VARIABLE: Suppose $x=g(u,v)$ and $y=h(u,v)$ are differentiable functions of $u$ and $ v$ , and $z=f(x,y)$ is a differentiable function of $x$ and $y$ . Then, $z=f(g(u,v),h(u,v))$ is a differentiable function of $u$ and $v$ , and

$$\frac{∂z}{∂u}=\frac{∂z}{∂x}\cdot \frac{∂x}{∂u}+\frac{∂z}{∂y}\cdot \frac{∂y}{∂u}$$ and $$\frac{∂z}{∂v}=\frac{∂z}{∂x}\cdot \frac{∂x}{∂v}+\frac{∂z}{∂y}\cdot \frac{∂y}{∂v}$$

${}$

The Generalized Chain Rule: Let $w=f(x_1,x_2,…,x_m)$ be a differentiable function of $m$ independent variables, and for each $i∈1,…,m,$ let $x_i=x_i(t_1,t_2,…,t_n)$ be a differentiable function of $n$ independent variables. Then $$\frac{∂w}{∂t_j}=\frac{∂w}{∂x_1}\cdot \frac{∂x_1}{∂t_j}+\frac{∂w}{∂x_2}\cdot \frac{∂x_2}{∂t_j}+\cdots+\frac{∂w}{∂x_m}\cdot \frac{∂x_m}{∂t_j}$$ for any $j∈1,2,…,n$.


You can use and tags for multidimensional cases.

References:

https://en.wikipedia.org/wiki/Chain_rule

1582 questions
2
votes
0 answers

Chain rule notation

For the part $\frac{\partial u}{\partial x}$, do we do $\frac{\partial u(x,y)}{\partial x}$ first, then evaluate at the point $(x,y)=(x,y(x))?$ For the part $u_{x}$, do we do $\frac{\partial u(x,y)}{\partial x}$ first, then evaluate at the point…
000000000
  • 497
2
votes
1 answer

Do I have the chain rule right?

I was revising chain rule and I made up a problem to write down in my notes that uses it at least two times. Here it is, if a function $\zeta(x) = (z(x))^2$ where $z(x) = x + f(x), f(x) = \ln(g(x))$ and $g(x) = \frac{1}{2}x^2$ then $\zeta'$ or…
scribe
  • 524
2
votes
2 answers

Chain rule problem without giving f(x)

The questions is If $f(u,v,w)$ is differentiable and $u=x-y$, $v=y-z$, and $w=z-x$, show that $$\begin{equation} \frac{\partial{f}}{\partial{x}}+\frac{\partial{f}}{\partial{y}}+\frac{\partial{f}}{\partial{z}}=0 \end{equation}$$ The things that I…
2
votes
1 answer

chain rule - legendre transformation

let $$df = \dfrac{∂f}{∂x}\ dx + \dfrac{∂f}{∂y} \ dy \text{ and } \dfrac{∂f}{∂x} = p , \dfrac{∂f}{∂y} = q$$ So we get $$df = p\ dx + q\ dy$$ $$d(f - qy) = p \ dx - y\ dq$$ and now, define $g$. $$g = f - q\ y$$ and then I faced…
1
vote
1 answer

The right way to use the chain rule for composite functions like $f(g(x,y),h(x,y))$

Im in doubt about a resolution. I made it in a way that gave me the right answer but I don't think it's the right way to answer. I wish some one can help me understand the right way to make. So, $f:\Bbb{R}^2\rightarrow\Bbb{R}$ is a derivable…
1
vote
0 answers

Derivation of luminosity source counts

For my cosmology assignment, we're required to derive an expression for the source count $\frac{dN}{dS}$ and show that it is $$ \cfrac{dN}{dS} ∝ \cfrac{S^{-3}}{\cos \theta}$$ We start from a Universe that resides on the surface of a sphere and we…
1
vote
0 answers

derivative of a function depending on a function and chain rules

Given the functions $g(y,z)$ and $ $ $F(x, g(y,z)),$ how to compute the derivative of the 2 following functions w.r.t $ $ $y$ ? $F(x, g(y,z))\quad $ and $\quad \int_{0}^{y} F\big(y-\xi, g(\xi,z)\big)d\xi.$ Thank you!
Doudou
  • 11
1
vote
1 answer

Chain rule vs relative speeds

If $\dfrac{dy}{dt} = 2$ and $\dfrac{dt}{dx}=5$, then chain rule gives $\dfrac{dy}{dx}=2*5=10$. However if we define $\dfrac{dy}{dt}=2$ to be the speed of a person in a moving train relative to train, and $\dfrac{dt}{dx}=5$ to be the speed of train…
AgentS
  • 12,195
1
vote
0 answers

Chain rule in the context of backpropagation in Recurrent Neural Networks - Understanding a derivation

I am studying on my own about RNNs and particularly backpropagation. I have found in the web a slide presentation explaining backpropagation step by step but I am stuck in a particular slide I can not understand. Could you help me understand the…
user8270077
  • 111
  • 3
1
vote
1 answer

Chain rule confusion in defining composite function

I am currently a Calc 1 student, and I have learned the Chain rule for differentiation. The Chain Rule states that $[f(g(h(x)))]' = f'(g(h)) \times g'(h) \times h'$. I totally understand this. However, I do not understand what constitutes as a…
1
vote
1 answer

Derivative of an unknown function

I wish to take the time derivative $\frac{d}{dt}$ of the expression $Lsin(\phi)$, where $\phi = \phi(t)$, but that is all that is known about $\phi$. Using the chain rule, I obtain $\dot{\phi}Lcos(\phi)$. Is that correct? If not, what is the…
1
vote
1 answer

Partial derivative reverse chain rule proof

I wish to know if I could do a reverse chain rule of partial derivative. By reverse I mean this: $\frac{\partial z}{\partial y}$ $\div$ $\frac{\partial z}{\partial x}$ $=$ $\frac{\partial x}{\partial y}$ where $y=f(x)$ and $z=f(y)$ Is there a proof…
1
vote
1 answer

chain rule - second derivative

I am reading this paper where it is given where $x = g(s,\alpha)$ and $u$ is a function of $x$. The above expression is for a given $\alpha$. The first equation is straight forward from chain rule. However, I am not able to obtain the second…
1
vote
2 answers

f(x)=sin(1/x), compute f'(-1/x)

$f(x) = \sin\left(\frac{1}{x}\right)$ Compute $f'(-\frac{1}{x})$. While this problem isn't particularly hard, I noticed desmos gave a different answer from me. What I did was (to be safe), $f'(x)=-\frac{1}{x^2}\cos\left(\frac{1}{x}\right)$.…
1
vote
1 answer

Why is the "inside function" the exponent itself when differentiating e^x, but not for other expressions raised to some power?

Using the chain rule for functions raised to some power, like (2x+4)^2, the "inside function" is considered the base of the power. But for exponential functions like e^(2x+4) the inside function is the exponent itself. Why is that? How do you…
1
2 3