Q. \(a^2 + b^2 = c^2\).

Answer

General integer solutions (Pythagorean triples). For integers m>n>0, gcd(m,n)=1 and m,n not both odd, and any integer k>0, \[ a = k(m^2-n^2),\qquad b = k(2mn),\qquad c = k(m^2+n^2). \] Quick verification: \[ a^2+b^2 = k^2\big((m^2-n^2)^2+(2mn)^2\big) = k^2(m^4+2m^2n^2+n^4)=k^2(m^2+n^2)^2=c^2. \]

Detailed Explanation

Solution and detailed explanation

We are given the Diophantine equation

\(a^2 + b^2 = c^2\).

We will derive the complete family of integer solutions (the Pythagorean triples) and give conditions for primitive triples. The argument proceeds by converting the equation to a rational point on the unit circle and parameterizing those rational points. The derivation is given step by step with full explanations.

  1. Normalize by c (divide both sides by c^2).

    Assume c is nonzero. Define the ratios \(x = \dfrac{a}{c}\) and \(y = \dfrac{b}{c}\). Then the equation becomes

    \(x^2 + y^2 = 1\).

    We are now looking for rational points \((x,y)\) on the unit circle, because if \(a,b,c\) are integers then \(x,y\) are rational numbers.

  2. Parameterize rational points on the unit circle using a rational slope.

    Take a fixed rational parameter \(t\). Consider the line through the point \((-1,0)\) on the unit circle with slope \(t\). The equation of that line is

    \(y = t(x + 1)\).

    Intersect this line with the circle \(x^2 + y^2 = 1\). Substitute \(y\) from the line into the circle:

    \(x^2 + t^2(x + 1)^2 = 1\).

    Expand and collect terms:

    \((1 + t^2)x^2 + 2t^2 x + (t^2 – 1) = 0\).

    One root of this quadratic is \(x = -1\) (the known intersection), so factor to find the other root. Solving yields the other intersection

    \(x = \dfrac{1 – t^2}{1 + t^2}\),

    and then

    \(y = \dfrac{2t}{1 + t^2}\).

    Thus every rational slope \(t\) produces a rational point on the unit circle. Conversely, every rational point except \((-1,0)\) arises this way for some rational \(t\).

  3. Return to integer variables.

    Let the rational parameter \(t\) be expressed as a fraction of integers, \(t = \dfrac{n}{m}\), where \(m\) and \(n\) are integers with \(m \neq 0\). Substitute into the parameterization formulas and clear denominators by multiplying numerator and denominator by \(m^2\):

    \(x = \dfrac{m^2 – n^2}{m^2 + n^2}\),

    \(y = \dfrac{2mn}{m^2 + n^2}\).

    Recall \(x = \dfrac{a}{c}\) and \(y = \dfrac{b}{c}\). Thus one can take

    \(\displaystyle a = k(m^2 – n^2),\)

    \(\displaystyle b = k(2mn),\)

    \(\displaystyle c = k(m^2 + n^2),\)

    for some positive integer scaling factor \(k\). Substituting these into \(a^2 + b^2 = c^2\) verifies the identity because

    \((m^2 – n^2)^2 + (2mn)^2 = (m^2 + n^2)^2.\)

  4. Check the algebraic identity (verification).

    Compute the left-hand side:

    \((m^2 – n^2)^2 + (2mn)^2 = m^4 – 2m^2n^2 + n^4 + 4m^2n^2 = m^4 + 2m^2n^2 + n^4 = (m^2 + n^2)^2.\)

    Multiplying each of \(a,b,c\) by the same integer \(k\) preserves the equation, so the formulas with factor \(k\) produce all integer solutions up to ordering of \(a\) and \(b\).

  5. Primitive triples and parity/coprimality conditions.

    An integer triple \((a,b,c)\) is primitive if gcd(a,b,c) = 1. The parameterization above produces a primitive triple when one chooses integers \(m,n\) satisfying the following conditions:

    • m and n are coprime, gcd(m,n) = 1,
    • m and n have opposite parity: one is even and the other is odd,
    • m > n > 0.

    Under these conditions and taking k = 1, the triple

    \((a,b,c) = (m^2 – n^2,\; 2mn,\; m^2 + n^2)\)

    is a primitive Pythagorean triple. If the parity condition is not satisfied or m and n are not coprime, the triple may be non-primitive; in that case choose k > 1 or reduce by the common divisor.

  6. Summary: the full family of integer solutions.

    All integer solutions to \(a^2 + b^2 = c^2\) are given, up to swapping a and b and up to an overall sign, by the formulas

    \(\displaystyle a = k\,(m^2 – n^2),\)

    \(\displaystyle b = k\,(2mn),\)

    \(\displaystyle c = k\,(m^2 + n^2),\)

    where \(m\) and \(n\) are positive integers with \(m > n\), \(k\) is a positive integer, and for primitive triples one additionally requires gcd(m,n) = 1 and that m and n have opposite parity.

This completes the step-by-step derivation and explanation of all integer solutions to a square plus b square equals c square.

See full solution

Graph

image
Master all homework with Edubrain AI
Home Work Help

FAQs

What does the equation \(a^2 + b^2 = c^2\) mean?

It is the Pythagorean theorem: in a right triangle, the squares of the two legs \(a,b\) sum to the square of the hypotenuse \(c\).

How do I find the hypotenuse?

Compute \(c = \sqrt{a^2 + b^2}\). Use a calculator or simplify radicals if exact form is required.

How do I find a missing leg?

If \(c\) and one leg \(b\) are known, \(a = \sqrt{c^2 - b^2}\). Valid only when \(c > b\).

When is the formula applicable?

Only for right triangles (legs perpendicular). For non-right triangles use the law of cosines.

How can I tell if three numbers form a right triangle?

Sort them so largest is \(c\). They form a Pythagorean triple iff \(a^2 + b^2 = c^2\).

What are common Pythagorean triples?

What are common Pythagorean triples?

How do I generate all primitive triples?

Euclid's formula: for integers \(m > n > 0\) with \(\gcd(m,n)=1\) and opposite parity, set \(a=m^2-n^2\), \(b=2mn\), \(c=m^2+n^2\).

How is this used in coordinate geometry?

Distance between points \((x_1,y_1)\) and \((x_2,y_2)\) is \(\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}\), derived from \(a^2+b^2=c^2\).
Find integer triples with ease here.
Try the three handy tools below.
image
185,791+ happy customers
Math, Calculus, Geometry, etc.
top
Upgrade to Edubrain Premium
Unlimited help across all subjects
$16
$3.99
/week
Core benefits:
  • ok Unlimited AI homework help
  • ok A+ quality answers
  • ok Faster responses, no limits
Tools:
  • ok Notes generator
  • ok Diagram generator
  • ok AI detector and humanizer
Extras:
  • ok Ad-free experience
  • ok Share responses with others
  • ok Advanced reasoning
expert
Expert-level help at discounted prices
Cancel anytime
Star
4.6Trusted by 14,623 students
🚀 Upgrade Plan
You’ve reached the free limit of 5 slides.
To generate a full presentation, please subscribe.
Unlock with subscription:
  • ok Unlimited slide generation for presentations
  • ok AI-designed, well-structured slide content
  • ok Faster workflow for bigger decks
-
Plus, get unlimited access to:
  • ok Diagram Generator, Flashcard Maker, Notes Generator, Research Assistant, Answer Generator, AI Homework Helper & AI Detector
  • ok Discounted designer expert help
Star
4.6Trusted by 14,623 students