Skip to content
AllCalcHub

Mathematical Induction Calculator

Prove a sum formula by mathematical induction: the base case, the inductive step S(k) + T(k + 1) = S(k + 1) simplified exactly, and the first counterexample if the claim is false.

About the Mathematical Induction Calculator

To prove a statement P(n) for every n ≥ n₀, show P(n₀) is true (the base case), then show that P(k) true implies P(k + 1) true (the inductive step). For a sum formula, the step is S(k) + T(k + 1) = S(k + 1).

When the term and the formula are polynomials or fractions of polynomials, AllCalcHub checks the step as an exact identity, which is a complete proof.

The formula

P(n₀) and [P(k) ⇒ P(k + 1)] ⇒ P(n) for all n ≥ n₀

Worked example

Σk² = n(n + 1)(2n + 1)/6

  1. n = 1: 1 = 1·2·3/6 ✓
  2. k(k + 1)(2k + 1)/6 + (k + 1)² = (k + 1)(k + 2)(2k + 3)/6 ✓

Things to keep in mind

  • Divisibility statements (like 6 | 7ⁿ − 1) and inequalities aren't handled; for powers the formula is checked for 30 values rather than proved.

Questions people ask

Why isn't checking many values a proof?

A formula can work for the first million n and then fail. Induction covers every n with two finite checks.

What is strong induction?

Assuming P(n₀), …, P(k) all hold to prove P(k + 1). It is equivalent, and useful for recurrences.