0 投票
6,259 浏览
分类:其它 | 用户: (10,650 分) 8 45 52
已关闭 用户:
Given x and y is a positive integer.Find the value of x and y if 2(x+y)=xy
已关闭

1个回答

+1 投票
用户: (34,770 分) 12 34 37
采纳于 用户:
 
已采纳

用 factorization 的方法来解决这道题。

2(x+y)=xy

2x+2y=xy

xy-2x-2y=0

xy-2x-2y+4=4

(x-2)(y-2)=4

              =1✖️4

              =2✖️2

              =(-1)✖️(-4)

              =(-2) ✖️(-2)

When x-2= 1, y-2= 4, then x=3, y=6.

When x-2=4, y-2=1 ,  then x=6, y=3.

When x-2=2, y-2= 2, then x=4,y=4.

When x-2=-1, y-2=-4, then x=1, y=-2. (not applicable, y is not a positive integer)

When x-2=-4, y-2=-1, then x=-2, y=1. (not applicable, x is not a positive integer)

When x-2=-2, y-2=-2, then x=0, y=0. (not applicable, x and y is not a positive integer)

(x,y)=(3,6), (6,3), (4,4)

“eWenda e问答”是一个专为马来西亚华裔生所建立的学业疑问问答平台。学生可以在这里免费发表提问并得到解答。
...