We read your photo as:

Solve the differential equation x(1-y) dy/dx = -2y given y=2 when x=e, and show that y = ln((x2y)/2).

Mathematics

ScanSolve AI Answer

Answer

y=ln⁡(x2y2)y = \ln\left(\frac{x^2y}{2}\right)

Step-by-step solution

4 steps
  1. Separate the variables.

    The given differential equation is:

    x(1−y)dydx=−2yx(1-y)\frac{dy}{dx} = -2y

    Divide both sides by xyxy:

    1−yydydx=−2x\frac{1-y}{y} \frac{dy}{dx} = -\frac{2}{x}

    Separate the variables yy and xx:

    (1y−1)dy=−2xdx\left(\frac{1}{y} - 1\right) dy = -\frac{2}{x} dx
  2. Integrate both sides.

    Integrate both sides of the equation:

    ∫(1y−1)dy=∫−2xdx\int \left(\frac{1}{y} - 1\right) dy = \int -\frac{2}{x} dx ln⁡∣y∣−y=−2ln⁡∣x∣+C\ln|y| - y = -2\ln|x| + C

    where CC is the constant of integration.

  3. Use the initial condition to find the constant of integration.

    Given that y=2y=2 when x=ex=e:

    ln⁡∣2∣−2=−2ln⁡∣e∣+C\ln|2| - 2 = -2\ln|e| + C

    Since ln⁡e=1\ln e = 1:

    ln⁡2−2=−2(1)+C\ln 2 - 2 = -2(1) + C ln⁡2−2=−2+C\ln 2 - 2 = -2 + C C=ln⁡2C = \ln 2
  4. Substitute the value of CC back into the general solution.

    ln⁡∣y∣−y=−2ln⁡∣x∣+ln⁡2\ln|y| - y = -2\ln|x| + \ln 2

    Rearrange the terms to match the required form. Move yy to one side and logarithmic terms to the other:

    y=ln⁡∣y∣+2ln⁡∣x∣−ln⁡2y = \ln|y| + 2\ln|x| - \ln 2

    Using logarithm properties, aln⁡b=ln⁡(ba)a\ln b = \ln(b^a), ln⁡a+ln⁡b=ln⁡(ab)\ln a + \ln b = \ln(ab), and ln⁡a−ln⁡b=ln⁡(ab)\ln a - \ln b = \ln\left(\frac{a}{b}\right):

    y=ln⁡∣y∣+ln⁡(x2)−ln⁡2y = \ln|y| + \ln(x^2) - \ln 2 y=ln⁡(∣y∣x22)y = \ln\left(\frac{|y|x^2}{2}\right)

    Since the problem asks to show y=ln⁡(x2y2)y = \ln\left(\frac{x^2y}{2}\right), we can assume y>0y > 0 and x≠0x \neq 0.

    y=ln⁡(x2y2)y = \ln\left(\frac{x^2y}{2}\right)

    This matches the required form.

Was this helpful?

Try one yourself

A new problem that tests the same skill.

Still stuck on this one?

Ask a follow-up, and the answer starts from this question.

Got a different question?Ask your own question
Handwritten step-by-step solution preview

Handwritten Step-by-Step Solution

Get this as a handwritten image on WhatsApp — like a tutor wrote it for you.

Try on WhatsApp