Find accurate tangents for 2D and 3D. Enter formulas, points, and steps; preview results live. Download tables, share PDFs, and learn the method fast.
Supports trigonometric, exponential, and power expressions. Use variables t, x, y as shown.
| Mode | Input | Point | Output tangent |
|---|---|---|---|
| Parametric (2D) | x=cos(t), y=sin(t), t₀=π/4 | (0.7071, 0.7071) | <−0.7071, 0.7071> |
| Explicit | f(x)=x^2, x₀=2 | (2, 4) | <1, 4> |
| Implicit | x^2+y^2−1=0, (0.6,0.8) | (0.6, 0.8) | <1.6, −1.2> |
| Parametric (3D) | x=cos(t), y=sin(t), z=t, t₀=1 | (0.5403, 0.8415, 1) | <−0.8415, 0.5403, 1> |
A tangent vector is a direction that “just touches” a curve at a point. For parametric curves it is the derivative of the position vector, and for explicit curves it follows the derivative slope at that x-value.
It works for many formulas without symbolic algebra. Central differences are accurate for small step sizes, especially for smooth functions, and they avoid manual derivative mistakes while staying fast.
Start with 1e-4 or 1e-5 for typical inputs. If results look unstable, try a slightly larger h. If results look overly smoothed, try a smaller h, but too small can amplify rounding errors.
A unit tangent vector has length 1. It keeps only the direction, not the speed of the parameter. This is useful for geometry, arc-length work, and for comparing directions across different parameterizations.
If the derivative vector becomes zero, the curve has no unique tangent direction at that point. For implicit curves, a zero gradient means the normal is not defined, so tangent direction may not be unique.
Yes. The raw derivative scales with how fast the parameter runs along the curve. However, the unit tangent direction usually matches the geometric direction, unless the parameterization reverses orientation.
You can use functions like abs() and sqrt(). Be careful at points where the function is not smooth, because derivatives may change abruptly and numeric estimates can vary with h.
Check that the tangent line touches the curve near the point and that the direction makes sense. For implicit curves, confirm the tangent is perpendicular to the gradient by checking the dot product is near zero.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.