Введение
Чувствительность функции к изменению аргумента
In numerical analysis, the condition number of a function measures how much the output value of the function can change for a small change in the input argument. This is used to measure how sensitive a function is to changes or errors in the input, and how much error in the output results from an error in the input. Very frequently, one is solving the inverse problem: given one is solving for x, and thus the condition number of the (local) inverse must be used. The condition number is derived from the theory of propagation of uncertainty, and is formally defined as the value of the asymptotic worst case relative change in output for a relative change in input. The "function" is the solution of a problem and the "arguments" are the data in the problem. The condition number is frequently applied to questions in linear algebra, in which case the derivative is straightforward but the error could be in many different directions, and is thus computed from the geometry of the matrix. More generally, condition numbers can be defined for non linear functions in several variables. A problem with a low condition number is said to be well conditioned, while a problem with a high condition number is said to be ill conditioned. In non mathematical terms, an ill conditioned problem is one where, for a small change in the inputs (the independent variables) there is a large change in the answer or dependent variable. This means that the correct solution/answer to the equation becomes hard to find. The condition number is a property of the problem. Paired with the problem are any number of algorithms that can be used to solve the problem, that is, to calculate the solution. Some algorithms have a property called backward stability; in general, a backward stable algorithm can be expected to accurately solve well conditioned problems. Numerical analysis textbooks give formulas for the condition numbers of problems and identify known backward stable algorithms. As a rule of thumb, if the condition number , then you may lose up to digits of accuracy on top of what would be lost to the numerical method due to loss of precision from arithmetic methods. However, the condition number does not give the exact value of the maximum inaccuracy that may occur in the algorithm. It generally just bounds it with an estimate (whose computed value depends on the choice of the norm to measure the inaccuracy).
В численном анализе число обусловленности функции измеряет, насколько может измениться выходное значение функции при небольшом изменении входного аргумента. Это используется для оценки чувствительности функции к изменениям или ошибкам во входных данных, а также для определения, насколько ошибка во входных данных повлияет на ошибку в выходных данных. Зачастую решается обратная задача: требуется найти x, и, следовательно, необходимо использовать число обусловленности (локальной) обратной задачи. Число обусловленности выводится из теории распространения неопределенностей и формально определяется как значение асимптотического наихудшего случая относительного изменения выходных данных при относительном изменении входных данных. Под "функцией" понимается решение задачи, а под "аргументами" – данные в задаче. Число обусловленности часто применяется к задачам линейной алгебры, где вычисление производной прямолинейно, но ошибка может иметь множество направлений, поэтому оно определяется на основе геометрии матрицы. В более общем случае числа обусловленности могут быть определены для нелинейных функций нескольких переменных. Задача с низким числом обусловленности считается хорошо обусловленной, а задача с высоким числом обусловленности – плохо обусловленной. Если говорить простым языком, плохо обусловленная задача – это задача, при которой небольшое изменение входных данных (независимых переменных) приводит к значительному изменению ответа (зависимой переменной). Это означает, что точное решение/ответ уравнения становится трудно найти. Число обусловленности является свойством самой задачи. Вместе с задачей используется множество алгоритмов для ее решения, то есть для вычисления решения. Некоторые алгоритмы обладают свойством, называемым обратной устойчивостью; как правило, от обратного устойчивого алгоритма можно ожидать точного решения хорошо обусловленных задач. Учебники по численному анализу приводят формулы для чисел обусловленности задач и идентифицируют известные обратные устойчивые алгоритмы. Как эмпирическое правило, если число обусловленности , то можно потерять до значащих цифр точности, помимо той, что теряется из-за численного метода в результате потери точности при арифметических операциях. Однако число обусловленности не дает точного значения максимальной возможной неточности в алгоритме. Оно обычно лишь ограничивает ее оценкой (значение которой зависит от выбора нормы для измерения неточности).
In numerical analysis, the condition number of a function measures how much the output value of the function can change for a small change in the input argument. This is used to measure how sensitive a function is to changes or errors in the input, and how much error in the output results from an error in the input. Very frequently, one is solving the inverse problem: given one is solving for x, and thus the condition number of the (local) inverse must be used. The condition number is derived from the theory of propagation of uncertainty, and is formally defined as the value of the asymptotic worst case relative change in output for a relative change in input. The "function" is the solution of a problem and the "arguments" are the data in the problem. The condition number is frequently applied to questions in linear algebra, in which case the derivative is straightforward but the error could be in many different directions, and is thus computed from the geometry of the matrix. More generally, condition numbers can be defined for non linear functions in several variables. A problem with a low condition number is said to be well conditioned, while a problem with a high condition number is said to be ill conditioned. In non mathematical terms, an ill conditioned problem is one where, for a small change in the inputs (the independent variables) there is a large change in the answer or dependent variable. This means that the correct solution/answer to the equation becomes hard to find. The condition number is a property of the problem. Paired with the problem are any number of algorithms that can be used to solve the problem, that is, to calculate the solution. Some algorithms have a property called backward stability; in general, a backward stable algorithm can be expected to accurately solve well conditioned problems. Numerical analysis textbooks give formulas for the condition numbers of problems and identify known backward stable algorithms. As a rule of thumb, if the condition number , then you may lose up to digits of accuracy on top of what would be lost to the numerical method due to loss of precision from arithmetic methods. However, the condition number does not give the exact value of the maximum inaccuracy that may occur in the algorithm. It generally just bounds it with an estimate (whose computed value depends on the choice of the norm to measure the inaccuracy).
Нелинейный
Числа обусловленности также могут быть определены для нелинейных функций и вычислены с использованием математического анализа. Число обусловленности меняется в зависимости от точки; в некоторых случаях можно использовать максимальное (или супремум) число обусловленности по области определения функции или области рассматриваемой задачи в качестве общего числа обусловленности, а в других случаях число обусловленности в конкретной точке представляет больший интерес.