Through the point $A(4,5)$ a line is drawn inclined at $45°$ with the $+ve$ X - axis. It meets $x+y=6$ at the point $B$. Find the equation of $AB$.
My solution..
Equation of $AB$
$$(y-y_1)=m(x-x_1)$$ $$(y-5)=1(x-4)$$ $$x-y+1=0$$.
But the answer in my book is $3x-y=7$.
Can anyone tell me where I made mistake?.
You only figured out the equation of the line through A, at an angle of $45^\circ$ with the $x$-axis, what you need to do is:
Find it's point of intersection with the other line $x+y=6$,you will get point $B (\frac{5}{2},\frac{7}{2}$) , and then write the equation of AB in the form of $$y-y_1=\frac{y_2-y_1}{x_2-x_1}(x-x_1)$$ Where A is $(x_1,y_1)$ and B is $(x_2,y_2)$.