Condition number: Difference between revisions

From Calculus
No edit summary
 
Line 24: Line 24:


<math>\left|\frac{x_0 \max \{ |f'_-(x_0)|,|f'_+(x_0)| \}}{f(x_0)}\right|</math>
<math>\left|\frac{x_0 \max \{ |f'_-(x_0)|,|f'_+(x_0)| \}}{f(x_0)}\right|</math>
==Some example functions==
{| class="sortable" border="1"
! Function <math>f</math> (in terms of input variable <math>x</math>) !! [[derivative]] <math>f'</math> !! [[relative logarithmic derivative]] <math>xf'(x)/f(x)</math> !! condition number (itself a function of <math>x</math>) !! limiting value as <math>x \to \infty</math>
|-
| [[power function]] <math>x^r</math> for some real number <math>r</math> (domain conditions apply) || <math>rx^{r-1}</math> || <math>r</math> || <math>|r|</math> (note that the condition number is in this case a ''constant'' function) || <math>|r|</math>
|-
| [[exponential function]] <math>e^x</math> || <math>e^x</math> || <math>x</math> || <math>|x|</math> || <math>\infty</math>
|-
| [[logarithm function]] <math>\ln x</math> (<math>x > 0</math>) || <math>1/x</math> || <math>1/ \ln x</math> || <math>1/|\ln x|</math> || 0
|-
| [[sine function]] <math>\sin x</math> || <math>\cos x</math> || <math>\frac{x \cos x}{\sin x}</math> || <math>\frac{|x \cos x|}{|\sin x|}</math> || undefined, fluctuates wildly
|}

Latest revision as of 15:13, 1 May 2014

Definition for a function of one variable

For an arbitrary function of one variable

The condition number for a function at a point in the interior of its domain, and where is a continuous function, can be defined formally as:

where denotes the absolute value.

For a differentiable function of one variable

Consider a function of one variable. The condition number of is defined as the absolute value of the relative logarithmic derivative of . Explicitly, the condition number of at a point in the domain of satisfying the conditions that the derivative exists, , and , simplifies to:

In cases where is continuous at and around , we may be able to compute the limit of this expression to obtain that condition number in cases where . Explicitly:

For a function with one-sided derivatives

For a function that is not differentiable but has one-sided derivatives and at a point , the condition number can be defined as:

Some example functions

Function (in terms of input variable ) derivative relative logarithmic derivative condition number (itself a function of ) limiting value as
power function for some real number (domain conditions apply) (note that the condition number is in this case a constant function)
exponential function
logarithm function () 0
sine function undefined, fluctuates wildly