Algebra · real student question

Find the domain of the function f(x) = (2x + 9) / (x^3 + 3x^2 - x - 3). Give your answer in interval notation.

Question

Find the domain of the function

f(x)=2x+9x3+3x2x3f(x)=\frac{2x+9}{x^{3}+3x^{2}-x-3}

Type your answer in interval notation.

Step-by-step solution

  1. Reduce the problem to finding the zeros of the cubic. A rational function is defined everywhere its denominator is nonzero, so the domain is R\mathbb{R} minus the roots of x3+3x2x3x^{3}+3x^{2}-x-3. The numerator 2x+92x+9 never restricts anything. With four terms and no common factor, grouping is the natural tool rather than the rational root test.

  2. Factor by grouping. Split into the first two and last two terms and pull out the obvious factors:

    x3+3x2x3=x2(x+3)1(x+3)=(x21)(x+3)x^{3}+3x^{2}-x-3=x^{2}(x+3)-1(x+3)=\left(x^{2}-1\right)(x+3)

    The grouping works precisely because both pairs leave the same factor (x+3)(x+3).

  3. Finish with the difference of squares. Since x21=(x1)(x+1)x^{2}-1=(x-1)(x+1), the denominator factors completely into linear pieces:

    x3+3x2x3=(x1)(x+1)(x+3)x^{3}+3x^{2}-x-3=(x-1)(x+1)(x+3)

  4. Set each factor to zero to list the excluded values.

    x1=0  x=1,x+1=0  x=1,x+3=0  x=3x-1=0\ \Rightarrow\ x=1,\qquad x+1=0\ \Rightarrow\ x=-1,\qquad x+3=0\ \Rightarrow\ x=-3

    None of these makes the numerator zero as well (2x+92x+9 equals 1111, 77 and 33 there), so all three are true vertical asymptotes, not holes.

  5. Assemble the domain in interval notation. Removing three points from the real line leaves four open intervals, written in increasing order:

    (,3)(3,1)(1,1)(1,)(-\infty,-3)\cup(-3,-1)\cup(-1,1)\cup(1,\infty)

  6. Verify the factorisation numerically. Evaluating (x1)(x+1)(x+3)(x3+3x2x3)(x-1)(x+1)(x+3)-\left(x^{3}+3x^{2}-x-3\right) at x=0,1,2,3x=0,1,2,3 gives 00 every time, so the three excluded values are the complete list.

Answer

(,3)(3,1)(1,1)(1,)(-\infty,-3)\cup(-3,-1)\cup(-1,1)\cup(1,\infty)

Need to solve a different problem like this? Open the solver →