Question
Question: If \(A\left( {y,2} \right)\), \(B\left( {1,y} \right)\) and \(AB = 5\), then the possible values of ...
If A(y,2), B(1,y) and AB=5, then the possible values of y area
A.6,2
B.5,−2
C.−2,−6
D.2,0
Solution
In order to find the value of y, check out the information given, that is two points and their distance. Use the distance formula Distance = (y2−y1)2+(x2−x1)2 to form an equation containing the unknown variable y. Solve the equation’s step by step and get the possible values of y.
Complete step by step solution:
We are given two points A(y,2) and B(1,y) along with the distance between the points to be AB=5.
The diagram according to this:
Considering the 1st point A(y,2) to be A(x1,y1), comparing them, we get:
x1=y
y1=2
Similarly, comparing the 2nd point B(1,y) to be B(x2,y2) comparing them we get:
x2=1
y2=y
From the Distance formula we know that:
Distance = (y2−y1)2+(x2−x1)2
Since, we are also given with the distance between them AB=5, so substituting Distance as AB;
AB = (y2−y1)2+(x2−x1)2
Now, Substituting the value of AB, x1, x2, y1 and y2 in the above equation and we get:
5 = (y−2)2+(1−y)2
Squaring both the sides, we get:
(5)2 = ((y−2)2+(1−y)2)2
⇒25 = (y−2)2+(1−y)2
Opening the square brackets, using the formula (a−b)2=a2+b2−2ab, in the above equation, we get:
⇒25 = y2+4−4y+1+y2−2y
Solving it further:
⇒25 = 2y2+5−6y
⇒2y2−6y+5=25
Subtracting both the sides by 25:
⇒2y2−6y+5−25=25−25
⇒2y2−6y−20=0
Taking 2 common from the left side, we get:
⇒2(y2−3y−10)=0
Dividing the equation by 2:
⇒22(y2−3y−10)=0
⇒y2−3y−10=0
Since, the highest degree on y is 2, therefore it’s a quadratic equation:
Using the mid-term splitting method, for splitting the mid-term −3y as −5y+2y.
⇒y2−5y+2y−10=0
Pairing the operands:
⇒(y2−5y)+(2y−10)=0
Taking y common from the first bracket and 2 from the second bracket:
⇒y(y−5)+2(y−5)=0
Taking (y−5) brackets common:
⇒(y−5)(y+2)=0
Equating the brackets with 0, we get:
⇒(y−5)=0 or (y+2)=0
Solving the brackets separately, we get:
For the first bracket:
⇒(y−5)=0
Adding both the sides by 5:
⇒y−5+5=0+5
⇒y=5 ……(1)
For the second bracket:
⇒(y+2)=0
Subtracting both the sides by 2:
⇒y+2−2=0−2
⇒y=−2 …..(2)
From (1) and (2), we get:
⇒y=−2 or 5
⇒y=−2,5
Therefore, the value of y is −2 or 5.
Option B is correct.
So, the correct answer is “Option B”.
Note: We have used the mid-term splitting method to solve the quadratic equation, in which the mid-term is splitted in such a way that the product of them gives the product of the remaining terms and the sum of the terms gives the mid-term itself.
We could have also used the quadratic formula to solve the quadratic equation, both will result in the same values.