What would you like to understand?

Popular destinationsCalculatorsCoursesPracticeFormulas

Unlock Premium Help

Explore every tutor and study workspace for seven days, with no daily AI cap during the trial.

Choose a billing period
Ask a parent to pay

Nothing is charged during the first seven days. Unless you cancel, the plan you selected begins when the trial ends and renews on its stated schedule. Manage cancellation from your plan page. Stripe handles the payment details.

University mathematics

Free Numerical Methods Course: Learn Every Unit

A 7-stage path beginning with Floating-point error and ending with ODE solvers, with recall checks between major ideas.

Question, model, interpret, and challenge the evidence

Short cycles create evidence that the idea is becoming usable rather than merely familiar.

Question

Name the population, variable, and decision the analysis must support.

Model

Check how the data and assumptions permit the chosen method.

Interpret

Return every numerical result to its units and context.

Challenge

Inspect uncertainty, alternatives, and conclusions the evidence cannot support.

Follow the investigation from data to conclusion

Later conclusions depend on how the question, data, assumptions, and model were established earlier.

Questions, models, and interpretations by unit

Each unit names the actual skills, demonstrates one complete case, and identifies the mistake most likely to change the result.

Floating-point error

You can explain why a computer's answer differs from the exact one and estimate how big the gap is. You can also rewrite a formula to dodge a dangerous subtraction.

Decisions to interpret

  • Compute both absolute and relative error for a rounded value.
  • Spot catastrophic cancellation when two nearly equal numbers are subtracted.
  • Rewrite the quadratic formula to keep the small root accurate.

Worked example: True value 2.71828, computed value 2.718. Find the relative error.

  1. Absolute error = 0.00028
  2. Divide by the true value: 0.00028 / 2.71828
  3. About 0.0103%

Interpretation risk: Quoting the absolute error 0.00028 as if it were the relative error: the same gap is negligible near 2.7 and enormous near 0.001.

Root finding

You can locate where a function crosses zero using bisection, Newton's method or the secant method. You can also say how fast each one closes in.

Decisions to interpret

  • Bracket a root by finding a sign change between two points.
  • Take one Newton step from a starting guess.
  • Explain why Newton's method stalls where the derivative is near zero.

Worked example: One Newton step on f(x) = x squared - 2, starting at 1.5

  1. f(1.5) = 0.25 and f'(1.5) = 3
  2. x1 = 1.5 - 0.25/3
  3. About 1.41667, against a true root of 1.41421

Interpretation risk: Adding the correction rather than subtracting it: 1.5 + 0.0833 = 1.5833 moves away from the root instead of toward it.

Interpolation

You can build a curve that passes exactly through given points and use it to fill in gaps. You can also explain why a high-degree fit wiggles badly at the edges.

Decisions to interpret

  • Interpolate linearly between two table entries.
  • Write a Lagrange polynomial through three points.
  • Prefer splines when a high-degree polynomial starts oscillating.

Worked example: f(2) = 5 and f(6) = 13. Estimate f(3.5) by linear interpolation.

  1. Slope = (13 - 5)/(6 - 2) = 2
  2. f(3.5) is about 5 + 2(3.5 - 2)
  3. 8

Interpretation risk: Averaging the two endpoint values: reporting (5 + 13)/2 = 9, which is the estimate at x = 4, not at x = 3.5.

Numerical differentiation

You can estimate a derivative from data points and pick a step size that balances two competing errors. You can also explain why an extremely small step makes things worse.

Decisions to interpret

  • Use the central difference formula with a step h.
  • Compare the accuracy of forward and central differences.
  • Explain why rounding error grows as the step shrinks.

Worked example: Estimate the derivative of x squared at x = 3 by central difference with h = 0.1

  1. (f(3.1) - F(2.9)) / 0.2 = (9.61 - 8.41)/0.2
  2. 1.20 / 0.2
  3. 6.0, which is exactly right here

Interpretation risk: Dividing by h rather than 2h in the central formula: reporting 12, exactly double the true derivative of 6.

Numerical integration

You can approximate an integral with the trapezoid rule or Simpson's rule and put a bound on the error. You can also decide how many slices you actually need.

Decisions to interpret

  • Apply the trapezoid rule with a small number of subintervals.
  • Use Simpson's rule, which needs an even number of subintervals.
  • Estimate the error from the error-bound formula.

Worked example: Trapezoid rule for the integral of x squared from 0 to 2, with 2 slices

  1. (h/2)[f(0) + 2f(1) + f(2)] with h = 1
  2. (1/2)[0 + 2 + 4]
  3. 3, against an exact value of about 2.667

Interpretation risk: Forgetting to double the interior value: computing (1/2)[0 + 1 + 4] = 2.5, which lands below the exact answer instead of above it.

Linear systems

You can solve large systems with LU factorization or iteration and tell when a system is fragile. You can also use pivoting to keep rounding errors small.

Decisions to interpret

  • Use partial pivoting to avoid dividing by a tiny pivot.
  • Factor a matrix into L and U so many right-hand sides reuse the work.
  • Read a large condition number as a warning about accuracy.

Worked example: Solve 0.0001x + y = 1 and x + y = 2 with pivoting

  1. Swap the rows so the pivot is 1 rather than 0.0001
  2. From x + y = 2 and the other row: 0.9999y = 0.9998
  3. y is about 0.9999 and x is about 1.0001

Interpretation risk: Keeping 0.0001 as the pivot: the multiplier of 10,000 blows up rounding error and can return x = 0 in low precision.

ODE solvers

You can step a differential equation forward in time with Euler or Runge-Kutta and control the error. You can also recognise a stiff problem that forces tiny steps.

Decisions to interpret

  • Take one Euler step with a step size of 0.1.
  • Compare Euler's first-order error with the fourth-order error of RK4.
  • Spot instability when the numeric solution blows up as steps get larger.

Worked example: y' = y with y(0) = 1. Take one Euler step with h = 0.1.

  1. y1 = y0 + h times f(t0, y0)
  2. y1 = 1 + 0.1(1)
  3. 1.1, against a true value of about 1.1052

Interpretation risk: Using the new value inside the same step: computing 1 + 0.1(1.1) = 1.11 is the implicit method, not the explicit Euler step that was asked for.

Questions about studying Numerical Methods

Where should I begin in this course?

Start with the earliest unit whose definitions or notation you cannot explain from memory. Later units often depend on that foundation even when the current assignment looks different.

When should I move to the next unit?

Move on after you can choose the method on a changed problem, complete it without copying a model, and check the answer independently.

How should I use the practice workspace?

Begin without a hint, record the first uncertain decision, repair only that connection, and then answer a fresh question to test whether the repair transferred.