Generating Pythagorean Triples: Core practice
10 practice problems for this lesson. Work on paper, use hints when you need them, and check the answer or the full solution when you are ready.
Difficulty: Advanced (beyond the core course) Advanced. This problem set goes beyond core Geometry. You can skip it.
0 of 10 done · 0 skipped · 0 to revisit
Progress saved in this browser.
Progress can't be saved in this browser, so your choices last for this visit only.
-
Problem 1 Three outputs from two inputs
Use the parameter pair to generate a Pythagorean triple.
Identify the hypotenuse and explain why the triple is primitive.
- Hint 1
The square sum gives the longest length.
- Hint 2
Check both the GCF and the parity of the input pair.
Answer
The triple is with hypotenuse . It is primitive because and are coprime and have opposite parity.
Full solution
Compute the difference of the squares to find one leg.
Double the product for the other leg.
Add the squares to find the hypotenuse.
The prime has no common factor greater than with , and one parameter is odd while the other is even.
The triple is primitive.
Answer
The triple is with hypotenuse . It is primitive because and are coprime and have opposite parity.
Key idea
The square sum is the hypotenuse, while both input tests determine primitivity.
- Hint 1
-
Problem 2 The smallest integer copy
The right triangle shown has side lengths , , and units.
Find the primitive triple and the integer scale factor from the primitive triangle to the given one.
The drawing shows the lengths before you reduce the triple. Text description of this figure
The right triangle has a horizontal leg labeled 420, a vertical leg labeled 352, and a hypotenuse labeled 548.
- Hint 1
Look for one factor that divides every label.
- Hint 2
After dividing, verify that the three quotients have no common factor greater than one.
Answer
The primitive triple is . The scale factor to the given triangle is .
Full solution
All three lengths are divisible by .
The prime factors of are and .
Neither divides , so no prime divides all three quotients.
The quotient has GCF , so the divisor was the full GCF of the original lengths and the scale factor is .
Answer
The primitive triple is . The scale factor to the given triangle is .
Key idea
Confirm that the quotient is primitive before calling a common factor the full scale factor.
- Hint 1
-
Problem 3 Two ways to get a scaled output
For each case, state which primitive condition fails, find the GCF of the outputs, and give the primitive triple. The parameters are positive with .
Case A uses the parameter pair .
Case B uses the parameter pair .
- Hint 1
Check parity and common factors separately for each input pair.
- Hint 2
In Case B, remove the common factor from the inputs before using the three formulas.
- Hint 3
In Case A, the sum of two odd squares can be divided by two but not by four.
Answer
Case A fails opposite parity, has GCF , and reduces to . Case B fails coprimality, has GCF , and reduces to . Either order of the legs is valid.
Full solution
Case A.
The parameters are coprime but both odd, and the outputs are .
The square sum is even and has no factor of .
No odd prime can divide all Case A outputs because it would have to divide both parameter squares.
The GCF is , so division gives .
Case B.
The parameters have opposite parity but share GCF .
Dividing them by gives , which is coprime and of opposite parity.
The Case B outputs from are and have GCF .
Each entry generated by the original pair is nine times the corresponding entry, so the original GCF is .
Answer
Case A fails opposite parity, has GCF , and reduces to . Case B fails coprimality, has GCF , and reduces to . Either order of the legs is valid.
Key idea
A shared parameter factor enters the outputs squared, while same parity supplies a common factor of two.
- Hint 1
-
Problem 4 Which leg goes into the half-difference?
The primitive right triangle shown has legs and units and hypotenuse units.
Recover the positive parameters . Verify the given even leg using your parameters.
The horizontal leg is shorter in this triangle. Text description of this figure
The right triangle has a horizontal leg labeled 105, a vertical leg labeled 208, and a hypotenuse labeled 233.
- Hint 1
Use parity to select the leg that pairs with the hypotenuse.
- Hint 2
The half-sum and half-difference are the parameter squares. Take their positive roots before checking the product.
Answer
The parameters are . The doubled product is , the given even leg.
Full solution
Use the odd leg and the hypotenuse .
The sum gives the larger square.
The difference gives the smaller square.
Taking positive roots gives
The doubled product gives the even leg.
Answer
The parameters are . The doubled product is , the given even leg.
Key idea
The odd leg goes into the two half-operations regardless of which leg is longer.
- Hint 1
-
Problem 5 Build the largest copy with a fixed stock
A model right-triangle frame has side lengths , , and cm. A shop will make a larger frame by multiplying each of the three model lengths by the same integer greater than one.
The shop has cm of stock, and cutting wastes no material. Find the greatest allowable scale factor, the three frame lengths, and the unused stock.
Every side of the model gets multiplied by the same integer. Text description of this figure
The right triangle has a horizontal leg labeled 187 cm, a vertical leg labeled 84 cm, and a hypotenuse labeled 205 cm.
- Hint 1
The stock limit applies to the sum of all three lengths.
- Hint 2
Compare consecutive integer multiples of the model perimeter near the limit.
Answer
The greatest scale factor is . The frame lengths are , , and cm, and cm of stock remains.
Full solution
Add the three model lengths.
A scale factor of uses cm, and a scale factor of would use cm.
Larger factors only increase the perimeter.
Multiply each model length by to get , , and cm.
Subtract the stock used from the stock available.
Answer
The greatest scale factor is . The frame lengths are , , and cm, and cm of stock remains.
Key idea
The perimeter of an integer-scale copy grows by the same factor as its sides.
- Hint 1
-
Problem 6 An input from a short list
For Euclid's formulas, fix . The other parameter must be one of , , , or .
Select every choice that makes a primitive triple. Give the side lengths for each selected choice, and state why each rejected choice fails.
- Hint 1
The odd parameter needs an even partner for opposite parity.
- Hint 2
An even partner can still share one of the prime factors of .
Answer
Only works, producing . The input shares with , has the same parity as , and shares with .
Full solution
Choice is even and has no common prime factor with .
Its generated triple is primitive.
Compute the three outputs.
Choice is even but shares the prime with .
Choice is coprime to but both inputs are odd.
Choice is even but shares the prime with .
Answer
Only works, producing . The input shares with , has the same parity as , and shares with .
Key idea
An input pair must pass both tests before its output is primitive.
- Hint 1
-
Problem 7 Two measurements about the same sides
In a primitive right triangle, let be the odd leg and the hypotenuse. Their sum is , and their difference, longer minus shorter, is .
Find the parameters and all three side lengths.
- Hint 1
The two supplied numbers are twice the parameter squares.
- Hint 2
Take positive roots of the halved values and use all three generation formulas.
Answer
The parameters are . The odd leg is , the even leg is , and the hypotenuse is .
Full solution
Divide the larger supplied number by to get the larger parameter square.
Divide the smaller supplied number by to get the smaller parameter square.
Their positive roots give
The two square values determine the odd leg and hypotenuse, and the roots determine the even leg.
Substitute into the three formulas.
The doubled product labels the horizontal leg, and the square difference labels the vertical leg. Answer
The parameters are . The odd leg is , the even leg is , and the hypotenuse is .
Key idea
The sum and difference of the hypotenuse and odd leg determine both parameter squares.
- Hint 1
-
Problem 8 A square product with shared primes
A right triangle has integer side lengths , , and . Kai calculates two values from the hypotenuse and the odd leg.
The half-sum is .
The half-difference is .
Their product is . Kai concludes that each factor is a square because the product is a square.
Explain the gap in Kai's argument. Find the primitive triple, its two parameters, and the scale factor to the given triangle.
- Hint 1
For the separate factors to inherit paired primes, they need an additional property.
- Hint 2
Check what happens when you divide every original side by .
- Hint 3
Use the odd leg and hypotenuse of the reduced triangle.
Answer
The factors share , so the square product does not force each factor to be square. The primitive triple is , its parameters are , and the scale factor is .
Full solution
The prime factorizations are
The copies of pair up in the product because the exponents add to six.
Neither factor has an even exponent of on its own.
Divide all three sides by to get .
The prime factors of are and , neither of which divides .
The quotient is primitive and is the full GCF.
Find the half-sum and half-difference using the new hypotenuse and odd leg.
Their positive roots give
Answer
The factors share , so the square product does not force each factor to be square. The primitive triple is , its parameters are , and the scale factor is .
Key idea
Remove the full scale factor before using the argument about coprime factors of a square.
- Hint 1
-
Problem 9 A whole family from neighboring integers
Take any positive integer and use in Euclid's formulas.
Prove that the output is primitive. Show that its hypotenuse is one unit longer than its even leg, and give an expression for its odd leg in terms of .
- Hint 1
What would a shared divisor of two consecutive integers have to divide?
- Hint 2
To compare the hypotenuse and even leg, subtract their formulas and look for a binomial square.
- Hint 3
The odd leg uses the difference of the two parameter squares.
Answer
The output is primitive, its hypotenuse exceeds its even leg by , and its odd leg is .
Full solution
A shared divisor of and must divide their difference, which is .
The inputs are coprime.
They are consecutive, so exactly one is even.
The two primitive conditions therefore hold for every positive integer .
Subtract the even-leg expression from the hypotenuse expression.
For the odd leg, factor the difference of squares.
Answer
The output is primitive, its hypotenuse exceeds its even leg by , and its odd leg is .
Key idea
Consecutive parameters make the square of their difference exactly one.
- Hint 1
-
Problem 10 Prove that the recovery always works
Let a primitive right triangle have positive integer sides and hypotenuse .
Part A. Prove that exactly one leg is even and that is odd. Call the odd leg and the even leg .
Part B. Let and be the half-sum and half-difference of and , respectively. Prove they are positive coprime integers whose product is a square.
Part C. Explain why and must each be a square, and show how their positive roots give all three side lengths. Justify coprimality and opposite parity of the roots.
- Hint 1
For Part A, compare the remainders of even and odd squares after dividing by four.
- Hint 2
For Part B, a prime shared by the two half-values would divide their sum and difference.
- Hint 3
For Part C, count how often each prime occurs in the product and in the one factor where it appears.
Answer
Part A gives one even leg and an odd hypotenuse. Part B gives positive coprime integers with product . Part C gives coprime roots of opposite parity with
Full solution
Part A.
Two even legs force an even hypotenuse and a shared factor of .
Two odd legs make the sum of their squares leave remainder on division by , whereas squares leave or .
One leg is therefore odd and one is even.
Their square sum is odd, so the hypotenuse is odd.
Part B.
The lengths and are both odd and , so and are positive integers with .
Their product is
A prime shared by and would divide their sum and their difference .
It would then divide and therefore , which is impossible for a primitive triple.
Part C.
In the square product every prime occurs an even number of times.
Since each prime occurs in just one factor, its exponent in that factor is even.
The factors are squares.
Let and be the positive roots of and .
They satisfy , share no prime factors, and have opposite parity because their squares add to the odd hypotenuse.
Recover the lengths from the difference, positive square root of the product, and sum.
Answer
Part A gives one even leg and an odd hypotenuse. Part B gives positive coprime integers with product . Part C gives coprime roots of opposite parity with
Key idea
Coprimality is what lets the square product split into two square factors.
- Hint 1