1
$\begingroup$

Can someone please prove that $x_1 = (x_0 + x_2)/2$ on a quadratic Bezier curve.

Where: $x_0$ is the first control points, $x_2$ is the second control point, $x_1$ is the middle control point located where the tangents at $x_0$ and $x_2$ meet

For the function $f(x) = ax^2 + bx + c$ at points $P_0 = (x_0, y_0)$, $P_1 = (x_1, y_1)$, $P_2 = (x_2, y_2)$.

Thanks

$\endgroup$
2
  • $\begingroup$ Maybe you mean a quadratic Bezier ? $\endgroup$
    – user65203
    Commented Oct 23, 2016 at 14:44
  • $\begingroup$ I changed $x_3$ to $x_1$. Is that what you meant ?? $\endgroup$
    – bubba
    Commented Oct 23, 2016 at 14:49

1 Answer 1

2
$\begingroup$

The tangent line at $P_0$ is $y-y_0 = (2ax_0 + b)(x-x_0)$.
The tangent line at $P_2$ is $y-y_2 = (2ax_2 + b)(x-x_2)$.
Intersect these two lines.
Confirm that the $x$-coordinate of the intersection point is $x_1$.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .