MHB Supposed to be a Jacobian - What is wrong?

  • Thread starter Thread starter Math Amateur
  • Start date Start date
  • Tags Tags
    Jacobian
AI Thread Summary
The discussion revolves around troubleshooting an issue with displaying a Jacobian matrix in LaTeX. The user, Peter, is experiencing an error when trying to render the matrix. The provided LaTeX code is missing a backslash before the "end{pmatrix}" command, which is causing the display problem. A participant in the discussion points out that correcting the ending tag by adding the backslash will resolve the issue, allowing the matrix to be displayed correctly.
Math Amateur
Gold Member
MHB
Messages
3,920
Reaction score
48
Can someone help ... the following is supposed to be a Jacobian matrix ...= $$ \begin{pmatrix} \frac{ \partial F_1}{ \partial x_1} & \frac{ \partial F_1}{ \partial x_2} \\ \frac{ \partial F_2}{ \partial x_1} & \frac{ \partial F_2}{ \partial x_2} \\ \frac{ \partial F_3}{ \partial x_1} & \frac{ \partial F_3}{ \partial x_2} \end{pmatrix} $$
But it won't display ... comes up with an error ...

Actual Latex code is as follows:\begin{pmatrix} \frac{ \partial F_1}{ \partial x_1} & \frac{ \partial F_1}{ \partial x_2} \\ \frac{ \partial F_2}{ \partial x_1} & \frac{ \partial F_2}{ \partial x_2} \\ \frac{ \partial F_3}{ \partial x_1} & \frac{ \partial F_3}{ \partial x_2} end{pmatrix}
Can someone please diagnose what is wrong ...

Help will be appreciated,

Peter
 
Physics news on Phys.org
Peter said:
Can someone help ... the following is supposed to be a Jacobian matrix ...= $$ \begin{pmatrix} \frac{ \partial F_1}{ \partial x_1} & \frac{ \partial F_1}{ \partial x_2} \\ \frac{ \partial F_2}{ \partial x_1} & \frac{ \partial F_2}{ \partial x_2} \\ \frac{ \partial F_3}{ \partial x_1} & \frac{ \partial F_3}{ \partial x_2} end{pmatrix} $$
But it won't display ... comes up with an error ...

Actual Latex code is as follows:\begin{pmatrix} \frac{ \partial F_1}{ \partial x_1} & \frac{ \partial F_1}{ \partial x_2} \\ \frac{ \partial F_2}{ \partial x_1} & \frac{ \partial F_2}{ \partial x_2} \\ \frac{ \partial F_3}{ \partial x_1} & \frac{ \partial F_3}{ \partial x_2} end{pmatrix}
Can someone please diagnose what is wrong ...

Help will be appreciated,

Peter
You need a backslash towards the end:

\begin{pmatrix} \frac{ \partial F_1}{ \partial x_1} & \frac{ \partial F_1}{ \partial x_2} \\ \frac{ \partial F_2}{ \partial x_1} & \frac{ \partial F_2}{ \partial x_2} \\ \frac{ \partial F_3}{ \partial x_1} & \frac{ \partial F_3}{ \partial x_2} end{pmatrix}

$$\begin{pmatrix} \frac{ \partial F_1}{ \partial x_1} & \frac{ \partial F_1}{ \partial x_2} \\ \frac{ \partial F_2}{ \partial x_1} & \frac{ \partial F_2}{ \partial x_2} \\ \frac{ \partial F_3}{ \partial x_1} & \frac{ \partial F_3}{ \partial x_2} \end{pmatrix}$$
 
The ending tag wasn't escaped...I edited your post to do so. :)
 

Similar threads

Back
Top