Try a Similar Question
Question: If \(p\), \(q\), \(r\) and \(s\) are functions of \(x\), show that \[\frac{d}{dx}(p \cdot q \cdot r \cdot s) = \frac{dp}{dx}\,q\,r\,s + p\,\frac{dq}{dx}\,r\,s + p\,q\,\frac{dr}{dx}\,s + p\,q\,r\,\frac{ds}{dx}\] in two ways — first by repeated application of the product rule, and second by logarithmic differentiation.
Solution
- Method 1 — Step 1: Group the four functions into two pairs: Write \(P = p \cdot q\) and \(Q = r \cdot s\), so that \(p \cdot q \cdot r \cdot s = P \cdot Q\). Apply the product rule to the pair \((P, Q)\): \[\frac{d}{dx}(P \cdot Q) = \frac{dP}{dx} \cdot Q + P \cdot \frac{dQ}{dx}.\]
- Method 1 — Step 2: Differentiate P = p · q: Apply the product rule to \(P = p \cdot q\): \[\frac{dP}{dx} = \frac{dp}{dx}\,q + p\,\frac{dq}{dx}.\]
- Method 1 — Step 3: Differentiate Q = r · s: Apply the product rule to \(Q = r \cdot s\): \[\frac{dQ}{dx} = \frac{dr}{dx}\,s + r\,\frac{ds}{dx}.\]
- Method 1 — Step 4: Substitute back and expand: Substituting the results from Steps 2 and 3 into the expression from Step 1: \[\frac{d}{dx}(p\,q\,r\,s) = \left(\frac{dp}{dx}\,q + p\,\frac{dq}{dx}\right)(r\,s) + (p\,q)\left(\frac{dr}{dx}\,s + r\,\frac{ds}{dx}\right).\] Expanding: \[= \frac{dp}{dx}\,q\,r\,s + p\,\frac{dq}{dx}\,r\,s + p\,q\,\frac{dr}{dx}\,s + p\,q\,r\,\frac{ds}{dx}.\] This completes Method 1.
- Method 2 — Step 1: Take the natural logarithm of both sides: Let \(y = p \cdot q \cdot r \cdot s\). Taking the natural logarithm of both sides (assuming \(p, q, r, s > 0\)): \[\ln y = \ln p + \ln q + \ln r + \ln s.\]
- Method 2 — Step 2: Differentiate both sides with respect to x: Differentiating both sides with respect to \(x\) using the chain rule on the left and the standard result \(\frac{d}{dx}(\ln f) = \frac{f'}{f}\) on the right: \[\frac{1}{y}\,\frac{dy}{dx} = \frac{1}{p}\,\frac{dp}{dx} + \frac{1}{q}\,\frac{dq}{dx} + \frac{1}{r}\,\frac{dr}{dx} + \frac{1}{s}\,\frac{ds}{dx}.\]
- Method 2 — Step 3: Multiply both sides by y = p q r s: Multiplying both sides by \(y = p\,q\,r\,s\): \[\frac{dy}{dx} = p\,q\,r\,s \left(\frac{1}{p}\,\frac{dp}{dx} + \frac{1}{q}\,\frac{dq}{dx} + \frac{1}{r}\,\frac{dr}{dx} + \frac{1}{s}\,\frac{ds}{dx}\right).\] Distributing \(p\,q\,r\,s\) across each term: \[\frac{d}{dx}(p\,q\,r\,s) = \frac{dp}{dx}\,q\,r\,s + p\,\frac{dq}{dx}\,r\,s + p\,q\,\frac{dr}{dx}\,s + p\,q\,r\,\frac{ds}{dx}.\] This completes Method 2.
Answer: By both methods, the derivative of the product of four functions is: \[\frac{d}{dx}(p\,q\,r\,s) = \frac{dp}{dx}\,q\,r\,s + p\,\frac{dq}{dx}\,r\,s + p\,q\,\frac{dr}{dx}\,s + p\,q\,r\,\frac{ds}{dx}.\] Each term is obtained by differentiating exactly one of the four functions and keeping the other three unchanged, then summing all four such terms.