Partial differentiation is used to differentiate mathematical functions having more than one variable in them. In ordinary differentiation, we find derivative with respect to one variable only, as function contains only one variable. So partial differentiation is more general than ordinary differentiation. Partial differentiation is used for finding maxima and minima in optimization problems. Let us discuss it in details.
It’s another name is Partial Derivative. It is a derivative where we hold some independent variable as constant and find derivative with respect to another independent variable.
For example, suppose we have an equation of a curve with X and Y coordinates in it as 2 independent variables. To find the slope in the direction of X, while keeping Y fixed, we will find the partial derivative. Similarly, we can find the slope in the direction of Y (keeping X as Fixed).
Partial differentiation builds with the use of concepts of ordinary differentiation. So we should be familiar with the methods of doing ordinary first-order differentiation.
Obviously, for a function of one variable, its partial derivative is the same as the ordinary derivative. Constants, when added to functions, will differentiate to 0 but constants multiplying the functions, are retained and so still multiply the derivative.
Here f’x to mean “the partial derivative with respect to x”. Its another very common notation is to use a backward d (∂) like this: ∂f∂x = 2x
This is the same as: f’x = 2x ∂ is also called “del” or “dee” or “curly dee”
Example with Explanation
Take a function of one variable x:
f(x) = x2
It’s derivative using power rule:
First order derivative :: f’(x) = 2x
Now take a function of two variables x and y:
f(x,y) = x2 + y3
To find its partial derivative with respect to x we consider y as a constant:
Partial derivative wrt X :: f’x = 2x + 0
Now, to find the partial derivative with respect to y, we consider x as a constant:
Partial derivative wrt Y :: f’y = 0 + 3y2
For more than two variables we will consider all other variables as if they are constants.
Consider a Cylindrical object. The equation to find volume is:
V = π r2 h
Also, We can write that in multi-variable form as f(r,h) = π r2 h
For the partial derivative with respect to r we hold h constant, and r changes: f’r = π (2r) h = 2πrh
Here derivative of r2 with respect to r is 2r, and π is a constant and we assume h as constant. It says that, as only the radius changes (by the negligible amount), the volume changes by 2πrh. It is like that we add another skin with a circle’s circumference 2πr and a height of h.
For the partial derivative with respect to h, we hold r as a constant:
f’h = π r2 (1)
π and r2 both are constants, and the derivative of h with respect to h is 1.
It says that as only the height changes (by the negligible amount, the volume changes by πr2.
It is like we add the thinnest disk with negligible height on top with a circle’s area of πr2.
Solved Example on Partial Differentiation
Question-1: Find the partial derivative of the following function (in x and y) with respect to x and y separately. f(x,y) = 2x2 + 4xy
Answer: With respect to X : f’x = 4x + 4y
With respect to Y : f’y = 0 + 4x = 4x
Question-2 : Find the partial derivatives of function g given as:
g(x,y,z) = x4 − 3xyz.
Answer: Function is g(x,y,z) = x4 − 3xyz
Wrt x :: ∂g∂x = 4x3 − 3yz
Wrt y :: ∂g∂y = −3xz
Therefore Wrt z :: ∂g∂z = −3xy