Area between curves · Exercise-AREA-BETWEEN-CURVES-010

Step-by-step solved exercise: Integrals

Find the area between \(\displaystyle y=x\) and \(\displaystyle y=2-x\) on \(\displaystyle [0,2]\).

Step by step with comments, a check and common mistakes.

Step-by-step solution

  1. Setting \(\displaystyle x=2-x\) gives \(\displaystyle x=1\), which splits \(\displaystyle [0,2]\).

    \[\displaystyle x=2-x \Rightarrow x=1\]
  2. On \(\displaystyle [0,1]\) the line \(\displaystyle y=2-x\) is on top, so the integral is \(\displaystyle \int_0^1(2-2x)\,dx\).

    \[\displaystyle \int_{0}^{1}\left[(2-x)-x\right]dx=\int_{0}^{1}(2-2x)\,dx\]
  3. On \(\displaystyle [1,2]\) the line \(\displaystyle y=x\) is on top, so the integral is \(\displaystyle \int_1^2(2x-2)\,dx\).

    \[\displaystyle \int_{1}^{2}\left[x-(2-x)\right]dx=\int_{1}^{2}(2x-2)\,dx\]
  4. Each piece equals 1, so the total area is \(\displaystyle 1+1=2\).

    \[\displaystyle \int_{0}^{1}(2-2x)\,dx+\int_{1}^{2}(2x-2)\,dx=1+1=2\]

Answer

\(\displaystyle 2\)

🎯 Build my path to this exercise