Question: (a) Determine each of the absolute conditions of the linear map $f: \mathbb{R} \rightarrow \mathbb{R}:$
- $f(x) = |x|$
- $f(x) = \frac{\pi}{2}$
(b) Provide both an example of a well conditioned and an ill conditioned function evaluation (both the function $f$ and the argument $x$). Do not use any of the examples from (a).
My attempt: so although this seems really simple I'm unfortunately having trouble with exactly what to do. The given definition of absolute condition $\kappa_{abs}$ is the smallest number for which: $|f(x_0) - f(x)| \leq \kappa_{abs}|x_0 - x| + o(|x_0 - x|)$. However in the one example I have it seems that the last term with $o$ is ignored (I assume it is too small...). I was thinking that perhaps for (a) 2. I could write something like: $|f(x_0) - f(x)| = |\frac{\tilde{\pi}}{2} - \frac{\pi}{2}|= \frac{1}{2}|\tilde{\pi}-\pi| \Rightarrow \kappa_{abs} = \frac{1}{2}$ ? With 1. (a) I am don't know which sort of answer would be expected...
For (b) I am guessing it must be measured in terms of relative condition, right? Since it appears that the rule is condition(not specified which) greater than 1 is ill conditioned. I know that subtraction of almost equal numbers does not do well. I thought a way to guarantee that the function would always subtract two such numbers would to be to let $f(x) = x - \frac{99x}{100}$ using the formula for relative condition of subtraction($\kappa = \frac{|x|+|y|}{|x-y|}$) I would have $$\frac{|x| + |\frac{99x}{100}|}{|x| - |\frac{99x}{100}|} = 199 > 1$$ $\Rightarrow$ This function is ill-conditioned ? For the well conditioned function I have the theorem: for $x,y > 0$ $$\frac{|(x+y) - (\tilde{x} + \tilde{y})|}{|x+y|} \leq 1\epsilon \Rightarrow \kappa = 1$$ but I don't understand how to use that here since it seems self explanatory that a positive number divided by a larger positive number is less than 1. Can I simply substitue any positive number for $y$ and let my function be $f(x) = x^{2} +10$ ?
As if it weren't obvious I am very lost with this and any help, tips, advice, etc is as usual greatly appreciated!