Concept Flow - Broadcasting rules
Start with two arrays
Compare shapes from right to left
Check dimension sizes
If sizes equal or one is 1, dimension is compatible
If all dimensions compatible
Broadcast smaller array by repeating along size 1 dims
Perform element-wise operation
Output broadcasted result
Broadcasting compares array shapes from right to left, matching dimensions if equal or one is 1, then repeats smaller arrays to match larger ones for element-wise operations.