Źródło TeX:
{Y}=\left[\begin{matrix}Y_2&-Y_2&0\\-Y_2&Y_2+Y_3+Y_4&-Y_4\\0&-Y_4&Y_4+Y_5+Y_6\\\end{matrix}\right]