Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Mathematics Foundations/8.5 Numerical Methods

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

8.5 Numerical Methods Numerical methods provide techniques for finding approximate solutions to equations when analytical methods are impractical or impossible. These methods are essential in science, engineering, and computational mathematics. 8.5.1 Root-Finding Methods Bisection Method The bisection method is a simple and robust technique based on the Intermediate Value Theorem. Algorithm: 1. Start with an interval where 2. Compute the midpoint 3. Evaluate 4. If or is sufficiently small, return 5. If , set ; otherwise, set 6. Repeat steps 2-5 until convergence Error Bound: After iterations, the error is bounded by Advantages: - Always converges if initial conditions are met - Simple to implement Disadvantages: - Slow convergence (linear) - Requires initial interval containing a root Newton-Raphson Method The Newton-Raphson method uses derivative information to achieve faster convergence. Algorithm: 1. Start with an initial guess 2. Compute 3. Repeat until convergence Convergence: If near the root and is sufficiently close, the method converges quadratically. Advantages: - Quadratic convergence when close to root - Often requires fewer iterations than bisection Disadvantages: - Requires computation of derivatives - May diverge if initial guess is poor - Fails when or is very small Secant Method The secant method approximates the derivative using finite differences. Algorithm: 1. Start with two initial guesses and 2. Compute 3. Repeat until convergence Convergence: The order of convergence is approximately (the golden ratio). Advantages: - Does not require derivatives - Faster convergence than bisection Disadvantages: - Slower than Newton's method - Requires two initial points - May diverge for poor initial guesses Fixed-Point Iteration Fixed-point iteration solves by iterating . Algorithm: 1. Rewrite as 2. Start with an initial guess 3. Compute 4. Repeat until convergence Convergence: Converges if in the neighborhood of the root. Advantages: - Simple implementation - Works well for certain types of equations Disadvantages: - Convergence depends on the choice of - Often slow (linear convergence) 8.5.2 Polynomial Equations Synthetic Division Synthetic division provides an efficient way to evaluate polynomials and perform division. For a polynomial and a value : 1. Write the coefficients: 2. Bring down 3. Multiply by and add to the next coefficient 4. Repeat step 3 until all coefficients are processed 5. The final row gives the coefficients of the quotient and the remainder Horner's Method Horner's method efficiently evaluates polynomials using nested multiplication. For : Algorithm: 1. Set 2. For : 3. Muller's Method Muller's method extends the secant method to use quadratic interpolation. Algorithm: 1. Start with three points 2. Fit a quadratic polynomial through these points 3. Find the closest root of the quadratic to 4. Replace the oldest point with the new approximation 5. Repeat until convergence Advantages: - Can find complex roots - Generally faster than bisection or secant methods Disadvantages: - More complex implementation - Requires three initial points 8.5.3 Systems of Equations Newton's Method for Systems Newton's method can be extended to systems of nonlinear equations. For a system : where is the Jacobian matrix of partial derivatives. Broyden's Method Broyden's method approximates the Jacobian to avoid computing derivatives at each step. where is an approximation to the Jacobian that is updated at each iteration. 8.5.4 Iterative Refinement Iterative refinement improves the accuracy of approximate solutions. Algorithm: 1. Find an approximate solution 2. Compute the residual 3. Solve for the correction 4. Update 5. Repeat until desired accuracy is achieved 8.5.5 Error Analysis Sources of Error 1. Truncation Error: Error from approximating an infinite process with a finite one 2. Round-off Error: Error from finite precision arithmetic 3. Propagation Error: Amplification of errors through calculations Error Estimation For iterative methods, error can be estimated by: 1. Absolute Error: 2. Relative Error: 3. Residual Error: 8.5.6 Convergence Acceleration Aitken's Delta-squared Method Aitken's method accelerates the convergence of slowly converging sequences. Steffensen's Method Steffensen's method combines fixed-point iteration with Aitken's acceleration. 8.5.7 Problems 1. Use the bisection method to find a root of in the interval with an error less than . 2. Apply Newton's method to find a root of starting with . Perform 4 iterations. 3. Use the secant method to find a root of starting with and . Compare with Newton's method. 4. Find all roots of using Muller's method. 5. Apply fixed-point iteration to solve with . Explain why the method converges. 6. Use Newton's method to solve the system: starting with . 7. Implement Horner's method to evaluate at . 8. Apply Aitken's acceleration to the sequence generated by the fixed-point iteration with , which converges to .