Numerical Methods: Newton-Raphson & Bisection Method
The questions students search most about numerical methods, answered in two or three lines each.
Numerical methods
What are numerical methods?
Numerical methods find approximate answers to problems that are hard to solve exactly, such as roots of equations and definite integrals. They repeat a simple step until the answer is accurate enough.
Root finding
What is the bisection method?
If f(a) and f(b) have opposite signs, a root lies between them. Take the midpoint c = (a + b)/2, keep the half where the sign changes, and repeat; it is slow but always converges.
What is the Newton-Raphson formula?
xₙ₊₁ = xₙ − f(xₙ)/f′(xₙ). It converges very fast near a root but can fail if f′(x) is close to zero.
Numerical integration
What is the trapezoidal rule?
∫ₐᵇ f(x)dx ≈ (h/2)[y₀ + 2(y₁ + y₂ + … + yₙ₋₁) + yₙ], where h is the strip width. Simpson's rule uses parabolas and is usually more accurate.