compute the limits at the boundaries of the domain;
find any oblique asymptotes;
determine the relative maximum/minimum points (showing that one lies at x≈−2,39).
Solution
Domain. We need x2−x−6≥0, i.e. (x−3)(x+2)≥0⇒x≤−2∨x≥3.
Boundary values.f(−2)=4−4+0=0 and f(3)=4+6+0=10.
Sign. On the domain f(x)≥0 throughout: for x≥3 all terms are positive; for x≤−2 one checks that 4+2x+x2−x−6≥0 (equality only at x=−2).
Oblique asymptotes. As x→+∞, x2−x−6∼x−21, so f∼3x+27: asymptote y=3x+27.
As x→−∞, x2−x−6=∣x∣1−x1−x26∼−x+21, so f∼x+29: asymptote y=x+29.
Extrema.f′(x)=2+2x2−x−62x−1. Setting f′(x)=0 on the branch x≤−2:
4x2−x−6=−(2x−1)⇒16(x2−x−6)=(2x−1)2⇒12x2−12x−97=0,
giving x=2412±144+4656, i.e. x≈−2,387 (acceptable, ≤−2) and x≈3,39 (rejected, it does not annul the derivative on the branch x≥3). The relative extremum is therefore at ≈(−2,39,f(−2,39)).
Domain x≤−2∨x≥3;y=x+29(x→−∞),y=3x+27(x→+∞);xe≈−2,387