The curve y=f(x) passes through (1,2) and satisfies the differential equation xdxdy+y=bx4.
The left side can be written as dxd(xy)=bx4. Integrating both sides with respect to x, we get xy=5bx5+C.
Using the initial condition f(1)=2: 1⋅2=5b+C, so C=2−5b.
Therefore, xy=5bx5+2−5b, which gives f(x)=5bx4+x2−5b.
Now we compute ∫12f(x)dx=∫12[5bx4+x(2−5b)]dx=[25bx5+(2−5b)lnx]12.
Evaluating: =2532b−25b+(2−5b)ln2=2531b+(2−5b)ln2.
Setting this equal to 562: 2531b+(2−5b)ln2=562. For this to hold without a logarithmic term, we need 2−5b=0, giving b=10. Then 2531⋅10=25310=562, which confirms the equation.
Therefore, b=10.