Double Prime in LaTeX (f''(x))

f′′(x)f''(x)
LaTeX command
f''(x)
Package
No package needed: built into LaTeX
Mode
Text and math mode

Where it is used

Second derivative of f at x in prime notation, describing concavity or acceleration.

Two apostrophes in math mode combine into a single superscript with two primes, matching f^{\prime\prime}. The second derivative test uses it: if f'(c) = 0 and f''(c) > 0, then c is a local minimum. In mechanics, x''(t) gives acceleration, though the dot form \ddot{x} is preferred for time derivatives. Three primes f''' are still readable, but beyond that switch to f^{(4)}(x), with the order in parentheses so it is not mistaken for a power. Never type a double quote character in place of two apostrophes; it renders as a different glyph entirely.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

f′′(x)+ω2f(x)=0f''(x) + \omega^2 f(x) = 0
\documentclass{article}
\begin{document}
Double Prime: $f''(x)$

\[ f''(x) + \omega^2 f(x) = 0 \]
\end{document}

Related symbols

All 미적분 →

Frequently asked questions

How do I write Double Prime in LaTeX?
Type f''(x) in math mode, for example $f''(x) + \omega^2 f(x) = 0$. It works in plain LaTeX without loading any package.
Which package do I need for f''(x)?
None. f''(x) is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use f''(x) in text mode, or only in math mode?
Both. f''(x) compiles in running text as well as inside $...$; in a formula keep it in math mode so it gets math fonts and spacing.
Math poweredAI로 LaTeX 작성

최고의 AI LaTeX 편집기, Overleaf 대안

Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움

  • AI로 아름다운 TikZ 다이어그램 생성
  • 이미지를 업로드하고 LaTeX로 원활하게 변환
  • 논문 작성 및 서식에 대한 즉각적인 지원 받기