|
General Question
|
A general question for rational function models is:
I have data to which I wish to fit a rational function
to. What degrees n and m should I use for
the numerator and denominator, respectively?
|
|
Four Questions
|
To answer the above broad question, the following four
specific questions need to be answered.
- What value should the function have at x =
?
Specifically, is the value zero, a constant, or
plus or minus infinity?
- What slope should the function have at x =
?
Specifically, is the derivative of the function
zero, a constant, or plus or minus infinity?
- How many times should the function equal
zero (i.e., f (x) = 0) for finite x?
- How many times should the slope equal zero
(i.e., f '(x) = 0) for finite x?
These questions are answered by the analyst by inspection
of the data and by theoretical considerations of the
phenomenon under study.
Each of these questions is addressed separately below.
|
Question 1: What Value Should the Function Have at x =
?
|
Given the rational function
or
then asymptotically
From this it follows that
Conversely, if the fitted function f(x) is such that
|
Question 2: What Slope Should the Function Have at x =
?
|
The slope is determined by the derivative of a function.
The derivative of a rational function is
with
Asymptotically
From this it follows that
Conversely, if the fitted function f(x) is such that
|
Question 3: How Many Times Should the Function Equal
Zero for Finite ?
|
For fintite x, R(x) = 0 only when the
numerator polynomial, Pn, equals zero.
The numerator polynomial, and thus R(x) as well,
can have between zero and n real roots. Thus, for a
given n, the number of real roots of R(x)
is less than or equal to n.
Conversely, if the fitted function f(x) is such
that, for finite x, the number of times f(x)
= 0 is k3, then n is greater than or
equal to k3.
|
Question 4: How Many Times Should the Slope Equal
Zero for Finite ?
|
The derivative function, R'(x), of the rational
function will equal zero when the numerator polynomial equals
zero. The number of real roots of a polynomial is between
zero and the degree of the polynomial.
For n not equal to m, the numerator polynomial of
R'(x) has order n+m-1. For n
equal to m, the numerator polynomial of R'(x)
has order n+m-2.
From this it follows that
- if n
m, the number of real roots of R'(x),
k4,
n+m-1.
- if n = m, the number of real roots of
R'(x), k4, is
n+m-2.
Conversely, if the fitted function f(x) is such
that, for finite x and n
m, the
number of times f'(x) = 0 is k4,
then n+m-1 is
k4. Similarly, if the fitted function
f(x) is such that, for finite x and
n = m, the number of times f'(x) = 0
is k4, then n+m-2
k4.
|
|
Tables for Determining Admissible Combinations of m and n
|
In summary, we can determine the admissible combinations of
n and m by using the following four tables to
generate an n versus m graph. Choose the simplest
(n,m) combination for the degrees of the intial
rational function model.
1. Desired value of
f( )
|
Relation of n to m
|
0
constant
|
n < m
n = m
n > m
|
2. Desired value of
f'( )
|
Relation of n to m
|
0
constant
|
n < m + 1
n = m +1
n > m + 1
|
|
3. For finite x, desired number,
k3, of times f(x) = 0
|
Relation of n to k3
|
|
k3
|
n
k3
|
|
4. For finite x, desired number,
k4, of times f'(x) = 0
|
Relation of n to k4 and m
|
k4 (n
m)
k4 (n = m)
|
n (1 + k4) - m
n (2 + k4) - m
|
|
|
Examples for Determing m and n
|
The goal is to go from a sample data set to a specific rational
function. The graphs below summarize some common shapes that
rational functions can have and shows the admissible values and
the simplest case for n and m. We typically
start with the simplest case. If the model validation
indicates an inadequate model, we then try other rational
functions in the admissible region.
|
|
Shape 1
|
|
|
Shape 2
|
|
|
Shape 3
|
|
|
Shape 4
|
|
|
Shape 5
|
|
|
Shape 6
|
|
|
Shape 7
|
|
|
Shape 8
|
|
|
Shape 9
|
|
|
Shape 10
|
|