It would sort-of work, however the logic levels on the output would be so poor ('1' wouldn't be high enough) that the next stage wouldn't see good logic levels...
Depending on the MOSFETs used (specifically their threshold voltage), this problem might be solvable, but in practice the standard solution is much easier despite the extra stage.
This is why earlier logic families used NAND gates instead of AND gates - they eliminated the inverter stage and inverted the logic levels for the second stage.
Since the second stage was usually an OR stage (implementing (a and b) or (c and d)
), and 'OR' with inverted logic is just 'AND', this meant that "AND-OR logic" was implemented with two levels of NAND gates, and the outputs were right way up again!
You mention:
But I don't understand how current can flow from some signal sources to two transistors to manipulate transistors. There seems no difference of voltage regarding i1 and i2. I want to know the entire circuit diagram including the signal sources.
So, if I understand correctly, you are confused as to how the inputs to the base of the transistors work. I will answer this.
The connection to the base of the transistors are left ambiguous because there are different applications possible to activate each transistor. For instance, you could use manual switches connected to a voltage source or a micro-controller to control the base pins. They are also left ambiguous so the focus is left to the logic of the circuit, and not how it is set up.
However, you were curious as to how such a circuit could be created, so I drew a very primitive example (I assumed you have npn transistors).
![schematic](https://i.stack.imgur.com/OGC69.png)
simulate this circuit – Schematic created using CircuitLab
This could also be done with a micro-controller as I've mentioned before. You forgot to add R1 in your diagram that you drew, which is very important because otherwise, Vout will be fixed to GND.
When both switches are logic: '1', current flows through R1 and creates a voltage at the R1 node. When either switch is open, the respective transistor becomes inactive. No current will then flow through R1. When no current flows through R1, the voltage drop over the resistor is zero, therefore the voltage at the Vout node is zero.
I hope this helps, however, I'm unsure what you mean by are there 3 separate circuits for i1, i2 and A-B.
Best Answer
You could try adding a pull down resistor (100k, 500K, ohm, doesn't much matter) your inputs may be floating high. The inputs with both switches unpressed allow the pins to float around, depending on the way the IC is set-up internally.