Answer :

[tex]1) \ f(x)=x^3-3x-2 \\ \\ 2) \ g(x)=x^3-x^2-6x[/tex]

Explanation:

[tex]A \ \mathbf{polynomial \ function} \ of \ x \ with \ degree \ n \ is \ given \ by:\\ \\ f(x)=a_{n}x^{n}+a_{n-1}x^{n-1}+\ldots +a_{2}x^{2}+a_{1}x+a_{0} \\ \\ where \ n \ is \ a \ nonnegative \ integer \ and \ a_{n}, a_{n-1}, \ldots a_{2}, a_{1}, a_{0} \\ with \ a_{n}\neq 0[/tex]

In this exercise, we have two cases and both will be polynomial functions with degree 3 because we have three real roots in each case. So:

First.

The roots are:

[tex]x= -1, -1, 2[/tex]

So we can write this polynomial functions as the product of linear factors:

[tex]f(x)=(x-(-1))(x-(-1))(x-2) \\ \\ f(x)=(x+1)^2(x-2)[/tex]

Since we have to write it in standard form, let's expand:

[tex]f(x)=(x+1)^2(x-2) \\ \\ \\ By \ property: \\ \\ (a+b)^2=a^2+2ab+b^2 \\ \\ \\ f(x)=(x^2+2x+1)(x-2) \\ \\ f(x)=x^3+2x^2+x-2x^2-4x-2 \\ \\ \\ Combine \ like \ terms: \\ \\ x^3+(2x^2-2x^2)+(x-4x)-2 \\ \\ \\ \boxed{f(x)=x^3-3x-2}[/tex]

Second.

The roots are:

[tex] x= -2, 0, 3[/tex]

Writing the polynomial function as the product of linear factors:

[tex]g(x)=(x-(-2))(x-0)(x-3) \\ \\ g(x)=(x+2)x(x-3) \\ \\ g(x)=x(x+2)(x-3) \\ \\ \\ Distributive \property: \\ \\ g(x)=x(x^2-3x+2x-6) \\ \\ g(x)=x(x^2-x-6) \\ \\ \\ Distributive \ property \ again: \\ \\ \boxed{g(x)=x^3-x^2-6x}[/tex]

Learn more:

Degree of polynomial functions: https://brainly.com/question/5451252

#LearnWithBrainly

Other Questions