When assistant's response includes apostrophe, LaTeX formatting seem to break.
For example, asking
how do i integrate y'-y=4x
GPT 3.5 turbo response starts with:
To solve the differential equation ( y' - y = 4x ), we can use the method of integrating factors.
First, we identify the integrating factor ( \mu(x) ) as the exponential of the integral of the coefficient of ( y ):
[ \mu(x) = e^{\int -1 \, dx} = e^{-x} ]
We then multiply the entire differential equation by the integrating factor:
[ e^{-x} \cdot (y' - y) = e^{-x} \cdot 4x ]
Sometimes apostrophe is instead shown as
For example when asking the same question from gpt 4 turbo, the answer starts with:
To solve the differential equation y'−y=4x, we can use the method of integrating factors. The general form of a first-order linear differential equation is:
y'+P(x)y=Q(x)
The apostrophe doesn't garble response formatting