How do you solve p2+(p+7)2=169?

2 Answers
Jun 20, 2016

p = 5 or 12

Explanation:

Expand (p+7)2

This expression becomes

p2+(p2+2×p×7+72)=169

2p2+14p120=0

Divide by 2 on both sides

p2+7p60=0

Now choose two numbers such that their sum is coefficient of p i.e. 7 and product is constant term i.e. 60.

Such numbers are 12 and 5

So,

p2+12p5p60=0

p(p+12)5(p+12)=0

(p5)(p+12)=0

So either p5=0 or p+12=0

Hence, p is either 5 or 12

Jun 20, 2016

p=5 or p=-12#

Explanation:

Given:

p2+(p+7)2=169


Method 1

Rearrange into standard polynomial form as follows:

169=p2+(p+7)2

=p2+p2+14p+49

=2p2+14p+49

Subtract 169 from both sides and transpose to get:

2p2+14p120=0

Divide both sides by 2 to get:

p2+7p60=0

To solve this, we can look for a pair of factors of 60 with difference 7. The pair 12,5 works, so we have:

0=p2+7p60=(p+12)(p5)

So p=5 or p=12


Method 2

Note that 169=132, so we have:

p2+(p+7)2=132

This is in the form a2+b2=c2

So we are looking for a Pythagorean triple:

p,p+7,13

The first couple of positive Pythagorean triples that are not scalar multiples of smaller ones are:

3,4,5

5,12,13

The second one matches, so we find a solution p=5.

Note that we have a quadratic equation, so it will have a second root. What could that be? Putting 12 into our equation, we find that gives us the Pythagorean triple:

12,5,13

So the other root is p=12