Processing math: 100%
 
+0  
 
+2
442
4
avatar+136 

Problem of Tartaglia (1500-1557): among all positive numbers ab whose sum is 9, find those for which the product of the two numbers and their difference is largest. (Hint: Let x=ab and express abx in terms of x alone.)

 

a= ?

b= ?

 May 3, 2022
 #1
avatar+9675 
+4

a+b=9, so b=9a.

 

Now, ab(ab)=a(9a)(a(9a))=a(9a)(2a9)=2a3+27a281a.

 

When ab(a - b) is the largest, d(ab(a - b))/da = 0.

 

dda(2a3+27a281a)=06a2+54a81=02a218a+27=0a=9±332

 

For brevity, let f(a)=2a3+27a281a

f(9+332)=12(9+332)+54=183<0

f(9332)=12(9332)+54=183>0

 

So, the maximum value of ab(a - b) is attained at a=9+332.

Since b = 9 - a, b=9332 when ab(a - b) is the largest.

 

Therefore, a=9+332, and b=9332

 May 3, 2022
 #2
avatar+9675 
+3

By the way, I would love to see a solution without using calculus, since calculus is invented after Tartaglia.

MaxWong  May 3, 2022
edited by MaxWong  May 3, 2022
 #3
avatar+2407 
+1

Your answer looks very cool, but I wanted to try to see if it can be solved with calculus too because I haven't learned it yet. :))

 

m = maximum of ab(a-b)

x = a - b (like the hint said)

9 = a + b

a = (9+x)/2

b = (9-x)/2

m = maximum of (9+x)/2*(9-x)/2*x

Note: x has to be be nonegative since if b > a, and a and b are positive integers, ab(a-b) will be negative.

 

This is a cubic with roots at -9, 0, and 9.

By plugging in points and drawing a sketch, we can get an idea of what the cubic looks like. 

The graph approaches 0 from the positive side from as x approaches -9 from the negative side. 

Then, the graph crosses the x axis at -9, and goes down, but then goes back up to the x axis at 0. 

After that, the graph dips up but returns back to 0 at x = 9, and just continues going down.

 

So our maximum is at the turning point between 0 and 9, this is the distance m. 

Then we can use the method written here:

https://www.themathdoctors.org/max-and-min-of-a-cubic-without-calculus/

 

=^._.^=

 May 3, 2022
 #4
avatar+118703 
+2

Great work Catmg and Max :)

Melody  May 4, 2022

4 Online Users

avatar