Partial derivatives are a basic concept in multivariable calculus. They convey how a function would change when one of its input variables changes, while keeping all the others constant. This turns out to be particularly useful in fields such as physics, engineering, economics, and computer science, where often systems depend on more than one variable.
What are Partial Derivatives?
A partial derivative of a function of several variables is its derivative with respect to one of those variables, with all other variables held constant. For a function f(x,y), the partial derivative with respect to x, denoted as ∂f/∂x, measures the rate at which f changes as x changes, while y remains fixed.
Notation and Calculation
The most common notation for partial derivatives includes ∂f/∂x and fx for the partial derivative of f with respect to x.
To calculate a partial derivative:
- Identify the variable with respect to which you are differentiating.
- Treat all other variables as constants.
- Differentiate the function with respect to the chosen variable using the rules of differentiation.
Example: For the function f(x,y)=x2y+3xy2:
The partial derivative with respect to x is:
∂f/∂x =2xy+3y2
The partial derivative with respect to y is:
∂f/∂y =x2 +6xy
Properties of Partial Derivatives
Higher-Order Partial Derivatives
Partial derivatives of a given function of higher order are obtained when the function is differentiated successively with respect to one or more variables. If there are two independent variables, say x and y, in a function, f(x,y), then the second order partial derivatives are:
- ∂2f/∂x2 : The second partial derivative with respect to x.
- ∂2f/∂y2 : The second partial derivative with respect to y.
- ∂2f/∂x∂y or ∂2f/∂y∂x: The mixed partial derivatives.
Example: For f(x,y)=sin(xy), the second-order partial derivatives are:
- ∂2f/∂x2 = −y2sin(xy)
- ∂2f/∂y2 = −x2sin(xy)
- ∂2f/∂x∂y or ∂2f/∂y∂x = cos(xy)−xysin(xy)
Computing Partial Derivatives
Computing partial derivatives involves systematic application of differentiation rules:
- Identify the variable of interest: Determine which variable you are differentiating with respect to.
- Apply differentiation rules: Use standard rules (product, chain, quotient) while treating all other variables as constants.
- Check for higher-order derivatives: If needed, differentiate again to obtain higher-order derivatives.
Example: For the function f(x,y,z)=exy ⋅z3 :
- ∂f/∂x = y⋅exy⋅z3
- ∂f/∂y = x.exy ⋅z3
- ∂f/∂z = 3z2 .exy
Partial Derivatives in Engineering Mathematics: A function is like a machine that takes some input and gives a single output. For example, y = f(x) is a function in 'x'. Here, we say 'x' is the independent variable and 'y' is the dependent variable as the value of 'y' depends on 'x'.
Some examples of functions are:
- f(x) = x2 + 3 is an algebraic function.
- ex is the exponential function.
- sin(x), cos(x), tan(x),...etc. are all trigonometric functions.
Now, all these functions are functions of a single variable, i.e. there is only one independent variable.
Partial Derivatives in Engineering Mathematics
Partial derivatives are a fundamental concept in multivariable calculus, often used in engineering mathematics to analyze how functions change when varying one variable while keeping others constant. This is crucial in fluid dynamics, thermodynamics, and structural analysis.
To understand the concept of partial derivative, we must first look at what a function in two variables means.
Consider a function of the form z = f(x,y) where 'x' and 'y' are the independent variables and 'z' is the dependent variable. This function is called a function in two variables. Similarly, functions of several variables (i.e. with more than 2 independent variables) can also be defined.
Partial Derivatives Examples
Some examples of multivariable functions or functions of several variables are:
1. f(x,y) = x2 +y
2. f(x,y,z) = x-3y+4z
Let us visualize this concept through graph. First we consider a single variable function f(x) = x2.
Graph of f(x) = x^2Unlike functions of a single variable, we cannot visualize multivariable functions as a 2-D graph. For this, we plot it on the 3-D plane. For example, consider the graph of f(x,y) = x2+y2
Graph for f(x,y) = x^2 + y^2 For functions of several variables we define the limit as follows:

This means, finding the limit of f(x) as 'x' approaches 'a' and 'y' approaches 'b'.
Similarly, the definitions of continuity and differentiability can be extended from definitions for single variable functions.
Recall that the derivative of a function of single variable y=f(x) is defined as : f'(x) = `\frac{dy}{dx}
For a function z = f(x,y) of two variables, we define the derivative as : \frac{\partial z}{\partial x}
This means calculating the derivative of function 'z' with respect to 'x' by keeping 'y' constant. Similarly, we can calculate the derivative of 'z' with respect to 'y' by keeping 'x' as constant as \frac{\partial z}{\partial y}
Geometrical Interpretation of Partial Derivative

As we know, for single variable functions, the derivative is computed as the slope of the tangent passing through the curve. Similarly, we can understand the geometric interpretation of a partial derivative of a multivariable function.
Consider a function of two variables, z = f(x,y) on the 3-D plane and let a plane y=b pass through the curve f(x,y).
Now, we draw another curve f(x,b) lying on z that is perpendicular to the plane y=b. Consider two arbitrary points P,R on this curve and draw the secant passing through these points.
The slope of this secant is calculated using the first principles as follows :
m = \frac{Δz}{Δx} = \frac{f(x+Δx,b)-f(a,b)}{Δx}
As the two points move closer to each other, the difference Δx approaches 0 and we calculate this in the form of the limit : \lim_{Δx\to0} \frac{Δz}{Δx} = \frac{f(a+Δx,b)-f(a,b)}{Δx}
This limit is the partial derivative of 'z' with respect to 'x' by treating 'y' as constant i.e.
\frac{\partial z}{\partial x} = \frac{f(a+Δx,b)-f(a,b)}{Δx}
Calculation of Partial Derivatives of a Function
Steps to calculate partial derivative of a given function :
- Consider z = f(x,y).
- Compute partial derivative with respect to 'x' i.e. \frac{\partial z}{\partial x} by considering 'y' as constant and differentiate the function with respect to 'x'.
- Compute partial derivative with respect to 'y' i.e. \frac{\partial z}{\partial y} by considering 'x' as constant and differentiate the function with respect to 'y'.
Example : z = x^2 + y^2 + 3xy
Here, for the given function, we calculate the two partial derivatives as follows :
Case 1: Differentiating with respect to 'x' by treating 'y' as constant i.e. \frac{\partial z }{\partial x}
Differentiating 'z' wrt 'x' by treating 'y' constantCase 2: Differentiating with respect to 'y' by treating 'x' as constant i.e. \frac{\partial z }{\partial y}
Differentiating 'z' wrt 'y' by treating 'x' constantSecond-Order Partial Derivatives
Similar to the computation of second-order derivatives for functions of single variables, we can compute the same for functions of several variables.
For an example we consider the same function z = x^2 + y^2 + 3xy .
Case 1: We differentiate \frac{\partial z}{\partial x} again with respect to 'x'

Case 2: We differentiate \frac{\partial z}{\partial y} again with respect to 'y'

Case 3: We differentiate \frac{\partial z}{\partial x} again with respect to 'y'

Case 4: We differentiate \frac{\partial z}{\partial y} again with respect to 'x'

People Also Read:
Applications of Partial Derivatives in Engineering
Partial derivatives are widely used in various engineering disciplines to solve problems involving multiple variables:
- Heat Transfer: Describing the change in temperature distribution over time and space.
- Fluid Dynamics: Analyzing velocity fields and pressure distributions in fluid flows.
- Structural Analysis: Determining stress and strain in materials under load.
Solved Examples
Basic partial differentiation:
Given f(x,y) = x^2y + 3xy^2, find ∂f/∂x and ∂f/∂y.
Solution:
∂f/∂x = 2xy + 3y^2 (treat y as a constant)
∂f/∂y = x^2 + 6xy (treat x as a constant)
Higher-order partial derivatives:
For f(x,y) = x^3y^2 + 2xy, find ∂²f/∂x², ∂²f/∂y², and ∂²f/∂x∂y.
Solution:
∂f/∂x = 3x^2y^2 + 2y
∂²f/∂x² = 6xy^2
∂f/∂y = 2x^3y + 2x
∂²f/∂y² = 2x^3
∂f/∂x = 3x^2y^2 + 2y
∂²f/∂x∂y = 6xy^2 + 2
Chain rule for partial derivatives:
If z = f(x,y) where x = r cos θ and y = r sin θ, express ∂z/∂r and ∂z/∂θ in terms of ∂z/∂x and ∂z/∂y.
Solution:
∂z/∂r = (∂z/∂x)(∂x/∂r) + (∂z/∂y)(∂y/∂r)
= (∂z/∂x)(cos θ) + (∂z/∂y)(sin θ)
∂z/∂θ = (∂z/∂x)(∂x/∂θ) + (∂z/∂y)(∂y/∂θ)
= (∂z/∂x)(-r sin θ) + (∂z/∂y)(r cos θ)
Implicit differentiation:
Given x^2 + y^2 + z^2 = 1, find ∂z/∂x and ∂z/∂y.
Solution:
Differentiate with respect to x:
2x + 2y(∂y/∂x) + 2z(∂z/∂x) = 0
∂z/∂x = -x/z
Differentiate with respect to y:
2y + 2x(∂x/∂y) + 2z(∂z/∂y) = 0
∂z/∂y = -y/z
Gradient:
Find the gradient of f(x,y,z) = 2x^2y + yz^3 - 3xz.
Solution:
∇f = (∂f/∂x, ∂f/∂y, ∂f/∂z)
= (4xy - 3z, 2x^2 + z^3, 3yz^2 - 3x)
Directional derivative:
For f(x,y) = x^2 + 2xy + y^2, find the directional derivative at (1,2) in the direction of u = (3/5, 4/5).
Solution:
∇f = (2x + 2y, 2x + 2y)
At (1,2): ∇f = (6, 6)
Directional derivative = ∇f · u
= (6, 6) · (3/5, 4/5)
= (6 * 3/5) + (6 * 4/5)
= 18/5 + 24/5
= 42/5 = 8.4
Partial differential equation:
Verify that u(x,t) = e^(-at) sin(x) is a solution to the heat equation ∂u/∂t = k(∂²u/∂x²).
Solution:
∂u/∂t = -ae^(-at) sin(x)
∂u/∂x = e^(-at) cos(x)
∂²u/∂x² = -e^(-at) sin(x)
Substituting into the heat equation:
-ae^(-at) sin(x) = k(-e^(-at) sin(x))
This is true if a = k, verifying the solution.
Laplacian:
Find the Laplacian of f(x,y,z) = x^2y + yz^2 + xz.
Solution:
∇²f = ∂²f/∂x² + ∂²f/∂y² + ∂²f/∂z²
∂²f/∂x² = 2y
∂²f/∂y² = 0
∂²f/∂z² = 2y
∇²f = 2y + 0 + 2y = 4y
Summary
Partial derivatives are a fundamental concept in engineering mathematics, allowing us to analyze how a function changes with respect to one variable while holding others constant. They are crucial in various engineering applications, including optimization, thermodynamics, and fluid dynamics. The process involves treating all variables except the one of interest as constants and then differentiating normally. Key rules include the product rule, chain rule, and implicit differentiation. Practice with diverse functions, including exponentials, logarithms, and trigonometric functions, is essential for mastery. Understanding higher-order and mixed partial derivatives further extends the utility of this concept in engineering analysis and problem-solving.
Related Articles:
Similar Reads
Engineering Mathematics Tutorials Engineering mathematics is a vital component of the engineering discipline, offering the analytical tools and techniques necessary for solving complex problems across various fields. Whether you're designing a bridge, optimizing a manufacturing process, or developing algorithms for computer systems,
3 min read
Linear Algebra
MatricesMatrices are key concepts in mathematics, widely used in solving equations and problems in fields like physics and computer science. A matrix is simply a grid of numbers, and a determinant is a value calculated from a square matrix.Example: \begin{bmatrix} 6 & 9 \\ 5 & -4 \\ \end{bmatrix}_{2
3 min read
Row Echelon FormRow Echelon Form (REF) of a matrix simplifies solving systems of linear equations, understanding linear transformations, and working with matrix equations. A matrix is in Row Echelon form if it has the following properties:Zero Rows at the Bottom: If there are any rows that are completely filled wit
4 min read
Eigenvalues and EigenvectorsEigenvalues and eigenvectors are fundamental concepts in linear algebra, used in various applications such as matrix diagonalization, stability analysis and data analysis (e.g., PCA). They are associated with a square matrix and provide insights into its properties.Eigen value and Eigen vectorTable
10 min read
System of Linear EquationsA system of linear equations is a set of two or more linear equations involving the same variables. Each equation represents a straight line or a plane and the solution to the system is the set of values for the variables that satisfy all equations simultaneously.Here is simple example of system of
5 min read
Matrix DiagonalizationMatrix diagonalization is the process of reducing a square matrix into its diagonal form using a similarity transformation. This process is useful because diagonal matrices are easier to work with, especially when raising them to integer powers.Not all matrices are diagonalizable. A matrix is diagon
8 min read
LU DecompositionLU decomposition or factorization of a matrix is the factorization of a given square matrix into two triangular matrices, one upper triangular matrix and one lower triangular matrix, such that the product of these two matrices gives the original matrix. It is a fundamental technique in linear algebr
6 min read
Finding Inverse of a Square Matrix using Cayley Hamilton Theorem in MATLABMatrix is the set of numbers arranged in rows & columns in order to form a Rectangular array. Here, those numbers are called the entries or elements of that matrix. A Rectangular array of (m*n) numbers in the form of 'm' horizontal lines (rows) & 'n' vertical lines (called columns), is calle
4 min read
Sequence & Series
Calculus
Limits, Continuity and DifferentiabilityLimits, Continuity, and Differentiation are fundamental concepts in calculus. They are essential for analyzing and understanding function behavior and are crucial for solving real-world problems in physics, engineering, and economics.Table of ContentLimitsKey Characteristics of LimitsExample of Limi
10 min read
Cauchy's Mean Value TheoremCauchy's Mean Value theorem provides a relation between the change of two functions over a fixed interval with their derivative. It is a special case of Lagrange Mean Value Theorem. Cauchy's Mean Value theorem is also called the Extended Mean Value Theorem or the Second Mean Value Theorem.According
7 min read
Taylor SeriesA Taylor series represents a function as an infinite sum of terms, calculated from the values of its derivatives at a single point.Taylor series is a powerful mathematical tool used to approximate complex functions with an infinite sum of terms derived from the function's derivatives at a single poi
8 min read
Inverse functions and composition of functionsInverse Functions - In mathematics a function, a, is said to be an inverse of another, b, if given the output of b a returns the input value given to b. Additionally, this must hold true for every element in the domain co-domain(range) of b. In other words, assuming x and y are constants, if b(x) =
3 min read
Definite Integral | Definition, Formula & How to CalculateA definite integral is an integral that calculates a fixed value for the area under a curve between two specified limits. The resulting value represents the sum of all infinitesimal quantities within these boundaries. i.e. if we integrate any function within a fixed interval it is called a Definite
8 min read
Application of Derivative - Maxima and MinimaDerivatives have many applications, like finding rate of change, approximation, maxima/minima and tangent. In this section, we focus on their use in finding maxima and minima.Note: If f(x) is a continuous function, then for every continuous function on a closed interval has a maximum and a minimum v
6 min read
Probability & Statistics
Mean, Variance and Standard DeviationMean, Variance and Standard Deviation are fundamental concepts in statistics and engineering mathematics, essential for analyzing and interpreting data. These measures provide insights into data's central tendency, dispersion, and spread, which are crucial for making informed decisions in various en
10 min read
Conditional ProbabilityConditional probability defines the probability of an event occurring based on a given condition or prior knowledge of another event. It is the likelihood of an event occurring, given that another event has already occurred. In probability, this is denoted as A given B, expressed as P(A | B), indica
12 min read
Bayes' TheoremBayes' Theorem is a mathematical formula used to determine the conditional probability of an event based on prior knowledge and new evidence. It adjusts probabilities when new information comes in and helps make better decisions in uncertain situations.Bayes' Theorem helps us update probabilities ba
13 min read
Probability Distribution - Function, Formula, TableA probability distribution is a mathematical function or rule that describes how the probabilities of different outcomes are assigned to the possible values of a random variable. It provides a way of modeling the likelihood of each outcome in a random experiment.While a Frequency Distribution shows
13 min read
Covariance and CorrelationCovariance and correlation are the two key concepts in Statistics that help us analyze the relationship between two variables. Covariance measures how two variables change together, indicating whether they move in the same or opposite directions. Relationship between Independent and dependent variab
6 min read
Practice Questions