Sketch the graph of y=|x+3| and evaluate ∫0−6|x+3|dx
Open in App
Solution
The given equation is y=|x+3| Graph is plotted in the diagram. It is known that, (x+3)≤0 for −6≤x≤−3 and (x+3)≥0 for −3≤x≤0 ∴∫0−6|(x+3)|dx=−∫−3−6(x+3)dx+∫0−3(x+3)dx =−[x22+3x]−3−6+[x22+3x]0−3 =−[((−3)22+3(−3))−((−6)22+3(−6))]+[0−((−3)22+3(−3))] =−[−92]−[−92]=9