ASCENTLEARNING
Join a weekly class
Skip to learning content
YEAR 12 · VECTOR CALCULUS · 24 MIN

Bézier paths

Blend control points to construct a path, evaluate its points, and use endpoint derivatives to join curves smoothly.

In this lesson

Before you start
  • Add vectors and multiply them by scalars.
  • Substitute fractions into polynomial expressions.
  • Differentiate polynomial coordinates.
01 / LEARN

Understand the method.

THE CORE RULE
B⁢(t)=(1−t)2P0+2⁢t⁢(1−t)P1+t2P20≤t≤1

A quadratic Bézier curve blends three controls. It starts at the first and ends at the last; the middle control shapes the bend.

Blend three controls to make a quadratic path

A quadratic Bézier path is a weighted combination of three control points. Evaluate the weights at the required parameter value, then combine corresponding coordinates.

For 0≤t≤1, the weights are nonnegative and sum to 1. The path stays in the control triangle, starts at P0 and ends at P2. It generally does not pass through P1.

(1−t)2+2⁢t⁢(1−t)+t2=1
A quadratic Bézier curve with controls P0=(0,0), P1=(2,3), P2=(4,0), a dashed control polygon, midpoint-parameter point (2,3/2), and endpoint tangent arrows following the control edges.

Read tangent directions from the controls

A nonzero endpoint derivative gives the oriented tangent direction. For a quadratic, the initial direction follows the first control-polygon edge; the final direction follows the last edge.

A positive scalar multiple gives the same oriented tangent direction, but it does not give the same derivative magnitude. If neighbouring controls coincide, the corresponding endpoint derivative is zero and cannot alone supply a tangent direction.

B′(0)=2⁢(P1−P0)B′(1)=2⁢(P2−P1)

Use four controls for a cubic path

A cubic Bézier path blends four control points. Its endpoint derivatives use the first and last control edges with a factor of 3, instead of the quadratic factor of 2.

To join paths, first match their endpoint positions. Match nonzero oriented tangent directions for a common travel direction; match the complete derivative vectors when equal parameter rates are required. A dimensionless parameter derivative is not automatically a physical velocity.

C⁢(t)=(1−t)3P0+3⁢t⁢(1−t)2P1+3t2(1−t)P2+t3P3C′(0)=3⁢(P1−P0)C′(1)=3⁢(P3−P2)
02 / WORKED EXAMPLES

See the method in action.

EXAMPLE 01

Evaluate a quadratic and its initial direction

A quadratic Bézier curve has controls P0=(0,0), P1=(2,3) and P2=(4,0). Find B⁢(12) and the initial tangent direction.

Worked solution

  1. 1

    Evaluate the three weights.

    (1−12)2=142⁢(12)⁢(1−12)=12(12)2=14

    The weights sum to 1 and must be applied to the controls in their original order.

  2. 2

    Combine the corresponding coordinates.

    B⁢(12)=14⁢(0,0)+12⁢(2,3)+14⁢(4,0)=(2,32)

    The curve point lies below the middle control (2,3); the control is not a point the curve is required to visit.

  3. 3

    Use the first control displacement.

    B′(0)=2(2−03−0)=(46)

    This nonzero derivative is a positive multiple of (2,3), so both vectors give the same initial oriented tangent direction.

Answer

B⁢(12)=(2,32); the initial tangent direction is (2,3), with derivative (4,6).

EXAMPLE 02

Find the endpoint derivatives of a cubic

A cubic Bézier curve has controls (0,0), (1,2), (3,2) and (4,0), in that order. Find its endpoint derivatives and its point at t=12.

Worked solution

  1. 1

    Apply the cubic initial-derivative formula.

    C′(0)=3(1−02−0)=(36)

    The first control edge determines the initial direction, scaled by the cubic degree.

  2. 2

    Apply the cubic final-derivative formula.

    C′(1)=3(4−30−2)=(3−6)

    Subtract the penultimate control from the final control to preserve the direction of increasing parameter.

  3. 3

    Evaluate using the midpoint weights.

    C⁢(12)=18⁢(0,0)+38⁢(1,2)+38⁢(3,2)+18⁢(4,0)=(2,32)

    The cubic weights at one half are 18, 38, 38 and 18. They sum to 1.

Answer

C′(0)=(3,6), C′(1)=(3,−6) and C⁢(12)=(2,32).

EXAMPLE 03

Choose a control for a smooth join

A drawing path uses quadratic controls (0,0), (2,3) and (4,0). A second quadratic starts at Q0=(4,0) and ends at Q2=(8,0). Choose Q1 so its initial derivative equals the first curve's final derivative.

Worked solution

  1. 1

    Find the derivative arriving at the join.

    B′(1)=2(4−20−3)=(4−6)

    The first curve arrives in the direction from its middle control to its endpoint.

  2. 2

    Equate the next curve's initial derivative.

    2(Q1−(40))=(4−6)

    Matching the entire derivative fixes both its direction and magnitude for the two curve parameters.

  3. 3

    Solve for the middle control and verify.

    Q1=(40)+(2−3)=(6−3)2((6−3)−(40))=(4−6)

    The shared endpoint already matches position. This control also makes the one-sided derivative vectors equal.

Answer

Choose Q1=(6,−3). The curves share (4,0) and both have derivative (4,−6) at the join.

03 / YOUR TURN

Try it yourself.

Calculate, explain, then apply.

CHECK 01

Calculate a weighted point

Find B⁢(12) for quadratic controls (0,0), (1,4) and (3,0).

Show answer & reasoning

(54,2).

Use weights 14, 12, 14. The horizontal coordinate is 0+12+34=54 and the vertical coordinate is 0+2+0=2.

CHECK 02

Interpret the middle control

A quadratic has controls (0,0), (2,3) and (4,0). A learner says the path must pass through (2,3) because it is a control point. Explain the error.

Show answer & reasoning

The middle control shapes the path; it is not a required point on it. Here the curve has maximum height 32, below 3.

The vertical coordinate is y=6⁢t⁢(1−t), whose maximum on 0≤t≤1 is 32 at t=12. Only the first and last controls are guaranteed endpoints.

CHECK 03

Apply a join between different degrees

A cubic ends at (6,0) with penultimate control (5,2). A quadratic begins at Q0=(6,0). Choose its next control Q1 so the endpoint derivatives match.

Show answer & reasoning

Q1=(152,−3).

The arriving cubic derivative is 3⁢((6,0)−(5,2))=(3,−6). Set 2⁢(Q1−(6,0))=(3,−6), so Q1=(6,0)+(32,−3). The degree factors differ.

Keep practising

6 worksheet questions · 12 marks

Read the questions online
  1. Find endpoints for quadratic controls (1,2), (4,5), (6,1).
    2 marks
  2. Find B(12) for quadratic controls (0,0), (2,4), (6,0).
    2 marks
  3. Find endpoint derivatives for quadratic controls (1,1), (2,4), (5,2).
    2 marks
  4. Expand the quadratic rule with controls (0,0), (2,3), (4,0).
    2 marks
    The given control points (0, 0), (2, 3) and (4, 0), joined by a dashed control polygon on equal coordinate scales.
  5. For a cubic with P0=(0,0), P1=(2,0), find its initial derivative.
    2 marks
  6. Show quadratic Bézier weights sum to 1.
    2 marks
Read the worked solutions

Equivalent correct methods earn the corresponding marks. Include units where asked.

  1. Find endpoints for quadratic controls (1,2), (4,5), (6,1).
    2 marks

    At t=0 only the first weight remains.

    At t=1 only the last remains.

    Start (1,2), end (6,1).
  2. Find B(12) for quadratic controls (0,0), (2,4), (6,0).
    2 marks

    Use weights 14, 12, 14.

    The coordinates are 1+1.5 and 2.

    (2.5,2)
  3. Find endpoint derivatives for quadratic controls (1,1), (2,4), (5,2).
    2 marks

    Compute twice each end control displacement.

    2⁢(1,3) and 2⁢(3,−2).

    (2,6) and (6,−4).
  4. Expand the quadratic rule with controls (0,0), (2,3), (4,0).
    2 marks
    The given control points (0, 0), (2, 3) and (4, 0), joined by a dashed control polygon on equal coordinate scales.

    The x coordinate is 4⁢t⁢(1−t)+4t2=4⁢t.

    The y coordinate is 6⁢t⁢(1−t).

    B=(4⁢t,6⁢t−6t2).
  5. For a cubic with P0=(0,0), P1=(2,0), find its initial derivative.
    2 marks

    Use 3⁢(P1−P0).

    Multiply (2,0) by 3.

    (6,0)
  6. Show quadratic Bézier weights sum to 1.
    2 marks

    Expand every product.

    All t terms cancel, leaving 1.

    (1−t)2+2⁢t⁢(1−t)+t2=1.
Checking saved progress…
Curriculum reference & lesson scope

SACE Board of South Australia

Stage 2 Specialist Mathematics school Vector calculus: polynomial and trigonometric parameterisations, related coordinate rates, Bézier paths, componentwise differentiation and integration, motion, tangent directions, circular motion and arc length. Reasoning and proofs use these school topics; vector-field calculus is outside this chapter.

Official curriculum source ↗

Save your next step.

Create a free account to save your learning progress. Lessons and downloads stay free, with or without an account.

Create free account