An algebra problem by Kenneth Gravamen

Algebra Level 4

For all real numbers, x |x| is defined as the absolute value of x x ; for example 4.2 = 4.2 |4.2|=4.2 and 7 = 7 |-7|=7 . Given that x x and y y are integer, how many different solutions ( x , y ) (x,y) does the equation x + 2 y = 100 |x|+2|y|=100 have?


The answer is 200.

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

Lee Hang Zheng
Sep 7, 2014

Assuming it is x+2y=100, range of y is 0-50 when range of x is 100-0 (only even numbers for x, say when y=1, x=98, skipping every odd number) hence the total amount of solution for this situation is 50 seeing y can only be 50 numbers and x is complementary to it. However, with modulus, x and y can be negatives, as such the possibilities are: (+x, +y), (-x, +y), (+x,-y), (-x,-y) we have 4 sets and the total solutions become 4(50)=200

beautifully done

U Z - 6 years, 9 months ago

Bingo :) Did it the same way.

Ayan Jain - 6 years, 3 months ago
Hrithik Nambiar
Mar 5, 2015
  • If y = 50 |y|= 50 = > => 2 y = 100 2 |y| = 100 , this implies that , x = 0 |x| = 0 ; which makes one solution for y = 50 y = -50 and y = 50 y = 50

  • But from the range of y = 49 y = -49 to y = 49 y =49 there will be two values of x x for each value of y y ;

E x a m p l e > Example ---> for the value : y = 20 y = -20 = > => 2 y = 40 2|y| = 40 = > => x = 60 |x| = 60 . Hence x = 60 x = 60 or x = 60 x = -60

  • Therefore; from y = 49 y = -49 to y = 49 y = 49 there are,

    49 ( v e ) + 1 ( z e r o ) + 49 ( + v e ) = 99 49 ( - ve ) + 1 (zero) + 49 (+ ve ) = 99 values of y, each of which has two solutions.

Hence , there are [ 2 × 99 ] + 2 = 200 \boxed{[2 \times 99] + 2 = 200} , distinct solutions to the given equation.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...