Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2013-06-28 03:45:44

gyanshrestha
Member
Registered: 2007-11-06
Posts: 41

what is the sum of x and y

three angles of a triangle are 5x+3y, 10y+30 and 3x+20
what is the value of x+y

any idea ?
this question is asked on a mathematical competition.


http://gyan.talkacademy.com.np

Offline

#2 2013-06-28 03:53:55

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: what is the sum of x and y

three angles of a triangle are 5x+3y, 10y+30 and 3x+20
what is the value of x+y

You left out the condition that x,y have to be positive integers. x + y = 15 is the answer.

You need to solve the linear diophantine equation

There are several ways to do this, continued fractions, Brahmagupta's method, computer solution or trial and error.

In the case of this small problem, trial and error is fastest. If you are skilled in a programming language you can write a routine to do it quickly.

Once you have found the answer you can check its uniqueness by expanding the generating function.

When expanded you will see that the coefficient of x^130 is 1 proving there is only one solution.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#3 2013-06-29 02:17:13

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,049

Re: what is the sum of x and y

Actually, there is an easier method for this particular problem.We can note that x must be divisible by 13. Since it has to be positive, it cannot be 0, and since 26 is too big, it must be 13. The value of y follows immediately.


“Here lies the reader who will never open this book. He is forever dead.
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.

Offline

#4 2013-06-29 02:32:27

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: what is the sum of x and y

I did mention trial and error and naturally I would start with the y's first because they have the biggest coefficient.

Of course until you follow what the guy in post #2 said you will not get to that diophantine equation.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#5 2013-06-29 02:34:27

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,049

Re: what is the sum of x and y

Actually, I will. Don't you think I know how to get to the Diophantine?


“Here lies the reader who will never open this book. He is forever dead.
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.

Offline

#6 2013-06-29 02:36:00

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: what is the sum of x and y

oooga ooooga chaka oooga chaka.

Post #2, which essentially solves the problem, provides the answer and still leaves some mystery for the OP was not meant for you.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#7 2013-06-29 02:42:55

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,049

Re: what is the sum of x and y

I do not consider post #3 trial and error.


“Here lies the reader who will never open this book. He is forever dead.
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.

Offline

#8 2013-06-29 02:44:49

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: what is the sum of x and y

I did not say it was exactly but it does sound like it. What I am saying is that the trail and error approach recommended by the dude in post #2 would get the answer just as quickly.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

Board footer

Powered by FluxBB