1. ## [SOLVED] Differential Equation

Determine the general solution to the differential equation
y′ = $\frac{y}{x^2+4x+5}$

Fix the constant of integration according to the initial condition y(−1) = 1

2. Originally Posted by ronaldo_07
Determine the general solution to the differential equation
y′ = $\frac{y}{x^2+4x+5}$

Fix the constant of integration according to the initial condition y(−1) = 1
$\frac{dy}{dx} = \frac{y}{x^2+4x+5}$

$\frac{dy}{y} = \frac{dx}{x^2+4x+5}$

$\frac{dy}{y} = \frac{dx}{(x+2)^2+1}$

Remember that $\int \frac{dx}{x^2+a^2} = \frac{1}{a}\arctan(\frac{x}{a}) + C$, and $\int \frac{dx}{x} = \ln{|x|} + C$

3. Originally Posted by ronaldo_07
Determine the general solution to the differential equation
y′ = $\frac{y}{x^2+4x+5}$

Fix the constant of integration according to the initial condition y(−1) = 1
$\frac{dy}{dx} = \frac{y}{x^2+4x+5}$

$\frac{dy}{y} = \frac{dx}{(x+2)^2 + 1}$

$\ln|y| = \arctan(x+2) + C$

$\ln(1) = \arctan(-1+2) + C$

$0 = \arctan(1) + C$

$C = -\frac{\pi}{4}$

finish up the solution

4. to get y= shal I just take log on both sides so y= $e^{arctan}$......

5. $\ln|y| = \arctan(x+2) - \frac{\pi}{4}$

change to an exponential equation ...

$y = e^{\arctan(x+2) - \frac{\pi}{4}}$