Knots and B-Splines: Understanding Knots Simplified

  • Context: Undergrad 
  • Thread starter Thread starter phiby
  • Start date Start date
Click For Summary

Discussion Overview

The discussion centers around the concept of knots in B-splines, exploring their definition, significance, and the mathematical implications of their placement within spline functions. Participants seek to clarify the role of knots in the context of piecewise polynomial functions and their application in interpolation.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Mathematical reasoning

Main Points Raised

  • One participant seeks a simplified explanation of what a knot is in the context of B-splines.
  • Another participant explains that knots are points where the piecewise polynomial functions change, providing an example with a quadratic spline.
  • A different participant notes that B-splines are defined within specific intervals and questions the purpose of additional knots at the beginning and end of the knot vector.
  • In response, a participant suggests that the extra knots may provide additional equations for solving coefficients, discussing the relationship between knots, coefficients, and the equations required for cubic splines.
  • The concept of the "not a knot" condition is introduced as a method to equate the polynomials at the ends, potentially addressing the equation balance in the spline formulation.

Areas of Agreement / Disagreement

Participants express varying levels of understanding and interpretation of knots, with some agreeing on their role in defining piecewise functions while others raise questions about their necessity and implications. The discussion remains unresolved regarding the specific purpose of additional knots and the implications of the "not a knot" condition.

Contextual Notes

There are unresolved mathematical steps regarding the relationship between the number of knots and the coefficients needed for spline equations, as well as the implications of the "not a knot" condition on the overall spline structure.

phiby
Messages
74
Reaction score
0
I have been reading about B-Splines for a couple of days now, but I just can't get what a knot is! I have referred multiple books & websites. Can someone explain knots to me a in a simple language?
 
Mathematics news on Phys.org
If you have read about splines, then presumably you know that they are piecewise polynomial functions. "Knots" are the points where the "pieces" change. That is, where the formula changes.

If f(x) is the "quadratic spline" that is given by
[itex]f(x)= x^2[/itex] for [itex]0\le x\le 2[/itex], [itex]f(x)= 2x^2- 4x+ 4[/itex] for [itex]2\le x\le 3[/itex], etc. then x= 2 or, more properly, the point (2, 4) is a "knot".

Typically one wants a spline that interpolates given values. Often the knots are chosen at the "interpolation points" but not always.
 
HallsofIvy said:
"Knots" are the points where the "pieces" change. That is, where the formula changes.
Assume a B-spline with n+1 control points (0 to n) & d control points per curve(polynomial of degree (d-1)). The text says that B-Splines are defined only in the interval from knot value ud-1 to un+1. So what are the extra knots at the beginning and end of the knot vector for?
 
Probably just to give additional equations. For example, with cubic splines, you have 4 coefficients per cubic and can require that the values of the function and first and second derivatives match at each knot. If you have n knots, including the two ends, you have two values requiring that both sides give the correct value there and two more equations requiring that the first and second derivatives match, for a total of 4 equations, at the n-2 interior knots but only one equation at the two ends for a total of 4(n-2)+ 2= 4n- 6 equations. But you also have n-1 intervals between those n points so a total of 4n- 4 coefficient to solve for. That is two fewer equations than coefficents!

What you can do is add the "not a knot" condition- you require that the polynomials in the first two intervals at each end be exactly the same. That is, that two "knots" are, in fact, not knots. That gives the value of the function at those two points as the two more equations you need.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
8K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K