Professional Documents
Culture Documents
Abstract
In this paper I am going to address a problem. Suppose You
have two different integers and you product them which is not per-
fect square root. What positive integer number you should add to
that,then the product becomes perfect square root.
1 Introduction
If you have two integers then their difference is odd when one of the integer
is even and other is odd. If both the integers are even or odd their difference
will give the even number. I am using those following fact and show some
thing also important result. Suppose c and d are two even integers.
c − d = e where e is the even number. (1)
Suppose z is the number which is added to c ∗ d, which gives the
perfect square root.
√
i.e, c ∗ d + z = a, Where a is the perfect square root. (2)
Our goal is to find out what is z.
From equation (2)
c ∗ d + z = a2
c=d+e
(d + e)d + z = a2
d2 + ed + z = a2
e
d 2 + 2 ∗ ∗ d + z = a2
2
2 e e2
d + 2. ∗ d + = a2
2 2
To be perfect square I have to write
1
e 2
z= (3)
2
Caution In order to have the result to be perfect square e must be divisible
by 2. So, one can observe that what will happens if the difference between
two number is odd.
Calculation
Suppose we have two integer x and y and their difference is odd integer p.So
one of the number will be odd, lets suppose x is odd and y is even. x − y = p
√
x ∗ y + q = a where q is the number which we need to add.
x+1−y =p+1
M − y = Q, where M is x + 1, and Q = p + 1
As I have added 1 to the odd number it has become the even one
As I have added 1 to the odd number it has become the even one
One can ask why a, since as I have added 1 to the odd one,
M just have become the more than one, and the perfect square exists only for integrals
for an example
√
25 ∗ 20 + 6.25 = 22.5
we need 23 as a result
2
√
so, 26 ∗ 20 + 9 = 23
M ∗ y + (Q/2)2 = x ∗ y + q
(M − x) y + (Q/2)2 = q
(x + 1 − x) y + (Q/2)2 = q
Hence, y + (Q/2)2 = q
y + (p + 1/2)2 = q
2 Result
The desired result that we wanted is y + (p + 1/2)2