Question

Consider the differential equation dy/dx=2x/y

Original question: 1. Consider the differential equation dydx=2xy\frac{dy}{dx}=\frac{2x}{y}. Let y=f(x)y=f(x) be the particular solution to the differential equation with initial condition f(3)=5f(3)=5. Use separation of variables to find an expression for f(x)f(x) of the form f(x)=ax2+bf(x)=\sqrt{ax^2+b}. What is a+ba+b?

Expert Verified Solution

thumb_up100%(1 rated)

Expert intro: This is a standard separable differential equation. Separate the variables, integrate both sides, then use the initial condition to determine the constant and identify the coefficients in the required square-root form.

Detailed walkthrough

We are given

dydx=2xy\frac{dy}{dx}=\frac{2x}{y}

with initial condition

f(3)=5.f(3)=5.

Step 1: Separate variables

Multiply both sides by ydxy\,dx:

ydy=2xdxy\,dy = 2x\,dx

Step 2: Integrate both sides

ydy=2xdx\int y\,dy = \int 2x\,dx

12y2=x2+C\frac{1}{2}y^2 = x^2 + C

Multiply by 2:

y2=2x2+Cy^2 = 2x^2 + C'

So

y=2x2+Cy = \sqrt{2x^2 + C'}

since the initial condition gives a positive value.

Step 3: Use the initial condition

Given f(3)=5f(3)=5:

25=2(3)2+C25 = 2(3)^2 + C'

25=18+C25 = 18 + C'

C=7C' = 7

Thus

f(x)=2x2+7f(x)=\sqrt{2x^2+7}

So in the form f(x)=ax2+bf(x)=\sqrt{ax^2+b}, we have

a=2,b=7.a=2,\quad b=7.

Therefore,

a+b=9\boxed{a+b=9}

💡 Pitfall guide

A common mistake is to forget the constant after integrating and jump straight to the square-root form. Another error is choosing the negative root without checking the initial condition. Since f(3)=5>0f(3)=5>0, the positive branch is the correct one.

🔄 Real-world variant

If the initial condition were negative, such as f(3)=5f(3)=-5, the algebraic form after separation would still be y2=2x2+7y^2=2x^2+7, but the correct solution branch would be y=2x2+7y=-\sqrt{2x^2+7}. The value of a+ba+b would still be 9.

🔍 Related terms

separable differential equation, initial condition, integration constant

FAQ

How do you solve dy/dx = 2x/y?

Separate the variables as y dy = 2x dx, integrate both sides, and then use the initial condition to find the constant of integration.

Why is the positive square root chosen?

Because the initial condition gives f(3)=5, which is positive. That selects the positive branch of the square-root solution.

chat