A line passes through (2,2) and cuts a triangle of area 9 square units from the first quadrant. The sum of all possible values for the slope of a line, is
Let the slope of a line be =m , and it pass through point (2,2) then its equation is
y−2=m(x−2)
y=mx−2m+2
Now, area of triangle in such a case is half the product of x-intercept and y-intercept.
x-intercept is given by putting y=0 i.e. mx−2m+2=0 or x= 2m−2m and
y-intercept is given by putting x=0 i.e. y=−2m+2.
or 18=−4m2+8m−4m
∵ Area of triangle =12×base×hight
2A=(−2m+2)×(2m−2)m=−4m+8m−4m
2Am=−4m2+8m−4
Put A=9 unit, we get
18m=−4m2+8m−4
4m2+10m+4=0
we know that,in a quadratic equation ax2+bx+c=0,
sum of roots is =−ba
sum of slopes is −104=−2.5