1. Define the functions and conditions:
Let f(x)=x2−x and g(x)=∣x∣+∣x−1∣+1. We need to find the range of (p,q) such that the line y=px+q intersects y=x2−x but does not intersect y=∣x∣+∣x−1∣+1.
2. **Intersection with y=x2−x:**
The line y=px+q intersects the parabola y=x2−x if the quadratic equation x2−(p+1)x+q=0 has real roots. This requires the discriminant to be non-negative:
Δ=(p+1)2−4q≥0
Solving for q, we get:
q≤4(p+1)2
3. **Non-intersection with y=∣x∣+∣x−1∣+1:**
The function g(x)=∣x∣+∣x−1∣+1 can be broken into three linear segments:
- For x≤0: g(x)=1−2x
- For 0≤x≤1: g(x)=2
- For x≥1: g(x)=2x−1
The line y=px+q must lie below g(x) for all x:
- For x≤0: px+q<1−2x
- For 0≤x≤1: px+q<2
- For x≥1: px+q<2x−1
4. Analyzing the inequalities:
- For x≤0: px+q<1−2x
q<1−(2+p)x(since x≤0)
The most restrictive condition is when x=0:
q<1
- For 0≤x≤1: px+q<2
q<2(since 0≤x≤1)
- For x≥1: px+q<2x−1
q<2x−(p+1)x(since x≥1)
The most restrictive condition is when x=1:
q<2−p
5. Combining the conditions:
- For p≤0:
q<2
- For p>0:
q<2−p
6. **Range of (p,q):**
Combining the conditions from the discriminant and the non-intersection:
q≤4(p+1)2andq<{22−pif p≤0if p>0
7. Finding the area:
The area of the region in the (p,q)-plane is bounded by these inequalities. We need to integrate over the valid region:
Area=∫−20(2−4(p+1)2)dp+∫02(2−p−4(p+1)2)dp
- For −2≤p≤0:
∫−20(2−4(p+1)2)dp=∫−20(2−4p2+2p+1)dp=∫−20(2−4p2−2p−41)dp
=∫−20(47−4p2−2p)dp
=[47p−12p3−4p2]−20
=(0−0−0)−(47(−2)−12(−2)3−4(−2)2)
=0−(−414+128+44)
=414−32−1
=414−32−44
=414−4−32
=410−32
=25−32
=615−64
=611
- For 0≤p≤2:
∫02(2−p−4(p+1)2)dp=∫02(2−p−4p2+2p+1)dp=∫02(2−p−4p2−2p−41)dp
=∫02(47−p−4p2−2p)dp
=∫02(47−23p−4p2)dp
=[47p−43p2−12p3]02
=(47(2)−43(2)2−12(2)3)−(0−0−0)
=(414−412−128)
=(414−412−32)
=(414−12−32)
=(42−32)
=(21−32)
=(63−64)
=−61
Adding the two areas:
Total Area=611+(−61)=610=35
The final answer is 35.