• Nakafa

    Nakafa

    Learn free and with quality.
Subject
    • Grade 10
    • Grade 11
    • Grade 12
Exercises
Holy
  • Quran
Articles
  • Politics
  • Community
  • About

Command Palette

Search for a command to run...

Derivative Functions

Equation of a Tangent Line to a Curve

Relationship Between Derivatives and Tangent Lines

You probably already know that derivatives can tell us a lot about the properties of a function. One of the coolest uses of derivatives is to find the slope or gradient of a tangent line to a curve.

Imagine "zooming in" on a point on a curve over and over. Eventually, the curved line will start to look like a straight line, right? Well, that imaginary straight line is what we call the tangent line. The gradient of the tangent line at a point x=ax=ax=a on the curve y=f(x)y=f(x)y=f(x) is exactly equal to the derivative of the function at that point, which is m=f′(a)m = f'(a)m=f′(a).

Determining the Equation of a Tangent Line

To create the equation of a straight line, we need two main things: a point the line passes through and the gradient of the line itself. In this context:

  1. Point of Tangency: A point P(a,b)P(a, b)P(a,b) where the line touches the curve.
  2. Gradient (m): The slope of the line at that point, which we get from the derivative, m=f′(a)m = f'(a)m=f′(a).

Once we have both, we can plug them directly into the basic formula for a line equation that you're already familiar with:

y−b=m(x−a)y - b = m(x - a)y−b=m(x−a)

In short, to find the equation of a tangent line, first find its gradient by differentiating the function, then plug the point of tangency and the gradient into the line equation formula.

Breaking Down a Case

Let's see how it works with an example. Determine the equation of the tangent line to the parabola y=2−4x2y = 2 - 4x^2y=2−4x2 at the point (1,−2)(1, -2)(1,−2).

Solution:

Step 1: Find the gradient of the tangent line

First, we differentiate the function f(x)=2−4x2f(x) = 2 - 4x^2f(x)=2−4x2 to get its gradient expression.

f′(x)=−8xf'(x) = -8xf′(x)=−8x

Since we want to find the gradient at the point where the x-coordinate is x=1x=1x=1, we substitute this value into the derivative.

m=f′(1)=−8(1)=−8m = f'(1) = -8(1) = -8m=f′(1)=−8(1)=−8

So, the gradient of the tangent line is -8.

Step 2: Construct the equation

Now we have everything we need:

  • Point of tangency (a,b)=(1,−2)(a, b) = (1, -2)(a,b)=(1,−2)
  • Gradient m=−8m = -8m=−8

Plug them into the line equation formula:

y−b=m(x−a)y - b = m(x - a)y−b=m(x−a)
y−(−2)=−8(x−1)y - (-2) = -8(x - 1)y−(−2)=−8(x−1)
y+2=−8x+8y + 2 = -8x + 8y+2=−8x+8
y=−8x+6y = -8x + 6y=−8x+6

So, the equation of the tangent line is y=−8x+6y = -8x + 6y=−8x+6.

Visualization of the Tangent Line on the Parabola
This graph shows the parabola curve y=2−4x2y = 2 - 4x^2y=2−4x2 and its tangent line y=−8x+6y = -8x + 6y=−8x+6 meeting exactly at the point of tangency (1,−2)(1, -2)(1,−2).

Exercises

  1. Find the equation of the tangent line to the curve y=x2−615x+1412y = x^2 - 6\frac{1}{5}x + 14\frac{1}{2}y=x2−651​x+1421​ which is parallel to the line x+2y+3=0x + 2y + 3 = 0x+2y+3=0.

  2. Determine the equation of the tangent line to the parabola y=2x2−3x+5y = 2x^2 - 3x + 5y=2x2−3x+5 at the point with an ordinate of 4.

  3. A curve y=3x−3x2y = 3x - \frac{3}{x^2}y=3x−x23​ intersects the X-axis at P. Find the equation of the tangent line to the curve at point P!

  4. The curve y=(x2+2)2y = (x^2 + 2)^2y=(x2+2)2 intersects the Y-axis at point A. Show that the tangent line to the curve at point A is parallel to the X-axis and is 4 units away from the origin!

  5. Determine the coordinates of the point on the curve y=2x2−7x+1y = 2x^2 - 7x + 1y=2x2−7x+1, if the tangent line to the curve at that point forms an angle of 45° with the positive X-axis. Also, determine the equation of the tangent line to the curve that passes through that point!

Answer Key

  1. Solution:

    Step 1: Determine the gradient.

    The tangent line must be parallel to the line x+2y+3=0x + 2y + 3 = 0x+2y+3=0. To find its gradient, let's first convert this line's equation into the slope-intercept form y=mx+cy = mx + cy=mx+c.

    2y=−x−32y = -x - 32y=−x−3
    y=−12x−32y = -\frac{1}{2}x - \frac{3}{2}y=−21​x−23​

    From this, we know the gradient of the line is m=−12m = -\frac{1}{2}m=−21​. Since the tangent line is parallel, its gradient is the same.

    Step 2: Find the point of tangency.

    The gradient of the curve at a point is equal to the value of the first derivative at that point. First, let's find the derivative function of f(x)=x2−315x+292f(x) = x^2 - \frac{31}{5}x + \frac{29}{2}f(x)=x2−531​x+229​.

    f′(x)=2x−315f'(x) = 2x - \frac{31}{5}f′(x)=2x−531​

    Next, we set this derivative equal to the gradient we know (m=−1/2m = -1/2m=−1/2) to find the x-coordinate of the point of tangency.

    2x−315=−122x - \frac{31}{5} = -\frac{1}{2}2x−531​=−21​
    2x=315−12=62−510=57102x = \frac{31}{5} - \frac{1}{2} = \frac{62 - 5}{10} = \frac{57}{10}2x=531​−21​=1062−5​=1057​
    x=5720x = \frac{57}{20}x=2057​

    After getting the x-coordinate x=5720x=\frac{57}{20}x=2057​, we substitute this value back into the original curve equation to find its y-coordinate.

    y=(5720)2−315(5720)+292=3249400−1767100+292=3249−7068+5800400=1981400y = (\frac{57}{20})^2 - \frac{31}{5}(\frac{57}{20}) + \frac{29}{2} = \frac{3249}{400} - \frac{1767}{100} + \frac{29}{2} = \frac{3249 - 7068 + 5800}{400} = \frac{1981}{400}y=(2057​)2−531​(2057​)+229​=4003249​−1001767​+229​=4003249−7068+5800​=4001981​

    So, the point of tangency is (5720,1981400)\left(\frac{57}{20}, \frac{1981}{400}\right)(2057​,4001981​).

    Step 3: Construct the line equation.

    With the point (5720,1981400)\left(\frac{57}{20}, \frac{1981}{400}\right)(2057​,4001981​) and gradient m=−12m = -\frac{1}{2}m=−21​, the equation is:

    y−1981400=−12(x−5720)y - \frac{1981}{400} = -\frac{1}{2}\left(x - \frac{57}{20}\right)y−4001981​=−21​(x−2057​)
    y=−12x+5740+1981400y = -\frac{1}{2}x + \frac{57}{40} + \frac{1981}{400}y=−21​x+4057​+4001981​
    y=−12x+570+1981400y = -\frac{1}{2}x + \frac{570 + 1981}{400}y=−21​x+400570+1981​
    y=−12x+2551400y = -\frac{1}{2}x + \frac{2551}{400}y=−21​x+4002551​
  2. Solution:

    Step 1: Find the point(s) of tangency.

    Since the ordinate is 4, we set y=4y=4y=4 in the parabola's equation.

    4=2x2−3x+54 = 2x^2 - 3x + 54=2x2−3x+5
    2x2−3x+1=02x^2 - 3x + 1 = 02x2−3x+1=0
    (2x−1)(x−1)=0(2x-1)(x-1) = 0(2x−1)(x−1)=0

    From factorization, we get two x-values: x=1x=1x=1 and x=12x=\frac{1}{2}x=21​. This means there are two points of tangency: (1,4)(1, 4)(1,4) and (12,4)\left(\frac{1}{2}, 4\right)(21​,4). Therefore, there will be two tangent line equations.

    Step 2: Calculate the gradient and create the equation for each point.

    We will process each point of tangency separately. The derivative of the function is f′(x)=4x−3f'(x) = 4x - 3f′(x)=4x−3.

    Case One: Point (1,4)(1, 4)(1,4)

    The gradient at this point is m=f′(1)=4(1)−3=1m = f'(1) = 4(1) - 3 = 1m=f′(1)=4(1)−3=1.

    Thus, the equation is:

    y−4=1(x−1)  ⟹  y=x+3y - 4 = 1(x - 1) \implies y = x + 3y−4=1(x−1)⟹y=x+3

    Case Two: Point (12,4)\left(\frac{1}{2}, 4\right)(21​,4)

    The gradient at this point is m=f′(12)=4(12)−3=−1m = f'(\frac{1}{2}) = 4(\frac{1}{2}) - 3 = -1m=f′(21​)=4(21​)−3=−1.

    Thus, the equation is:

    y−4=−1(x−12)  ⟹  y=−x+92y - 4 = -1(x - \frac{1}{2}) \implies y = -x + \frac{9}{2}y−4=−1(x−21​)⟹y=−x+29​
  3. Solution:

    Step 1: Find point P.

    The curve intersects the X-axis when y=0y=0y=0.

    0=3x−3x20 = 3x - \frac{3}{x^2}0=3x−x23​
    3x=3x2  ⟹  3x3=3  ⟹  x3=1  ⟹  x=13x = \frac{3}{x^2} \implies 3x^3 = 3 \implies x^3 = 1 \implies x=13x=x23​⟹3x3=3⟹x3=1⟹x=1

    So, the intersection point P is (1,0)(1, 0)(1,0).

    Step 2: Find the gradient at P.

    Let's first rewrite the function as f(x)=3x−3x−2f(x) = 3x - 3x^{-2}f(x)=3x−3x−2 to make it easier to differentiate.

    f′(x)=3−(−2)(3)x−3=3+6x3f'(x) = 3 - (-2)(3)x^{-3} = 3 + \frac{6}{x^3}f′(x)=3−(−2)(3)x−3=3+x36​

    The gradient at x=1x=1x=1 is m=f′(1)=3+613=9m = f'(1) = 3 + \frac{6}{1^3} = 9m=f′(1)=3+136​=9.

    Step 3: Construct the equation.

    With point (1,0)(1, 0)(1,0) and gradient 9, the equation is:

    y−0=9(x−1)  ⟹  y=9x−9y - 0 = 9(x - 1) \implies y = 9x - 9y−0=9(x−1)⟹y=9x−9
  4. Solution:

    Step 1: Find point A.

    The curve intersects the Y-axis when x=0x=0x=0.

    y=(02+2)2=4y = (0^2 + 2)^2 = 4y=(02+2)2=4

    So, the intersection point A is (0,4)(0, 4)(0,4).

    Step 2: Prove the tangent line is parallel to the X-axis.

    A line parallel to the X-axis must have a gradient of 0. Let's prove that the derivative of the function at point A (x=0x=0x=0) is zero.

    The derivative of f(x)=(x2+2)2f(x)=(x^2+2)^2f(x)=(x2+2)2 using the chain rule is f′(x)=2(x2+2)(2x)=4x(x2+2)f'(x) = 2(x^2+2)(2x) = 4x(x^2+2)f′(x)=2(x2+2)(2x)=4x(x2+2).

    The gradient at x=0x=0x=0 is m=f′(0)=4(0)(02+2)=0m = f'(0) = 4(0)(0^2+2) = 0m=f′(0)=4(0)(02+2)=0.

    Since the gradient is zero, it is proven that the tangent line is parallel to the X-axis.

    Step 3: Prove its distance is 4 units from the origin.

    The equation of the tangent line at point (0,4)(0,4)(0,4) with gradient m=0m=0m=0 is:

    y−4=0(x−0)  ⟹  y=4y - 4 = 0(x - 0) \implies y = 4y−4=0(x−0)⟹y=4

    The line y=4y=4y=4 is a horizontal line. The distance from any point on this line to the X-axis (the line y=0y=0y=0) is 4 units. Since the origin (0,0)(0,0)(0,0) lies on the X-axis, the distance from this tangent line to the origin is also 4 units. Proven.

  5. Solution:

    Step 1: Determine the gradient from the angle.

    The relationship between the gradient (mmm) and the angle (θ\thetaθ) a line makes with the positive X-axis is given by m=tan⁡(θ)m = \tan(\theta)m=tan(θ).

    m=tan⁡(45∘)=1m = \tan(45^\circ) = 1m=tan(45∘)=1

    So, the gradient of the tangent line we are looking for is 1.

    Step 2: Find the coordinates of the point of tangency.

    The gradient is also the first derivative of the curve f(x)=2x2−7x+1f(x) = 2x^2 - 7x + 1f(x)=2x2−7x+1.

    f′(x)=4x−7f'(x) = 4x - 7f′(x)=4x−7

    We set it equal to the gradient we found:

    4x−7=14x - 7 = 14x−7=1
    4x=8  ⟹  x=24x = 8 \implies x = 24x=8⟹x=2

    Now, find the yyy-value by plugging x=2x=2x=2 into the curve's equation:

    y=2(2)2−7(2)+1=8−14+1=−5y = 2(2)^2 - 7(2) + 1 = 8 - 14 + 1 = -5y=2(2)2−7(2)+1=8−14+1=−5

    So, the coordinates of the point of tangency are (2,−5)(2, -5)(2,−5).

    Step 3: Determine the equation of the tangent line.

    Using the point (2,−5)(2, -5)(2,−5) and gradient m=1m=1m=1:

    y−(−5)=1(x−2)y - (-5) = 1(x - 2)y−(−5)=1(x−2)
    y+5=x−2y + 5 = x - 2y+5=x−2
    y=x−7y = x - 7y=x−7
Previous

Chain Rule in Derivative

Next

Increasing, Decreasing, and Stationary Function

  • Equation of a Tangent Line to a CurveMaster finding tangent line equations using derivatives. Learn step-by-step methods, slope calculations, and solve complex problems with visual examples.
On this page
  • Relationship Between Derivatives and Tangent Lines
  • Determining the Equation of a Tangent Line
  • Breaking Down a Case
  • Exercises
    • Answer Key
  • Comments
  • Report
  • Source code