✔ 最佳答案
方法一:
x + y = 22 ...... [1]
xy = 96 ...... [2]
由 [1] :
y = 22 - x ...... [3]
把 [3] 代入 [2] :
x(22 - x) = 96
22x - x² = 96
x² - 22x + 96 = 0
(x - 6)(x - 16) = 0
x = 6 或 x = 16
把 x 之值代入 [3] 中:
當 x = 6:
y = 22 - 6
y = 16
當 x = 16 :
y = 22 - 16
y = 6
所以,x = 6, y = 16 或 x = 16, y = 6
方法二:
x + y = 22 ...... [1]
xy = 96 ...... [2]
由 [2] :
y = 96/x ...... [3]
把 [3] 代入 [1] 中:
(96/x) + x = 22
(96 + x²)/x = 22
96 + x² = 22y
x² - 22x + 96 = 0
(x - 6)(x - 16) = 0
x = 6 或 x = 16
把 x 之值代入 [3] 中:
當 x = 6:
y = 96/6
y = 16
當 x = 16 :
y = 96/16
y = 6
所以,x = 6, y = 16 或 x = 16, y = 6
方法三:
x + y = 22 ...... [1]
xy = 96 ...... [2]
[1]² - 4*[2] :
(x² + 2xy + y²) - 4xy = 22² - 4(96)
x² - 2xy + y² = 100
x - y = 10 或 x - y = -10
當 x - y = 10 ...... [3]
([1] + [2])/2 : x = 16
([1] - [2])/2 : y = 6
當 x - y = -10 ...... [4]
([1] + [2])/2 : x = 6
([1] - [2])/2 : y = 16
所以,x = 6, y = 16 或 x = 16, y = 6