Suppose we have three lines $\ell_i=a_ix+b_iy=c_i$, $i=1,2,3$ and we are given that they form a triangle. I need to find which angles are acute and which are obtuse without plotting the lines graphically (not even roughly). What would be the best method to do so?
I vaguely remember a method I saw in a book but can't find it now. Most probably it told to find out the $\tan$ values of the angles to check if they are acute or obtuse. I don't think that's correct however, because there can be two angles between a pair of lines. One acute and one obtuse. So I'm a bit confused.
N.B. I am in high school and am not familiar with inner products yet.


1) Find the intersection point of every pair of lines: this will give you the three vertices $A$, $B$, $C$ of the triangle.
2) For vertex $A$ compute $(B-A)\cdot(C-A)$, that is $$(B_x-A_x)(C_x-A_x)+(B_y-A_y)(C_y-A_y).$$ If the result is positive, angle $A$ is acute; if the result is negative, angle $A$ is obtuse; if it vanishes, the angle is right.
3) Repeat for vertices $B$ and $C$.