y=m1x+c1......(i)y=m2x+c2.....(ii)y=m3x+c3......(ii)
Consider the first two line and y axis
y=m1x+c1,y=m2x+c2,x=0
On solving the equations the verticies of triangle fomed by these lines are
(c2−c1m1−m2,m1c2−m2c1m1−m2),(0,c1),(0,c2)
Area of triangle formed by these lines is
Δ=12×c2−c1m1−m2×(c2−c1)Δ=12(c2−c1)2m1−m2
If we take consecutive two lines and y axis and find area of all the three triangles , then area of triangle formed by given three lines will be the sum of areas of the three triangles formed.
Δ′=12((c2−c1)2m1−m2+(c3−c2)2m2−m3+(c3−c1)2m3−m1)