\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../fm.tikz}
\begin{document}
\begin{circuitikz}[font=\small]
\draw (0,0) to[american voltage source, l=$V_x$, invert] (0,2.8) to[short, i=$I_x$] (1.6,2.8) to[R, l=$R_1$] (1.6,1.5) node[circ]{} to[battery1, l_=$V_\mathrm{B}$] (1.6,0) -- (0,0);
\draw (1.6,1.5) -- (3.0,1.5); \draw (3.0,0) to[empty diode, l=$D_1$, a=Ideal] (3.0,1.5); \draw (1.6,0) -- (3.0,0);
\draw[-Stealth] (3.35,-0.55) -- (3.35,-0.1) node[right, pos=0.3]{$I_\mathrm{D1}$};
\draw (1.6,0) node[ground]{};
\node[font=\small] at (2.4,-1.1) {$\Downarrow\ V_\mathrm{B}>0$};
\begin{scope}[yshift=-4.6cm]
\draw (0,0) to[american voltage source, l=$V_x$, invert] (0,2.8) to[short, i=$I_x$] (1.6,2.8) to[R, l=$R_1$] (1.6,1.5) node[circ]{} to[battery1, l_=$V_\mathrm{B}$] (1.6,0) -- (0,0);
\draw (1.6,1.5) -- (3.0,1.5) -- (3.0,1.1) node[ocirc]{}; \draw (3.0,0.5) node[ocirc]{} -- (3.0,0) -- (1.6,0);
\node[right] at (3.5,1.6) {$I_x = \dfrac{V_x - V_\mathrm{B}}{R_1}$};
\node[right] at (3.5,0.4) {$I_x = \dfrac{1}{R_1}V_x - \dfrac{V_\mathrm{B}}{R_1}$};
\end{scope}
\begin{scope}[xshift=7.4cm, yshift=0.6cm]
\node[right] at (-1.8,2.8) {$I_x(V_x)$:};
\node[draw, rounded corners, right] at (0.6,2.8) {$I_\mathrm{D1} = 0$ for $-\infty<V_x<\infty$};
\axes{-1.8}{2.6}{-1.6}{2.2}{$V_x$}{$I_x$}
\draw[cv] (-1.5,-1.4) -- (2.3,1.13);
\xt{0.6}{$V_\mathrm{B}$}
\fill (0,-0.4) circle (1.2pt); \node[left, font=\footnotesize] at (0,-0.5) {$-\frac{V_\mathrm{B}}{R_1}$};
\draw (1.6,0.667) -- (2.0,0.667) -- (2.0,0.933); \node[right, font=\footnotesize] at (2.0,0.75) {$\frac{1}{R_1}$};
\end{scope}
\end{circuitikz}
\end{document}
