The formula for calculating the MAP estimate of a particular parameter, $p$, is given by the following: $p^{MAP} =$ argmax $P(p)P(p|x)$.
Now I am trying to do a question where I am told the prior distribution $P(p)$ and am given that the prior distribution is a Beta distribution. Using conjugate priors, I can then determine that the posterior $P(p|x)$ should be an "updated" Beta distribution according to the number of successes and failures.
At this point, I can take the product of $P(p)P(p|x)$ and go ahead and use calculus to find the value of $p$ that corresponds to the argmax.
However, the question hints that I should solve this question by maximising the log posterior with respect to $p$. I do not understand this suggestion since if I only maximise $P(p|x)$ doesn't it ignore the information about $p$ contained in $P(p)$?