arrow
arrow
arrow
The sum of two numbers is 20 and their product is 96. What is the difference between the two numbers?
Question

The sum of two numbers is 20 and their product is 96. What is the difference between the two numbers?

A.

4

B.

5

C.

8

D.

6

Correct option is A

Given:

The sum of two numbers is S=20

The product of the two numbers is P=96
We need to find the difference between the two numbers.

Formula Used:

(ab)2=(a+b)24ab(a-b)^2 = (a+b)^2 - 4ab \\​​

Solution:

Let the number be a and b

(a+b) = 20 and ab = 96

(ab)2=(a+b)24abab=(a+b)24abab=2024×96ab=400384ab=4(a-b)^2 = (a+b)^2 - 4ab \\a-b= \sqrt{ (a+b)^2 - 4ab}\\ a-b= \sqrt{ 20^2 - 4\times 96}\\ a-b= \sqrt{ 400 - 384}\\ a-b = 4​​

Alternate Method:

The numbers can be found using the quadratic equation:

t2(x+y)t+(xy)=0t^2 - (x+y)t + (x \cdot y) = 0​​

Substituting the given values:

t220t+96=0t^2 - 20t + 96 = 0​​

Solve for t using the quadratic formula:

t=(20)±(20)24(96)2(1)t = \frac{-(-20) \pm \sqrt{(-20)^2 - 4(96)}}{2(1)}​​

t = 20±4003842​​\frac{20 \pm \sqrt{400 - 384}}{2} ​​​​

t= 20±162\frac{20 \pm \sqrt{16}}{2}​​

t =20±42 \frac{20 \pm 4}{2}​​

t=20+42=242=12 \frac{20 + 4}{2} = \frac{24}{2} = 12​​

t= 2042=162=8\frac{20 - 4}{2} = \frac{16}{2} = 8​​

Thus, the two numbers are 12 and 8.
The difference between them is:

12−8=4

Option (a) is right.

​​​

Free Tests

Free
Must Attempt

CBT-1 Full Mock Test 1

languageIcon English
  • pdpQsnIcon100 Questions
  • pdpsheetsIcon100 Marks
  • timerIcon90 Mins
languageIcon English
Free
Must Attempt

RRB NTPC Graduate Level PYP (Held on 5 Jun 2025 S1)

languageIcon English
  • pdpQsnIcon100 Questions
  • pdpsheetsIcon100 Marks
  • timerIcon90 Mins
languageIcon English
Free
Must Attempt

CBT-1 General Awareness Section Test 1

languageIcon English
  • pdpQsnIcon40 Questions
  • pdpsheetsIcon30 Marks
  • timerIcon25 Mins
languageIcon English
test-prime-package

Access ‘RRB NTPC’ Mock Tests with

  • 60000+ Mocks and Previous Year Papers
  • Unlimited Re-Attempts
  • Personalised Report Card
  • 500% Refund on Final Selection
  • Largest Community
students-icon
353k+ students have already unlocked exclusive benefits with Test Prime!
Our Plans
Monthsup-arrow