Professional Documents
Culture Documents
Polynomials and Spline Functions
Polynomials and Spline Functions
1 Polynomials
CITY UNIVERSITY OF HONG KONG
DEPARTMENT OF MECHANICAL ENGINEERING Polynomials have played an important role in approximation
theory and numerical analysis for many decades. They are
MNE4005 Finite Element Analysis also the basis for geometric design.
(Lecture Notes / Dr. W. Ma)
Polynomial Space where t R is the parametric variable, ci for i=1, 2, ..., k are pre-
Bases of Polynomial Space defined constants.
Power Bases and Bernstein Bases
p R 3 xn 1 yn 2 zn 3
where n1, n2 and n3 are the unit vectors of the x-, y- and z-axis.
The unit vectors n1, n2 and n3 are called the normalized bases
of the 3-dimensional Euclidean space.
where, Bi (t )ik1 = 1 t1 t2
... t k 1 , there exists a unique set
of coefficients
k
di i 1 such that
k
p(t ) di Bi' (t )
i 1
where, Bi' (t )
k
i 1
= 1 (t a ) 1 (t a ) 2
... (t a ) k 1 .
k
Definition: Bernstein Bases are defined as:
Solution: By setting t=1 to equation p (t ) di Bi' (t ) ,
Bi (t ) t i 1 t
i 1 n n i
we obtain d1 = 3. i
Similarly, where
d d k n n!
by setting t=1 to
p ( t ) d i B i ( t ) ,
'
we obtain d 2 =2, i i !(n i)!
.
dt dt i 1
d2 d2 k
by setting t=1 to p ( t ) 2 d i B i ( t )
'
, we obtain d3 5,
dt 2
dt i 1 With these basis, a Bernstein function (or Bézier function)
and can be defined as:
d3 d3 k
by setting t=1 to p ( t ) 3 d i B i ( t )
'
, we obtain d 4 = 1. n k
dt 3
dt i 1 p(t ) ci Bi (t ) c'j B 'j (t )
i 0 j 1
Thus, we have
Following figures illustrate how the power bases and Bernstein
p(t ) 3 2(t 1) 5(t 1)2 (t 1)3 bases look like.
where Bi (t ) t i 1 t .
n n i
i
3
c0 5
0
3
c3 3
3
3
2 0 1 3 c 3 1
2 1 c1
2 3 2
2 1 c 2
1 3 3
2 1 c3
0
11
0 0
1 2 3
3 3 1 3 2 3 3
3 0 2 3 c 0 3 2 c1
2
3 2 c 2
1
3 2 c3
0
35
0 1 2 3
or in matrix form:
1 0 0 0 c0 5
0 0 0 1 c 3
1
1 6 12 8 c2 11
8 36 54 27 c3 35
etc.
Spline functions have also many attractive features. The All polynomials and spline functions can be used to define 3-
following ones are very important for geometric modelling: dimensional curves and surfaces.