I really want to reproduce the following diagram using Tikz.
I have tried the following, but I can't seem to do the curves using smooth lines.
\begin{document} \begin{center}
\begin{tikzpicture}[scale=0.45]
%Drawing the lines
%Drawing the border
\draw (0,-5) -- (0,10) -- (18,10) -- (18,-5) -- (0,-5);
\draw (0,10);
% curves
\draw [red, thick] plot [smooth, tension=0.15] coordinates {(0,-5) (3.5,-1) (4.5,0) (5, 2.5)};
\end{tikzpicture}
\end{document}
The function should be the following:
b_1
andb_2
related tob
, and why is the vertical axis labeledx_1
?