Find the length of the chord that the line y=3x cuts off from the circle (x+1)2+(y−2)2=25.
#
Official solution
Let's find the coordinates of the points of intersection A(x1;y1) and B(x2;y2) of the given line and circle. For this, we will solve the system of equations
{y=3x(x+1)2+(y−2)2=25
We obtain: x1=−1,y1=−3,x2=2,y2=6.
Using the formula for the distance between two points