Can you find the two numbers?

  • MHB
  • Thread starter mathdad
  • Start date
  • Tags
    Numbers
In summary, x + y = 13 and x + y = 40. The sum of two numbers is 13 and their product is 40. Find the numbers.
  • #1
mathdad
1,283
1
The sum of two numbers is 13 and their product is 40. Find the numbers.

Is this the correct set up?

Let x and y be the two numbers.

x + y = 13
xy = 40
 
Mathematics news on Phys.org
  • #2
RTCNTC said:
The sum of two numbers is 13 and their product is 40. Find the numbers.

Is this the correct set up?

Let x and y be the two numbers.

x + y = 13
xy = 40

Yes, that's correct. (Yes)
 
  • #3
MarkFL said:
Yes, that's correct. (Yes)

I am going to use the MHB mainly for word problems. I want to increase my skills with word problems, particularly setting up the proper equations needed to find the answer(s).
 
  • #4
Alternatively, factor 40

$$40=2^3\cdot5$$

and continue from there. Do you see how to continue?
 
  • #5
greg1313 said:
Alternatively, factor 40

$$40=2^3\cdot5$$

and continue from there. Do you see how to continue?
Why? There was no requirement in the original problem that x and y be integers.
 
  • #6
greg1313 said:
Alternatively, factor 40

$$40=2^3\cdot5$$

and continue from there. Do you see how to continue?

Factoring 40 as 2^3 • 5 leads to the solution 8 and 5.

Yes?
 
Last edited:
  • #7
x + y = 13...A
xy = 40...B

xy = 40

x = 40/y

Plug into A.

x + y = 13

(40/y) + y = 13

40 + y^2 = 13y

y^2 -13y + 40 = 0

(y - 8)(y - 5) = 0

y = 8, y = 5

Plug into A or B to find x.

x + y = 13

x + 8 = 13

x = 13 - 8

x = 5

x + 5 = 13

x = 13 - 5

x = 8

Solution:

(5, 8) or (8, 5)

Correct?
 
  • #8
RTCNTC said:
Factoring 40 as 2^3 • 5 leads to the solution 8 and 5.

Yes?

Yes.
 
  • #9
RTCNTC said:
x + y = 13...A
xy = 40...B

xy = 40

x = 40/y

Plug into A.

x + y = 13

(40/y) + y = 13

40 + y^2 = 13y

y^2 -13y + 40 = 0

(y - 8)(y - 5) = 0

y = 8, y = 5

Plug into A or B to find x.

x + y = 13

x + 8 = 13

x = 13 - 8

x = 5

x + 5 = 13

x = 13 - 5

x = 8

Solution:

(5, 8) or (8, 5)

Correct?

While we know neither $x$ nor $y$ can be zero since their product is non-zero, I would in general tend to favor a substitution that doesn't involve division.

I would write:

\(\displaystyle y=13-x\)

And the substitute for $y$ as follows:

\(\displaystyle x(13-x)=40\)

\(\displaystyle 13x-x^2=40\)

\(\displaystyle x^2-13x+40=0\)

Interestingly, factoring this quadratic requires us to essentially solve the original problem, that is to find two numbers whose sum is -13, and whose product is 40. So, let's use the quadratic formula instead:

\(\displaystyle x=\frac{13\pm\sqrt{13^2-4(1)(40}}{2(1)}=\frac{13\pm3}{2}\implies x\in\{5,8\}\)

From this we then conclude:

\(\displaystyle (x,y)\in\{(5,8),\,(8,5)\}\)
 
  • #10
MarkFL said:
While we know neither $x$ nor $y$ can be zero since their product is non-zero, I would in general tend to favor a substitution that doesn't involve division.

I would write:

\(\displaystyle y=13-x\)

And the substitute for $y$ as follows:

\(\displaystyle x(13-x)=40\)

\(\displaystyle 13x-x^2=40\)

\(\displaystyle x^2-13x+40=0\)

Interestingly, factoring this quadratic requires us to essentially solve the original problem, that is to find two numbers whose sum is -13, and whose product is 40. So, let's use the quadratic formula instead:

\(\displaystyle x=\frac{13\pm\sqrt{13^2-4(1)(40}}{2(1)}=\frac{13\pm3}{2}\implies x\in\{5,8\}\)

From this we then conclude:

\(\displaystyle (x,y)\in\{(5,8),\,(8,5)\}\)

Interesting second method.
 
  • #11
HallsofIvy said:
Why? There was no requirement in the original problem that x and y be integers.

13 and 40 are integers so it makes sense to investigate the possibility that x and y are integers. The problem is quite simple due to the size of the numbers involved; if the numbers were larger it would possibly make more sense to use the method demonstrated by Mark. If they were not integers then Mark's method of solution would definitely be preferred.
 
  • #12
I thank everyone for your help and suggestions.
 

Related to Can you find the two numbers?

1. Can you explain the concept of finding two numbers?

Finding two numbers involves determining the numerical values of two unknown quantities through a series of mathematical operations or equations.

2. How do you approach finding two numbers?

The approach to finding two numbers may vary depending on the specific problem, but generally it involves using known information and solving equations or using mathematical principles to determine the values of the unknown numbers.

3. Are there any specific strategies for finding two numbers?

Yes, there are various strategies that can be used to find two numbers, such as using algebraic equations, substitution, or trial and error. The most effective strategy may depend on the complexity of the problem and the available information.

4. Can you provide an example of finding two numbers?

Sure, for example, if you are given the sum of two numbers (5) and their product (12), you can use the quadratic formula to determine the two numbers. In this case, the two numbers are 3 and 4.

5. Is finding two numbers important in scientific research?

Yes, finding two numbers is important in scientific research as it allows for the determination of unknown quantities that are crucial to understanding and solving complex problems in various fields such as physics, chemistry, and biology.

Similar threads

Replies
4
Views
395
Replies
3
Views
431
Replies
6
Views
1K
Replies
2
Views
1K
  • General Math
Replies
24
Views
2K
Replies
15
Views
1K
Replies
68
Views
9K
Replies
2
Views
407
Replies
4
Views
978
Replies
4
Views
1K
Back
Top