An algebra problem by sam dave

Algebra Level 2

Given that a a and b b are two positive integers such that a + b = a b + b a a + b = \dfrac{a}{b} + \dfrac{b}{a} , what is the value of a 2 + b 2 a^{2} + b^{2} ?

2.5 2 1 4 3.5

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Marta Reece
Jun 28, 2017

a b + b a \frac ab+\frac ba has to be an integer, since it is equal to an integer a + b a+b .

So a a has to be divisible by b b and b b in turn has to be divisible by a a .

This can only happen if a = b a=b .

The equation a + b = a b + b a a+b=\frac ab+\frac ba then becomes 2 a = 1 + 1 2a=1+1 and has only one solution a = 1 a=1

So a = b = 1 a=b=1 and a 2 + b 2 = 1 + 1 = 2 a^2+b^2=1+1=\boxed2

a b + b a \frac ab+\frac ba has to be an integer, since it is equal to an integer a + b a+b .

So a a has to be divisible by b b and b b in turn has to be divisible by a a .

Why must the latter equation be true? Why can't we have (a/b) and (b/a) to be fractions, but they still adds up to an integer?

Pi Han Goh - 3 years, 11 months ago

Log in to reply

Let's assume a b + b a = c d + d c \frac ab+\frac ba=\frac cd+\frac dc where c d \frac cd is a simplified fraction. Then c d + d c = c 2 + d 2 c d \frac cd+\frac dc=\frac{c^2+d^2}{cd} . For this to be an integer, the numerator must be divisible by c c . c 2 c^2 is divisible by c c , however d d is not. So the entire numerator is not divisible by c c and the fraction cannot be simplified to an integer. Similarly for d d . So a b + b a \frac ab+\frac ba can be an integer only if a a and b b divide each other as stated.

Marta Reece - 3 years, 11 months ago

Log in to reply

What do you mean by c/d is a simplified fraction? Why can we assume that?

Pi Han Goh - 3 years, 11 months ago

Log in to reply

@Pi Han Goh By simplified fraction I mean that there is not common divisor of c c and d d other than 1 1 . And yes, we can assume that. Either a b \frac ab is already simplified, or there is c d \frac cd as described, or a a and b b divide each other, and therefore the situation does not arise in the first place.

Marta Reece - 3 years, 11 months ago

given that a/b + b/a = a+b,now this can be rewritten as a( 1/b -1) + b(1/a-1)=0 now as a and b are positive integers they cant be zero so 1/b-1 and 1/a-1 has to be zero to get overall result as zero, so 1/b-1=1/a-1=0 that gives a=b=1,hence value of a squared and b squared is equal to 1+1 = 2

sam dave - 3 years, 11 months ago

Log in to reply

Why must 1/b - 1 = 1/a - 1 = 0? How do you know that there's no solution to "a(1/b - 1) = -b(1/a - 1) = k" for some non-zero k?

Pi Han Goh - 3 years, 11 months ago

Log in to reply

it is given that ,a and b are positive integers so they cant be zero,and we need the sum of that expression as zero so1/b-1=1/a-1=0 ,has to be the only possible case , as sum of two positive quantities cannot be zero,even if you consider a(1/b - 1) = -b(1/a - 1) = k" for some non-zero k ,they k has to be zero

sam dave - 3 years, 11 months ago
Sam Dave
Jun 26, 2017

HINT: use the fact and a and b are positive intgers . if the solution is needed ,let me know. given that a/b + b/a = a+b,now this can be rewritten as a( 1/b -1) + b(1/a-1)=0 now as a and b are positive integers they cant be zero so 1/b-1 and 1/a-1 has to be zero to get overall result as zero, so 1/b-1=1/a-1=0 that gives a=b=1,hence value of a squared and b squared is equal to 1+1 = 2 – Sam Dave · now

Please add the solution. Thanks.

Since a a and b b are positive integers, having decimal options doesn't really make sense.

Calvin Lin Staff - 3 years, 11 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...