Question
Question: What is the derivative of \(w=\sqrt{{{x}^{2}}+{{y}^{2}}+{{z}^{2}}}?\)...
What is the derivative of w=x2+y2+z2?
Solution
We solve this question by using the concept of partial differentiation since the question involves a multivariable function. We partially differentiate the function w with respect to x, y and z individually. Here, x, y and z are independent variables.
Complete step by step solution:
In order to solve this question, let us consider the equation given in the question.
⇒w=x2+y2+z2
Now, let us first differentiate the function with respect to the variable x partially. This means that we consider the variables y and z as constants while partially differentiating with respect to x.
⇒∂x∂w=∂x∂x2+y2+z2
The square root can be written as the power 21.
⇒∂x∂w=∂x∂(x2+y2+z2)21
We use the chain rule to differentiate this function. By the use of the chain rule, we differentiate the outer function first followed by the inner function. The outer function in this case is (x2+y2+z2)21 and the inner function is x2+y2+z2. Differentiating the outer function first,
⇒∂x∂w=21(x2+y2+z2)21−1.∂x∂(x2+y2+z2)
Here, the y2 and z2 terms are treated as constants. Differentiating the inner function,
⇒∂x∂w=21(x2+y2+z2)−21.2x
Cancelling the 2 in the numerator and denominator and since (x2+y2+z2)−21 can be written as x2+y2+z21.
⇒∂x∂w=x2+y2+z2x
Similarly, we differentiate with respect to y and z. Partially differentiating with respect to y,
⇒∂y∂w=∂y∂x2+y2+z2
The square root can be written as the power 21.
⇒∂y∂w=∂y∂(x2+y2+z2)21
By the use of the chain rule, we differentiate the outer function first followed by the inner function. The outer function in this case is (x2+y2+z2)21 and the inner function is x2+y2+z2. Differentiating the outer function first,
⇒∂y∂w=21(x2+y2+z2)21−1.∂y∂(x2+y2+z2)
Here, the x2 and z2 terms are treated as constants. Differentiating the inner function,
⇒∂y∂w=21(x2+y2+z2)−21.2y
Cancelling the 2 in the numerator and denominator and since (x2+y2+z2)−21 can be written as x2+y2+z21.
⇒∂y∂w=x2+y2+z2y
Similarly, now we differentiate with respect to z. Partially differentiating the given function with respect to z,
⇒∂z∂w=∂z∂x2+y2+z2
The square root can be written as the power 21.
⇒∂z∂w=∂z∂(x2+y2+z2)21
By the use of the chain rule, we differentiate the outer function first followed by the inner function. The outer function in this case is (x2+y2+z2)21 and the inner function is x2+y2+z2. Differentiating the outer function first,
⇒∂z∂w=21(x2+y2+z2)21−1.∂z∂(x2+y2+z2)
Here, the x2 and y2 terms are treated as constants. Differentiating the inner function,
⇒∂z∂w=21(x2+y2+z2)−21.2y
Cancelling the 2 in the numerator and denominator and since (x2+y2+z2)−21 can be written as x2+y2+z21.
⇒∂z∂w=x2+y2+z2z
Hence, the derivative of w=x2+y2+z2 is represented by, ∂x∂w=x2+y2+z2x , ∂y∂w=x2+y2+z2y , and ∂z∂w=x2+y2+z2z.
Note:
We need to know the basic formulae for partial differentiation. We need to be careful while partially differentiating with respect to a variable because we need to treat all the other variables as constants else it would lead to a wrong result.