Welcome to the free online calculator to find two numbers by difference and product. For example, the difference of two numbers is 2 and their product is 224. What are the numbers?
How to find two numbers based on difference and product
There are two methods, one is the quadratic equation method and the other is the factor method.
Quadratic Equation Method
This is the most common method. In the above example, assuming the two numbers are x and y.
Now, we can list the two equations based on the problem description.
First equation:
x – y = 2
Second equation:
x * y = 224
Simplify the first equation, let x be represented by y.
x – y = 2
x = 2 + y
Substitute x = 2 + y into the second equation and simplify.
x * y = 224
(2 + y) * y = 224
2y + y2 = 224
y2 + 2y – 224 = 0
Now, we get a quadratic equation, the next key is to solve this quadratic equation. The answer to the quadratic equation can be calculated using the formula method or the factorization method. The factorization method is used directly here.
y2 + 2y – 224 = 0
(y – 14) (y + 16) = 0
y = 14 or y = -16
When y = 14, according to the relationship between x and y, we can calculate the value of x.
x = 2 + y = 2 + 14 = 16
When y = -16, the same operation can be used to calculate x = -14.
Therefore, the two numbers are 14 and 16 or -14 and -16.
Is it right or not? Check it out!
16 – 14 = 2
16 * 14 = 224
Or
(-14) – (-16) = 2
(-14) * (-16) = 224
Yes, this is correct.
Factor Method
Since the product of two numbers is 224, the two numbers must be factors of 224, a pair of factors. Therefore, we calculate the pair factors of 224 first. With the find all factors calculator, we can easily get the pair factors of 224 are
(1, 224), (2, 112), (4, 56), (7, 32), (8, 28) and (14, 16)
The next problem is simple, just find out that the difference of the pairing factors is 2.
224 – 1 = 223
112 – 2 = 110
56 – 4 = 52
32 – 7 = 25
28 – 8 = 20
16 – 14 = 2
So, we get the answer is 14 and 16.
This method only calculates positive integers and ignores negative values. If necessary, add a negative sign in front of positive integers.
Well, these are two common solutions that, while simple, both require a certain amount of calculation. So, we developed this free calculator to find two numbers by difference and product. No calculations required and answers in milliseconds.
Next, we will introduce how to use the calculator.
How to use the calculator to find two numbers by difference and product
Using the calculator is simple, follow these 3 steps:
- Enter the difference in the first input box.
- Enter the product in the second input box.
- Click Calculate button to get the answer, or click Reset button to start a new calculation.
Next, let’s look at some examples.
Solved examples using the calculator to find two numbers by difference and product
Example 1: The difference of two numbers is 2 and their product is 120. What are the numbers?
Enter 2 in the first input box.
Enter 120 in the second input box.
Then click Calculate button, as shown in the figure, the two numbers are 12 and 10 or -10 and -12.
12 – 10 = 2
12 * 10 = 120
Or
(-10) – (-12) = 2
(-10) * (-12) = 120
Example 2: The difference of two numbers is 7 and their product is 450. What are the two numbers?
Enter 7 in the first input box.
Enter 450 in the second input box.
Then click Calculate button, as shown in the figure, the two numbers are 25 and 18 or -18 and -25.
25 – 18 = 7
25 * 18 = 450
Or
(-18) – (-25) = 7
(-18) * (-25) = 450
Latest Calculators
Standard Form to Slope-Intercept Form Calculator
Slope Intercept Form Calculator
Slope Calculator: Calculate Slope, X-Intercept, Y-Intercept
Reciprocal of Complex Number Calculator
Conjugate Complex Number Calculator
Modulus of Complex Number Calculator
Profit Percentage Calculator: Calculate Your Profitability Easily
Attendance and Absence Percentage Calculator
Circular Segment Radius Calculator
Regular Polygon Side Length Calculator
Annulus Calculator for Width, Perimeter, and Area