About Partial Derivative
This calculator will allow for you to compute the partial derivative of any valid differentiable function you provide, with
respect to a given variable.
The function you provide needs to come with a function definition, like f(x, y) = x^3 + y^2. If you write something like xy+x^2, without
the full definition, it will be assumed that a function of two variables x and y is provided.
Once you provide a valid differentiable function and a valid variable, the next step is to click on "Calculate" button to get shown all the steps of the process,
with all the derivative rules used, explicitly stated.
Derivatives, and their natural extension to multiple variables partial derivatives are among the most important subjects of study in Math, period.
This is because they deal with a rate of change and flow of many models that appear in applications frequently.
What is a partial derivative?
In simple terms, a partial derivative consists of conducting the same as a regular differentiation with respect to one variable, assuming that the rest of
variables are constant.
If we were to formally define a partial derivative, let's make it easier and do it for a function of two variables, x and y. The partial derivative
with respect to x at the point (x0,y0) is
∂x∂f(x0,y0)=h→0limhf(x0+h,y0)−f(x0,y0)
So, as we can see, it is essentially the same as the definition of the regular derivative, only that there is a another variable, but it remains constant in the
process of the calculation.
Similarly, the partial derivative
with respect to y at the point (x0,y0) is
∂y∂f(x0,y0)=h→0limhf(x0,y0+h)−f(x0,y0)
The vector of all partial derivatives is called the gradient. If you need to actually get all partial derivatives, you can use this
gradient calculator.
Steps for computing partial derivatives
- Step 1: Identify the function you want to compute the partial derivative of. Make sure to simplify it first
- Step 2: Observe that not all functions are differentiable, so you need to make sure that the function involved is actually differentiable
- Step 3: Use all appropriate derivative rules to the function, and differentiate the function as you would normally with respect to the
differentiable variable, and consider any other variable as constant
This way, when we do the partial derivative with respect to x for something like 'x^2+y^2', in the process of partial differentiation with respect to x, the
variable y is treated as a constant. So we would get
∂x∂(x2+y2)=∂x∂(x2)+∂x∂(y2)=2x
and in this case ∂x∂(y2)=0 because y is a assumed to be constant with respect to x.
Why use a partial derivative calculator
Computing partial derivatives can be a relatively straightforward exercise, but it does not mean is necessarily easy. It is important to be
very systematic at the time of applying the corresponding derivative rules.
Using a partial derivative calculator
with steps can help you to at least check your result and be able to see exactly what are the correct steps and what derivative rules need to be used.
Particularly in complex problems, with algebraically complicated expression a calculator can really come in handy.
What are derivative rules for partial derivatives?
They are exactly the same as those for regular derivatives. For partial derivatives we have linearity, the product rule,
the chain rule and the quotient rule.
Typically, you will end up using a combination of all those rules, for the more complex derivative examples.
What is implicit differentiation
There is a situation when there is more than one variable involve in which we don't assume for example that y does change with x, like we do in
partial derivatives. In some cases, when there is an equation linking the variables, we assume there is an implicit relationship between
y and x, and we write y = y(x).
This is the context of implicit differentiation, which is kind of a hybrid between partial differentiation and
regular differentiation.
And there is really one thing that cannot be overstated: Partial derivatives are truly one of the main tools used in Engineering, Physics and Economics.
Example: Partial derivative calculation
Calculate the partial derivative ∂y∂f for: f(x,y)=sin(xy)
Solution:
which concludes the calculation.
Example: Partial Differentiation
Calculate the partial derivative with respect to x of: f(x,y)=x2+y2
Solution:The function that is provide is: f(x,y)=x2+y2, for which we need to compute
its partial derivative with respect to the variable x.
The function does not need further simplification, so we can proceed directly to compute its partial derivative:
∂x∂(x2+y2)
By linearity, we know
∂x∂(x2+y2)=∂x∂(x2)+∂x∂(y2), so plugging that in:
∂x∂(x2)+∂x∂(y2)
The derivative of a constant with respect to
x is 0, so then:
∂x∂(x2)
Using the Power Rule for polynomial terms:
∂x∂(x2)=2x
Example: Another partial derivative example
Consider the function f(x,y)=x2+y2xy, find its partial derivatives ∂x∂f and ∂y∂f.
Solution:In this case, the function is : f(x,y)=x2+y2xy, for which we need to compute its partial derivatives
.
The function came already simplified, so we can proceed directly:
∂x∂f=∂x∂(x2+y2xy)
Directly applying Quotient Rule:
∂x∂(x2+y2xy)=(x2+y2)2(x2+y2)⋅∂x∂(xy)−xy⋅∂x∂(x2+y2)
(x2+y2)2(x2+y2)⋅∂x∂(xy)−xy⋅∂x∂(x2+y2)
The linearity property indicates that
∂x∂(x2+y2)=∂x∂(x2)+∂x∂(y2), so plugging that in:
(x2+y2)2(x2+y2)⋅∂x∂(xy)−xy(∂x∂(x2)+∂x∂(y2))
But we know that the derivative of a constant with respect to
x is equal to 0, so then we get that:
(x2+y2)2(x2+y2)⋅∂x∂(xy)−xy(∂x∂(x2))
Applying the Power Rule for polynomial terms:
∂x∂(x2)=2x and directly we get:
∂x∂(xy)=y
(x2+y2)2(x2+y2)⋅y−xy(2x)
(x2+y2)2y(x2+y2)−xy⋅2x
We can put the integers together and then we can group the terms with
x in the term
(−1)xy⋅2x
(x2+y2)2y(x2+y2)+2⋅(−1)x2y
Simplifying:
2×(−1)=−2
(x2+y2)2y(x2+y2)−2x2y
Observe the following:
y⋅(x2+y2)=yx2+yy2=x2y+y3, by using the distributive property on each term of the expression on the left, with respect to the terms on the right
(x2+y2)2x2y+y3−2x2y
(x2+y2)2−(x+y)(x−y)y
Now, on the other hand:
∂y∂f=∂y∂(x2+y2xy)
Using the Quotient Rule:
∂y∂(x2+y2xy)=(x2+y2)2(x2+y2)⋅∂y∂(xy)−xy⋅∂y∂(x2+y2)
(x2+y2)2(x2+y2)⋅∂y∂(xy)−xy⋅∂y∂(x2+y2)
By linearity, we know
∂y∂(x2+y2)=∂y∂(x2)+∂y∂(y2), so plugging that in:
(x2+y2)2(x2+y2)⋅∂y∂(xy)−xy(∂y∂(x2)+∂y∂(y2))
Since the derivative of a constant with respect to
y is 0, we find that:
(x2+y2)2(x2+y2)⋅∂y∂(xy)−xy(∂y∂(y2))
Using the Power Rule for polynomial terms:
∂y∂(y2)=2y and directly we get:
∂y∂(xy)=x
(x2+y2)2(x2+y2)⋅x−xy(2y)
(x2+y2)2x(x2+y2)−xy⋅2y
Putting together the numerical values and grouping the terms with
y in the term
(−1)xy⋅2y
(x2+y2)2x(x2+y2)+2⋅(−1)y2x
Reducing integers that can be multiplied:
2×(−1)=−2
(x2+y2)2x(x2+y2)−2y2x
We find that
(x)⋅(x2+y2)=xx2+xy2=x3+xy2, due to the fact that we can use the distributive property on each term of the expression on the left, with respect to the terms on the right
(x2+y2)2x3+xy2−2y2x
Reorganizing/simplifying/expanding the expression
(x2+y2)2(x+y)(x−y)x
More Calculus calculators
The concept of Derivative is at the center of Calculus, and the use of a derivative calculator can greatly
aid you in many different Calculus applications, including optimization, one of the 'biggies'.
The idea of derivative extend naturally to the case of function with many variables, where a partial derivative calculator
will do the same as a regular derivative, but now only one variable is assumed to vary, whereas the other variables are taken as fixed .
Often times, you are know that y depends on x, but not explicitly but rather implicitly, by means of a linking equation, in which case you
can use implicit differentiation to use the rules of derivatives to get an expression for which you can then
solve for the derivative dxdf .