Question
Question: Find the number whose sum is \(16\) and the sum of whose square is minimum....
Find the number whose sum is 16 and the sum of whose square is minimum.
Solution
To find the number, first of all we will assume the numbers and then will use the condition that the sum of squares of the number is minimum. We will consider it a function of yand will differentiate it two times with respect to x. If the obtained value is positive, the function will be minimum. So, we will use the property that dxdy=0 and will simplify to get the value of the number.
Complete step by step solution:
Let’s consider that the first number is a and the second number is (16−a).
Now, from the given condition in the question:
⇒a2+(16−a)2
We will assume the above equation as:
⇒y=a2+(16−a)2
Now, we will differentiate the above equation with respect to x and will get 2a and 2(16−a)(−1)as:
⇒dxdy=2a+2(16−a)(−1)
Here, simplify the above equation. First multiply with 2 in the bracketed terms as:
⇒dxdy=2a+(2×16−2a)(−1)⇒dxdy=2a+(32−2a)(−1)
Now, we will multiply with (−1) in the bracketed terms as:
⇒dxdy=2a+(16×(−1)−2a×(−1))⇒dxdy=2a+(−32+2a)
Here, we can open the bracket to simplify the above step as:
⇒dxdy=2a−32+2a
Now, after adding 2a and 2a, we will get 4a as:
⇒dxdy=4a−32
As we get the value of dxdy. We will again differentiate it with respect to x and will get 4 as:
⇒dx2d2y=4
Since, the value of dx2d2y is greater than 0that means the value of equation should be minimum. So, we will use the property as:
⇒dxdy=0
Here, we will substitute the obtained value 4a−32 for dxdy in the above property as:
⇒4a−32=0
Now, we will add 32 both sides in the above step and will solve it as:
⇒4a−32+32=0+32⇒4a=32
Here, we will divide by 4 both sides as:
⇒44a=432
After simplifying it, we will have:
⇒a=8
Here, we got the first number. Then, the second number is
⇒16−8=8
Hence, the both numbers are 8 and 8.
Note: We can check that the solution is correct or not in the following way as:
Since, the sum of the numbers is 16. We check all the possible combination of two numbers that are:
⇒(1,15),(2,14),(3,13),(4,12)(5,11)(6,10)(7,9),(8,8)
Now, we will calculate the square of these combinations as:
⇒(1,225),(4,196),(9,169),(16,144),(25,121),(36,100),(49,81),(64,64)
Here, do the addition of both numbers and check whose sum is smallest.
=226,200,178,160,146,136,130,128
It can be seen that the sum of squares of 8 and 8 gives a minimum value.
Hence, the solution is correct.