Question 3491
The shaded region R is bounded by the graphs of the functions f and g, where
\( f(x) = x^2 - 2x \) and \( g(x) = x + \sin(\pi x) \)
as shown in the figure.

📱 (A) Find the area of R. Show the setup for your calculations.
(B) Region R is the base of a solid. For this solid, at each \(x\) the cross section perpendicular to the \(x\)-axis is a rectangle with height \(x\) and base in region R. Find the volume of the solid. Show the setup for your calculations.
(C) Write, but do not evaluate, an integral expression for the volume of the solid generated when the region R is rotated about the horizontal line \(y = -2\).
(D) It can be shown that \(g'(x) = 1 + \pi\cos(\pi x)\). Find the value of \(x\), for \(0 \lt x \lt 1\), at which the line tangent to the graph of \(f\) is parallel to the line tangent to the graph of \(g\).
Main Solution
Setup: Finding intersection points of f and g
Set \(f(x) = g(x)\):
\[ x^2 - 2x = x + \sin(\pi x) \]
By inspection (and confirmed by the graph), the curves intersect at \(x = 0\) and \(x = 3\). Check: at \(x=0\): \(f(0)=0\), \(g(0)=0\). At \(x=3\): \(f(3)=9-6=3\), \(g(3)=3+\sin(3\pi)=3\). ✓
On \([0,3]\), \(g(x) \geq f(x)\) (the graph confirms \(g\) is on top).
Part (A): Area of R
\[ \text{Area} = \int_0^3 \bigl[g(x) - f(x)\bigr]\,dx = \int_0^3 \bigl[(x + \sin(\pi x)) - (x^2 - 2x)\bigr]\,dx \]
\[ = \int_0^3 \bigl[3x - x^2 + \sin(\pi x)\bigr]\,dx \]
Evaluate:
\[ = \left[\frac{3x^2}{2} - \frac{x^3}{3} - \frac{\cos(\pi x)}{\pi}\right]_0^3 \]
At \(x = 3\): \(\frac{3(9)}{2} - \frac{27}{3} - \frac{\cos(3\pi)}{\pi} = \frac{27}{2} - 9 - \frac{-1}{\pi} = \frac{27}{2} - 9 + \frac{1}{\pi}\)
At \(x = 0\): \(0 - 0 - \frac{\cos(0)}{\pi} = -\frac{1}{\pi}\)
\[ \text{Area} = \left(\frac{27}{2} - 9 + \frac{1}{\pi}\right) - \left(-\frac{1}{\pi}\right) = \frac{27}{2} - 9 + \frac{2}{\pi} \]
\[ \boxed{\text{Area} = \frac{9}{2} + \frac{2}{\pi} \approx 4.500 + 0.637 \approx 5.137} \]
Part (B): Volume with rectangular cross sections of height x
Each cross section perpendicular to the \(x\)-axis is a rectangle with:
- Base \(= g(x) - f(x) = 3x - x^2 + \sin(\pi x)\)
- Height \(= x\)
\[ V = \int_0^3 x\bigl[g(x)-f(x)\bigr]\,dx = \int_0^3 x\bigl[3x - x^2 + \sin(\pi x)\bigr]\,dx \]
\[ = \int_0^3 \bigl[3x^2 - x^3 + x\sin(\pi x)\bigr]\,dx \]
Evaluate term by term:
\(\displaystyle\int_0^3 3x^2\,dx = \left[x^3\right]_0^3 = 27\)
\(\displaystyle\int_0^3 x^3\,dx = \left[\frac{x^4}{4}\right]_0^3 = \frac{81}{4}\)
For \(\displaystyle\int_0^3 x\sin(\pi x)\,dx\), use integration by parts: let \(u=x\), \(dv=\sin(\pi x)\,dx\):
\[ = \left[-\frac{x\cos(\pi x)}{\pi}\right]_0^3 + \int_0^3 \frac{\cos(\pi x)}{\pi}\,dx = \left[-\frac{x\cos(\pi x)}{\pi} + \frac{\sin(\pi x)}{\pi^2}\right]_0^3 \]
At \(x=3\): \(-\frac{3\cos(3\pi)}{\pi} + \frac{\sin(3\pi)}{\pi^2} = -\frac{3(-1)}{\pi} + 0 = \frac{3}{\pi}\)
At \(x=0\): \(0 + 0 = 0\)
So \(\displaystyle\int_0^3 x\sin(\pi x)\,dx = \frac{3}{\pi}\)
\[ V = 27 - \frac{81}{4} + \frac{3}{\pi} = \frac{108}{4} - \frac{81}{4} + \frac{3}{\pi} = \frac{27}{4} + \frac{3}{\pi} \]
\[ \boxed{V = \frac{27}{4} + \frac{3}{\pi} \approx 6.75 + 0.955 \approx 7.705} \]
Part (C): Volume when R is rotated about y = −2 (washer method)
When rotating about \(y = -2\), the outer radius is the distance from \(y=-2\) to the top curve \(g(x)\), and the inner radius is the distance from \(y=-2\) to the bottom curve \(f(x)\):
- Outer radius: \(R(x) = g(x) - (-2) = g(x) + 2 = x + \sin(\pi x) + 2\)
- Inner radius: \(r(x) = f(x) - (-2) = f(x) + 2 = x^2 - 2x + 2\)
\[ \boxed{V = \pi\int_0^3 \Bigl[\bigl(x + \sin(\pi x) + 2\bigr)^2 - \bigl(x^2 - 2x + 2\bigr)^2\Bigr]\,dx} \]
Part (D): Tangent lines parallel to each other
Parallel tangent lines have equal slopes, so set \(f'(x) = g'(x)\):
\[ f'(x) = 2x - 2 \]
\[ g'(x) = 1 + \pi\cos(\pi x) \]
Set equal:
\[ 2x - 2 = 1 + \pi\cos(\pi x) \]
\[ 2x - 3 = \pi\cos(\pi x) \]
This equation must be solved on \(0 < x < 1\). Use a numerical approach (as expected on the AP exam):
At \(x = 0.5\): LHS \(= 2(0.5)-3 = -2\); RHS \(= \pi\cos(0.5\pi) = \pi(0) = 0\). Not equal.
At \(x = 0.1\): LHS \(= -2.8\); RHS \(= \pi\cos(0.1\pi) \approx \pi(0.951) \approx 2.987\). Not equal.
At \(x = 0.9\): LHS \(= -1.2\); RHS \(= \pi\cos(0.9\pi) \approx \pi(-0.951) \approx -2.987\). Not equal.
At \(x = 0.8\): LHS \(= -1.4\); RHS \(= \pi\cos(0.8\pi) \approx \pi(-0.809) \approx -2.542\). Not equal.
At \(x = 0.7\): LHS \(= -1.6\); RHS \(= \pi\cos(0.7\pi) \approx \pi(-0.588) \approx -1.847\). Close.
At \(x = 0.65\): LHS \(= -1.7\); RHS \(= \pi\cos(0.65\pi) \approx \pi(-0.454) \approx -1.426\).
At \(x = 0.73\): LHS \(= -1.54\); RHS \(= \pi\cos(0.73\pi) \approx \pi(-0.643) \approx -2.020\).
Narrowing in: at \(x \approx 0.69\): LHS \(\approx -1.62\); RHS \(= \pi\cos(0.69\pi)\approx\pi(-0.559)\approx -1.756\).
At \(x \approx 0.67\): LHS \(\approx -1.66\); RHS \(\approx \pi(-0.515)\approx -1.618\). Very close.
At \(x \approx 0.668\): LHS \(\approx -1.664\); RHS \(\approx \pi\cos(0.668\pi)\approx\pi(-0.530)\approx -1.665\). ✓
\[ \boxed{x \approx 0.668} \]
Teacher Explanation
This is a classic AP Calculus AB FRQ covering four major integration and differentiation skills:
- (A) Area between curves — integrate \(g(x)-f(x)\) from 0 to 3. Students must identify intersection points and which function is on top.
- (B) Volume with known cross sections — multiply the base length by the given height \(x\) and integrate. Requires integration by parts for the \(x\sin(\pi x)\) term.
- (C) Washer method — distances from the axis of rotation \(y=-2\) must be computed correctly as \(g(x)+2\) (outer) and \(f(x)+2\) (inner). Students only need to write the integral, not evaluate.
- (D) Parallel tangents — set \(f'(x)=g'(x)\) and solve numerically on the given interval. A calculator is expected.
Education Coach Advice
AP Exam Strategy:
- Always write the integral setup before evaluating — partial credit is awarded for correct setup even if arithmetic errors follow.
- For Part (C), writing the integral is sufficient — do not evaluate it.
- Use your calculator for Part (D) to solve the transcendental equation numerically; report \(x\) to three decimal places.
- Verify intersection points by plugging back into both functions.
Traps
Common errors and traps:
- (A) Forgetting the \(\frac{1}{\pi}\) factor when integrating \(\sin(\pi x)\): the antiderivative is \(-\frac{\cos(\pi x)}{\pi}\).
- (B) Confusing base and height of the cross-sectional rectangle, or forgetting to multiply by \(x\).
- (C) Using \(g(x)-2\) instead of \(g(x)+2\) for the outer radius — the axis is \(y=-2\), so distances are \(y_{\text{curve}}-(-2)=y_{\text{curve}}+2\). Also reversing which is the outer vs. inner radius.
- (D) Not using the provided \(g'(x)\), or solving on the wrong interval. The answer must be in \((0,1)\).
Answer images

