The Wayback Machine - https://web.archive.org/web/20241007230459/https://www.geeksforgeeks.org/partial-derivative-definition-formulas-and-examples-partial-differentiation/
Open In App

Partial Derivative: Definition, Formulas and Examples | Partial Differentiation

Last Updated : 22 May, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Partial derivative is a mathematical concept used in vector calculus and differential geometry. If a function is dependent on two or more variables then its derivative is calculated in various types and one such type is partial derivative in which the derivative of any two or more variable functions is calculated taking one variable as constant.

Partial-Derivative
Partial Derivative

In this article, we will learn about the partial derivative definition, formula, examples, examples and others in detail.

What is Partial Derivative?

A Partial derivative is calculated for a function f to approximate the value of the function concerning a certain parameter of the function. The term ‘partial’ is used to indicate that if the function is dependent on more than one variable, then the derivative will be taken considering one variable to calculate the change concerning that variable.

Example: For example, consider a function k which is an independent variable. If this function depends on two dependent variables l and m we can write k= f(l,m). Thus k is an independent variable which is represented in terms of dependent variables l and m. Now, we can calculate the partial derivative to see the approximation of the function due to the dependent variable.

Definition of the partial derivative of a function is,

Partial derivative of a function f dependent on x and y with respect to x is ∂f/∂x. Here ∂ is the symbol of the partial derivative.

Partial Derivative Symbol

Generally, ∂ this is the symbol of the partial derivative which is different from d.

Partial Derivative of a function is used to calculate the total change in the dependent variable due to the change in a particular independent variable keeping other variables constant

Partial Derivative Formula

Mathematically, consider a function f of dependent variables x, y, and z. Then the partial derivative of the function concerning x, y, and z can be written as

Partial derivative of a function with respect to x, keeping y and z constant:

fx = ?f/?x = limh→0 (f(x+h, y, z) – f(x, y, z))/h

Partial derivative of a function with respect to y, keeping x and z constant:

fy = ?f/?y = limh→0 (f(x, y+h, z) – f(x, y, z))/h

Partial derivative of a function with respect to z, keeping x and y constant:

fz = ?f/?z = limh→0 (f(x, y, z+h) – f(x, y, z))/h

Partial Differentiation

Partial differentiation refers to the process of calculating the partial derivative of a given function. Mathematically Partial Differentiation gives the slope of tangent drawn to the graph of the function at any point.

Consider a function f(x,y) = x2y + 3y2, we would like to see the first-order and second-order partial derivative of a function at x=2 and y=1.

Partial Derivatives of Different Orders

Depending on the order of derivative required, the partial derivatives can vary. Let us see how

First Order Partial Derivatives

Formula for calculating First Order Partial Derivatives is given by

fx = ?f/?x and fy = ?f/?y

For example considered above let’s calculate the value.

f(x,y) = x2y+3y2

fx = 2xy + 0

fx (2,1) = 4

fy = x2+6y

fy(2,1) = 4+6 = 10

Second Order Partial Derivatives

Formula for calculating second Order Partial Derivatives is given by

fx‘ = ?2f/?x2 and fy‘ = ?2f/?y2

For example considered above example

f‘x = ?(2xy)/?x

f‘x(2,1) = 2.y = 2

f‘y = ?(x2+6y)/?y

fy(2,1) = 6

Partial Derivative Rules

Let us see some rules used for calculating the partial derivative of a given function

Product Rule

This rule is used when a function is a product of two different functions i.e. u = f(x,y).g(x,y). According to the product rule, the partial derivative of this function will be,

  • ux = (?f(x,y)/?x).g(x,y) + f(x,y).(?g(x,y)/?x)
  • uy = (?f(x,y)/?y).g(x,y) + f(x,y).(?g(x,y)/?y)

Quotient Rule

This rule is used when a function is the quotient of two different functions i.e. u = f(x,y)/g(x,y). According to the quotient rule, the partial derivative of this function will be

  • ux = (?f(x,y)/?x).g(x,y) – f(x,y).(?g(x,y)/?x)/(g(x,y))2
  • uy = (?f(x,y)/?y).g(x,y) – f(x,y).(?g(x,y)/?y) /(g(x,y))2

Power Rule

This rule is used when a function is in the power of some number I.e u = (f(x,y))n. According to the power rule, the partial derivative of this function will be,

  • ux = n. |f(x,y)|n-1(?f(x,y)/?x)
  • uy = n. |f(x,y)|n-1(?f(x,y)/?y)

Chain Rule

The chain rule is a tool used for calculating the derivative of a multivariable function. According to the chain rule of derivatives

Chain Rule for One Independent Variable:

Let us consider two continuous functions u that are dependent on one variable t given by if x = g(t) andy=h(t). We have z = f(x, y) which is a differentiable function of x and y.

Then partial derivative

?z/?t = ?z/?x. ?x/?t + ?z/?y. ?y/?t

Chain Rule for Two Independent Variables:

Let us consider two continuous functions u that are dependent on two variables u and v given by x = g (u, v) and y = h (u, v). We have z = f(x, y) which is a differentiable function of x and y.We can write f as z = f (g (u, v), h (u, v)). Then partial derivative

?z/?u = ?z/?x. ?x/?u + ?z/?y. ?y/?u and ?z/?v = ?z/?x. ?x/?v + ?z/?y. ?y/?v

Total Derivative Vs Partial Derivative

Let us compare the total derivative and the partial derivative.

Parameter

Partial Derivative

Total Derivative

Denoted by

It is denoted by ∂

It is denoted by d

Definition

It measures how a function changes concerning one of its variables, holding all other variables constant.

It measures how a function changes concerning one of its variables, considering the changes in all other variables as well.

How it deals with other variables

It holds other variables constant.

It takes into account changes in all variables.

Example

For f(x, y) = x2y. The partial derivative wrt x is 2xy and wrt y is x2.

For f(x, y) = x2y. Total derivative is 2xy.dx/dt + x2y.dy/dt

Uses

Used in multivariable calculus, and optimization problems.

Used in differential equations to describe the whole system.

Partial Derivative of Natural Logarithm (In)

We will understand how can we find the partial derivative of the natural logarithm “In”. The steps remain the same except for the part that calculates the partial derivative of the function concerning one independent variable by considering all other variables as constant.

Example: Find partial derivative of F(x, y) = ln(xy)

F(x, y) = ln(xy)

Taking partial derivative with respect to x, we keep y constant

?F/?x = 1/xy.?(xy)/?x

?F/?x = (1/xy).y = 1/x

Taking the partial derivative with respect to y, we keep x constant

?F/?y = 1/xy.?(xy)/?y

?F/?y = 1/xy.x = 1/y

Applications of PartialDerivative

Various applications of partial derivative includes:

  • Partial derivative is used in mathematical models that use complex equations. In such systems, the partial derivative helps to find the approximate solution of the system with efficiency.
  • Partial derivatives are used in engineering-control systems. The control systems include dynamic systems that are complex to analyze with simple engineering tools. Therefore, partial derivates help to model and analyze such systems.
  • Partial derivatives are used in chemical reactions to study the reaction kinetics of different reagents. They are mainly used to study reaction kinetics with changes in the concentration of different reagents and products.
  • Partial derivatives are used in population dynamics to study how the population would change with changes in individual factors like birth rate, death rate, immigration, and calamities.
  • Partial derivatives are used in the economics and finance sectors to predict future income. Modifications are done according to the results to maximize profits. For example, it helps to calculate a firm’s output in terms of input factors like labor or capital.

Partial Derivative Examples

Example 1: Find the partial differential coefficient of the function xy2 with respect to y where x2+ xy + y2= 1.

Solution:

Let z = xy2, we have to find the partial differential coefficient of z concerning y, that is, ?z/?y

We can write,

Let w = x2+ xy + y2 = 1

Differentiating both sides concerning y, we get

?w/?y = 2xdx/dy + x + y.dx/dy+ 2y = 0

x + 2y = 0

f(x, y) = xy2

f(x,y) = (-2y).y2

f(x,y) = -2y3

?f(x,y)/?y = (-6).y2

Example 2: Find the partial differential coefficient of the function f(x,y,z) = x2y+ y2z+ xz with respect to x at x = 1, y = 2, z = 1.

Solution:

f(x,y,z) = x2y+ y2z+ xz

Calculating partial derivative with rewspect to x, we will consider y and z to be constants ∴

?f(x,y,z)/?x = 2xy + 0 + z

?f(x,y,z)/?x = 2xy +z

On putting the values x = 1, y = 2, z = 1

?f(x,y,z)/?x = 2.1.2 +1 = 5

Example 3: Find the partial differential of the function f(x, y) = x2y + y2x with respect to x at x = 2 and y = 3.

Solution:

f(x, y) = x2y + y2x

Calculating partial derivative with rewspect to x, we will consider y and z to be constants ∴

?f(x, y)/?x = 2xy + y2

Putting the values x = 2, y = 3

{?f(x, y)/?x}(at x = 2 and y = 3) = 2.2.3 + (3)2 = 12 + 9 = 21

Related Articles

Partial Differential Equation

Differential Equation 

Solving Differential Equation

Exact Differential Equation

Practice Questions on Partial Derivative

Here are some problems for practice purposes.

Q1. Given, u = cos(x/y), x = et, y = t2, find δu/δx at t = 1. Verify your result by direct substitution.

Q2. Given, f(x, y) = exsin(y). Then evaluate δu/δy at x = 0 given x2+ y2 = 1.

Q3. Given, f(x, y) = ln(x/y).sin(y/x). Then evaluate δu/δy at x = 0 given x2+ y2 = 1.

Q4. Given, u = tan(x.y), x = sin(t), y = 3t2, find δu/δx at t=1.Verify your result by direct substitution.

FAQs on Partial Derivative

What is Partial Derivative?

Partial derivative of a function is defined as derivative of any two variable function taking one variable as constant.

What is a partial derivative example?

Example of partial derivative includes, for function f(x, y) = 2x2y, its derivative with respect to y is, ∂f(x, y)/∂y = ∂{2x2y}/∂y = 2x2.

What is ∂ called?

∂ in mathematics is symbol that denotes partial derivative.

What is partial derivative of Z?

Suppose Z is a function of x and y then, partial derivative of z with respect to x is calculated by differentiating z and taking y as constant.

Why is it called partial derivative?

Partaial derivative are named partial because, these derivative find derivative of any function treating other function as constant.

Why do we calculate an approximate solution and not the exact solution?

For complex equations like the ones given in the solved examples, finding an exact solution using the total derivative is an extremely complex task, especially for functions involving multiple variables. Therefore, we use the partial derivative to calculate the approximate solution.

What is the difference between partial derivatives and total derivatives?

Partial derivatives are the measure of change in a function concerning change in a single variable while taking all other variables as constant. However, the total derivative is the measure of change in the function concerning the change in all variables.

What is the partial derivative of a function z of variables x and y?

The partial derivative of z with respect to x is given by δz/δx. This will help to calculate the approximate change in z due to the change in x when y is constant.



Similar Reads

First Derivative: Definition, Formulas, and Examples
First Derivative Test is the test in calculus to find whether a function has a maximum or minimum value in the given interval. As the name suggests, the first derivative is used in this test to find the critical point and then further conditions are used to check each critical point for extrema. Many times in our daily life, we come across many sit
14 min read
Differentiation Formulas
Differentiation Formulas: Differentiation allows us to analyze how a function changes over its domain. We define the process of finding the derivatives as differentiation. The derivative of any function ?(x) is represented as d/dx.?(x) In this article, we will learn about various differentiation formulas for Trigonometric Functions, Inverse Trigono
8 min read
Derivative Formulas in Calculus
Derivative Formulas in Calculus are one of the important tools of calculus as Derivative formulas are widely used to find derivatives of various functions with ease and also, help us explore various fields of mathematics, engineering, etc. This article explores all the derivative formulas closely including the general derivative formula, derivative
9 min read
Trigonometry Formulas - List of All Trigonometric Identities and Formulas
Trigonometry formulas are equations that relate the sides and angles of triangles. They are essential for solving a wide range of problems in mathematics, physics, engineering and other fields. Here are some of the most common types of trigonometry formulas: Basic definitions: These formulas define the trigonometric ratios (sine, cosine, tangent, e
10 min read
Altitude of Triangle - Definition, Formulas, Examples, Properties
The Altitude of a triangle is the length of a straight line segment drawn from one of the triangle's vertices (corners) perpendicular to the opposite side. It's like measuring the height of the triangle from a specific point to the base. The altitude is a fundamental concept in geometry and is often used to calculate the area of a triangle. In this
9 min read
Compound Probability: Definition, Formulas, Examples
Compound probability is a fundamental concept in mathematics and statistics that deals with the likelihood of multiple events occurring together within a single experiment or scenario. It provides a framework for understanding the combined probability of two or more events happening simultaneously or sequentially. Compound probability plays a cruci
7 min read
Area of Parallelogram | Definition, Formulas & Examples
The area of a Parallelogram is the space or the region enclosed by the boundary of the parallelogram in a two-dimensional space. It is calculated by multiplying the base of the parallelogram by its height. In this article, we will learn more about the Area of Parallelogram Formulas, and how to use them with the help of examples. Table of Content Wh
10 min read
Sphere: Definition, Formulas, Examples, Shapes, Properties
Sphere is a three-dimensional object that is perfectly round and symmetrical in shape. It is a set of points in 3-D space that are all equidistant from a fixed point(center). The distance from the center to any point on the surface of the sphere is the same, and this distance is called the radius. A sphere is defined in 3 axis whereas a sphere is d
10 min read
Sum in Math | Definition, Examples & Formulas
In mathematics, the term "sum" refers to the result obtained by adding two or more numbers or quantities together. It's a fundamental arithmetic operation used to find the total of multiple values. For example, when you add 5 and 7, the sum is 12. In this article, we will learn the concept of Sum in mathematics, along with its definition, some exam
8 min read
Limit Definition of Derivative with Solved Example
Limit definition of a derivative is the foundational concept in calculus for understanding how functions change at a specific point. It represents the instantaneous rate of change of a function, which geometrically corresponds to the slope of the tangent line at a given point on the function's graph. It is also called differentiation from first pri
6 min read
Parallelepiped - Definition and Formulas
Parallelepiped is a three-dimensional structure whose each face is a parallelogram. A parallelepiped has 6 parallelogram faces, 8 vertices, and 12 edges. The structure of a parallelepiped is similar to a three-dimensional hollow or solid box. It is used in real-life applications. Objects such as matchboxes, bricks, mobile phones, and many more thin
8 min read
Trapezoid - Definition, Types, Properties and Formulas
Trapezoid is another name for trapezium. It is a quadrilateral in which one pair of opposite sides are parallel. These parallel sides are known as the bases of the trapezoid, and the non-parallel sides are called the legs. It is a quadrilateral and follows all the properties of a quadrilateral. In this article, we will discuss trapezoids, their def
7 min read
Rectangle | Definition, Properties, Formulas
Rectangle is a polygon with four sides, whose all four of its angles are equal to 90 degrees. The opposite sides of a rectangle are both equal in length and run parallel to each other. Let's learn about a rectangle, their formulas and their properties in detail. Table of Content Rectangle DefinitionShape of RectangleLength and Breadth of RectangleD
9 min read
Implicit differentiation - Advanced Examples
In the previous article, we have discussed the introduction part and some basic examples of Implicit differentiation. So in this article, we will discuss some advanced examples of implicit differentiation. Table of Content Implicit DifferentiationMethod to solveImplicit differentiation Formula Solved Example Implicit DifferentiationImplicit differe
5 min read
Derivatives | First and Second Order Derivatives, Formulas and Examples
Derivatives: In mathematics, a Derivative represents the rate at which a function changes as its input changes. It measures how a function's output value moves as its input value nudges a little bit. This concept is a fundamental piece of calculus. It is used extensively across science, engineering, economics, and more to analyze changes. Table of
15+ min read
Proofs for the derivatives of eˣ and ln(x) - Advanced differentiation
In this article, we are going to cover the proofs of the derivative of the functions ln(x) and ex. Before proceeding there are two things that we need to revise: The first principle of derivative Finding the derivative of a function by computing this limit is known as differentiation from first principles. Derivative by the first principle refers t
3 min read
Logarithmic Differentiation - Continuity and Differentiability
The word continuity means something which is continuous in nature. The flow of water is continuous, time in real life is continuous, and many more instances show the continuity in real life. In mathematics, the Continuous function is the one which when drawn on a graph does not show any breaks and is continuous in nature. Differentiability of funct
5 min read
Differentiation, Dedifferentiation and Redifferentiation in Plant Growth
Plant growth is dependent on three major factors that are differentiation, differentiation, and differentiation. The kingdom Plantae is home to a variety of unique living things, including plants. They exhibit a variety of distinguishing animal traits. They are independent due to their unique cell structure and organelles. Additionally, plants grow
10 min read
Differentiation and Integration Formula
Differentiation and Integration are two mathematical operations used to find change in a function or a quantity with respect to another quantity instantaneously and over a period, respectively. Differentiation is an instantaneous rate of change and it breaks down the function for that instant with respect to a particular quantity while Integration
13 min read
Trapezium in Maths | Formulas, Properties & Examples
Trapezium in Maths: A Trapezium is a polygon with four sides, i.e. it is a quadrilateral. Trapezium originated from the Greek word "trapeze" which means table. It is a complex quadrilateral. A trapezium is a special quadrilateral with only one pair of parallel sides. A trapezium is a two-dimensional shape that appears as a table. A trapezium has fo
12 min read
Periodic Function: Formulas with Examples
A period is the interval between two points in time, and a periodic function is a function that repeats itself at regular intervals or periods in time. In other words, a periodic function is a function whose values recur after a specific time interval. A periodic function is represented as f(x + p) = f(x), where "p" is the period of the function. S
7 min read
Sin Cos Formulas in Trigonometry with Examples
Sin Cos Formulas in Trigonometry: Trigonometry, as its name implies, is the study of triangles. It is an important branch of mathematics that studies the relationship between side lengths and angles of the right triangle and also aids in determining the missing side lengths or angles of a triangle. There are six trigonometric ratios or functions: s
9 min read
Disguised Derivatives - Advanced differentiation | Class 12 Maths
The dictionary meaning of “disguise” is “unrecognizable”. Disguised derivative means “unrecognized derivative”. In this type of problems, the definition of derivative is hidden in the form of limit. At a glance, the problem seems to be solvable using limit properties but it is much easier to solve it using the first principle of derivative. So, thi
4 min read
Class 12 RD Sharma Solutions- Chapter 11 Differentiation - Exercise 11.8 | Set 2
Question 11: Differentiate sin-1(2x√(1-x2)) with respect to tan-1(x/√(1-x2)) if -1/√2<x <1/√2. Solutions: Let u = sin-1(2x√(1-x2)) Substitute x = sin θ ⇒ θ = sin-1x u = sin-1(2 sin θ √(1 - sin2θ)) u = sin-1(2 sin θ cos θ) [sin2θ + cos2θ = 1] u = sin-1(sin 2θ) -----(i) [sin 2θ = 2 sin θ cos θ] Let, v = tan-1(x/√(1-x2)) v = tan-1(sin θ/ √(1 - s
8 min read
Class 12 RD Sharma Solutions - Chapter 11 Differentiation - Exercise 11.2 | Set 3
Question 50. Differentiate y = [Tex]3 e^{- 3x} \log \left( 1 + x \right) [/Tex] with respect to x. Solution: We have, y = [Tex]3 e^{- 3x} \log \left( 1 + x \right)[/Tex] On differentiating y with respect to x we get, [Tex]\frac{d y}{d x} = \frac{d}{dx}\left(3 e^{- 3x} \log \left( 1 + x \right) \right)[/Tex] [Tex]\frac{d y}{d x} = 3\frac{d}{dx}\left
15+ min read
Differentiation of e to the Power x
Derivative of ex is ex. Derivative of ex means finding the change in the exponential function with respect to the independent variable. The process of finding the derivative is known as differentiation. The derivative of ex is ex. Understanding the derivative of ex is an important concept in calculus as it offers insights into the dynamic nature of
5 min read
Implicit Differentiation
Implicit Differentiation is a useful tool in the arsenal of tools to tackle problems in calculus and beyond which helps us differentiate the function without converting it into the explicit function of the independent variable. Suppose we don't know the method of implicit differentiation. In that case, we have to convert each implicit function into
8 min read
Logarithmic Differentiation
Logarithmic Differentiation helps to find the derivatives of complicated functions, using the concept of logarithms. Sometimes finding the differentiation of the function is very tough but differentiating the logarithm of the same function is very easy, then in such cases, the logarithmic differentiation formula is used. In calculus, the differenti
9 min read
Differentiation
Differentiation in mathematics refers to the process of finding the derivative of a function, which involves determining the rate of change of a function with respect to its variables. It is a fundamental concept in calculus used to measure the function's per unit change in the independent variable. In this article, we will discuss the concept of D
8 min read
Advanced Differentiation
Derivatives are used to measure the rate of change of any quantity. This process is called differentiation. It can be considered as a building block of the theory of calculus. Geometrically speaking, the derivative of any function at a particular point gives the slope of the tangent at that point of the function. There are many methods to solve and
8 min read