Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Number System and Arithmetic
  • Algebra
  • Set Theory
  • Probability
  • Statistics
  • Geometry
  • Calculus
  • Logarithms
  • Mensuration
  • Matrices
  • Trigonometry
  • Mathematics
Open In App
Next Article:
How to Find the Slope of a Tangent Line?
Next article icon

How to Find the Slope of a Tangent Line?

Last Updated : 02 May, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

To find the slope of a tangent line to a curve at a given point, you need to find the derivative at that point. The derivative represents the instantaneous rate of change of the function — in other words, it's the slope of the tangent line.

To find the slope of the tangent line to a function f(x) at a point x = a, use this formula:

Slope of tangent line = f'(a)

Slope-of-a-Tangent-Line
Slope of a Tangent Line


To find the slope of a tangent line to a curve at a given point, follow these steps:

Step-by-Step Process

  1. Understand the Tangent Line: A tangent line touches a curve at a single point and has the same slope as the curve at that point.
  2. Find the Derivative: The derivative of the function f (x), denoted as f′(x), represents the slope of the curve at any point x.
  3. Evaluate the Derivative at the Point: Substitute the x-coordinate of the given point into f′(x) to find the slope of the tangent line at that specific point.

Example: Find the slope of the tangent line to f(x) = x2 at (1, 1):
Solution:

  1. Derivative: f′(x) = 2
  2. Evaluate at x = 1: f′(1) = 2(1) = 2
  3. Slope: The slope of the tangent line is 2.

Slope of a Tangent Line

The slope of a tangent line tells us how steep the curve is at a specific point. Imagine standing on the curve at that point — the slope of the tangent line is like the slope of the ground under your feet. It shows the instantaneous rate of change of the function at that point.

The slope of the tangent line is essentially the rate of change of the function, which is given by the derivative. The derivative of a function f(x) at a point x = a is the slope of the tangent line to the curve at that point.

Understanding the Tangent Line

A tangent line touches a curve at exactly one point and has the same slope as the curve at that point. To find the slope of this line, we use the concept of limits and derivatives.

Formula for the Slope of the Tangent Line

The slope of the tangent line to a curve y = f(x)at a point (x0, y0) is given by:

m = f' (x0)

wheref'(x) is the derivative of f(x), and x0 is the x-coordinate of the point.

Steps to Find the Slope

  1. Find the Derivative: Compute f'(x), which represents the slope of the curve at any point x.
  2. Substitute the Point: Plug x0 f'(x) to calculate m =f'(x0), the slope at that specific point.
  3. Tangent Line Equation: Use the point-slope form: y-y0 = m (x-x0)

Example: Find the slope of the tangent line to f(x) = x2 + 3x + 2 at x = 1.

Solution:

  1. Derivative: f'(x) = 2x+3
  2. Substitute x = 1: f′(1) = 2(1) + 3 = 5
  3. Slope: The slope of the tangent line is m = 5.
  4. Tangent Line Equation: At (1, f (1)) = (1, 6):
    y−6 = 5(x - 1)
    y = 5x + 1
Read more about: Slope of a Line.

For example: Find the slope of the tangent line to the curve f(x) = x² at the point(1, 1). Also, find the equation of the tangent line.

Solution:

To find the slope of the tangent line, we need to find f'(x):

f(x) = x²
f'(x) = dy/dx = d(x²) /dx = 2x

At x = 1, the slope will be: f'(1) = 2(1) = 2

So, the slope of the tangent line is 2.

Now for the equation of the tangent line: We'll use point-slope form: y - y1 = m(x - x1)

We have point (1, 1) and slope = 2
y - 1 = 2(x - 1)

Convert to slope-intercept form:
y - 1 = 2x - 2
y = 2x - 1

  • The slope of the tangent line is 2
  • The equation of the tangent line is y = 2x - 1

Read Also,

  • Tangents and Normals
  • Slope of the Secant Line Formula
  • How to Find Slope From a Graph?

Solved Question on Slope of a Tangent Line

Question 1: Find the slope of the tangent line 6y = 3x + 5.
Solution: 

Since we know the equation of a tangent line is of the form y= mx + c where m is the slope

We can write, 
y= (3x + 5 ) / 6
y= (3/6(x ) + 5 /6)
y= (1/2(x ) + 5 /6)

Therefore the value of the slope is 1/2 = 0.5.

Question 2: Find the slope of the tangent line to the curve y = 3x2 − 4x + 1 at x=2.
Solution: 

Find f'(x) : f′(x) = d/dx (3x2− 4x + 1) = 6x−4
Substitute x=2: f′(2) = 6(2)− 4 = 8
Slope:
The slope of the tangent line at x=2 is 8.

Question 3: Find the slope of the curve y = 6x³.
Solution:

The slope of curve is given by differentiation of the curve:

dy/dx = d(6x³) /dx = 18x²

Question 4: Find the slope of the tangent line to the curve f(x) = x2 + 2x at x = 3.
Solution: 

Find f'(x) : f′(x) = d/dx (x2+ 2x) = 2x + 2
Substitute x=3: f′(3) = 2(3) + 2 = 8
Slope:
The slope of the tangent line at x=3 is 8.

Question 5: Find the slope of the tangent line to the curve f(x) = x⁴ at the point(2, 1). Also, find the equation of the tangent line. 
Solution:

Let us find the derivative of the curve as,

dy/dx = 4x³

At point (2, 1) value of dy/dx or slope m is,

m = 32

Equation of tangent line at point (2, 1) is,
y - 1 = 32(x - 2) 
y - 1 = 32x - 64
y = 32x - 63

Unsolved Question on Find the Slope of a Tangent Line

Question 1: Find the slope of the tangent line √2/2√√e to the curve f(x) = 2x2 + x at x = 3.

Question 2: Find the slope of the tangent line to f(x) = 1/x at x = 2.

Question 3: Find the slope of the tangent line to the curve f(x) = sin(x) at x = π/4.

Question 4: Find the slope of the tangent line to the curve f(x) = ln(x) at x = 1.

Answer Key

  1. 13
  2. -1/4
  3. √2/2
  4. 1

Next Article
How to Find the Slope of a Tangent Line?

J

jhimlic1
Improve
Article Tags :
  • Mathematics
  • School Learning
  • Class 11
  • Maths MAQ
  • Maths-Calculators
  • Maths-Class-11

Similar Reads

    How to Find the Equation of a Tangent Line
    To find the equation of a tangent line to a curve at a given point, first, find the derivative of the curve's equation, which gives the slope of the tangent. Then, use the point-slope form of a line equation, y − y1 = m(x − x1), where m is the slope from the derivative, and (x1, y1) is the point of
    9 min read
    How to find the Equation of a Straight Line?
    Geometry is a field of mathematics that deals with the size, position, shapes, angles, and dimensions of various things. 2D geometry includes shapes like squares, circles, triangles, hexagons, etc .2D shapes only have 2 dimensions. 3D geometry includes shapes like cubes, cylinders, cones, etc.3D sha
    9 min read
    How to Find the Slope of a Line From Its Graph
    Slope of a line is the measure of its inclination with the positive x-axis. Mathematically, the slope is defined as “rise over run”. The slope is the measure of the inclination or slant of the line, whether it is rising or falling. In this article, we will be discussing how to calculate the slope of
    10 min read
    How to Find the Slope of a Line on an Excel Graph?
    In this article, we will look into how to calculate the slope of a line in an Excel graph. Slope of a line basically determines two parameters : The direction of a line. The steepness of a line (rise or fall). It is generally denoted by the letter "m". The equation of a line is given by the expressi
    3 min read
    How to find the slope for a three-dimensional line?
    In three dimensions, lines don’t have a single slope like in 2D. Instead, use the direction vector, which shows the line’s direction. To find it:Identify two points on the line, say P(x_1, y_1, z_1) and Q(x_2, y_2, z_2).Calculate the direction vector: \vec{v} = (x_2 - x_1, y_2 - y_1, z_2 - z_1).This
    3 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences