You need to test if `f(x)` is the primitive of `g(x)` , hence, you need to check if `f'(x) = g(x)` , such that:

`f'(x) = (e^x(x^2+1))'`

You need to differentiate the function with respect to `x` , using the product rule, such that:

`f'(x) = (e^x)'(x^2 + 1) + e^x*(x^2 + 1)'`

`f'(x) = e^x*(x^2+1) + e^x*(2x)`

Factoring out `e^x` yields:

`f'(x) = e^x*(x^2 + 2x + 1)`

You need to notice that the factor `x^2 + 2x + 1` represents the expansion of squared binomial `(x + 1)^2` , such that:

`f'(x) = e^x*(x + 1)^2`

**Comparing the equation of `f'(x)` with the equation of `g(x)` yields that they coincide, hence, the function `f(x)` represents the primitive of `g(x)` .**

## We’ll help your grades soar

Start your 48-hour free trial and unlock all the summaries, Q&A, and analyses you need to get better grades now.

- 30,000+ book summaries
- 20% study tools discount
- Ad-free content
- PDF downloads
- 300,000+ answers
- 5-star customer support

Already a member? Log in here.

Are you a teacher? Sign up now