Hi all,
I'm new in this forum I I'm facing an error in latex since this morning when writhing an equation. I used a limiter (In french we call it délimiteur) in order to group it. The code is the following:
\documentclass[a4paper, 12pt]{report}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage{lmodern}
\usepackage{array}
\usepackage{rotating}
\usepackage{graphicx}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{amsthm}
\usepackage[a4paper]{geometry}
\begin{document}
\begin{equation}
\begin{split}
\frac{\partial D_j}{\partial Pd_j} = PC_jQ_j(1-\alpha_j)^{\sigma_j}
\left\lbrace -\sigma_j Pd_j^{-\sigma_j - 1}
\left[\alpha_j^{\sigma_j}Pm_j^{1-\sigma_j}+(1-\alpha_j)^{\sigma_j} Pd_j^{1-\sigma_j} \right]^{-1} & \\
-Pd_j^{-\sigma_j}(1-\sigma_j)Pd_j^{-\sigma_j}(1-\alpha_j)^{\sigma_j}
\left[\alpha_j^{\sigma_j}Pm_j^{1-\sigma_j}+(1-\alpha_j)^{\sigma_j} Pd_j^{1-\sigma_j} \right]^{-2} \right\rbrace
\end{split}
\end{equation}
\end{document}
Now when I compile the code, I get the error messages telling me that I've not closed a bracket.
The probem occurs specifically in \left\lbrace and \right\rbrace. The first one that is \left\lbrace is working well but the second one \right\rbrace is not working. I don't understand what's wrong with my code.
Can someone tell me what to do?
Thank you in advance
Also look the attachment
General ⇒ Limiter
NEW: TikZ book now 40% off at Amazon.com for a short time.
