We are given the differential equation (x+2)dxdy=x2+4x−9 with x=−2 and the initial condition y(0)=0. We need to find y(−4).
First, rearrange the equation to solve for dxdy:
dxdy=x+2x2+4x−9
Simplify the right-hand side by performing polynomial division. Divide x2+4x−9 by x+2:
Divide the leading term x2 by x, which gives x. Multiply x by x+2: x⋅(x+2)=x2+2x. Subtract this from x2+4x−9:
(x2+4x−9)−(x2+2x)=2x−9
Now, divide 2x by x, which gives 2. Multiply 2 by x+2: 2⋅(x+2)=2x+4. Subtract this from 2x−9:
(2x−9)−(2x+4)=−13
So, the division yields:
x+2x2+4x−9=x+2−x+213
Thus, the differential equation becomes:
dxdy=x+2−x+213
Separate the variables:
dy=(x+2−x+213)dx
Integrate both sides:
∫dy=∫(x+2−x+213)dx
The left side integrates to y. For the right side, integrate term by term:
∫(x+2)dx=2x2+2x
∫−x+213dx=−13∫x+21dx=−13ln∣x+2∣
Combining these, we get:
y=2x2+2x−13ln∣x+2∣+C
where C is the constant of integration.
Apply the initial condition y(0)=0. Substitute x=0 and y=0:
0=2(0)2+2(0)−13ln∣0+2∣+C
Simplify:
0=0+0−13ln2+C
Solve for C:
C=13ln2
Substitute C back into the solution:
y(x)=2x2+2x−13ln∣x+2∣+13ln2
This can also be written as:
y(x)=2x2+2x+13ln(∣x+2∣2)
Now, evaluate y(−4):
y(−4)=2(−4)2+2(−4)−13ln∣−4+2∣+13ln2
Compute each term:
(−4)2=16,216=8
2⋅(−4)=−8
∣−4+2∣=∣−2∣=2,ln∣−4+2∣=ln2
So,
y(−4)=8−8−13ln2+13ln2=0+0=0
Hence, y(−4)=0.
The options are:
A. −1
B. 1
C. 0
D. 2
So, the answer is Option C.