\dfrac{a}{b}
The LaTeX command \dfrac{a}{b} is used to create a fraction where 'a' is the numerator and 'b' is the denominator. This command is particularly useful in mathematical expressions where fractions need to be displayed in a larger size, such as in display math mode, to ensure clarity and readability.
A simple fraction representing one half.
\dfrac{1}{2}
A fraction with polynomial expressions in the numerator and denominator.
\dfrac{x+1}{x-1}
A fraction representing the average value of a function over an interval.
\dfrac{\int_a^b f(x) \, dx}{b-a}