Analyzing the Setup
The problem provides the differential equation for the slope of a curve at any point (x,y):
To simplify the numerator, we recognize that x2−4x can be completed into a perfect square. By adding and subtracting 4, we rewrite the expression as:
x2−4x+y+8=(x2−4x+4)+y+4=(x−2)2+(y+4)
Simplifying the Equation
Substituting this back into our original differential equation, we obtain:
By splitting the fraction, the equation simplifies to:
Change of Variables
To solve this, we introduce the substitutions t=x−2 and u=y+4. Consequently, dt=dx and du=dy. The equation transforms into:
Rearranging this into the standard form of a Linear Differential Equation, we get:
Solving the Linear Differential Equation
The integrating factor (I.F.) is calculated as follows:
I.F.=e∫P(t)dt=e∫−t1dt=e−ln∣t∣=t1
Multiplying the entire equation by the I.F., we have:
The left side is the derivative of the product tu:
Final Calculation
Integrating both sides with respect to t yields:
Substituting back u=y+4 and t=x−2, we arrive at the general solution:
Given that the curve passes through the origin (0,0), we substitute x=0 and y=0 to find C:
0−20+4=0−2+C⇒−2=−2+C⇒C=0
The final equation of the curve is:
y+4=(x−2)2