<p>So, the number of polynomials that you piece together depends on multiple factors, including the number of control points and the degree of the curve. If the number of points is equal to the order, then you have a single polynomial, if the order is <span class="math-container">$n$</span> and you have <span class="math-container">$n+1$</span> points, then you are piecing together 2 polynomials, etc...</p>

<p>Distinct points are points that are different from each other.
Take the vector [0,1,2,3,4] where all knots are distinct and contrast it with [0,1,2,2,3,4] where the knot 2 has multiplicity 2 (it's not distinct since it appears twice). These knots lower the degree of the curve locally by 1 for each repetition.</p>

<p>The overall curve can be defined in many ways, the simplest way to look at it is as DeDoor's algorithm, which is a generalisation of DeCastlejeau's.</p>

<p>I am going to do a bit of self promotion and link my <a href="https://gitlab.com/Makogan/mathproofs/blob/master/B-splines/b-splines.pdf" rel="nofollow noreferrer">own notes of B-Splines</a>. Gitlab's PDF viewer butchers them a bit so I recommend downloading them and reading them with Okular or Adobe reader.</p>

<p>Regardless, that document has more information than what can be put into a stack exchange answer and does indeed try to convey the intuition about how to build B-Splines, both mathematically and algorithmically.</p>

CC BY-SA 4.0
2020-01-28T23:29:13.333Z
Looks well written, will definitely check it out thanks.
IntegrateThis
CC BY-SA 4.0
2020-01-28T23:30:21.703Z
If you catch any mistakes or things are not clear let me know, I'll correct them and clarify anything that isn't clear.
Makogan
CC BY-SA 4.0
2020-02-27T17:47:59.433Z
@IntegrateThis I assume the document was of help?
Makogan
CC BY-SA 4.0
2020-01-28T21:50:15.430Z
2020-02-27T18:04:42.437Z
2020-02-27T18:04:42.437Z
Makogan
<p>In reading the wikipedia page about B-Splines <a href="https://en.wikipedia.org/wiki/B-spline" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/B-spline</a>, I am getting confused about the concept of knots.</p>

<p>If we have a spline of order <span class="math-container">$n$</span>, with a knot vector (<span class="math-container">$t_0, \cdots, t_k$</span>),
then if the <span class="math-container">$k$</span> knots are distinct, I think we have <span class="math-container">$k$</span> polynomials that are pieced together, but if we have that <span class="math-container">$r \leq k$</span> knots are distinct, then I am not sure what this means.</p>

<p>How many polynomials are we piecing together?
 How is the overall piecewise curve defined?</p>

<mathematics>
Understanding distinct vs. not distinct knots in B-splines
IntegrateThis
# Understanding distinct vs. not distinct knots in B-splines

(Asked by: username_0 on 2020-01-27)

In reading the wikipedia page about B-Splines <https://en.wikipedia.org/wiki/B-spline>, I am getting confused about the concept of knots.

If we have a spline of order $n$, with a knot vector ($t\_0, \cdots, t\_k$),
then if the $k$ knots are distinct, I think we have $k$ polynomials that are pieced together, but if we have that $r \leq k$ knots are distinct, then I am not sure what this means.

How many polynomials are we piecing together?
How is the overall piecewise curve defined?

**Tags:** mathematics


---

## 1 answers

### Answer by username_1 on 2020-01-28. Score: 4 | Accepted answer

So, the number of polynomials that you piece together depends on multiple factors, including the number of control points and the degree of the curve. If the number of points is equal to the order, then you have a single polynomial, if the order is $n$ and you have $n+1$ points, then you are piecing together 2 polynomials, etc...

Distinct points are points that are different from each other.
Take the vector [0,1,2,3,4] where all knots are distinct and contrast it with [0,1,2,2,3,4] where the knot 2 has multiplicity 2 (it's not distinct since it appears twice). These knots lower the degree of the curve locally by 1 for each repetition.

The overall curve can be defined in many ways, the simplest way to look at it is as DeDoor's algorithm, which is a generalisation of DeCastlejeau's.

I am going to do a bit of self promotion and link my [own notes of B-Splines](https://gitlab.com/username_1/mathproofs/blob/master/B-splines/b-splines.pdf). Gitlab's PDF viewer butchers them a bit so I recommend downloading them and reading them with Okular or Adobe reader.

Regardless, that document has more information than what can be put into a stack exchange answer and does indeed try to convey the intuition about how to build B-Splines, both mathematically and algorithmically.

> **Comments:**
> **username_0**: Looks well written, will definitely check it out thanks.  
> **username_1**: If you catch any mistakes or things are not clear let me know, I'll correct them and clarify anything that isn't clear.  
> **username_1**: @username_0 I assume the document was of help?  

---

