Chain Rule For Several Independent Variables
Chain Rule For Several Independent Variables
Under the right conditions, 𝑤 could have partial derivatives with respect to both 𝒓 and
𝒔 that could be calculated in the following way.
Suppose that 𝒘 = 𝒘(𝒙, 𝒚, 𝒛); 𝒙 = 𝒙(𝒓, 𝒔), 𝒚 = 𝒚(𝒓, 𝒔) and 𝒛 = 𝒛(𝒓, 𝒔). If all the
four functions are differentiable, then 𝑤 has partial derivatives with respect to 𝑟 and 𝑠,
given by the formulas
𝜕𝑤 𝜕𝑤 𝜕𝑥 𝜕𝑤 𝜕𝑦 𝜕𝑤 𝜕𝑧
= + +
𝜕𝑟 𝜕𝑥 𝜕𝑟 𝜕𝑦 𝜕𝑟 𝜕𝑧 𝜕𝑟
𝜕𝑤 𝜕𝑤 𝜕𝑥 𝜕𝑤 𝜕𝑦 𝜕𝑤 𝜕𝑧
= + +
𝜕𝑠 𝜕𝑥 𝜕𝑠 𝜕𝑦 𝜕𝑠 𝜕𝑧 𝜕𝑠
Example 3
𝜕𝑤 𝜕𝑤
Express and in terms of 𝑟 and 𝑠 if
𝜕𝑟 𝜕𝑠
𝑟
𝑤 = 𝑥 + 2𝑦 + 𝑧 2 ; 𝑥 = , 𝑦 = 𝑟 2 + ln 𝑠 , 𝑧 = 2𝑟
𝑠
Solution:
𝜕𝑤 𝜕𝑤 𝜕𝑥 𝜕𝑤 𝜕𝑦 𝜕𝑤 𝜕𝑧
= + +
𝜕𝑟 𝜕𝑥 𝜕𝑟 𝜕𝑦 𝜕𝑟 𝜕𝑧 𝜕𝑟
1
= (1) ( ) + (2) (2𝑟) + (2𝑧) (2)
𝑠
1
= ( ) + 4𝑟 + (4𝑟) (2)
𝑠
1
= ( ) + 12𝑟
𝑠
𝜕𝑤 𝜕𝑤 𝜕𝑥 𝜕𝑤 𝜕𝑦 𝜕𝑤 𝜕𝑧
= + +
𝜕𝑠 𝜕𝑥 𝜕𝑠 𝜕𝑦 𝜕𝑠 𝜕𝑧 𝜕𝑠
𝑟 1
= (1) (− 2 ) + (2) ( ) + (2𝑧) (0)
𝑠 𝑠
2 𝑟
= ( ) – ( 2)
𝑠 𝑠
Remark 1:
𝜕𝑤 𝜕𝑤 𝜕𝑥 𝜕𝑤 𝜕𝑦
= + 𝜕𝑦
𝜕𝑠 𝜕𝑥 𝜕𝑠 𝜕𝑠
Example 4:
𝜕𝑤 𝜕𝑤
Express and in terms of 𝑠 and 𝑟
𝜕𝑠 𝜕𝑟
𝒘 = 𝒙𝟐 + 𝒚𝟐 , 𝒙 = 𝒓 – 𝒔, 𝒚 = 𝒓 + 𝒔
𝜕𝑤 𝜕𝑤 𝜕𝑥 𝜕𝑤 𝜕𝑦
Solution: = +
𝜕𝑟 𝜕𝑥 𝜕𝑟 𝜕𝑦 𝜕𝑟
= (2𝑥)(1) + (2𝑦)(1)
= 2 (𝑟 – 𝑠) + 2 (𝑟 + 𝑠) = 4𝑟
𝜕𝑤 𝜕𝑤 𝜕𝑥 𝜕𝑤 𝜕𝑦
= +
𝜕𝑠 𝜕𝑥 𝜕𝑠 𝜕𝑦 𝜕𝑠
= −2 (𝑟 – 𝑠) + 2 (𝑟 + 𝑠)
= 4𝑠
𝝅
1. 𝒛 = 𝟒𝒆𝒙 𝐥𝐧 𝒚 , 𝑥 = ln(𝑢 cos 𝑣) , 𝑦 = 𝑢 sin 𝑣 ; (𝒖, 𝒗) = (𝟐, )
𝟒
𝒙 𝝅
2. 𝒛 = 𝐭𝐚𝐧−𝟏 ( ) , 𝑥 = 𝑢 cos 𝑣 , 𝑦 = 𝑢 sin 𝑣 ; (𝒖, 𝒗) = (𝟏. 𝟑, )
𝒚 𝟔