Solution
Lines are shown on the plot.

The points of intersection of lines can be obtained from the equations:
a) y=x, y=3x: x = 3x => x=0, y=0
b) y=3x, x+y=4: 3x=4-x => x=1, y=3
c) y=x, x+y=4: x=4-x => x=2, y=2
Let
f(z)={3x4−xforforx<1x>1
The inner area of the triangle can be obtained from expression
A=∫02∫xf(x)dydx=∫01∫x3xdydx+∫12∫x4−xdydx=∫012xdx+∫12(4−2x)dx=2
Comments