Math Lab
Home/Class XII/Ch 8/Choosing the slice direction

Choosing the slice direction

In every area problem you have a choice: integrate by sweeping a vertical bar from left to right (using dxdx as the slice width), or by sweeping a horizontal bar from bottom to top (using dydy). The answer is always the same, but the work involved can differ wildly. A region that needs a delicate splitting under one orientation may be a one-line integral under the other.

When vertical (dxdx) slices win

Use dxdx-slices when:

  • The curves are easily written as y=f(x)y = f(x), y=g(x)y = g(x).
  • The region's left and right boundaries are vertical lines (x=ax = a and x=bx = b), or two curves whose xx-intersections give clean limits.
  • The top and bottom boundaries don't change as xx varies through the interval.

The typical setup: a region between y=f(x)y = f(x) and y=g(x)y = g(x) over [a,b][a, b], with fgf \ge g. Area =ab[fg]dx= \int_a^b [f - g]\,dx.

When horizontal (dydy) slices win

Use dydy-slices when:

  • Curves are easier as x=u(y)x = u(y), x=v(y)x = v(y). Classic examples: y2=4axy^2 = 4ax (parabola opening right), x=y2x = y^2, and similar.
  • The region's top and bottom are horizontal.
  • A horizontal sweep keeps the same left/right boundaries throughout, but a vertical sweep would require splitting.

The setup: a region between x=u(y)x = u(y) (right) and x=v(y)x = v(y) (left) over [c,d][c, d]. Area =cd[uv]dy= \int_c^d [u - v]\,dy.

When splitting is unavoidable

Some regions have boundaries that change at some interior point , e.g. a region whose top boundary is one curve up to a vertex and another curve afterwards. Then you split the integral at that point, regardless of slice direction.

If both vertical and horizontal sweeps need splitting, choose whichever requires fewer splits or simpler pieces.

Translating between slice directions

A region described by "between y=f(x)y = f(x) and the xx-axis over [a,b][a, b]" can also be described by horizontal slices. At height y[0,M]y \in [0, M] where MM is the maximum of ff on [a,b][a, b], the slice extends horizontally from the leftmost xx with f(x)=yf(x) = y to the rightmost. If ff is invertible, this becomes x=f1(y)x = f^{-1}(y).

Practical translation: sketch, identify horizontal slices, write their endpoints in terms of yy, integrate.

Worked examples

Example 1. Region between y2=xy^2 = x, y=0y = 0, y=2y = 2.

Vertical sweep: at each x[0,4]x \in [0, 4], slice from y=0y = 0 to y=xy = \sqrt x (upper branch). But there's also a piece for x[0,4]x \in [0, 4] from y=xy = -\sqrt x to y=0y = 0 , except y=0y = 0 to y=2y = 2 excludes the negative-yy branch. So just one piece: 04xdx=163\int_0^4 \sqrt x\,dx = \dfrac{16}{3}.

Horizontal sweep: at each y[0,2]y \in [0, 2], slice from x=0x = 0 to x=y2x = y^2. Area =02y2dy=83= \int_0^2 y^2\,dy = \dfrac{8}{3}.

Wait , these don't match. Let me re-read the problem. The region bounded by y2=xy^2 = x, y=0y = 0, y=2y = 2: this is bounded on the right by the parabola, below by y=0y = 0, above by y=2y = 2. The region is to the left of the parabola, between y=0y = 0 and y=2y = 2. At height yy, the slice runs from x=0x = 0 (the yy-axis is the implicit left boundary) to x=y2x = y^2. So horizontal slice: area =02y2dy=83= \int_0^2 y^2\,dy = \dfrac{8}{3}. Vertical interpretation: at each x[0,4]x \in [0, 4], the strip goes from y=xy = \sqrt x to y=2y = 2. Area =04(2x)dx=8163=83= \int_0^4 (2 - \sqrt x)\,dx = 8 - \dfrac{16}{3} = \dfrac{8}{3}. Now they match.

This example shows that the horizontal sweep is faster here.

Example 2. Region enclosed by y=x2y = x^2 and y=xy = x.

Vertical sweep (preferred): 01(xx2)dx=1/6\int_0^1 (x - x^2)\,dx = 1/6.

Horizontal sweep: at height y[0,1]y \in [0, 1], the region runs from x=yx = y (line) to x=yx = \sqrt y (parabola). Area =01(yy)dy=2312=1/6= \int_0^1 (\sqrt y - y)\,dy = \dfrac{2}{3} - \dfrac{1}{2} = 1/6. Both work; the vertical is slightly simpler.

Example 3. Region enclosed by x=y2x = y^2, x=1x = 1.

Horizontal sweep (preferred): at height y[1,1]y \in [-1, 1], xx goes from y2y^2 to 11. Area =11(1y2)dy=22/3=4/3= \int_{-1}^1 (1 - y^2)\,dy = 2 - 2/3 = 4/3.

Vertical sweep: at each x[0,1]x \in [0, 1], yy goes from x-\sqrt x to x\sqrt x, so the slice has height 2x2\sqrt x. Area =012xdx=4/3= \int_0^1 2\sqrt x\,dx = 4/3. Both work; horizontal slightly cleaner here.

Example 4. Region bounded by y=lnxy = \ln x, y=0y = 0, x=ex = e.

Vertical sweep: 1elnxdx=[xlnxx]1e=(ee)(1)=1\int_1^e \ln x\,dx = [x\ln x - x]_1^e = (e - e) - (-1) = 1.

Horizontal sweep: at height y[0,1]y \in [0, 1], xx runs from eye^y (the inverse function) to ee. Area =01(eey)dy=e(e1)=1= \int_0^1 (e - e^y)\,dy = e - (e - 1) = 1. Both yield 1.

Example 5. Region enclosed by y=x3y = x^3 and y=xy = x.

Two pieces by symmetry, each in one quadrant. Vertical sweep: 01(xx3)dx=1/4\int_0^1 (x - x^3)\,dx = 1/4, doubled to 1/21/2. Horizontal sweep: in the first quadrant, at height y[0,1]y \in [0, 1], xx runs from yy (line) to y1/3y^{1/3} (cube-root curve, since y=x3x=y1/3y = x^3 \Leftrightarrow x = y^{1/3}). Area =01(y1/3y)dy=3/41/2=1/4= \int_0^1 (y^{1/3} - y)\,dy = 3/4 - 1/2 = 1/4. Same answer.

Example 6. Region bounded by y=exy = e^x, y=2y = 2, x=0x = 0.

Vertical sweep: at x[0,ln2]x \in [0, \ln 2], yy runs from exe^x to 22. Area =0ln2(2ex)dx=2ln2(21)=2ln21= \int_0^{\ln 2} (2 - e^x)\,dx = 2\ln 2 - (2 - 1) = 2\ln 2 - 1.

Horizontal sweep: at height y[1,2]y \in [1, 2], xx runs from 00 to lny\ln y. Area =12lnydy=[ylnyy]12=(2ln22)(01)=2ln21= \int_1^2 \ln y\,dy = [y \ln y - y]_1^2 = (2\ln 2 - 2) - (0 - 1) = 2 \ln 2 - 1. Same.

Try it yourself

For each region below, set up area integrals both ways (using dxdx and using dydy), compute one, verify with the other.

  1. Region bounded by y=xy = \sqrt x, y=0y = 0, x=4x = 4.
  2. Region bounded by y=x2y = x^2, x=1x = 1, y=0y = 0.
  3. Region bounded by y2=4xy^2 = 4x, x=1x = 1 (in the upper half).
  4. Region bounded by y=cosxy = \cos x, y=0y = 0, x=0x = 0, x=π/2x = \pi/2.
  5. Region bounded by x=y21x = y^2 - 1 and x=0x = 0.
  6. Region bounded by y=xy = x, y=2xy = 2x, x=1x = 1.
  7. Region bounded by x2+y2=4x^2 + y^2 = 4 in the first quadrant.
  8. Region bounded by y=exy = e^{-x}, y=0y = 0, x=0x = 0, x=1x = 1.
  9. Region bounded by y=x24x+3y = x^2 - 4x + 3 and the xx-axis.
  10. Region bounded by y=sinxy = \sin x on [0,π][0, \pi] and the xx-axis.
  11. Region in the first quadrant bounded by y=x2y = x^2, y=4y = 4.
  12. Region bounded by y=tan1xy = \tan^{-1}x, y=0y = 0, x=1x = 1.
  13. Region bounded by y2=2xy^2 = 2x and y=x4y = x - 4.
  14. Region between y=2xy = 2x and y=x2y = x^2 in the first quadrant.

Pitfalls and tricks

  • Sketch first. Without a sketch you cannot decide which sweep is cleaner.
  • Inverse functions and slice direction. Switching slice direction usually means writing the inverse , make sure that inverse exists on the relevant part of the curve.
  • One-piece integrals beat multi-piece ones. If dxdx requires splitting and dydy doesn't (or vice versa), choose the one without splits.
  • For parabolas opening sideways, horizontal slices are almost always cleaner.
  • For parabolas opening up/down, vertical slices usually win.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Slice direction
6 questions · pick the best answer
Q1

For a region with parabola y2=4axy^2 = 4ax and a vertical line, the cleaner slice is

Q2

For the region between y=x2y = x^2 and y=xy = x, the cleaner slice is

Q3

For cd(u(y)v(y))dy\int_c^d (u(y) - v(y))\,dy to give positive area, you need

Q4

Horizontal slicing the region between y=lnxy = \ln x, xx-axis, x=ex = e gives integral

Q5

Switching from dxdx-slices to dydy-slices requires

Q6

Which sweep is cleaner for area enclosed by x=y2x = y^2 and x=4x = 4?