The problem involves finding the function g(x) in the differential equation (x2−y2)dxdy=g(x)y that represents the family of all circles touching the x-axis at the origin.
First, consider the family of circles. Since each circle touches the x-axis at the origin (0,0), the center must lie on the y-axis. This is because the radius to the point of tangency is perpendicular to the tangent (x-axis), so the center has coordinates (0,k) for some constant k. The radius is the distance from (0,k) to (0,0), which is ∣k∣. Thus, the equation of the circle is:
x2+(y−k)2=k2
Expanding this:
x2+y2−2ky+k2=k2
Simplifying by subtracting k2 from both sides:
x2+y2−2ky=0(1)
To form the differential equation, eliminate the arbitrary constant k. Differentiate equation (1) with respect to x:
dxd(x2)+dxd(y2)−dxd(2ky)=dxd(0)
Applying the chain rule and noting that k is constant:
2x+2ydxdy−2kdxdy=0
Divide the entire equation by 2:
x+ydxdy−kdxdy=0
Rearrange the terms:
x+(y−k)dxdy=0(2)
Solve for k from equation (1):
x2+y2−2ky=0⟹2ky=x2+y2⟹k=2yx2+y2(3)
Substitute this expression for k into equation (2):
x+(y−2yx2+y2)dxdy=0
Simplify the expression inside the parentheses:
y−2yx2+y2=2y2y⋅y−2yx2+y2=2y2y2−(x2+y2)=2y2y2−x2−y2=2yy2−x2
So the equation becomes:
x+(2yy2−x2)dxdy=0
Multiply every term by 2y to clear the denominator:
2y⋅x+(y2−x2)dxdy=0
Rearrange:
(y2−x2)dxdy=−2xy
Note that y2−x2=−(x2−y2), so:
−(x2−y2)dxdy=−2xy
Multiply both sides by −1:
(x2−y2)dxdy=2xy
Compare this with the given form (x2−y2)dxdy=g(x)y. Here, 2xy=2x⋅y, so g(x)y=2xy, which implies g(x)=2x.
Now, check the options:
A. 21x2
B. 2x
C. 21x
D. 2x2
Thus, g(x)=2x corresponds to option B.
Hence, the correct answer is Option B.