How can I simplify this formula.
$$ \frac{V_x - V_{\text{out}}}{s L} - \frac{V_{\text{out}}}{R_L} - V_{\text{out}}s C_1 = V_x g_m \tag{1} $$
$$ \frac{V_x - V_{\text{out}}}{s L} + V_x s C_2 =0 \tag{2} $$
We can find $V_x = \frac{V_{out}} {1 + s^2 C_2 L}$ from (2).
Based on (1), we have $$- V_{out} (\frac{1} {s L} + \frac{1} {R_L} + s C_1) = V_x \biggl(g_m - \frac{1} {s L}\biggl)$$
substitute $\frac{V_{out}} {1 + s^2 C_2 L}$ for $V_x$
$$- V_{out} (\frac{1} {s L} +\frac{1} {R_L} + s C_1) = \frac{V_{out}} {1 + s^2 C_2 L} \biggl(g_m - \frac{1} {s L}\biggl)$$
$$- (\frac{1} {s L} + \frac{1} {R_L} + s C_1) = \frac{1} {1 + s^2 C_2 L} \biggl(g_m - \frac{1} {s L}\biggl)$$
$$(\frac{1} {s L} + \frac{1} {R_L} + s C_1) (1 + s^2 C_2 L) = \biggl(-g_m + \frac{1} {s L}\biggl)$$
$$\frac{1} {s L} + s C_1 + s C_2 + \frac{1 + s^2 C_2 L} {R_L} + s^3 C_1 C_2 L = \biggl(-g_m + \frac{1} {s L}\biggl)$$
$$ s (C_1 + C_2) + \frac{1 + s^2 C_2 L} {R_L} + s^3 C_1 C_2 L = -g_m $$
because $ s \to j \omega$
$$ j \omega (C_1 + C_2) + \frac{1 - \omega^2 C_2 L} {R_L} - j \omega^3 C_1 C_2 L = -g_m $$
$$ g_m + \frac{1 - \omega^2 C_2 L} {R_L} - j \omega^3 C_1 C_2 L + j \omega (C_1 + C_2) =0 $$
$$ g_m + \frac{1 - \omega^2 C_2 L} {R_L} + j \omega \biggl( (C_1 + C_2) - \omega^2 C_1 C_2 L \biggl) =0 $$
$$ \Rightarrow g_m + \frac{1 - \omega^2 C_2 L} {R_L} =0 $$
$$ \Rightarrow \omega \biggl( (C_1 + C_2) - \omega^2 C_1 C_2 L \biggl) = 0 $$
Here is what I tried to simplify this.
eq1 = (Vx - Vout)/(s L) - Vout/RL - Vout/(s C1) == Vx gm /. s -> I w;
sols = Solve[eq1, Vx]
eq2 = (Vx - Vout)/(s L) + Vx s C2 /. s -> I w;
rect = eq2 /. sols[[1]]
final = rect/Vout;
ComplexExpand[ReIm[final]] // Simplify
However, I got this in 12.0
{-(((C1 + C1 gm RL + gm L RL) (-1 + C2 L w^2))/(
C1 RL (1 + gm^2 L^2 w^2))), (
C1 gm L w^2 (1 - C2 L w^2) +
RL (-1 + C2 L w^2 + C1 (C2 + gm^2 L) w^2))/(
C1 RL w (1 + gm^2 L^2 w^2))}
The answer from Mathematica is different from $g_m + \frac{1 - \omega^2 C_2 L} {R_L} (real) $ and $\omega \biggl( (C_1 + C_2) - \omega^2 C_1 C_2 L \biggl) (imaginary)$
{-(((C1+C1 gm RL+gm L RL) (-1+C2 L w^2))/(C1 RL (1+gm^2 L^2 w^2))),(C1 gm L w^2 (1-C2 L w^2)+RL (-1+C2 L w^2+C1 (C2+gm^2 L) w^2))/(C1 RL w (1+gm^2 L^2 w^2))}
. in 14.1 on Windows. What do you dislike about it? $\endgroup$