Using LaTeX to visualize math in chatGPT
We can all argue about how skilled or not chatGPT is at math but it is at least great at visualize math using LaTex which is a language for displaying formulas.
The only problem is that chatGPT is really bad at understanding it's own capabilities so you have to instruct it how to display LaTeX and then we can do all the fun (if you are into math that is). Let's say that you give this instruction:
provide me with the latex code for pythagoras theorem
and it will reply something like this:
Given a right triangle with legs of lengths $a$ and $b$ and hypotenuse of length $c$, we have: \begin{equation} a^2 + b^2 = c^2\end{equation}
Not so sexy right? So let's prompt it with this command:
In the following, whenever you provide LaTeX, provide it as :
$$
[LaTeX code]
$$
And now the output will be much cooler. Have a look at the attached screenshots.