1

Trying to align equal signs and get an error message saying

missing } inserted

I can't figure out what I've done wrong?

\begin{align}
($b^nn^\alpha$)$^{-1}$=\large$\frac{a^n}{n^\alpha}$
$\geq\frac{a^n}{n^p}$
\end{align}
Werner
  • 603,163
Dweir
  • 11
  • 4
    Welcome. Do not use dollar signs ($) inside an equation. – Johannes_B Dec 03 '15 at 16:28
  • Welcome to the site! And, equally, don't put $ ... $ around individual units elsewhere, either. In LaTeX we treat a mathematical expression/equation/etc. as a single unit and it should all go in math mode, with any text or anything else marked up as such. But it'd be super important to have, in general, $(b^nn^\alpha)^{-1}=\large\frac{a^n}{n^\alpha}$ (within align, which already puts you in math mode, you must not have the $ ... $). This treats the maths appropriately and will automatically handle things like correct spacing around the = sign – Au101 Dec 03 '15 at 16:37
  • For more: http://tex.stackexchange.com/questions/255073/im-trying-to-bold-this-set-of-code-t-1x-frac95x32/255077#255077 Also, you probably want \dfrac, rather than \large, or - in general - to be in a display math environment – Au101 Dec 03 '15 at 16:37
  • 1
    The title of your posting -- Problems with aligning equal signs -- doesn't seem to correspond to the equation you've provided, as there's only one = symbol in the entire expression. Please edit either the title or the body of the posting to provide more consistency. – Mico Dec 03 '15 at 17:45

1 Answers1

2

It seems to me, as you should read some introductory material to LaTeX (see also this).

\documentclass{article}
\usepackage{mathtools}
\begin{document}
\begin{align}
  (b^n n^\alpha)^{-1}
  &= \frac{a^n}{n^\alpha} \\
  &\geq\frac{a^n}{n^p}
\end{align}
\end{document}

enter image description here

Henri Menke
  • 109,596