Analyzing the Setup
A differential equation is a set of instructions describing how a function changes at every point. We are tasked with solving the equation:
subject to the initial condition y(1)=1. This is a classic linear differential equation, and we will solve it using the standard algorithmic approach.
The Cleaning Phase
When we first look at the equation, the coefficient of dxdy is x. In the world of linear differential equations, we require the coefficient of dxdy to be exactly 1.
We perform our first act of mathematical hygiene by dividing the entire equation by x:
This perfectly matches the standard form dxdy+P(x)y=Q(x). We have successfully identified our components: P(x)=x2 and Q(x)=x.
The Magic of the Integrating Factor
To unlock this equation, we calculate the Integrating Factor (IF). The formula is defined as:
Substituting our P(x) into this formula, we get:
Using the logarithm property alnb=ln(ba), we transform 2lnx into ln(x2). Since e and ln are inverse functions, they cancel out, leaving us with:
The Execution
We multiply our standard equation by this key (x2):
This simplifies to:
Notice that the left side is the derivative of the product y⋅x2. We can rewrite the equation as:
Integrating both sides with respect to x:
This yields the general solution:
Pinpointing the Curve
We have a family of curves, but we need the specific one that passes through (1,1). We substitute x=1 and y=1 into our general solution:
Solving for the constant, we find C=43.
Plugging this back into our general solution and dividing by x2, we obtain the final result: