The Student Room Group

Integer solutions to a function

This is from a past iGCSE paper. Expanding and re-arranging the equation is fairly easy, but except by trial and error, or plotting it, ow can you find the integer solution for x and y?


Given that :

(5-sqrt(x))^2 = y - 20*sqrt(2)

where x and y are positive integers, find the value of x and the value of y.


---Thread moved to Maths---
(edited 7 years ago)
Reply 1
Original post by pdk42
This is from a past iGCSE paper. Expanding and re-arranging the equation is fairly easy, but except by trial and error, or plotting it, ow can you find the integer solution for x and y?


Given that :

(5-sqrt(x))^2 = y - 20*sqrt(2)

where x and y are positive integers, find the value of x and the value of y.


---Thread moved to Maths---

What was the full question? Do you just need to find one set of x and y that satisfy the equation?

If you expand you get:

2510x+x=y20225-10\sqrt{x}+x = y-20\sqrt{2}

Then if you try to match up the surd term on either side you get

10x=202-10\sqrt{x} = -20\sqrt{2}

Can you see what xx must be to satisfy this? You can compare terms in the rest of the equation to get yy once you've got xx.

Please post all your working if you get stuck.
Reply 2
Original post by notnek
What was the full question? Do you just need to find one set of x and y that satisfy the equation?

If you expand you get:

2510x+x=y20225-10\sqrt{x}+x = y-20\sqrt{2}

Then if you try to match up the surd term on either side you get

10x=202-10\sqrt{x} = -20\sqrt{2}

Can you see what xx must be to satisfy this? You can compare terms in the rest of the equation to get yy once you've got xx.

Please post all your working if you get stuck.

Thanks for the reply. The full question was what I quoted in the first post.

Given that :

(5x)2=y202(5-\sqrt{x})^2 = y - 20\sqrt{2}

where x and y are positive integers, find the value of x and the value of y .


I'm sorry for being stupid, but what do you mean by "match up the surds on either side"? I can see that 2\sqrt{2} is a surd, but how do you know that x\sqrt{x} is? Also, why does this matching up eliminate yy? Confused....

Having done what you've done, I can see that it's pretty easy to solve:

10x=202-10\sqrt{x} = -20\sqrt{2}
x=22\sqrt{x} = 2\sqrt{2}
x=42=8x = 4 * 2 = 8

y=33y = 33 by substituting back into the equation (and it's an integer!!)
(edited 7 years ago)
Reply 3
Original post by pdk42
Thanks for the reply. The full question was what I quoted in the first post.



I'm sorry for being stupid, but what do you mean by "match up the surds on either side"? I can see that 2\sqrt{2} is a surd, but how do you know that x\sqrt{x} is? Also, why does this matching up eliminate yy? Confused....

This is a technique that you won't be used to in IGCSE so don't worry if you're finding it hard. Out of interest do you know which IGCSE paper this was in?


Firstly when I say "surd", I mean anything containing the
Unparseable latex formula:

\sqrt

symbol. To help you I'm going to write the equation in a different way:

10x+(25+x)=202+(y)-10\sqrt{x} + (25+x) = -20\sqrt{2} + (y)


Intead of rearranging to solve this like what you're used to in algebra, we're going to find a solution by matching up both sides of the equation. So what we need are the two surd terms to be the same

i.e. 10x=202-10\sqrt{x} = -20\sqrt{2}

And we need the rest to be the same

25+x=y25+x = y

Does this make sense so far? Please let me know if it doesn't.


If you solve the surd equation then it just so happens that this gives you an integer soltution for xx. Then when you plug this into the other equation, you'll get an integer solution for yy also.

So can you see what xx must be to satisfy this equation:

10x=202-10\sqrt{x} = -20\sqrt{2}

?
Reply 4
Ah, thank you. Yes, I understand that. The key is to split the equation into two separate equalities - very neat :smile:. The question is from the Pearson Edexcel Jan 14 3H paper:

http://qualifications.pearson.com/content/dam/pdf/Edexcel%20Certificate/Mathematics%20A/2009/Exam%20materials/4MA0_3H_que_20140110.pdf

Question 17.

Thanks again - much appreciated!
Reply 5
Original post by pdk42
Ah, thank you. Yes, I understand that. The key is to split the equation into two separate equalities - very neat :smile:. The question is from the Pearson Edexcel Jan 14 3H paper:

http://qualifications.pearson.com/content/dam/pdf/Edexcel%20Certificate/Mathematics%20A/2009/Exam%20materials/4MA0_3H_que_20140110.pdf

Question 17.

Thanks again - much appreciated!

That's a really tough question for IGCSE. I bet the percentage of students who got full marks for that question was pretty low.
Reply 6
Actually, on reviewing this, I do have another question....

Can you explain how the following works...


Original post by notnek


10x+(25+x)=202+(y)-10\sqrt{x} + (25+x) = -20\sqrt{2} + (y)


Intead of rearranging to solve this like what you're used to in algebra, we're going to find a solution by matching up both sides of the equation. So what we need are the two surd terms to be the same

i.e. 10x=202-10\sqrt{x} = -20\sqrt{2}

And we need the rest to be the same

25+x=y25+x = y



You have simply said "we need the two surd terms to be the same", but I'm not sure why, or how it's valid to do that. Being stupid for the moment, I could have this:

5+3=7+15 + 3 = 7 + 1

But I can't just arbitrarily convert this into:

5=75 = 7 and 3=13 = 1

So, why is it OK to match up the surd terms?

Sorry for more dumb questions...
Reply 7
Original post by pdk42
Actually, on reviewing this, I do have another question....

Can you explain how the following works...




You have simply said "we need the two surd terms to be the same", but I'm not sure why, or how it's valid to do that. Being stupid for the moment, I could have this:

5+3=7+15 + 3 = 7 + 1

But I can't just arbitrarily convert this into:

5=75 = 7 and 3=13 = 1

So, why is it OK to match up the surd terms?

Sorry for more dumb questions...

Good question and I'm going to have to ramble a bit to explain it :smile:


If you have an equation with more than one unknown in it e.g.

x+2y2+3x=5y2+xx+2y^2 + 3x = 5y - 2 + x

then let's say you group some terms so you end up with something like this:

(stuff) + (more stuff) = (blah) + (more blah)

e.g. "stuff" could be x+2y2x+2y^2, which would make "more stuff" 3x3x.

If you can find values for your variables such that "stuff = blah" and "more stuff = more blah" then it makes sense that these values must be solutions to your equation since the equation would be balanced.

But this technique isn't guaranteed to work and most of the time it won't help you solve the equation because the values that satisfy "stuff" = "blah" won't also satisfy "more stuff" = "more blah".

Also this tecnhique doesn't always work the other way around i.e. when you've already got a solved equation. So if you have something like

5+3=7+15 + 3 = 7 + 1

then it's not necessarily the case that the two left terms (5 and 7) are equal and the two right terms are equal, and you have already shown this yourself.


Now going back to this equation:

10x+(25+x)=202+(y)-10\sqrt{x} + (25+x) = -20\sqrt{2} + (y)

The reason this technique was so useful is because solving the surd part gives you a single integer value for xx, which you can plug in to the other equation to give you an integer value for yy.

Also (and maybe more importantly), 202-20\sqrt{2} is irrational - let me know if you haven't heard of this word. So since yy and xx are integers, the only possible other term that can equate with 202-20\sqrt{2} to balance the equation is 10x-10\sqrt{x}.

So when you have an equation that has rational and irrational parts, a useful technique is to equate the rational parts and then equate the irrational parts.
(edited 7 years ago)
Reply 8
Original post by notnek
Good question and I'm going to have to ramble a bit to explain it :smile:


If you have an equation with more than one unknown in it e.g.

x+2y2+3x=5y2+xx+2y^2 + 3x = 5y - 2 + x

then let's say you group some terms so you end up with something like this:

(stuff) + (more stuff) = (blah) + (more blah)

e.g. "stuff" could be x+2y2x+2y^2, which would make "more stuff" 3x3x.

If you can find values for your variables such that "stuff = blah" and "more stuff = more blah" then it makes sense that these values must be solutions to your equation since the equation would be balanced.

But this technique isn't guaranteed to work and most of the time it won't help you solve the equation because the values that satisfy "stuff" = "blah" won't also satisfy "more stuff" = "more blah".

Also this tecnhique doesn't always work the other way around i.e. when you've already got a solved equation. So if you have something like

5+3=7+15 + 3 = 7 + 1

then it's not necessarily the case that the two left terms (5 and 7) are equal and the two right terms are equal, and you have already shown this yourself.


Now going back to this equation:

10x+(25+x)=202+(y)-10\sqrt{x} + (25+x) = -20\sqrt{2} + (y)

The reason this technique was so useful is because solving the surd part gives you a single integer value for xx, which you can plug in to the other equation to give you an integer value for yy.

Also (and maybe more importantly), 202-20\sqrt{2} is irrational - let me know if you haven't heard of this word. So since yy and xx are integers, the only possible other term that can equate with 202-20\sqrt{2} to balance the equation is 10x-10\sqrt{x}.

So when you have an equation that has rational and irrational parts, a useful technique is to equate the rational parts and then equate the irrational parts.


Ah - OK, that's helpful. The key point I guess is that by making the surds equal, we get an integer solution for xx, which is an important bit of information in the question.

I do understand irrational (a number which has no end when expressed as a decimal) so I can see that:


...since yy and xx are integers, the only possible other term that can equate with 202-20\sqrt{2} to balance the equation is 10x-10\sqrt{x}.


Is the technique of separating the rational and irrational parts like this something that will always work, or just something to try along the way?

Thanks for your continued help!
(edited 7 years ago)
Original post by pdk42
Is the technique of separating the rational and irrational parts like this something that will always work, or just something to try along the way?It depends what you mean by "always work".

If you have an equation

a+bX=c+dXa+b \sqrt X = c + d \sqrt X with a,b,c,d all integers and X not a perfect square, then it is always valid to deduce that

a=c and b = d.

[Proof: If X isn't a perfect square, X\sqrt{X} is irrational, so it can't be written as a fraction n/m with n and m integers. But if a+bX=c+dXa+b \sqrt X = c + d \sqrt X, then (bd)X=ca(b-d)\sqrt{X} = c-a. Suppose bdb \neq d. Then we can write X=cabd\sqrt{X} = \frac{c-a}{b-d} which is impossible, because X\sqrt{X} is irrational. So we must have b=d, and then we find c=a as well, which is what we wanted to show].

But whether it's always going to be the best way to solve a problem is going to depend on the problem.

Quick Reply

Latest