Access free live classes and tests on the app
Download
+
Unacademy
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA
Login Join for Free
avtar
  • ProfileProfile
  • Settings Settings
  • Refer your friendsRefer your friends
  • Sign outSign out
  • Terms & conditions
  • •
  • Privacy policy
  • About
  • •
  • Careers
  • •
  • Blog

© 2023 Sorting Hat Technologies Pvt Ltd

Watch Free Classes
    • GATE 2024
    • GATE 2024 Question Papers
    • GATE Notes by Jaspal Singh
    • GATE Notes by S K Mondal
    • Downloads
    • GATE 2024 Rank Predictor
    • Notifications
    • MCQs
    • Question Bank
    • Video Lectures
    • Study Materials
    • PSU Recruitment
    • Difference Between
    • Full Forms
    • Exam Tips
    • GATE Books
GATE 2026 Exam Date Announced – Complete Schedule, Syllabus, and Key Details » GATE Study Materials » Mechanical Engineering » Directional Derivatives
Prepare for GATE & ESE

Directional Derivatives

The topic of directional derivatives will try to look into what is directional derivative or directional derivatives meaning along with identification of the derivation for formula of directional derivatives. This topic comes under the broad area of aerospace engineering.

Table of Content
  •  

Introduction

The term directional derivatives seem scary when we hear it for the first time. We have made efforts to make it simple and easy to understand. Directional derivatives come mostly under the topic of vector algebra, although it is applied widely in science too to solve problems of various other domains. We will discuss in detail about directional derivative and the derivation of its formulas in easiest possible ways. Moreover, we will take a glance at the concept of gradient descent(along with a simple problem explained for better understanding) and the maximum value of directional derivative. We would also take up some sample problems for the better understanding of the topic to the students.

What is directional derivative?

There shall be no simpler terms to define directional derivative but as to, it is the rate at which the direction of fX,Y changes in the direction of the unit vector u=⟨a,b⟩ .

In calculus the directional derivative is denoted as Dufx,y.

The exact definition of the directional derivative could be interpreted by the formula, 

Dufx,y=h→0fx+ah,y+bh-fx,yh

Dufx,y= fx(x, y)a+fy(x,y)b

Duf (x,y,z)=fx(x,y,z)a+fy(x,y,z)b+fz(x,y,z)c

Many times the definition of directional derivative sounds much more like a partial derivative.

What is gradient?

The gradient/gradient vector of ‘f’ could be defined as,

∇f =⟨fx, fy, fz⟩ or ∇f = ⟨fx, fy⟩

Gradient, when we use the standard basis vectors will be,

∇f =fx→i+fy→j or ∇f= fx→i + fy→j + fz→k

The derivation of directional derivative formula

Actually, it’s not a cakewalk to derive an equivalent formula to take up directional derivatives.

To make it simple let’s introduce a new function of single variable,

kz=fx0+az,yO+bz

Where x0, yO, a and b are fixed numbers.

This is a single variable function and z is the only variable.

By applying single variable function derivative, we get,

k’z=h→0kz+h-kzh

At z=0 the derivative turns out to be,

k’0=h→0kh-k0h

Now, substituting k(z) we get,

k'(0)=h→0f x0+ah,yO+bh-f x0, yOh

So, we get the following resulting relationship.

k′(0)=D_u ⃗ f(x0,y0)

Let’s rewrite k(z) as,

k(z) = f(x, y) where x=x0+az and y=y0+bz

Now, applying chain rule we get,

k’(z)=dg/dz= ∂f/∂x.dx/dz + ∂f/∂y. dy/dz = fx(x, y)a+ fy(x, y)

k’(z)= fx(x, y)a + fy(x, y)b                                                                      …………(2)

now taking z=0 we get that x=x0 and y=y0 (same as we defined x and y above) and put these into (2) in order to get,

k’(0)= fx(x0, y0)a + fy(x0, y0)b                     …..…(3)

Now, equating (1) and (3), we reach to the following resulted equation,

Duf (x0, y0)=g′(0)=fx(x0,y0)a+fy(x0,y0)b

When we allow x and y to be any number we reach to the formula of directional derivatives.

Duf (x,y)=fx(x,y)a+fy(x,y)b

Definition for more than two variables’ functions such as f(x, y, z), which is in the direction of the unit vector →u=⟨a,  b,  c⟩ is given by,

Duf (x, y, z) = fx(x,y,z)a + fy(x,y,z)b + fz(x,y,z)c

Maximum directional derivative

The maximum value of directional derivative and also the maximum rate of change of the function g(x) is given by ∥∇g(x)∥ and will occur in the direction given by ∇g(x).

Sample problem: Consider that the height of a feature above sea level is given by z=1000−0.01×2−0.02y2. If you are at the point (60, 100) in what direction the fastest elevation change is taking place? find the highest rate of change in elevation at this said point.

Solution. 

It is an elliptic paraboloid opening downwards. So, it has to be somewhat hilly.

Now, gradient could be defined as.

∇f(x→)=⟨−0.02x,−0.04y⟩

The direction of maximum rate of change of the elevation will be in the direction of ∇f(60,100)=⟨−1.2,−4⟩

The maximum rate of change of the elevation at this point the maximum rate of change could be determined as,

∥∇f(60,100)∥=√(−1.2)2+(−4)2=√17.44=4.176

The direction of maximum rate of change would be pointing up the hill towards the centre rather than away from the hill.

Directional derivative: sample problems

 Find each of the directional derivatives.

1Duf (→x) for f(x,y)=xcos(y) in the direction of →v=⟨2,1⟩.

Solution 

Duf (→x) for f(x,y)=xcos(y) in the direction of →v=⟨2,1⟩

Let’s first compute the gradient for this function.

∇f=⟨cos(y),−xsin(y)⟩

Also, as we saw earlier in this section the unit vector for this direction is,

→u=⟨2/√5,1/√5⟩

The directional derivative is then,

Duf (→x)=⟨cos(y),−xsin(y)⟩⋅⟨2/√5,1/√5⟩=1/√5(2cos(y)−xsin(y))

  1. Duf (→x)  for f(x,y,z)= sin(yz) + ln(x2) at (1,1,π) in the direction of →v=⟨1,1,−1⟩

Solution. 

 Duf (→x) for f(x,y,z)=sin(yz)+ln(x2) at (1,1,π) in the direction of →v=⟨1,1,−1⟩. 

In such cases where we are asked for the directional derivative at a given point. Before moving further, we first need to find out the gradient at the given point, and then proceed to the dot product. So, let’s first find the gradient.

∇f(x,y,z) = ⟨2/x,zcos(yz), ycos(yz)⟩

∇f(1,1,π) = ⟨21,πcos(π),cos(π)⟩ = ⟨2,−π,−1⟩

Next is the requirement of unit vector for the direction,

∥→v∥=√3

→u=⟨1/√3,1/√3,−1/3⟩

Finally, the directional derivative at the point in question is,

D→uf(1,1,π)=⟨2,−π,−1⟩⋅⟨1/√3,1/√3,−1/√3⟩

                      =1√3(2−π+1)

                      =(3−π)/√3

Conclusion

The topic of directional derivatives has looked into what directional derivatives in simple words and gradient meaning. Moreover, it has also looked into the derivation of the formula for directional derivatives in different cases, in great detail. The various directional derivatives sample problems have been discussed under the topic. The FAQs section attempts to address the most probable queries that might arise. The FAQs section provides additional information which will aid a better understanding of the topic.

faq

Frequently asked questions

Get answers to the most common queries related to the GATE Examination Preparation.

What is the formula of directional derivative?

Ans: There could be three formulas based on the ease to use under different situations, ...Read full

What is gradient?

Ans: Gradient is given by,  ∇...Read full

What is the maximum directional derivative?

Ans: The maximum value of directional derivative and also the maximum rate of change of the functio...Read full

Ans: There could be three formulas based on the ease to use under different situations,

  1. Dufx,y=h→0fx+ah,y+bh-fx,yh
  2. Dufx,y= fx(x,y)a+fy(x,y)b
  3. Duf (x,y,z)=fx(x,y,z)a+fy(x,y,z)b+fz(x,y,z)c

Ans: Gradient is given by,  ∇f =⟨fx, fy, fz⟩ or ∇f = ⟨fx, fy⟩

Ans: The maximum value of directional derivative and also the maximum rate of change of the function g(x) is given by ∥∇g(x)∥ and will occur in the direction given by ∇g(x).

Crack GATE with Unacademy

Get subscription and access unlimited live and recorded courses from India’s best educators

  • Structured syllabus
  • Daily live classes
  • Ask doubts
  • Tests & practice
Learn more

Notifications

Get all the important information related to the GATE Exam including the process of application, important calendar dates, eligibility criteria, exam centers etc.

Complete Guide to GATE 2025 Syllabus for CSE with Subject-wise Weightage – Quick Guide
GATE 2012 Questions with Answers
GATE 2013 Question with Answers
GATE 2014 Question with Answers
GATE 2015 Questions with Answers
GATE 2016 Questions with Answers
GATE 2017 Questions with Answers
GATE 2018 Questions with Answers
GATE 2019 Questions with Answers
GATE 2020 Question Paper with Answer: Download PDFs
GATE 2021 Questions with Answers
GATE 2022 Rankers Summit
GATE 2023 Admit Card – Release Date, How to Download & Direct Link
GATE 2023 Exam Dates
GATE 2024 Registration – Application Form at gate2024.iisc.ac.in
GATE 2026 Detailed Paper Analysis & Solution
GATE CS & IT Engineering Previous Year Questions with Answers
GATE Cutoff 2023 – Brach-wise and Category-wise cut-off
GATE Electrical Engineering Previous Year Questions with Answers
GATE Electronics and Communication Engineering (ECE) Previous Year Questions with Answers
GATE Eligibility Criteria 2026: Age Restrictions, Qualifications, and Applicants
GATE Exam Calendar 2023
GATE Exam Pattern 2023 – New Test Structure, Paper Pattern, Marking Scheme for all papers
GATE Mechanical Engineering Previous Year Questions with Answers
GATE Previous Year Question Papers with Solution – Download PDFs
GATE Previous Year Question Papers with Solutions for Civil Engineering
GATE Result 2023 Out – Steps to check GATE Result
GATE Syllabus 2026: Download GATE Syllabus PDF
See all

Related articles

Learn more topics related to Mechanical Engineering
Zeroth and First Laws of Thermodynamics

The branch of physical science that deals with the relationship between heat and all the other forms of energy is Thermodynamics.

Winds: Headwinds, Tailwinds, and Crosswinds

This write-up is based on the introduction about the topic, Definition of Tailwinds, definition of headwinds, and definition of crosswinds.

Wet Bulb Depression

The difference between the temperature of the dry bulb and the temperature of the wet bulb is referred to as the wet-bulb depression.

Wave and Laplace’s Equations

The wave equation, heat equation, and Laplace's equation are known as three essential conditions in numerical material science and happen in many parts of physical science, in applied arithmetic as well as in designing or engineering.

See all
Access more than

10,997+ courses for GATE & ESE

Get subscription

Trending Topics

  • Comprehensive Guide for GATE Data Science
  • GATE PYQs Test Series (DS & AI Engineering)
  • GATE DS & AI UA Lite – 2026
  • Unacademy Subscription – GATE CSIT, DSAI & Interview Preparation
  • Foundation Batch for GATE & PSUs 2028 – DSAI 4.0
  • GATE Preparation Books

Related Links

  • What is gate
  • GATE 2026 Detailed Paper Analysis & Solution
  • Abhyaas : Practice Program Batch for GATE & ESE 2026 – CE
  • Starters Kit for GATE 2027 & 2028 – CE
  • Abhyaas : Practice Batch for GATE, ESE & PSUs 2026 – ME
  • Course On Measurements & Instrumentation
  • Starters Kit for GATE 2027 & 2028 – EC
  • Distance Learning Program for GATE – ECE 2025
  • Aasha : Batch for WBSEDCL JE Gr-II 2025
  • GATE Civil Engineering Syllabus 2026
  • GATE Exam Syllabus For Mechanical Engineering
  • Best GATE Preparation Books for ECE
  • How to Prepare for GATE CS & IT
  • GATE Preparation
Download previous years papers
.
Company Logo

Unacademy is India’s largest online learning platform. Download our apps to start learning


Starting your preparation?

Call us and we will answer all your questions about learning on Unacademy

Call +91 8585858585

Company
About usShikshodayaCareers
we're hiring
BlogsPrivacy PolicyTerms and Conditions
Help & support
User GuidelinesSite MapRefund PolicyTakedown PolicyGrievance Redressal
Products
Learner appLearner appEducator appEducator appParent appParent app
Popular goals
IIT JEEUPSCSSCCSIR UGC NETNEET UG
Trending exams
GATECATCANTA UGC NETBank Exams
Study material
UPSC Study MaterialNEET UG Study MaterialCA Foundation Study MaterialJEE Study MaterialSSC Study Material

© 2026 Sorting Hat Technologies Pvt Ltd

Unacademy
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA

Share via

COPY