Partial Derivative Calculator


Instructions: Use this partial derivative calculator to find the derivative of a function of more than one variable that you provide with respect to a specific variable, showing all the steps of the process. Please type the function you want to calculate the derivative for in the box below.

Enter the function you want to compute the partial derivative (Ex: f(x, y) = x^2 + y^2, etc.)

Enter the variable to differentiate with respect to (Ex: x, or y, etc)

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.

Partial Derivative Calculator

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 \((x_0, y_0)\) is

\[\frac{\partial f}{\partial x}(x_0, y_0) = \displaystyle \lim_{h \to 0} \frac{f(x_0 + h, y_0) - f(x_0, y_0)}{h} \]

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 \((x_0, y_0)\) is

\[\frac{\partial f}{\partial y}(x_0, y_0) = \displaystyle \lim_{h \to 0} \frac{f(x_0, y_0 + h) - f(x_0, y_0)}{h} \]

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

\[\frac{\partial (x^2+y^2)}{\partial x} = \frac{\partial (x^2)}{\partial x} + \frac{\partial (y^2)}{\partial x} = 2x \]

and in this case \(\frac{\partial (y^2)}{\partial x} = 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.

Partial Derivatives

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.

Partial Derivative

Example: Partial derivative calculation

Calculate the partial derivative \(\frac{\partial f}{\partial y}\) 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) = x^2 + y^2\)

Solution:The function that is provide is: \(\displaystyle f(x,y)=x^2+y^2\), 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:

\( \displaystyle \frac{\partial }{\partial x}\left(x^2+y^2\right)\)
By linearity, we know \(\frac{\partial }{\partial x}\left( x^2+y^2 \right) = \frac{\partial }{\partial x}\left(x^2\right)+\frac{\partial }{\partial x}\left(y^2\right)\), so plugging that in:
\( \displaystyle = \,\,\)
\(\displaystyle \frac{\partial }{\partial x}\left(x^2\right)+\frac{\partial }{\partial x}\left(y^2\right)\)
The derivative of a constant with respect to \(x\) is 0, so then:
\( \displaystyle = \,\,\)
\(\displaystyle \frac{\partial }{\partial x}\left(x^2\right)\)
Using the Power Rule for polynomial terms: \(\frac{\partial }{\partial x}\left( x^2 \right) = 2x\)
\( \displaystyle = \,\,\)
\(\displaystyle 2x\)

Example: Another partial derivative example

Consider the function \(f(x, y) = \frac{xy}{x^2+y^2}\), find its partial derivatives \(\frac{\partial f}{\partial x}\) and \(\frac{\partial f}{\partial y}\).

Solution:In this case, the function is : \(\displaystyle f(x,y)=\frac{xy}{x^2+y^2}\), for which we need to compute its partial derivatives .

The function came already simplified, so we can proceed directly:

\( \displaystyle \frac{\partial f}{\partial x} = \frac{\partial }{\partial x}\left(\frac{xy}{x^2+y^2}\right)\)
Directly applying Quotient Rule: \(\frac{\partial }{\partial x}\left( \frac{xy}{x^2+y^2} \right) = \frac{\left(x^2+y^2\right) \cdot \frac{\partial }{\partial x}\left(xy\right)-xy\cdot \frac{\partial }{\partial x}\left(x^2+y^2\right)}{\left(x^2+y^2\right)^2}\)
\( \displaystyle = \,\,\)
\(\displaystyle \frac{\left(x^2+y^2\right) \cdot \frac{\partial }{\partial x}\left(xy\right)-xy\cdot \frac{\partial }{\partial x}\left(x^2+y^2\right)}{\left(x^2+y^2\right)^2}\)
The linearity property indicates that \(\frac{\partial }{\partial x}\left( x^2+y^2 \right) = \frac{\partial }{\partial x}\left(x^2\right)+\frac{\partial }{\partial x}\left(y^2\right)\), so plugging that in:
\( \displaystyle = \,\,\)
\(\displaystyle \frac{\left(x^2+y^2\right) \cdot \frac{\partial }{\partial x}\left(xy\right)-xy\left(\frac{\partial }{\partial x}\left(x^2\right)+\frac{\partial }{\partial x}\left(y^2\right)\right)}{\left(x^2+y^2\right)^2}\)
But we know that the derivative of a constant with respect to \(x\) is equal to 0, so then we get that:
\( \displaystyle = \,\,\)
\(\displaystyle \frac{\left(x^2+y^2\right) \cdot \frac{\partial }{\partial x}\left(xy\right)-xy\left(\frac{\partial }{\partial x}\left(x^2\right)\right)}{\left(x^2+y^2\right)^2}\)
Applying the Power Rule for polynomial terms: \(\frac{\partial }{\partial x}\left( x^2 \right) = 2x\) and directly we get: \(\frac{\partial }{\partial x}\left( xy \right) = y\)
\( \displaystyle = \,\,\)
\(\displaystyle \frac{\left(x^2+y^2\right) \cdot y-xy\left(2x\right)}{\left(x^2+y^2\right)^2}\)
and consequently
\( \displaystyle = \,\,\)
\(\displaystyle \frac{y\left(x^2+y^2\right)-xy\cdot 2x}{\left(x^2+y^2\right)^2}\)
We can put the integers together and then we can group the terms with \(x\) in the term \(\left(-1\right)xy\cdot 2x\)
\( \displaystyle = \,\,\)
\(\displaystyle \frac{y\left(x^2+y^2\right)+2\cdot \left(-1\right)x^2y}{\left(x^2+y^2\right)^2}\)
Simplifying: \(\displaystyle 2\times(-1) = -2\)
\( \displaystyle = \,\,\)
\(\displaystyle \frac{y\left(x^2+y^2\right)-2x^2y}{\left(x^2+y^2\right)^2}\)
Observe the following: \(y \cdot (x^2+y^2) = yx^2+yy^2 = x^2y+y^3\), by using the distributive property on each term of the expression on the left, with respect to the terms on the right
\( \displaystyle = \,\,\)
\(\displaystyle \frac{x^2y+y^3-2x^2y}{\left(x^2+y^2\right)^2}\)
Hence, we find
\( \displaystyle = \,\,\)
\(\displaystyle \frac{-\left(x+y\right)\left(x-y\right)y}{\left(x^2+y^2\right)^2}\)

Now, on the other hand:

\( \displaystyle \frac{\partial f}{\partial y} = \frac{\partial }{\partial y}\left(\frac{xy}{x^2+y^2}\right)\)
Using the Quotient Rule: \(\frac{\partial }{\partial y}\left( \frac{xy}{x^2+y^2} \right) = \frac{\left(x^2+y^2\right) \cdot \frac{\partial }{\partial y}\left(xy\right)-xy\cdot \frac{\partial }{\partial y}\left(x^2+y^2\right)}{\left(x^2+y^2\right)^2}\)
\( \displaystyle = \,\,\)
\(\displaystyle \frac{\left(x^2+y^2\right) \cdot \frac{\partial }{\partial y}\left(xy\right)-xy\cdot \frac{\partial }{\partial y}\left(x^2+y^2\right)}{\left(x^2+y^2\right)^2}\)
By linearity, we know \(\frac{\partial }{\partial y}\left( x^2+y^2 \right) = \frac{\partial }{\partial y}\left(x^2\right)+\frac{\partial }{\partial y}\left(y^2\right)\), so plugging that in:
\( \displaystyle = \,\,\)
\(\displaystyle \frac{\left(x^2+y^2\right) \cdot \frac{\partial }{\partial y}\left(xy\right)-xy\left(\frac{\partial }{\partial y}\left(x^2\right)+\frac{\partial }{\partial y}\left(y^2\right)\right)}{\left(x^2+y^2\right)^2}\)
Since the derivative of a constant with respect to \(y\) is 0, we find that:
\( \displaystyle = \,\,\)
\(\displaystyle \frac{\left(x^2+y^2\right) \cdot \frac{\partial }{\partial y}\left(xy\right)-xy\left(\frac{\partial }{\partial y}\left(y^2\right)\right)}{\left(x^2+y^2\right)^2}\)
Using the Power Rule for polynomial terms: \(\frac{\partial }{\partial y}\left( y^2 \right) = 2y\) and directly we get: \(\frac{\partial }{\partial y}\left( xy \right) = x\)
\( \displaystyle = \,\,\)
\(\displaystyle \frac{\left(x^2+y^2\right) \cdot x-xy\left(2y\right)}{\left(x^2+y^2\right)^2}\)
and then we find
\( \displaystyle = \,\,\)
\(\displaystyle \frac{x\left(x^2+y^2\right)-xy\cdot 2y}{\left(x^2+y^2\right)^2}\)
Putting together the numerical values and grouping the terms with \(y\) in the term \(\left(-1\right)xy\cdot 2y\)
\( \displaystyle = \,\,\)
\(\displaystyle \frac{x\left(x^2+y^2\right)+2\cdot \left(-1\right)y^2x}{\left(x^2+y^2\right)^2}\)
Reducing integers that can be multiplied: \(\displaystyle 2\times(-1) = -2\)
\( \displaystyle = \,\,\)
\(\displaystyle \frac{x\left(x^2+y^2\right)-2y^2x}{\left(x^2+y^2\right)^2}\)
We find that \((x) \cdot (x^2+y^2) = xx^2+xy^2 = x^3+xy^2\), 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
\( \displaystyle = \,\,\)
\(\displaystyle \frac{x^3+xy^2-2y^2x}{\left(x^2+y^2\right)^2}\)
Reorganizing/simplifying/expanding the expression
\( \displaystyle = \,\,\)
\(\displaystyle \frac{\left(x+y\right)\left(x-y\right)x}{\left(x^2+y^2\right)^2}\)

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 \(\frac{d f}{d x}\) .

log in to your account

Don't have a membership account?
REGISTER

reset password

Back to
log in

sign up

Back to
log in