As we know that,
Slope of tangent to the curve is dydx
Slope of the line segement joining the two points(x,y)and (−4,−3) is
y2−y1x2−x1=−3−y−4−x=y+3x+4
Given : Slope of tangent is twice of line segment
dydx=2(y+3x+4)
dyy+3=2dxx+4
Integrating both sides, we get
∫dyy+3=2∫dxx+4
log|y+3|=2log|x+4|+logc
log(y+3)=log(x+4)2+logc
log(y+3)−log(x+4)2=logc
log(y+3)(x+4)2=logc
c=y+3(x+4)2 ...(i)
Given : Curve passes through (2,−1)
Substituting x=−2,y=1 in (i),
c=1+3(−2+4)2
c=4(2)2=44=1
Substituting the value of c in (i),
y+3(x+4)2=1
y+3=(x+4)2=1
Hence, required equation of the curve is
y+3=(x+4)2