Advertisement

Parabola equation and focus calculator

Choose an orientation and defining data. In vertical form y is quadratic in x; horizontal form makes x quadratic in y.

Calculator

Quadratic coefficient a
1.00000000
Linear coefficient b
0.00000000
Constant c
0.00000000
Vertex x
-0.00000000
Vertex y
0.00000000
Focus x
-0.00000000
Focus y
0.25000000
Signed vertex-to-focus parameter p
0.25000000
Directrix coordinate
-0.25000000
Latus rectum length
1.00000000
Vertex form
y - (0) = (1)(x - (0))^2
Axis of symmetry
x = 0

Advertisement

How this calculator works

An axis-aligned parabola is the set of points equally distant from a focus and a directrix. Completing the square converts a quadratic equation to vertex form. With independent coordinate u and dependent coordinate v, v-kv = a(u-hu)^2 and p=1/(4a). Positive p opens toward increasing v; negative p opens the other way. Three-point mode fits a quadratic only when all independent coordinates differ and the resulting quadratic coefficient is nonzero.

Formula

(u-hu)^2 = 4p(v-kv); focus=(hu,kv+p); directrix v=kv-p; latus rectum length=4|p|. For v=a u^2+b u+c, hu=-b/(2a) and kv=c-b^2/(4a).

Worked example

For y = x^2, the vertex is (0, 0), p = 1/4, the focus is (0, 0.25), the directrix is y = -0.25 and the latus rectum length is 1.

Advertisement

Frequently asked questions

Can it handle a rotated parabola?

No. Choose a vertical or horizontal axis. A general rotated conic with an xy term needs a different transformation.

Why must the focus align with the vertex?

For the chosen orientation, the axis through the vertex is vertical or horizontal. An off-axis focus would define a rotated parabola.

Is a negative coefficient valid?

Yes. It reverses the opening direction while keeping the same geometric definitions.

Sources

Advertisement