We need the area of the region
{(x,y):x−2y+4≥0,x+2y2≥0,x+4y2≤8,y≥0}.
1. Rewrite each inequality
Given:
- x−2y+4≥0⟹x≥2y−4
- x+2y2≥0⟹x≥−2y2
- x+4y2≤8⟹x≤8−4y2
- y≥0
So for a fixed y≥0, the allowed values of x are
max(2y−4,−2y2)≤x≤8−4y2.
Hence the horizontal width is
(8−4y2)−max(2y−4,−2y2).
We must determine which of 2y−4 and −2y2 is larger.
2. Compare 2y−4 and −2y2
Solve
2y−4=−2y2.
This gives
2y2+2y−4=0⟹y2+y−2=0⟹(y+2)(y−1)=0.
So intersections occur at y=−2,1. Since y≥0, relevant point is y=1.
Now test intervals:
- For 0≤y<1, take y=0:
2y−4=−4,−2y2=0, so −2y2>2y−4.
- For y>1, take y=2:
2y−4=0,−2y2=−8, so 2y−4>−2y2.
Therefore,
max(2y−4,−2y2)={−2y2,2y−4,0≤y≤1,y≥1.
3. Find the valid range of y
We also need left endpoint ≤ right endpoint.
For 0≤y≤1
Left boundary is x=−2y2, right boundary is x=8−4y2.
Then width is
(8−4y2)−(−2y2)=8−2y2>0
for all 0≤y≤1.
For y≥1
Left boundary is x=2y−4, right boundary is x=8−4y2.
Require
2y−4≤8−4y2.
So
4y2+2y−12≤0⟹2y2+y−6≤0⟹(2y−3)(y+2)≤0.
Since y≥1, this gives
1≤y≤23.
Hence total range is
0≤y≤23.
4. Set up the area integral
Thus area
A=∫01[(8−4y2)−(−2y2)]dy+∫13/2[(8−4y2)−(2y−4)]dy.
So
A=∫01(8−2y2)dy+∫13/2(12−2y−4y2)dy.
5. Evaluate the first integral
∫01(8−2y2)dy=[8y−32y3]01=8−32=322.
6. Evaluate the second integral
∫(12−2y−4y2)dy=12y−y2−34y3.
Therefore,
∫13/2(12−2y−4y2)dy=[12y−y2−34y3]13/2.
At y=23:
12⋅23−(23)2−34(23)3=18−49−34⋅827=18−49−29=445.
At y=1:
12−1−34=11−34=329.
So the integral is
445−329=12135−116=1219.
7. Total area
A=322+1219=1288+19=12107.
Thus
nm=12107
with m=107, n=12 (coprime).
So
m+n=107+12=119.
8. Comparison with stored answer
Stored correct answer = 119.
Our derived answer also equals 119, so they agree.