我的问题实际上是关于如何正确地写粗体。当我在公式中尝试 \mathbf 时,它可以工作,但我需要在公式中用斜体写 J,但不知何故我无法做到这一点。当我尝试使用 \textbf 在段落中写粗体时,它对 \textbf F(x) 有效,但对 \textbf F(x_n) 无效。我不明白问题是什么。我附上了我正在尝试用 LaTex 编写的教科书的图片,并将 LaTex 文字放在下面。谢谢你的帮助。
\paragraph{Question 4.5}
Modify \verb|newton| from the previous exercise so that it works on a system of equations \textbf{F(x)}. The function \verb|fprime| now returns the Jacobian matrix \verb|J|, and the Newton update is written mathematically as
\[\mathbf{
x_{n+1} = x_n - J^{-1}F(x_n)},
\]
although in numerical practice one does not compute the inverse of the Jacobian but solves a linear system of equations in which \textbf{F(x_n)} is the right-hand side.