find two positive numbers, whose sum is 15 and sum of whose squares is minimum .
Answers
Answer: 15/2 and 15/2
Step-by-step explanation:
Let that two positive integers be x and y.
Given that,
Sum of numbers = 15
x + y = 15
y = 15 - x ................i)
Let the sum of squares be p
x² + y² = p
p = x² + y²
Putting y = 15 - x;
p = x² + (15 - x)²
p = x² + 15² + x² - 30x
Now, Differentiating both sides with respect to x,
For Maximum and Minimum values,
Differentiating equation ii) again,
Hence, at x = 15/2, p is minimum.
Putting x = 15/2 in equation i)
y = 15 - 15/2
y = (30-15)/2
y = 15/2
Hence both numbers are same for this condition.
SOLUTION:-
Let the number be x
Given,
Sum of two positive number is 15
1st number + 2nd number= 15
=) x + 2nd number= 15
=) 2nd number= 15 - x...........(1)
Let S(x) be the sum of the squares of the numbers
=) S(x) = (1st number)² + (2nd number)²
=) S(x)= x² + (15-x)² [from (1)]
We need to minimize S(x)
Finding S'(x)
S(x) = x² + (15-x)²
Putting S'(x)= 0
Finding S''(x)
S'(x)= 4x-30
Putting x= 15/2 in S''(x)
=) S''(15/2)= 4 at x= 15/2
=) S'' (x)> 0 at x= 15/2
Therefore,
x= 15/2 is local minima
Thus,
S(x) is minimum at x= 15/2
Hence,
1st number, x= 15/2
2nd number, 15-x = 15-15/2= 30-15/2