How to Write Prime (′) Symbol in LaTeX

To write a prime symbol in LaTeX, use the LaTeX command \prime, it will add ′ symbol in the text. It is commonly used to denote derivatives of functions, angles, and other mathematical concepts.

The prime symbol ′ is a small superscript mark used to denote various mathematical expressions and equations.

In this article, we will discuss how to write prime symbol (′) in the LaTeX document and its significance in the mathematical expressions and scientific disciplines.

Symbol Overview

Symbol: Prime Symbol

Unicode: U+2032

Type: Mathematical

Package Requirement: None (built-in symbol)

Argument: None (no additional arguments needed)

LaTeX Command: \prime

Example:

Syntax

To display the prime symbol (′) in LaTeX, you can use the \prime command. This command will place the prime symbol as a superscript to the right of the preceding character.

\prime

Examples of Writing the Prime Symbol (′)

Let’s explore the some examples of using the prime symbol (′) in LaTeX.

Using the Prime Symbol to Denote the Derivative of a Function

\documentclass{article}
\begin{document}
\( f^\prime(x) \)
\end{document}

Output: 👇️

f′(x)

In the above example, the LaTeX command f^\prime(x) produce the output f′(x), which is the derivative of the fumction f(x).

Using the Prime Symbol to Denote the Angle

\documentclass{article}
\begin{document}
\( \theta^\prime \)
\end{document}

Output: 👇️

θ′

In the above example, the LaTeX command \theta^\prime produce the output θ′. It place superscript mark ′ after the preciding character.

Using the Prime Symbol To Represent the Second Derivate

\documentclass{article}
\begin{document}
\( f^{\prime\prime}(x) \)
\end{document}

Output: 👇️

f′′(x)

In the above example, the LaTeX command f^{\prime\prime}(x) produce the output f′′(x), which is the second derivative of the function f(x).

Using the Triple Prime Symbol

\documentclass{article}
\begin{document}
\( f^{\prime\prime\prime}(x) \)
\end{document}

Output: 👇️

f′′′(x)

In the above example, the the LaTeX command f^{\prime\prime\prime}(x) produce the output f′′′(x), which is the third derivative of function f(x).

Conclusion

The prime symbol is a fundamental symbol used to represent derivatives, angles.

By using the LaTeX command \prime, you can easily insert the prime symbol (′) in LaTeX document.