1

How do I write this formula in latex?
enter image description here

I tried this:

\big(f(x,b)\big)'_x|_{x=a}

enter image description here

but the result is different from what I want (the line is shorter).

I understand that this is probably a simple question but I can't find the answer probably because I can't find good words for the search

2 Answers2

2

As posted in comments by user241266, the correct thing to do is

\left.\bigl(f(x,b)\bigr)'_x\right|_{x=a}
gmvh
  • 345
1

You probably want something like

\documentclass{article}
\usepackage{amsmath}

\begin{document}

[ \bigl(f(x,b)\bigr)'x\Big|{x=a} ]

\end{document}

enter image description here

egreg
  • 1,121,712