Difference between two minimization problems

30 Views Asked by At

Assume you are given a matrix A and a vector b.

Is there a difference between

$min_p\|p\|^2$ such that $Ap=b$

and

$min_p \| Ap - b \|^2_2$?

In both cases you want to find the minimal $p$ which suffices $Ap=b$, right? Is it just different notation?

Thank you!