# Nakafa Framework: LLM URL: https://nakafa.com/en/subject/high-school/12/mathematics/derivative-function/equation-of-a-tangent-line-to-a-curve Source: https://raw.githubusercontent.com/nakafaai/nakafa.com/refs/heads/main/packages/contents/subject/high-school/12/mathematics/derivative-function/equation-of-a-tangent-line-to-a-curve/en.mdx Output docs content for large language models. --- import { LineEquation } from "@repo/design-system/components/contents/line-equation"; import { getColor } from "@repo/design-system/lib/color"; export const metadata = { title: "Equation of a Tangent Line to a Curve", description: "Master finding tangent line equations using derivatives. Learn step-by-step methods, slope calculations, and solve complex problems with visual examples.", authors: [{ name: "Nabil Akbarazzima Fatih" }], date: "05/26/2025", subject: "Derivative Functions", }; ## 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 on the curve is exactly equal to the derivative of the function at that point, which is . ## 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 where the line touches the curve. 2. **Gradient (m):** The slope of the line at that point, which we get from the derivative, . Once we have both, we can plug them directly into the basic formula for a line equation that you're already familiar with: > 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 at the point . **Solution:** **Step 1: Find the gradient of the tangent line** First, we differentiate the function to get its gradient expression. Since we want to find the gradient at the point where the x-coordinate is , we substitute this value into the derivative. So, the gradient of the tangent line is -8. **Step 2: Construct the equation** Now we have everything we need: - Point of tangency - Gradient Plug them into the line equation formula:
So, the equation of the tangent line is . Visualization of the Tangent Line on the Parabola} description={ <> This graph shows the parabola curve {" "} and its tangent line meeting exactly at the point of tangency . } showZAxis={false} cameraPosition={[0, 0, 15]} data={[ { points: Array.from({ length: 41 }, (_, i) => { const x = -2 + i * 0.1; return { x, y: 2 - 4 * x * x, z: 0 }; }), color: getColor("LIME"), showPoints: false, labels: [ { text: "y = 2 - 4x^2", at: 5, offset: [-2, 3, 0], }, ], }, { points: [ { x: 0, y: 6, z: 0 }, { x: 2, y: -10, z: 0 }, ], color: getColor("YELLOW"), smooth: false, showPoints: false, labels: [ { text: "y = -8x + 6", at: 0, offset: [2.5, -2.5, 0], }, ], }, { points: [{ x: 1, y: -2, z: 0 }], color: getColor("ORANGE"), showPoints: true, labels: [ { text: "(1, -2)", offset: [1.5, -0.5, 0], }, ], }, ]} /> ## Exercises 1. Find the equation of the tangent line to the curve which is parallel to the line . 2. Determine the equation of the tangent line to the parabola at the point with an ordinate of 4. 3. A curve intersects the X-axis at P. Find the equation of the tangent line to the curve at point P! 4. The curve 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 , 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 . To find its gradient, let's first convert this line's equation into the slope-intercept form .
From this, we know the gradient of the line is . 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 . Next, we set this derivative equal to the gradient we know () to find the x-coordinate of the point of tangency.
After getting the x-coordinate , we substitute this value back into the *original* curve equation to find its y-coordinate. So, the point of tangency is . **Step 3: Construct the line equation.** With the point and gradient , the equation is:
2. **Solution:** **Step 1: Find the point(s) of tangency.** Since the ordinate is 4, we set in the parabola's equation.
From factorization, we get two x-values: and . This means there are two points of tangency: and . 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 . **Case One: Point ** The gradient at this point is . Thus, the equation is: **Case Two: Point ** The gradient at this point is . Thus, the equation is: 3. **Solution:** **Step 1: Find point P.** The curve intersects the X-axis when .
So, the intersection point P is . **Step 2: Find the gradient at P.** Let's first rewrite the function as to make it easier to differentiate. The gradient at is . **Step 3: Construct the equation.** With point and gradient 9, the equation is: 4. **Solution:** **Step 1: Find point A.** The curve intersects the Y-axis when . So, the intersection point A is . **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 () is zero. The derivative of using the chain rule is . The gradient at is . 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 with gradient is: The line is a horizontal line. The distance from any point on this line to the X-axis (the line ) is 4 units. Since the origin 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 () and the angle () a line makes with the positive X-axis is given by . 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 . We set it equal to the gradient we found:
Now, find the -value by plugging into the curve's equation: So, the coordinates of the point of tangency are . **Step 3: Determine the equation of the tangent line.** Using the point and gradient :