Parabola Tangents Through a Point Calculator

Enter a quadratic and the coordinates of a point. The worksheet finds all real contact points, plots both tangent branches or a single branch, and shows the exact calculation that distinguishes two tangents, one tangent, and no real tangent.

Analytic geometry

Find every tangent through a point

Enter a parabola and a point. See every real contact, its tangent line, and the exact calculation that separates the two-, one-, and zero-tangent cases.

Parabola and point

y = ax² + bx + c
Given point (p, q)

Use decimals within ±1,000,000, with up to 12 decimal places.

Tangent solutions

Two real tangents
Curve at p
f(p) = 4
Squared contact offset
R = 1
Parabola and tangents through the entered point
Parabola, point and tangent contactsTwo real tangents. The entered point is (2, 3). Shown contacts: (1, 1) and (3, 9).Height from f(p)x − p
  • Parabola
  • Entered point
  • Left tangent
  • Right tangent

The plot centers on p and fits the contacts. Read exact coordinates below.

Left contact

(1, 1)

y = 2x − 1

Slope
2
Intercept
-1

Right contact

(3, 9)

y = 6x − 9

Slope
6
Intercept
-9

Why these are all the solutions

At a contact t, the gap between curve and tangent is a(x − t)². At p this gives (t − p)² = (f(p) − q) / a = 1.

A positive square gives one contact on each side of p.

View CSV text

How to use this calculator

  1. Enter the coefficients a, b, and c of the quadratic. Use a nonzero a.
  2. Enter the x and y coordinates p and q of the point each tangent must pass through.
  3. Read the solution count, exact contact coordinates, and line equations. When two tangents exist, choose a single contact to isolate its line in the plot.
  4. Inspect the squared-offset proof and download the CSV audit.

The Formula

The mathematical logic powering this calculation is:

Let f(x) = ax² + bx + c, with a ≠ 0. At contact x = t the tangent is T(x) = f(t) + (2at + b)(x − t). Expanding gives the exact identity f(x) − T(x) = a(x − t)². Consequently T(p) = q exactly when (t − p)² = (f(p) − q)/a.

Denote this signed quotient by R. When R is positive, the contacts are t = p − √R and t = p + √R. When it is zero, only t = p works. When it is negative, no real number has that square. Use sign(R) for either opening direction. At each solution, the contact height is f(t), the slope is m = 2at + b, and the intercept is q − mp.

Enter decimal coefficients and coordinates within ±1,000,000 with up to 12 decimal places. Rational arithmetic determines the branch count without a rounded tolerance. When the reduced numerator and denominator of a positive R are perfect squares, the output is rational. Other roots stay in exact radical form using the reduced rational radicand. The plot uses numerical offsets from (p, f(p)) and automatically fits the x contact offsets. Use the exact ledger for coordinates too close to tell apart at screen resolution.

Worked Example

If you input:

  • Parabola: y = x²
  • Given point: (2, 3)

Result:

The contacts are (1, 1) and (3, 9). The corresponding lines are y = 2x − 1 and y = 6x − 9.

Frequently Asked Questions

When will exactly one tangent pass through the point?

The given point lies on the parabola when q = f(p). The squared offset is then zero and the tangent is at x = p.

What happens when the parabola opens downward?

The same quotient works. When a is negative, two tangents are possible above the parabola at the entered x. For an upward-opening parabola they are possible below it.

Can a vertical tangent pass through the point?

For a quadratic graph y = ax² + bx + c, the derivative is finite at every real x. Its tangents are all nonvertical.

Why does the input require a nonzero coefficient a?

A zero coefficient gives a line or a constant instead of a parabola. The worksheet requires a quadratic graph and divides by a.

Similar Calculators