Assume a graph $G=(V,E)$ where the vertices $V$ are points in ${{R}^{D}}$ with $\left| V \right|=n$. The edges $E$ are represented by a $n\times n$ affinity matrix $W$. Consider the graph Laplacian $L=D-W$ where $D$ is the diagonal degree matrix (${{D}_{ii}}=\underset{j}{\mathop \sum }\,{{W}_{ij}}$).
Assume I want to minimize the objective function $J$ defined as $J\left( f \right)={{f}^{T}}Lf+{{\left( f-y \right)}^{T}}\text{ }\!\!\Lambda\!\!\text{ }(f-y)$ where $y\in {{R}^{D}}$ and $\text{ }\!\!\Lambda\!\!\text{ }$ is some arbitrary diagonal matrix. The solution ${{f}^{*}}$ that minimizes $J$ is said to be solved by the following system of linear equations $\left( L+\text{ }\!\!\Lambda\!\!\text{ } \right)f=\text{ }\!\!\Lambda\!\!\text{ }y$. However I cannot see why solving this system of linear equations gives me the minimizing solution. Can anyone help me out?