Find the area. y=x^2, y=x, x=1, x=-1.

Ans=1. can someone show me the calculations because i got 1/3 unit^2.

Always make a sketch.This one will show two regions, one form -1 to 0 , and the other from 0 to 1

Area = ∫x^2 - x dx from -1 to 0 + ∫x - x^2 dx from 0 to 1
= [(1/3)x^3 - (1/2)x^2] for -1 to 0 + [(1/2)x^2 -(1/3)x^3] from 0 to 1
= ( 0 - (-1/3 - 1/2) ) + (1/2 - 1/3 - 0)
= 1/3 + 1/2 + 1/2 - 1/3
= 1