I already got great help on this topic, but I'd like to make sure that I get it.
For example, take a beam of length 6 meters, left side fixed support and right side rolled support. There is a load of 30 kN-m that starts at 3 meters and ends at 6 meters with a magnitude of 60 kN-m.
The function of the load is easy, f(x)=10x. The centroid is given by $$\frac{\int_3^6 10x² dx}{\int_3^6 10x dx} = 4.67m$$
And the force translated into a point load is $$ \int_3^6 10x dx = 135 kN $$
So the sum of forces as seen from a is 0, and can be used to calculate Mb $$ \sum Ma =0 = 4.67*135 -6*Mb \Rightarrow Mb = 105 kN \Rightarrow Ma=35kN$$
Then to find the shear forces I integrate the equation from 3 to x taking into account Ma $$ \int_3^x 10x dx -Ma = 5x² -75 $$
And to find the Bending moments I just integrate again, this time for the whole equation
$$ \int_0^x (5x²-75 )dx = \frac{5x³}{3} -75x $$
Alas this does not give the complete answer, I have many uncertainties, for the shear forces I notice that it only gives the correct answer for x between 3 and 6; for x under 3 it becomes Ma, and I imagine if the length of the beam would be greater than the distributed load's length, it would be Mb for x>6. If I would add a point load of 3kN at l=2, do I need to replace Ma with Ma'- 3kN in the shear force equation? What would happen with a point load after 6 meters (eg lenght of beam = 9 meters, point load at 7m)?
As for the bending moments, I kinda get the right answer for x between 3 and 6, but it is 90 kN too much, which is the BM at the start of the distributed load. For x=2 for example I get completely wrong answers, and I need to revert to calculating BM by using trigonometry to calculate the actual area under the shear force curve.
I mean I can solve them, but I don't get the why - why can't I use the BM function to calculate all of x, considering the boundary condition should have been solved in the first integral (from 3 to 6 ). Why do I need to substract the BM at the beginning of the distributed load,...
I would greatly appreciate if someone would take the time to enlighten me - as it is I'm not really confident for the exam (I can't afford to fail)