Find the average value of the following function:
$p(x) = 2x^2 + 5x + 2$
on the interval $1 \le x \le 3$.
I know that I need to find $u$, $du$, $v$, and $dv$ and set it up into an definite integral but I don't know what to make them to sent up the equation and find the answer. How do you know what to make them? After I come up with the equation I believe I can solve it.