The question
Sketch the graph of y=∣x+3∣ and find the area of the region enclosed by the curve, x-axis, between x=−6 and x=0, using integration.
Exam answer
y=∣x+3∣={−(x+3),x+3,x<−3x≥−3
Why?
By the definition of modulus, ∣t∣=t when t≥0 and ∣t∣=−t when t<0.
Here t=x+3, and x+3≥0 exactly when x≥−3. So the formula for y changes at x=−3.
The graph is two half-lines meeting at (−3,0), through (−6,3) and (0,3) (graph below).
Why?
Each piece is a straight line. Plot a few points: x=−6 gives y=∣−3∣=3; x=−3 gives y=0; x=0 gives y=3. The corner of the V is where x+3=0.
The graph of y=∣x+3∣; the region between x=−6 and x=0 is shaded.
Area=∫−60ydx=∫−6−3−(x+3)dx+∫−30(x+3)dx
Why?
The curve lies on or above the x-axis, so the area between x=a and x=b is ∫abydx.
The formula for y changes at x=−3, so split the integral there and use the right formula on each piece.
Area=−[2(x+3)2]−6−3+[2(x+3)2]−30=−(0−29)+(29−0)=29+29
Why?
An antiderivative of x+3 is 2(x+3)2, since
dxd2(x+3)2=x+3
At x=−3 it is 0. At x=−6 and at x=0 it is 232=29.
x=−3x=−6x=0: 2(−3+3)2=202=0: 2(−6+3)2=2(−3)2=29: 2(0+3)2=232=29
Each bracket is (value at the top limit) minus (value at the bottom limit):
−(0−29)29−029+29=−(−29)=29=29=218=9
Check with the figure: the region is two triangles, each with base 3 and height 3, so each has area 21⋅3⋅3=29.
∴ Required area =9 sq. units.
Where this comes fromChapter 8, Application of Integrals: Area under y = |x + 3| by integration.
Question type: A modulus inside the integral
How to spot it: click to see
Type 6. A modulus inside the integral: split at the corner
Spot it: bars inside the integral, like ∣x+3∣ or x∣x∣.
Here: ∣x+3∣ has its corner at x=−3, between −6 and 0. Split there: use −(x+3) from −6 to −3 and x+3 from −3 to 0, giving 29+29=9.
Quick lesson · Worked NCERT solutions · Interactive lesson
Also uses Chapter 7, Integrals.