Skip to content
🚨 This site is a work in progress. Exciting updates are coming soon!

2.10 Q-3

Question Statement

Find two positive integers whose sum is 12 and the product of one integer with the square of the other is maximized.


Background and Explanation

This problem requires us to find two positive integers, xx and 12βˆ’x12 - x, whose sum is fixed at 12, and we want to maximize the product of one integer with the square of the other. To solve this, we will use calculus to find the critical points of the function that represents the product and determine the maximum by applying the second derivative test.


Solution

  1. Define the variables:

    Let the two integers be xx and 12βˆ’x12 - x.

  2. Set up the product function:

    We want to maximize the product of xx and the square of 12βˆ’x12 - x. The function for the product is:

f(x)=x(12βˆ’x)2 f(x) = x(12 - x)^2
  1. Differentiate the function:

    Now, we differentiate f(x)f(x) with respect to xx. Using the product rule, we get:

fβ€²(x)=(12βˆ’x)2+xβ‹…2(12βˆ’x)(βˆ’1) f'(x) = (12 - x)^2 + x \cdot 2(12 - x)(-1)

Simplifying:

fβ€²(x)=(12βˆ’x)2βˆ’2x(12βˆ’x) f'(x) = (12 - x)^2 - 2x(12 - x)

Factor out (12βˆ’x)(12 - x):

fβ€²(x)=(12βˆ’x)[(12βˆ’x)βˆ’2x] f'(x) = (12 - x)[(12 - x) - 2x]

Simplifying further:

fβ€²(x)=(12βˆ’x)(12βˆ’3x) f'(x) = (12 - x)(12 - 3x)
  1. Set the derivative equal to zero:

    To find the critical points, set fβ€²(x)=0f'(x) = 0:

(12βˆ’x)(12βˆ’3x)=0 (12 - x)(12 - 3x) = 0
  1. Solve for xx:

    Solve the two factors separately:

    • 12βˆ’x=0β‡’x=1212 - x = 0 \Rightarrow x = 12 (but this is not a valid solution since 12βˆ’x12 - x must be positive)
    • 12βˆ’3x=0β‡’x=412 - 3x = 0 \Rightarrow x = 4

    So, x=4x = 4 is the valid solution.

  2. Check the second derivative:

    To confirm that this value of xx gives a maximum, we compute the second derivative:

fβ€²β€²(x)=ddx[3(12βˆ’x)(4βˆ’x)]=βˆ’3(16βˆ’2x) f''(x) = \frac{d}{dx}[3(12 - x)(4 - x)] = -3(16 - 2x)

Simplifying:

fβ€²β€²(x)=βˆ’6(8βˆ’x) f''(x) = -6(8 - x)

When x=4x = 4:

fβ€²β€²(4)=βˆ’6(8βˆ’4)=βˆ’24 f''(4) = -6(8 - 4) = -24

Since fβ€²β€²(x)f''(x) is negative, this confirms that x=4x = 4 gives a maximum.

  1. Find the two integers:

    The first integer is x=4x = 4, and the second integer is 12βˆ’x=812 - x = 8.

Thus, the two integers are 4 and 8, and the product of one with the square of the other is maximized.


Key Formulas or Methods Used

  • Product function: f(x)=x(12βˆ’x)2f(x) = x(12 - x)^2
  • First derivative: fβ€²(x)=(12βˆ’x)(12βˆ’3x)f'(x) = (12 - x)(12 - 3x)
  • Second derivative test: fβ€²β€²(x)=βˆ’6(8βˆ’x)f''(x) = -6(8 - x)

Summary of Steps

  1. Define the two integers xx and 12βˆ’x12 - x.
  2. Set up the product function: f(x)=x(12βˆ’x)2f(x) = x(12 - x)^2.
  3. Differentiate the function to get fβ€²(x)=(12βˆ’x)(12βˆ’3x)f'(x) = (12 - x)(12 - 3x).
  4. Set the derivative equal to zero: (12βˆ’x)(12βˆ’3x)=0(12 - x)(12 - 3x) = 0, solving gives x=4x = 4.
  5. Check the second derivative to confirm a maximum.
  6. The two integers are x=4x = 4 and 12βˆ’4=812 - 4 = 8, which maximize the product.