Can You Find a Function from Its Tangent Line?
At a glance
- 1. Identify the contact point
Write the tangent line and note the x-coordinate where it touches the graph.
- 2. Translate the information
The function’s value and derivative at that point must match the line’s value and slope.
- 3. Check for uniqueness
A tangent line usually gives only two conditions, so additional information is needed to determine one function.
A tangent line tells you how a function behaves at one point: it gives the function’s value there and its instantaneous slope. It generally does not tell you the function’s values everywhere else.
Suppose a line is tangent to the graph of at . You can use the line to write two conditions on . Those conditions are useful, but many different functions can satisfy them. To find one particular function, you need more information or an assumption about the form of the function.
What a tangent line tells you
Write the tangent line as , where is its slope. If it touches the graph at , then the function must have the same height and slope as the line at that point:
The first condition says the graph passes through the point . The second says its derivative at equals the line’s slope. These are the defining conditions for the line to be tangent there, assuming is differentiable at .
Why the function is usually not unique
Those conditions constrain the function at just one input. You can change the function away from that input without changing its value or slope at the contact point.
In fact, for any differentiable function , the function
has the line as its tangent at . The added term is zero at , so the function still has the line’s value there. Its derivative is
which gives . Since can be chosen in many ways, this formula describes infinitely many functions with the same tangent line at the same point.
Worked example
Suppose is tangent to a function at . At the contact point, the line has height
Therefore the function must satisfy
One function that works is the line itself, . But it is not the only choice. For example, take in the general formula:
At , this function has value . Its derivative is , so . Thus it has the same tangent line, even though it is a different function. Choosing or produces further examples.
How extra information can determine a function
You need enough additional conditions to narrow the possibilities to one function, along with a specified class of functions. For instance, if you are told that the function is linear, then its tangent line is the function itself: . If you are told it is quadratic, a tangent condition at one point still leaves a free coefficient, so another independent condition is needed.
For example, if the function in the worked example is known to be a quadratic, write
The tangent conditions at give
There are three unknown coefficients but only two equations. A further condition, such as another function value, is required to determine , , and uniquely. If you also know , then ; solving the equations gives , , and .
Other useful additional information might include the value of the function at another point, a second derivative, a differential equation, or a condition such as “ is a polynomial of degree at most two.” Whether the answer is unique depends on the kind and number of independent conditions, not just on having a tangent line.
Common mistakes
- Treating the tangent line as the function. The function may curve away from its tangent line immediately after the contact point. The line equals the function everywhere only if the function is known to be linear (or if the given information otherwise forces it).
- Using the slope but not the contact point. The line’s slope gives , but you also need the contact point’s coordinates to obtain .
- Assuming any line is tangent at any chosen point. The line must pass through the graph’s point at that input, and its slope must match the derivative there.
- Confusing a tangent line with a secant line. A tangent describes the limiting slope at one point; a secant passes through two points on the graph.
If the tangent point’s -coordinate is not given, the line alone usually provides even less information: you may not know where the function touches it. In either case, use the line to form the value-and-slope conditions, then check what additional information is available before claiming that the whole function is determined.
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.