MatheramaMatherama
← Area Under Curves
Area Under Curves·Section 5·14 min read

Curves Forming Closed Loops

Up to now, almost every enclosed region you calculated was trapped between two different curves—like a parabola and a line, or a circle and a parabola.

Yet many equations trace out a single curve that closes back on itself to form a loop, enclosing an area all by itself! Examples look like:

y2=x2(1−x),(y−x)2=x(1−x),2y2−4xy+3x2−2x=0y^2 = x^2(1 - x), \qquad (y - x)^2 = x(1 - x), \qquad 2y^2 - 4xy + 3x^2 - 2x = 0

How can one equation trap a closed area? And how do you find its upper branch, lower branch, and loop boundaries without getting lost in complicated sketching?


1. Splitting a Loop Equation Into Upper and Lower Branches§

An ordinary function y=f(x)y = f(x) has at most one yy-value for every xx, so it can never loop back on itself. A curve can form a closed loop only when the equation gives two yy-values for each xx inside an interval [a,b][a, b]—which happens whenever yy appears to the second degree (y2y^2 or a quadratic in yy).

Case A: Symmetric Around a Spine Curve§

Look at an equation of the form:

(y−h(x))2=g(x)\big(y - h(x)\big)^2 = g(x)

Taking square roots on both sides immediately splits the single equation into two branches:

  • Upper branch: yupper=h(x)+g(x)y_{\text{upper}} = h(x) + \sqrt{g(x)}
  • Lower branch: ylower=h(x)−g(x)y_{\text{lower}} = h(x) - \sqrt{g(x)}

Upper and lower branches of (y - h(x))^2 = g(x) around spine y = h(x)

Watch closely what happens:

  1. Domain condition: Real yy-values exist only where g(x)≥0g(x) \ge 0.
  2. Where the loop seals shut: Wherever g(x)=0g(x) = 0 (say at x=ax = a and x=bx = b), the square root vanishes (g(x)=0\sqrt{g(x)} = 0), so both branches collide at the exact same point—(a,h(a))(a, h(a)) and (b,h(b))(b, h(b))! That seals the region into a closed loop over [a,b][a, b].
  3. The Spine Cancellation Magic: What is the height of a vertical strip stretching from ylowery_{\text{lower}} to yuppery_{\text{upper}}?
yupper−ylower=(h(x)+g(x))−(h(x)−g(x))=2g(x)y_{\text{upper}} - y_{\text{lower}} = \Big(h(x) + \sqrt{g(x)}\Big) - \Big(h(x) - \sqrt{g(x)}\Big) = 2\sqrt{g(x)}

Look at that result: the central spine h(x)h(x) cancels out completely! Whether the loop sits on the xx-axis (h(x)=0h(x) = 0), tilts diagonally along y=xy = x, or bends along a parabola y=x2y = x^2, the vertical slice at xx always has exact length 2g(x)2\sqrt{g(x)}, so the area is simply:

A=∫ab2g(x) dxA = \int_a^b 2\sqrt{g(x)}\,dx

(Note: Sometimes g(x)≥0g(x) \ge 0 holds on an unbounded ray like x≥0x \ge 0—for example, (y−x)2=x(y - x)^2 = x. Then the two branches y=x±xy = x \pm \sqrt{x} start together at (0,0)(0, 0) and never meet again, so a boundary line like x=4x = 4 is needed to close the region!)


Case B: General Quadratic Equations in y§

What if the equation is written completely expanded as a general quadratic in yy?

A(x) y2+B(x) y+C(x)=0(A(x)≠0)A(x)\,y^2 + B(x)\,y + C(x) = 0 \qquad (A(x) \neq 0)

You do not even need to guess a sketch first! Treat xx as a constant and apply the quadratic formula to solve for yy:

y=−B(x)±D(x)2A(x),where D(x)=B(x)2−4A(x)C(x)y = \frac{-B(x) \pm \sqrt{D(x)}}{2A(x)}, \qquad \text{where } D(x) = B(x)^2 - 4A(x)C(x)
  • Upper branch: takes the ++ sign (when A(x)>0A(x) > 0).
  • Lower branch: takes the −- sign (when A(x)>0A(x) > 0).
  • Domain & Loop Endpoints: The curve exists only where the discriminant D(x)≥0D(x) \ge 0. Any bounded interval [a,b][a, b] where D(x)≥0D(x) \ge 0 and D(a)=D(b)=0D(a) = D(b) = 0 forms a closed loop!
  • Direct Area Formula (Spine Cancels Automatically!): Subtracting the two roots removes −B(x)2A(x)-\frac{B(x)}{2A(x)} immediately:
yupper−ylower=D(x)∣A(x)∣  ⟹  Area of loop=∫abD(x)∣A(x)∣ dxy_{\text{upper}} - y_{\text{lower}} = \frac{\sqrt{D(x)}}{|A(x)|} \implies \text{Area of loop} = \int_a^b \frac{\sqrt{D(x)}}{|A(x)|}\,dx

Worked Examples§

Example 1: Classic Loop Symmetric About the x-Axis

Sketch the curve y2=x2(1−x)y^2 = x^2(1 - x) and find the area of its closed loop.

Solution: Here h(x)=0h(x) = 0 and g(x)=x2(1−x)g(x) = x^2(1 - x).

1. Domain: Since y2≥0y^2 \ge 0 and x2≥0x^2 \ge 0, we need 1−x≥0  ⟹  x≤11 - x \ge 0 \implies x \le 1.

2. Where the branches meet: Setting y=0y = 0 gives x2(1−x)=0  ⟹  x=0x^2(1 - x) = 0 \implies x = 0 and x=1x = 1. On [0,1][0, 1], we have g(x)≥0g(x) \ge 0 with g(0)=g(1)=0g(0) = g(1) = 0, forming a single closed loop between (0,0)(0, 0) and (1,0)(1, 0).

3. Upper and lower branches on [0,1][0, 1]: Since x≥0x \ge 0 on [0,1][0, 1], x2(1−x)=x1−x\sqrt{x^2(1 - x)} = x\sqrt{1 - x}, giving:

yupper=x1−xandylower=−x1−xy_{\text{upper}} = x\sqrt{1 - x} \qquad \text{and} \qquad y_{\text{lower}} = -x\sqrt{1 - x}

(For x<0x < 0, ∣x∣=−x|x| = -x, so the two branches y=±x1−xy = \pm x\sqrt{1 - x} open outward indefinitely to the left.)

Loop of y^2 = x^2(1 - x) shaded between x = 0 and x = 1

4. Area of the loop: Using yupper−ylower=2x1−xy_{\text{upper}} - y_{\text{lower}} = 2x\sqrt{1 - x} on [0,1][0, 1]:

A=2∫01x1−x dxA = 2 \int_0^1 x\sqrt{1 - x}\,dx

Substitute t=1−x  ⟹  x=1−tt = 1 - x \implies x = 1 - t and dx=−dtdx = -dt:

A=2∫01(1−t)t dt=2∫01(t1/2−t3/2) dt=2[23t3/2−25t5/2]01=2(23−25)=815 sq. units.A = 2 \int_0^1 (1 - t)\sqrt{t}\,dt = 2 \int_0^1 (t^{1/2} - t^{3/2})\,dt = 2\left[\frac{2}{3}t^{3/2} - \frac{2}{5}t^{5/2}\right]_0^1 = 2\left(\frac{2}{3} - \frac{2}{5}\right) = \frac{8}{15}\text{ sq. units.}

Example 2: A Figure-Eight With Two Closed Loops

Find the total area enclosed by the curve y2=x2(4−x2)y^2 = x^2(4 - x^2).

Solution: Look at the domain condition 4−x2≥0  ⟹  −2≤x≤24 - x^2 \ge 0 \implies -2 \le x \le 2. Setting y=0y = 0 gives three points where upper and lower branches meet: x=−2x = -2, x=0x = 0, and x=2x = 2. That splits [−2,2][-2, 2] into two symmetric loops forming a figure-eight!

  • Upper branch: yupper=∣x∣4−x2y_{\text{upper}} = |x|\sqrt{4 - x^2}.
  • Lower branch: ylower=−∣x∣4−x2y_{\text{lower}} = -|x|\sqrt{4 - x^2}.

Figure-eight double loop of y^2 = x^2(4 - x^2)

Because both x→−xx \to -x and y→−yy \to -y leave the equation unchanged, the total area of both loops equals 4×4 \times the first-quadrant piece (0≤x≤20 \le x \le 2):

A=4∫02x4−x2 dxA = 4 \int_0^2 x\sqrt{4 - x^2}\,dx

Substitute t=4−x2  ⟹  dt=−2x dx  ⟹  x dx=−12 dtt = 4 - x^2 \implies dt = -2x\,dx \implies x\,dx = -\frac{1}{2}\,dt (as x:0→2x: 0 \to 2, t:4→0t: 4 \to 0):

A=4⋅12∫04t dt=2[23t3/2]04=43(8)=323 sq. units.A = 4 \cdot \frac{1}{2} \int_0^4 \sqrt{t}\,dt = 2\left[\frac{2}{3}t^{3/2}\right]_0^4 = \frac{4}{3}(8) = \frac{32}{3}\text{ sq. units.}

Example 3: Closed Loop Around a Tilted Line Spine

Find the area enclosed by the curve (y−x)2=x(1−x)(y - x)^2 = x(1 - x).

Solution: Taking square roots splits the curve around the diagonal spine y=xy = x:

  • Upper branch: yupper=x+x(1−x)y_{\text{upper}} = x + \sqrt{x(1 - x)}
  • Lower branch: ylower=x−x(1−x)y_{\text{lower}} = x - \sqrt{x(1 - x)}

Real values exist only when x(1−x)≥0  ⟹  0≤x≤1x(1 - x) \ge 0 \implies 0 \le x \le 1. At x=0x = 0 and x=1x = 1, the branches meet at (0,0)(0, 0) and (1,1)(1, 1), sealing a tilted loop (a sheared ellipse)!

Tilted loop of (y - x)^2 = x(1 - x) around spine y = x

Notice how the spine xx vanishes when taking the vertical strip height yupper−ylower=2x(1−x)y_{\text{upper}} - y_{\text{lower}} = 2\sqrt{x(1 - x)}:

A=∫012x−x2 dx=2∫0114−(x−12)2 dxA = \int_0^1 2\sqrt{x - x^2}\,dx = 2 \int_0^1 \sqrt{\frac{1}{4} - \left(x - \frac{1}{2}\right)^2}\,dx

The integral ∫01(12)2−(x−12)2 dx\int_0^1 \sqrt{\left(\frac{1}{2}\right)^2 - \left(x - \frac{1}{2}\right)^2}\,dx is simply the area of a semicircle of radius r=12r = \frac{1}{2} (centered at x=12x = \frac{1}{2}), which equals 12π(12)2=π8\frac{1}{2}\pi\left(\frac{1}{2}\right)^2 = \frac{\pi}{8}. Multiplying by 22:

A=2⋅π8=π4 sq. units.A = 2 \cdot \frac{\pi}{8} = \frac{\pi}{4}\text{ sq. units.}

Example 4: Two Branches Along y = x Closed by a Vertical Line

Find the area bounded by the curve (y−x)2=x(y - x)^2 = x and the vertical line x=4x = 4.

Solution: Here g(x)=x≥0g(x) = x \ge 0 holds for all x≥0x \ge 0. Taking square roots gives:

  • Upper branch: yupper=x+xy_{\text{upper}} = x + \sqrt{x}
  • Lower branch: ylower=x−xy_{\text{lower}} = x - \sqrt{x}

Notice that these two branches meet at (0,0)(0, 0) and diverge to infinity as x→∞x \to \infty—so (y−x)2=x(y - x)^2 = x cannot close on its own, which is why the boundary line x=4x = 4 is given (cutting the two branches at (4,2)(4, 2) and (4,6)(4, 6)).

Branches of (y - x)^2 = x closed by vertical line x = 4

Subtracting upper minus lower branch cancels the spine xx:

A=∫04((x+x)−(x−x)) dx=∫042x dx=[43x3/2]04=43(8)=323 sq. units.A = \int_0^4 \Big((x + \sqrt{x}) - (x - \sqrt{x})\Big)\,dx = \int_0^4 2\sqrt{x}\,dx = \left[\frac{4}{3}x^{3/2}\right]_0^4 = \frac{4}{3}(8) = \frac{32}{3}\text{ sq. units.}

(Notice: This is the exact same area as the upright parabola y2=xy^2 = x bounded by x=4x = 4!)


Example 5: Closed Loop With a Curved Parabolic Spine

Find the area enclosed by (y−x2)2=1−x2(y - x^2)^2 = 1 - x^2.

Solution: The domain requires 1−x2≥0  ⟹  −1≤x≤11 - x^2 \ge 0 \implies -1 \le x \le 1. Around the curved spine y=x2y = x^2:

  • Upper branch: yupper=x2+1−x2y_{\text{upper}} = x^2 + \sqrt{1 - x^2}
  • Lower branch: ylower=x2−1−x2y_{\text{lower}} = x^2 - \sqrt{1 - x^2}

At x=−1x = -1 and x=1x = 1, 1−x2=0\sqrt{1 - x^2} = 0, so both branches merge at (−1,1)(-1, 1) and (1,1)(1, 1) to form a heart-shaped closed loop!

Closed loop of (y - x^2)^2 = 1 - x^2 around curved spine y = x^2

Again, subtracting upper minus lower branch completely eliminates x2x^2:

A=∫−1121−x2 dx=2⋅(semicircle of radius 1)=2⋅π(1)22=π sq. units.A = \int_{-1}^{1} 2\sqrt{1 - x^2}\,dx = 2 \cdot \left(\text{semicircle of radius } 1\right) = 2 \cdot \frac{\pi (1)^2}{2} = \pi\text{ sq. units.}

Example 6: Finding a Loop From an Expanded Quadratic in y

Find the area of the closed curve 2y2−4xy+3x2−2x=02y^2 - 4xy + 3x^2 - 2x = 0.

Solution: Do not try to guess the shape! Group the equation as a quadratic in yy:

2y2+(−4x)y+(3x2−2x)=02y^2 + (-4x)y + (3x^2 - 2x) = 0

Here A(x)=2A(x) = 2, B(x)=−4xB(x) = -4x, and C(x)=3x2−2xC(x) = 3x^2 - 2x. Compute the discriminant D(x)D(x):

D(x)=(−4x)2−4(2)(3x2−2x)=16x2−24x2+16x=8x(2−x)D(x) = (-4x)^2 - 4(2)(3x^2 - 2x) = 16x^2 - 24x^2 + 16x = 8x(2 - x)

Real points exist only where D(x)≥0  ⟹  8x(2−x)≥0  ⟹  0≤x≤2D(x) \ge 0 \implies 8x(2 - x) \ge 0 \implies 0 \le x \le 2. At x=0x = 0 and x=2x = 2, D(x)=0D(x) = 0, closing the loop! Using the vertical distance between the upper and lower roots:

yupper−ylower=D(x)A(x)=8x(2−x)2=222x−x22=21−(x−1)2y_{\text{upper}} - y_{\text{lower}} = \frac{\sqrt{D(x)}}{A(x)} = \frac{\sqrt{8x(2 - x)}}{2} = \frac{2\sqrt{2}\sqrt{2x - x^2}}{2} = \sqrt{2}\sqrt{1 - (x - 1)^2}

Integrating from x=0x = 0 to x=2x = 2 (where ∫021−(x−1)2 dx\int_0^2 \sqrt{1 - (x - 1)^2}\,dx is a semicircle of radius 11):

A=2∫021−(x−1)2 dx=2⋅π2=π2 sq. units.A = \sqrt{2} \int_0^2 \sqrt{1 - (x - 1)^2}\,dx = \sqrt{2} \cdot \frac{\pi}{2} = \frac{\pi}{\sqrt{2}}\text{ sq. units.}

Example 7: Cubic Curve Forming a Single Tear-Drop Loop

Find the area of the closed loop of the curve 9y2=x(3−x)29y^2 = x(3 - x)^2.

Solution: Since 9y2≥09y^2 \ge 0 and (3−x)2≥0(3 - x)^2 \ge 0, the domain is x≥0x \ge 0. Setting y=0y = 0 shows that the upper and lower branches cross each other at x=0x = 0 and x=3x = 3, sealing a loop on [0,3][0, 3].

On [0,3][0, 3], we have 3−x≥03 - x \ge 0, so taking square roots gives:

yupper=13(3−x)xandylower=−13(3−x)xy_{\text{upper}} = \frac{1}{3}(3 - x)\sqrt{x} \qquad \text{and} \qquad y_{\text{lower}} = -\frac{1}{3}(3 - x)\sqrt{x}

(Checking the turning point of the upper branch: dydx=3−3x6x=0  ⟹  x=1\frac{dy}{dx} = \frac{3 - 3x}{6\sqrt{x}} = 0 \implies x = 1, height 23\frac{2}{3}.)

Tear-drop closed loop of 9 y^2 = x(3 - x)^2 on [0, 3]

By xx-axis symmetry, the loop area is:

A=2∫0313(3−x)x dx=23∫03(3x1/2−x3/2) dx=23[2x3/2−25x5/2]03A = 2 \int_0^3 \frac{1}{3}(3 - x)\sqrt{x}\,dx = \frac{2}{3} \int_0^3 \big(3x^{1/2} - x^{3/2}\big)\,dx = \frac{2}{3}\left[2x^{3/2} - \frac{2}{5}x^{5/2}\right]_0^3

Evaluating at x=3x = 3 (noting 33/2=333^{3/2} = 3\sqrt{3} and 35/2=933^{5/2} = 9\sqrt{3}):

A=23(63−1835)=23⋅1235=835 sq. units.A = \frac{2}{3}\left(6\sqrt{3} - \frac{18\sqrt{3}}{5}\right) = \frac{2}{3} \cdot \frac{12\sqrt{3}}{5} = \frac{8\sqrt{3}}{5}\text{ sq. units.}

2. Area of an Oblique Ellipse (General Second-Degree Equation)§

Suppose you are given a general second-degree equation containing an xyxy term alongside linear and constant terms, such as:

ax2+2hxy+by2+2gx+2fy+c=0ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0

Because of the 2hxy2hxy cross-term and the 2gx+2fy2gx + 2fy terms, this conic is both rotated (oblique) and shifted away from the origin. How do we recognize when it is a genuine ellipse—and how do we find its area cleanly without computing complicated rotation angles?

Step 1: Confirm It Is a Real Ellipse§

Recall the standard second-degree conic test. Form the determinant Δ\Delta:

Δ=∣ahghbfgfc∣=abc+2fgh−af2−bg2−ch2\Delta = \begin{vmatrix} a & h & g \\ h & b & f \\ g & f & c \end{vmatrix} = abc + 2fgh - af^2 - bg^2 - ch^2

Assuming b>0b > 0 (multiply the entire equation by −1-1 first if b<0b < 0), the equation represents a non-degenerate real ellipse when all three conditions hold:

  1. Δ≠0\Delta \neq 0 (the curve is a true conic, not a pair of lines).
  2. h2−ab<0h^2 - ab < 0 (equivalently ab−h2>0ab - h^2 > 0, the ellipse condition).
  3. b Δ<0b\,\Delta < 0 (or a Δ<0a\,\Delta < 0 since ab>h2≥0ab > h^2 \ge 0 guarantees aa and bb share the same sign—this ensures the curve has real points and is not an imaginary ellipse!).

Step 2: Write It as a Quadratic in y and Split Into Branches§

Exactly as in Case B above, group the equation as a quadratic in yy:

b y2+2(hx+f)y+(ax2+2gx+c)=0b\,y^2 + 2(hx + f)y + (ax^2 + 2gx + c) = 0

Its spine (diameter) is the straight line y=−hx+fby = -\frac{hx + f}{b}, and its discriminant in yy is:

D(x)=4(hx+f)2−4b(ax2+2gx+c)=4[(h2−ab)x2+2(hf−bg)x+(f2−bc)]D(x) = 4(hx + f)^2 - 4b(ax^2 + 2gx + c) = 4\Big[(h^2 - ab)x^2 + 2(hf - bg)x + (f^2 - bc)\Big]

Look closely at the coefficient of x2x^2 inside the bracket: (h2−ab)(h^2 - ab)! Because h2−ab<0h^2 - ab < 0, this quadratic in xx opens downward! Factoring out (ab−h2)>0(ab - h^2) > 0 and completing the square gives:

D(x)=4(ab−h2)[r2−(x−x0)2]D(x) = 4(ab - h^2)\Big[r^2 - (x - x_0)^2\Big]

where (x0,y0)(x_0, y_0) is the center of the ellipse and rr is its horizontal half-width! Real points exist only for x∈[x0−r, x0+r]x \in [x_0 - r, \, x_0 + r], and at the endpoints x1=x0−rx_1 = x_0 - r and x2=x0+rx_2 = x_0 + r, D(x)=0D(x) = 0, giving the two vertical tangents where the upper and lower branches meet and seal the ellipse!

General oblique ellipse split into upper and lower branches around its spine diameter

Step 3: Integrate the Difference Between Upper and Lower Branches§

Subtracting the two quadratic roots kills the spine −hx+fb-\frac{hx + f}{b}:

yupper−ylower=D(x)b=2ab−h2br2−(x−x0)2y_{\text{upper}} - y_{\text{lower}} = \frac{\sqrt{D(x)}}{b} = \frac{2\sqrt{ab - h^2}}{b}\sqrt{r^2 - (x - x_0)^2}

Integrating from x0−rx_0 - r to x0+rx_0 + r (where ∫x0−rx0+rr2−(x−x0)2 dx=12πr2\int_{x_0 - r}^{x_0 + r} \sqrt{r^2 - (x - x_0)^2}\,dx = \frac{1}{2}\pi r^2 is simply a semicircle of radius rr):

A=2ab−h2b⋅(12πr2)=πab−h2b r2A = \frac{2\sqrt{ab - h^2}}{b} \cdot \left(\frac{1}{2}\pi r^2\right) = \frac{\pi\sqrt{ab - h^2}}{b}\,r^2

(And if you compute r2r^2 from the discriminant of (h2−ab)x2+2(hf−bg)x+(f2−bc)(h^2 - ab)x^2 + 2(hf - bg)x + (f^2 - bc), algebra gives r2=−b Δ(ab−h2)2r^2 = \frac{-b\,\Delta}{(ab - h^2)^2}—which both proves why b Δ<0b\,\Delta < 0 is needed for r2>0r^2 > 0 and yields the compact formula:)

A=π ∣Δ∣(ab−h2)3/2A = \frac{\pi\,|\Delta|}{(ab - h^2)^{3/2}}

(Notice: You never have to memorize this determinant formula if you just write the equation as a quadratic in yy, complete the square on D(x)D(x), and use the semicircle integral!)


Example 8: Oblique Shifted Ellipse With 2x^2 + 3xy

Verify that 2x2+3xy+3y2−8x−6y+3=02x^2 + 3xy + 3y^2 - 8x - 6y + 3 = 0 represents a real ellipse, sketch it via upper and lower branches, and find its area.

Solution:

1. Check the conic conditions: Matching with ax2+2hxy+by2+2gx+2fy+c=0ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0 gives a=2a = 2, h=32h = \frac{3}{2}, b=3b = 3, g=−4g = -4, f=−3f = -3, and c=3c = 3.

  • h2−ab=(32)2−2(3)=94−6=−154<0h^2 - ab = \left(\frac{3}{2}\right)^2 - 2(3) = \frac{9}{4} - 6 = -\frac{15}{4} < 0 (so ab−h2=154>0ab - h^2 = \frac{15}{4} > 0).
  • Compute Δ\Delta:
Δ=∣23/2−43/23−3−4−33∣=2(9−9)−32(92−12)−4(−92+12)=0+454−30=−754≠0\Delta = \begin{vmatrix} 2 & 3/2 & -4 \\ 3/2 & 3 & -3 \\ -4 & -3 & 3 \end{vmatrix} = 2(9 - 9) - \frac{3}{2}\left(\frac{9}{2} - 12\right) - 4\left(-\frac{9}{2} + 12\right) = 0 + \frac{45}{4} - 30 = -\frac{75}{4} \neq 0

Since b=3>0b = 3 > 0, h2−ab<0h^2 - ab < 0, and bΔ<0b\Delta < 0, it is a non-degenerate real ellipse.

2. Write as a quadratic in yy and find the spine & discriminant:

3y2+(3x−6)y+(2x2−8x+3)=03y^2 + (3x - 6)y + (2x^2 - 8x + 3) = 0

Solving for yy gives the spine diameter y=−3x−66=1−x2y = -\frac{3x - 6}{6} = 1 - \frac{x}{2}, and discriminant:

D(x)=(3x−6)2−12(2x2−8x+3)=(9x2−36x+36)−(24x2−96x+36)=−15x2+60x=15x(4−x)D(x) = (3x - 6)^2 - 12(2x^2 - 8x + 3) = (9x^2 - 36x + 36) - (24x^2 - 96x + 36) = -15x^2 + 60x = 15x(4 - x)

Real values exist when 15x(4−x)≥0  ⟹  0≤x≤415x(4 - x) \ge 0 \implies 0 \le x \le 4. At x=0x = 0 and x=4x = 4, D(x)=0D(x) = 0, giving the vertical-tangent endpoints (0,1)(0, 1) and (4,−1)(4, -1) on the spine (with center at (2,0)(2, 0)).

Oblique ellipse 2x^2 + 3xy + 3y^2 - 8x - 6y + 3 = 0 between x = 0 and x = 4

3. Compute the area from the vertical strip: Writing x(4−x)=4−(x−2)2x(4 - x) = 4 - (x - 2)^2:

yupper−ylower=D(x)3=1534−(x−2)2y_{\text{upper}} - y_{\text{lower}} = \frac{\sqrt{D(x)}}{3} = \frac{\sqrt{15}}{3}\sqrt{4 - (x - 2)^2}

Integrating from x=0x = 0 to x=4x = 4 (a semicircle of radius r=2r = 2, area 12π(2)2=2π\frac{1}{2}\pi(2)^2 = 2\pi):

A=153∫044−(x−2)2 dx=153⋅2π=2π153 sq. units.A = \frac{\sqrt{15}}{3} \int_0^4 \sqrt{4 - (x - 2)^2}\,dx = \frac{\sqrt{15}}{3} \cdot 2\pi = \frac{2\pi\sqrt{15}}{3}\text{ sq. units.}

(Check with the determinant formula: π∣Δ∣(ab−h2)3/2=π(75/4)(15/4)3/2=75π/41515/8=10π15=2π153\frac{\pi|\Delta|}{(ab - h^2)^{3/2}} = \frac{\pi(75/4)}{(15/4)^{3/2}} = \frac{75\pi/4}{15\sqrt{15}/8} = \frac{10\pi}{\sqrt{15}} = \frac{2\pi\sqrt{15}}{3}—an exact match!)


Example 9: Oblique Ellipse With Irrational Vertical Tangents

Find the area enclosed by x2+2xy+2y2−4x−2y+1=0x^2 + 2xy + 2y^2 - 4x - 2y + 1 = 0.

Solution: Here a=1a = 1, h=1h = 1, b=2b = 2, g=−2g = -2, f=−1f = -1, and c=1c = 1.

  • h2−ab=1−2=−1<0h^2 - ab = 1 - 2 = -1 < 0 (so ab−h2=1ab - h^2 = 1).
  • Δ=∣11−212−1−2−11∣=1(2−1)−1(1−2)−2(−1+4)=1+1−6=−4<0\Delta = \begin{vmatrix} 1 & 1 & -2 \\ 1 & 2 & -1 \\ -2 & -1 & 1 \end{vmatrix} = 1(2 - 1) - 1(1 - 2) - 2(-1 + 4) = 1 + 1 - 6 = -4 < 0, confirming a real ellipse.

Group as a quadratic in yy:

2y2+(2x−2)y+(x2−4x+1)=02y^2 + (2x - 2)y + (x^2 - 4x + 1) = 0

Compute the discriminant in yy and complete the square in xx:

D(x)=(2x−2)2−8(x2−4x+1)=−4x2+24x−4=4[8−(x−3)2]D(x) = (2x - 2)^2 - 8(x^2 - 4x + 1) = -4x^2 + 24x - 4 = 4\big[8 - (x - 3)^2\big]

Real yy exist for 3−22≤x≤3+223 - 2\sqrt{2} \le x \le 3 + 2\sqrt{2} (a half-width r=8r = \sqrt{8}). Even though the endpoints are irrational, subtracting upper minus lower branch gives:

yupper−ylower=D(x)2=8−(x−3)2y_{\text{upper}} - y_{\text{lower}} = \frac{\sqrt{D(x)}}{2} = \sqrt{8 - (x - 3)^2}

The integral across [3−8, 3+8][3 - \sqrt{8}, \, 3 + \sqrt{8}] is immediately a semicircle of radius 8\sqrt{8}:

A=∫3−83+88−(x−3)2 dx=12π(8)2=4π sq. units.A = \int_{3 - \sqrt{8}}^{3 + \sqrt{8}} \sqrt{8 - (x - 3)^2}\,dx = \frac{1}{2}\pi(\sqrt{8})^2 = 4\pi\text{ sq. units.}

(Checking with A=π∣Δ∣(ab−h2)3/2A = \frac{\pi|\Delta|}{(ab - h^2)^{3/2}} gives π∣−4∣13/2=4π\frac{\pi|-4|}{1^{3/2}} = 4\pi immediately!)

Section 5 of 7 · Area Under Curves

Mark this section complete when you have worked through its proofs.