How to write a proportional to symbol( ∝) in LaTeX?

In this tutorial, we will cover proportional to symbol which is a logical operator. In latex, you can define this logical operator using the default and amssymb packages.

Notice the latex program below where the \propto command is used to represent the proportional to symbol.

\documentclass{article}
\begin{document}
   $$ a \propto b $$
   $$ p \propto q $$ 
\end{document}

Output :

latex proportional to symbol

And you can define proportional to symbols differently using the amssymb package. But, in this case you need to use \varpropto command instead of \propto command.

\documentclass{article}
\usepackage{amssymb}
\begin{document}
   $$ a \varpropto b $$
   $$ p \varpropto q $$ 
\end{document}

Output :

proportional to symbol with asmsymb package

In my opinion, using proportional to symbols by default is the best practice.

Many times you will see that proportional to symbol is used with approximate symbol. In this case proportional to and approximate symbols are used together

\documentclass{article}
\usepackage{amsmath}
\begin{document}
  $$ a \underset{\sim}{\propto} b $$
  $$ a \stackrel{\propto}{\sim} b $$
\end{document}

Output :

proportional to symbol with approximate symbol

One request!

Don't forget to share this tutorial if I have added any value to your education life with this tutorial.

facebook icontwitter iconwhatsapp iconlinkdin icon

2 thoughts on “How to write a proportional to symbol( ∝) in LaTeX?”

Leave a Comment

Your email address will not be published. Required fields are marked *