**Marginal Revenue**(MR) is the additional revenue that is gained when you increase the unit by one. It is also the derivative of the revenue function. In other words,

$MR=R'(q)$

**Average Revenue**(AR) is the amount of revenue generated per unit. In other words,

$AR(q)=\frac{R(q)}{q}$

In this section, we would want to find the quantity $q$, which maximizes revenue and average revenue. To maximize revenue, we would want to solve for:

$MR=0$

To maximize average revenue, we would want to solve for:

$AR'(q)=0$