
To negate the downward uniform loading w0 between B and C, consider a second cantilever beam, loaded with the same magnitude uniform loading w0 acting in the opposite direction.
Adding these two cases together, the upward w0 in the second beam negates the downward w0 in the first beam. The sum of these two cases equals the actual loading w0 acting between A and B only.