MathematicsNumber Theory

Fermat's Last Theorem

aⁿ + bⁿ ≠ cⁿ (n>2)

Fermat's Last Theorem is one of the core results of number theory in mathematics. No positive integers satisfy the equation for any integer exponent greater than two. Written as aⁿ + bⁿ ≠ cⁿ (n>2), it connects the quantities involved so tightly that knowing all but one of them is enough to determine the missing value exactly. That is what makes it useful far beyond the classroom: the same equation appears in exercises, in laboratory work and in professional calculations, only with different names for the symbols.

Key points

  • No positive integers satisfy the equation for any integer exponent greater than two.
  • It belongs to Number Theory within Mathematics, so the assumptions of that area — the conditions under which the quantities are defined — have to hold before the formula may be used.
  • The relationship is stated as aⁿ + bⁿ ≠ cⁿ (n>2); each symbol carries its own unit, and the equation is only correct when the units on both sides match.
  • Because the formula is an equality, it can be rearranged to find any of its symbols, not just the one written on the left.

Worked examples

Reading the formula

Start by naming every symbol in aⁿ + bⁿ ≠ cⁿ (n>2). The left-hand side, aⁿ + bⁿ, is the quantity you are usually asked for; the right-hand side, cⁿ (n = 2), lists everything that has to be known or measured first. Writing the units next to each symbol is the fastest way to catch a mistake before doing any arithmetic.

Solving for a hidden quantity

Most exercises give you all but one of the symbols. Rearrange aⁿ + bⁿ ≠ cⁿ (n>2) so that the unknown stands alone, substitute the known values with their units, and only then evaluate. In mathematics problems the rearrangement is worth more marks than the final number.

Sanity-checking a result

After computing a value, test an extreme case: make one input very small or very large and check that aⁿ + bⁿ moves in the direction the relationship predicts. No positive integers satisfy the equation for any integer exponent greater than two. If the trend disagrees with that statement, the arithmetic or the rearrangement is wrong.

Applications

Engineering

Design calculations lean on this result whenever the underlying quantities have to be related exactly rather than estimated.

Computer science

Algorithms encode this relationship directly, from geometry libraries to numerical solvers.

Data analysis

Models and estimators are built on results like this to keep their conclusions provably valid.

Education

It is a standard exam topic and a common building block for later proofs.

Ask Teacher Smith questions about this formulaOpens your AI tutor with a question about “Fermat's Last Theorem” →

Common mistakes

  • Substituting numbers before rearranging the equation — rearrange first, then substitute, so the algebra stays visible and checkable.
  • Mixing unit systems: convert every quantity into one consistent system before evaluating.
  • Applying Fermat's Last Theorem outside the conditions it assumes, which produces a plausible-looking but meaningless number.
  • Rounding intermediate steps: keep full precision until the final answer, then round once.

20-minute study plan

  1. 1Minute 1–3: write aⁿ + bⁿ ≠ cⁿ (n>2) from memory and label every symbol with its meaning and unit.
  2. 2Minute 4–8: read the explanation above and restate Fermat's Last Theorem in one sentence of your own words.
  3. 3Minute 9–14: work through the three examples with a pen, covering the solution before you read it.
  4. 4Minute 15–18: rearrange the formula for each of its symbols in turn.
  5. 5Minute 19–20: name one real situation in mathematics where the relationship would be used, and explain why.

Frequently asked questions

What does Fermat's Last Theorem state?

No positive integers satisfy the equation for any integer exponent greater than two. In compact form it is written aⁿ + bⁿ ≠ cⁿ (n>2).

When can I use Fermat's Last Theorem?

Whenever the situation satisfies the assumptions of number theory that the derivation relies on. Outside those conditions a more general result — or a corrected version of this one — is needed.

How do I remember it?

Memorise the structure rather than the letters: notice which quantities appear in the numerator, which in the denominator, and which are squared. Then re-derive a simple special case from scratch; after two or three repetitions the formula stops needing memorisation.

Where does Fermat's Last Theorem fit into Mathematics?

It is one of the standard results of Number Theory, and it is used both directly in calculations and indirectly as a step inside longer derivations in mathematics.

Related formulas