Knots and B-Splines: Understanding Knots Simplified

  • Thread starter Thread starter phiby
  • Start date Start date
AI Thread Summary
Knots in B-splines are critical points where the polynomial pieces of the spline change, effectively marking the transition between different polynomial segments. For example, in a quadratic spline, the point where the formula changes, such as x=2, is identified as a knot. B-splines are defined within specific intervals determined by these knots, and the additional knots at the beginning and end serve to create more equations for solving coefficients. The "not a knot" condition can be applied to ensure that the polynomials at the ends of the spline are continuous, providing necessary equations to balance the system. Understanding knots is essential for effectively constructing and analyzing B-splines in computational applications.
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
f(x)= x^2 for 0\le x\le 2, f(x)= 2x^2- 4x+ 4 for 2\le x\le 3, 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.
 
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Back
Top