Resources | Subject Notes | Mathematics
This section covers methods for finding numerical solutions to equations, particularly focusing on iterative techniques. These methods are essential when analytical solutions are difficult or impossible to obtain.
Many equations, especially those involving transcendental functions (like sin, cos, e^x), do not have closed-form algebraic solutions. Numerical methods provide approximate solutions.
The bisection method is a simple and robust method. It requires an initial interval [a, b] where f(a) and f(b) have opposite signs. The method repeatedly halves the interval, ensuring the root lies within the remaining subinterval.
Algorithm:
Example: Find the root of f(x) = x3 - 2 in [1, 2].
Iteration | a | b | c | f(a) | f(b) | f(c) |
---|---|---|---|---|---|---|
1 | 1 | 2 | 1.5 | -1 | 4 | 0.375 |
2 | 1 | 1.5 | 1.25 | -1 | 4 | 0.15625 |
3 | 1 | 1.25 | 1.125 | -1 | 4 | 0.0390625 |
The false position method is similar to the bisection method but uses a quadratic interpolation to estimate the root. It generally converges faster than the bisection method.
Formula for c:
$$c = \frac{a f(b) - b f(a)}{f(b) - f(a)}$$The Newton-Raphson method is a powerful iterative method that uses the derivative of the function. It generally converges very quickly, but it requires the derivative to be calculated and can be sensitive to the initial guess.
Formula:
$$x_{n+1} = x_n - \frac{f(x_n)}{f'(x_n)}$$Example: Find the root of f(x) = x2 - 2 in [1, 2]. f'(x) = 2x.
Iterative methods involve generating a sequence of approximations that converge to the solution. The convergence depends on the method and the function being solved.
Fixed-point iteration involves rewriting the equation f(x) = 0 in the form x = g(x) and then iterating xn+1 = g(xn). The convergence of this method depends on the derivative of g(x) at the fixed point.
Convergence Condition: |g'(x*)| < 1, where x* is the fixed point.
Successive approximations can be used to find square roots or other values. For example, to find the square root of a number S, we can use the formula: xn+1 = (xn + S/xn) / 2.
It's important to estimate the error in the approximate solution. Common methods include:
$$|e_n| \le \frac{|f(x_{n+1})|}{2}$$ (for Newton-Raphson)