Numerical methods
Algorithms to approximate solutions when exact answers are impractical.
Edited by Alex C, EduAlx · Sources cited below
Explanation
Root finding: bisection, Newton–Raphson (x_{n+1} = x_n – f(x_n)/f′(x_n), quadratic convergence). Integration: trapezoidal and Simpson's rules. ODEs: Euler and Runge–Kutta (RK4). Linear systems: LU decomposition, Gauss–Seidel. Error and stability analysis decide reliability.
Example
Code
def newton(f, df, x, tol=1e-12):
for _ in range(50):
step = f(x)/df(x)
x -= step
if abs(step) < tol: break
return x
print(newton(lambda x: x*x-2, lambda x: 2*x, 1.0))
How it works, step by step
- Choose a method suited to the problem
- Pick a starting point or step size
- Iterate
- Estimate error and stop at tolerance
Open the interactive page with diagrams →
Numerical methods in exams
Numerical methods is part of Mathematics, which is tested in JEE Main, JEE Advanced, CUET-UG, CAT, SAT, ACT, GRE, GMAT. Practise it in the exam format:
- JEE Main sample questions with answers · JEE Main preparation strategy
- JEE Advanced sample questions with answers · JEE Advanced preparation strategy
- CUET-UG sample questions with answers · CUET-UG preparation strategy
- CAT sample questions with answers · CAT preparation strategy
- SAT sample questions with answers · SAT preparation strategy
- ACT sample questions with answers · ACT preparation strategy
- GRE sample questions with answers · GRE preparation strategy
- GMAT sample questions with answers · GMAT preparation strategy
People behind it
- Isaac Newton (1643–1727), Physics and mathematics, England: Formulated the laws of motion and universal gravitation, co-invented calculus and studied optics. Author of the Principia (1687).
- Joseph Raphson
- Thomas Simpson
- Carl Runge
- Martin Kutta
References
- R. L. Burden, J. D. Faires, Numerical Analysis, 10th ed., Cengage, 2016.
Textbooks
- Numerical Analysis, Richard L. Burden, J. Douglas Faires, Annette M. Burden (Cengage, 10th ed. 2016). Standard numerical methods text.
- Advanced Engineering Mathematics, Erwin Kreyszig (Wiley, 10th ed. 2011). Engineering maths reference.
Related topics
Optimisation: linear programmingGame theory and Nash equilibriumVector spaces and linear transformationsPartial differential equations: heat, wave and LaplaceSingular value decomposition and PCALaplace transformRandom variables and distributionsMultivariable calculus: partial derivatives and multiple integralsRegression and correlationTechniques of integration