Calculus · real student question

The solution of the differential equation y′ + y/x = 18x + 4 can be written as kx² + hx − sy + C/x = 0. If s is a positive integer less than 3, find k, h and s.

Question

The solution of

y+yx=18x+4y'+\frac{y}{x}=18x+4

can be written in the form

kx2+hxsy+Cx=0.kx^{2}+hx-sy+\frac{C}{x}=0.

If ss is a positive integer smaller than 33, find kk, hh and ss.

Step-by-step solution

  1. Identify the equation type and build the integrating factor. The equation is first-order linear in standard form y+P(x)y=Q(x)y'+P(x)y=Q(x) with P(x)=1/xP(x)=1/x and Q(x)=18x+4Q(x)=18x+4. The integrating factor is

    μ(x)=ePdx=edx/x=elnx=x.\mu(x)=e^{\int P\,dx}=e^{\int dx/x}=e^{\ln|x|}=x.

    The whole point of μ\mu is that multiplying by it makes the left side an exact derivative.

  2. Multiply through and recognise the product rule.

    xy+y=18x2+4x.xy'+y=18x^{2}+4x.

    The left side is exactly ddx(xy)\dfrac{d}{dx}(xy) — this is the check that the integrating factor was computed correctly. So

    (xy)=18x2+4x.(xy)'=18x^{2}+4x.

  3. Integrate both sides once.

    xy=(18x2+4x)dx=6x3+2x2+C,xy=\int(18x^{2}+4x)\,dx=6x^{3}+2x^{2}+C,

    and dividing by xx,

    y=6x2+2x+Cx.y=6x^{2}+2x+\frac{C}{x}.

  4. Rearrange into the requested shape. Moving yy to the left,

    6x2+2xy+Cx=0.6x^{2}+2x-y+\frac{C}{x}=0.

    Comparing with kx2+hxsy+C/x=0kx^{2}+hx-sy+C/x=0 term by term forces k=6k=6, h=2h=2, s=1s=1. The constraint "ss is a positive integer less than 33" is what pins the normalisation down: the whole equation could be scaled by any constant, and only s=1s=1 (rather than s=2s=2, which would need k=12k=12, h=4h=4) leaves the C/xC/x coefficient equal to 11 as written.

  5. Verify by substituting back. With y=6x2+2x+Cx1y=6x^{2}+2x+Cx^{-1} we get y=12x+2Cx2y'=12x+2-Cx^{-2}, so

    y+yx=12x+2Cx2+6x+2+Cx2=18x+4.y'+\frac{y}{x}=12x+2-\frac{C}{x^{2}}+6x+2+\frac{C}{x^{2}}=18x+4.

    The CC terms cancel for every CC, confirming the general solution. Numerically, taking C=1.7C=1.7 and x=2.3x=2.3 gives y+y/x=45.4y'+y/x=45.4, and 18(2.3)+4=45.418(2.3)+4=45.4.

Answer

k=6,h=2,s=1k=6,\quad h=2,\quad s=1

Need to solve a different problem like this? Open the solver →