##### Related Content

# Partial Derivative Calculator

*f(*

*x*,

*y)*=

Evaluate at (

*x*,

*y*) = ( , )

**Voovers+ Full Solution Steps Preview:**

## Partial Derivative Lesson

#### Lesson Contents

### What is a Partial Derivative?

Suppose we have a function *z* = *f(x*,*y)*. The output, *z*, is dependent on two variables: *x* and *y*. **A partial derivative measures the rate of change of function z with respect to the change in either independent variable x or y.** In other words, partial derivatives tell us what the change in a function is with respect to the change in one of the independent variables.

### Why do we Learn About Partial Derivatives?

It is easy to think of calculus as a subject that is only useful or relevant in a classroom setting. However, calculus is used in many different ways to accomplish everything from putting a rocket into space to maximizing profits in a specific business operation.

In this case, let’s take a look at how we can use partial derivatives to maximize profits as we pack and ship products to customers:

Let’s say that we manage the shipping department for a company that sells a product to online customers. With the holiday season rapidly approaching, we need to balance the right amount of seasonal employees and full-time employees so that we can maximize our daily profits.

Seasonal employees cost the company less to employ since they get paid less per hour than the full-time employees and do not qualify for additional company benefits. However, the seasonal employees are typically less productive than the full-time employees due to their comparatively lower level of experience.

We can couple this information with historical data that relates profits to the number of seasonal and full-time employees to maximize earning potential. With enough data, the plotted points of this function would create a surface on a three dimensional graph where the *z*-axis represents the profits based on the independent variables *x* (seasonal employees) and *y *(full-time employees).

By using partial derivatives, we can see the change in profits with respect to the change in each type of employee. In other words, if we were to slice the three-dimensional graph along a fixed value for full-time employees (*y*-values), the three dimensional graph turns into a two-dimensional curve parallel to the *x*–*z* plane (see Figure 1). Taking the partial derivative of the function with respect to the number of seasonal employees effectively reveals the slope of the curve (change in profits) as the number of seasonal employees changes.

The above technique can also be used to hold the number of seasonal employees constant to see the curve parallel to the *y*–*z* plane (see Figure 2). Taking the partial derivative with respect to the number of full-time employees would then show us the slope of the curve (change in profit) as the number of full-time employees changes.

By combining this insight with the relevant computational tools and techniques, we can quickly find the maximum profit value, and in turn, the number of each employee type that correlates to this value.

The important takeaway here is the fact that we can use calculus to improve and optimize things ranging from high-level scientific applications to everyday business operations. With these tools in our mathematical toolbox, we can get the most out of our efforts.

### How to Solve a Partial Differentiation Problem

**If the given function has “+” or “-” signs that separate terms (ex: f(x,y) = x^{2 }+ y^{3})**, the steps for solving a partial differentiation problem are as follows:

- Break the expression into pieces by using the “+” or “-” signs as separators.
**If computing ∂**, take the derivative of the pieces from Step 1 with respect to*f*/∂*x**x*while treating*y*as a constant.**If computing ∂**, take the derivative of the pieces from Step 1 with respect to*f*/∂*y**y*while treating*x*as a constant.- Put the resulting pieces from Step 2 back into a single expression.
- If you are required to evaluate the partial derivative at a point
*(x,y),*plug the values for*x*and*y*into the result from Step 3 and simplify.

**If the given function does NOT have “+” or “-” signs that separate terms (ex: f(x,y) = –x^{2})**, the steps for solving a partial differentiation problem are as follows:

**If computing ∂**, take the derivative of the given function with respect to*f*/∂*x**x*while treating*y*as a constant.**If computing ∂**, take the derivative of the given function with respect to*f*/∂*y**y*while treating*x*as a constant.- If you are required to evaluate the partial derivative at a point
*(x,y),*plug the values for*x*and*y*into the result from Step 1 and simplify.

### Example Problem 1

### Example Problem 2

## How the Partial Derivative Calculator Works

The Partial Derivative Calculator is made up of three main components: HTML, CSS, and JavaScript.

HTML, or “HyperText Markup Language”, creates the basic framework of the calculator. This is what we use to define the input fields, buttons, and solution steps field.

CSS, or “Cascading Style Sheets”, is used to style everything from the color of the calculator, to the font size of the text on each of the calculator buttons. This is also how we specify the physical shape and dimensions of the solution field.

JS, or “JavaScript”, breathes life into the calculator. While HTML and CSS allow the calculator to be physically present on the page with a particular aesthetic, JS allows the calculator to actually function by taking the user’s inputs, computing the answer, and then returning the answer to the solution steps field.

All of this comes together to provide the user with an easy-to-use Partial Derivative Calculator that helps them learn and check their work quickly and effectively!