Conics
From definitions to tilted axes
The Core Idea
Every non-standard conic equation is a standard one with some transformations applied to the plane. There are only two operations we ever use:
| Operation | What it does | How to apply it |
|---|---|---|
| Translation by $(h,k)$ | Moves the origin to $(h,k)$ | Replace $x \to x-h$, $y \to y-k$ |
| Rotation by $\theta$ | Tilts both axes by angle $\theta$ | Substitute $x$ and $y$ using rotation formulas |
That is the entire toolkit. Everything in this guide is just applying these two operations, one at a time, to a starting equation.
Why does rotation by 45Β° give $x = \dfrac{X-Y}{\sqrt{2}}$?
A point $P$ is fixed in the plane. We have two coordinate systems - the old axes $(x, y)$ and the new axes $(X, Y)$ rotated 45Β° counterclockwise. The point does not move; only the measuring frame changes.
The orange line is the new X-direction (along $y=x$); the blue line is the new Y-direction (along $y=-x$). The dashed segments are projections of $P$ onto each set of axes.
The unit vector along the new X-axis (which points along $y = x$) is:
The unit vector along the new Y-axis (perpendicular, 90Β° further) is:
The coordinate $X$ is the projection of $\overrightarrow{OP}$ onto $\hat{X}$ - that is, the dot product:
Now invert. We have two equations:
Add $(1) + (2)$: $\;2y = (X+Y)\sqrt{2}$, so $y = \dfrac{X+Y}{\sqrt{2}}$.
Subtract $(2)$ from $(1)$: $\;2x = (X-Y)\sqrt{2}$, so:
These come from solving two simultaneous linear equations - nothing more mysterious than that.
General angle ΞΈ
The same argument works for any angle. The new axes have unit vectors $(\cos\theta, \sin\theta)$ and $(-\sin\theta, \cos\theta)$, giving:
Inverting (solving simultaneously):
For $\theta = 45Β°$, $\cos\theta = \sin\theta = \frac{1}{\sqrt{2}}$, which recovers the 45Β° formulas exactly.
The same projection argument works for any ΞΈ, not just 45Β°. Project $P$ onto the rotated X-axis (orange) and Y-axis (blue) to read off $X$ and $Y$ in terms of $x$, $y$, $\cos\theta$, $\sin\theta$.
The Parabola
A parabola is the set of all points $P$ in the plane that are equidistant from a fixed point $F$ (the focus) and a fixed line $\ell$ (the directrix).
$$PF = \text{distance from } P \text{ to } \ell$$
The axis is the line through $F$ perpendicular to $\ell$. The vertex is the midpoint between $F$ and $\ell$ - it lies on the axis.
Every point on the curve is exactly the same distance from the focus $F$ (red) as from the directrix line (blue). The vertex is halfway between them.
1.1 Standard equation - axis along $x$, vertex at origin
Place the vertex at the origin. The focus is at $F = (p, 0)$ and the directrix is $x = -p$. For any point $P = (x, y)$:
Vertex $(0,0)$. Focus $(p,0)$. Directrix $x = -p$. Axis: the $x$-axis.
Three curves show how the parabola widens as the focal parameter $p$ increases - the latus rectum (the focal chord) has length $4p$.
1.2 Translation - vertex at $(h, k)$
Shift the origin to $(h, k)$: replace $x \to x - h$ and $y \to y - k$.
Vertex $(h,k)$. Axis is the horizontal line $y = k$.
The gray curve marks the original $y^2=4px$ at the origin; the orange curve is the same shape moved so its vertex sits at $(h,k)$. The axis is now the line $y=k$.
1.3 Rotation by 90Β° - axis along $y$, opens upward
Rotate the plane 90Β° counterclockwise. The 90Β° rotation substitution is $x \to y,\ y \to -x$. Apply to $y^2 = 4px$:
Translate vertex to $(h, k)$:
The gray curve is $x^2=4py$ at the origin; rotating 90Β° and translating gives the orange curve $(x-h)^2=4p(y-k)$, opening upward with vertex $(h,k)$ and focus $F$ directly above it.
1.4 Rotation by 180Β° - opens left and downward
Rotation by 180Β°: $x \to -x,\ y \to -y$. Apply to $y^2 = 4px$:
Opens to the left. Translate to $(h,k)$:
Apply 180Β° to $x^2 = 4py$ instead: $x^2 = -4py$. Opens downward. Translate:
Each is a rotation + translation of $y^2 = 4px$. The sign of $4p$ and whether $x$ or $y$ is squared tells you the direction.
1.5 Rotation by 45Β° - axis along $y = x$
Now rotate the plane by 45Β°. We established that the substitution to undo 45Β° rotation is $x = \dfrac{X-Y}{\sqrt{2}},\; y = \dfrac{X+Y}{\sqrt{2}}$, where $X, Y$ are the standard coordinates. So to rewrite the standard parabola $Y^2 = 4pX$ in old $(x,y)$ coordinates, substitute:
Translate vertex to $(h, k)$ - replace $x \to x-h$, $y \to y-k$:
The axis of symmetry is the line $y = x$ (blue). The vertex sits at the origin. The $\sqrt{2}$ factor appears because the rotation stretches the coordinate in that direction.
1.6 General axis - $ax + by = c$
The line $ax + by = c$ has:
- Normal direction $(a, b)$ - perpendicular to the line
- Direction along the line: $(-b, a)$
So the two natural coordinate combinations are:
Notice that $Q$ is precisely the signed distance from the point $(x,y)$ to the line $ax+by=c$ - a formula you already know from coordinate geometry.
Here the axis is the line $x+2y=2$ (blue, dashed). $P$ measures position along the axis; $Q$ measures signed distance from it. Stand on the tilted axis and the curve $Q^2=4pP$ looks exactly like the standard parabola.
The Ellipse (and Circle)
An ellipse is the set of all points $P$ such that the sum of distances from $P$ to two fixed points $F_1$ and $F_2$ (the foci) is constant:
$$PF_1 + PF_2 = 2a_e \qquad (2a_e > F_1F_2)$$The sum $PF_1 + PF_2$ is constant for every point on the ellipse. Move $P$ mentally around the curve - the two distances change, but their sum stays at $2a_e$.
2.1 Standard equation - foci on $x$-axis, center at origin
Place foci at $(\pm c, 0)$, constant sum $= 2a_e$, with $a_e > c$. Define $b_e^2 = a_e^2 - c^2$.
Center $(0,0)$. Foci $(\pm c, 0)$ where $c^2 = a_e^2 - b_e^2$. Semi-major axis $a_e$, semi-minor axis $b_e$.
Semi-major axis $a$ and semi-minor axis $b$ are measured from the center; the foci (red) sit at $(\pm c, 0)$ with $c^2 = a^2 - b^2$.
2.2 The circle emerges naturally
What happens if both foci coincide - i.e., $c = 0$? Then $b_e^2 = a_e^2 - 0 = a_e^2$, so $a_e = b_e = r$. The ellipse equation becomes:
The circle needs no separate definition - it is the ellipse whose two foci have merged into a single center. Every direction is a "major axis."
As $c$ shrinks toward $0$ (gray ellipses), the foci slide toward the center. At $c=0$ the curve becomes a perfect circle (orange) with its foci merged at one point.
2.3 Translation and 90Β° rotation
Translate center to $(h,k)$ - replace $x \to x-h$, $y \to y-k$:
For the circle: $(x-h)^2 + (y-k)^2 = r^2$.
Rotate 90Β° ($x \to y, y \to -x$) to get the major axis along $y$, then translate:
The pale curve is the original ellipse at the origin; rotating 90Β° and translating gives the orange ellipse with a vertical major axis, centered at $(h,k)$.
2.4 Rotation by 45Β° - major axis along $y = x$
In the rotated frame the standard form is $\dfrac{X^2}{a_e^2} + \dfrac{Y^2}{b_e^2} = 1$. Substitute $X = \dfrac{x+y}{\sqrt{2}}$, $Y = \dfrac{y-x}{\sqrt{2}}$:
Check - circle is unchanged: Set $a_e = b_e = r$:
The ellipse is tilted 45Β°. Its major axis lies along the blue line $y=x$.
2.5 General axis - $ax + by = c$
Using the same $P$ (along axis) and $Q$ (perpendicular to axis) as for the parabola:
where $P = \dfrac{-bx+ay}{\sqrt{a^2+b^2}}$ and $Q = \dfrac{ax+by-c}{\sqrt{a^2+b^2}}$.
For the circle ($a_e = b_e = r$): $P^2 + Q^2 = r^2$, which expands to $(x-h)^2 + (y-k)^2 = r^2$ - the axis direction vanishes entirely.
Same idea as the parabola: $P$ runs along the tilted axis (blue, dashed), $Q$ measures perpendicular distance from it, and the foci (red) sit on the axis itself.
The Hyperbola
A hyperbola is the set of all points $P$ such that the difference of distances from $P$ to two fixed points $F_1$ and $F_2$ (the foci) is constant:
$$|PF_1 - PF_2| = 2a_h$$The difference (not sum) of distances to the two foci is constant. This gives two separate branches - one where $PF_1 - PF_2 = 2a_h$ and one where $PF_2 - PF_1 = 2a_h$.
3.1 Standard equation - foci on $x$-axis, center at origin
Place foci at $(\pm c, 0)$, constant difference $2a_h$, with $c > a_h$. Define $b_h^2 = c^2 - a_h^2$ (note: reversed from the ellipse).
Center $(0,0)$. Foci $(\pm c, 0)$ where $c^2 = a_h^2 + b_h^2$. Asymptotes $y = \pm\frac{b_h}{a_h}x$. Vertices $(\pm a_h, 0)$.
Translate center to $(h, k)$:
Vertices sit at $(\pm a, 0)$; the asymptotes $y=\pm(b/a)x$ (blue, dashed) bound the branches; the foci (red) sit further out at $(\pm c, 0)$ with $c^2=a^2+b^2$.
3.2 Rotation by 90Β° - transverse axis along $y$
Rotate 90Β° ($x \to y, y \to -x$) and translate:
Note the sign: $y^2$ is now positive. The branches open up and down.
Left (orange): transverse axis horizontal, branches open left-right. Right (blue): transverse axis vertical, branches open up-down.
3.3 Rotation by 45Β° - rectangular hyperbola $xy = k$
Rotate $\dfrac{X^2}{a_h^2} - \dfrac{Y^2}{b_h^2} = 1$ by 45Β°. Substitute $X = \dfrac{x+y}{\sqrt{2}}$, $Y = \dfrac{y-x}{\sqrt{2}}$:
Special case - rectangular hyperbola ($a_h = b_h$):
This is simply $x^2 - y^2 = 2k$ rotated 45Β°. Its asymptotes are the coordinate axes. You see this equation in physics (Boyle's law $PV = \text{const}$) and economics (demand curves).
The rectangular hyperbola $xy = k$ (orange) is exactly $x^2 - y^2 = \text{const}$ (blue) rotated by 45Β°. The coordinate axes are the asymptotes.
3.4 General axis - $ax + by = c$
where $P = \dfrac{-bx+ay}{\sqrt{a^2+b^2}}$ and $Q = \dfrac{ax+by-c}{\sqrt{a^2+b^2}}$.
The same $P, Q$ construction as before, now producing two branches that open along the tilted axis (blue, dashed) instead of the $x$-axis.
The Grand Unified Picture
Every conic with axis along $ax + by = c$ is described by just two quantities:
| Conic | Equation in $P, Q$ | What it says geometrically |
|---|---|---|
| Parabola | $Q^2 = 4pP$ | Distance-to-axisΒ² grows linearly along the axis |
| Ellipse | $\dfrac{P^2}{\alpha^2} + \dfrac{Q^2}{\beta^2} = 1$ | Bounded in both directions |
| Circle | $P^2 + Q^2 = r^2$ | Equal bound in all directions - axis vanishes |
| Hyperbola | $\dfrac{P^2}{\alpha^2} - \dfrac{Q^2}{\beta^2} = 1$ | Unbounded, opens along the axis - two branches |
Parabola (orange), ellipse (blue), circle (green), hyperbola (red) - four equations, one substitution pattern.
And the journey to get here was just a single pipeline applied repeatedly: