Answer:
[tex]y = 2x + \frac{x^2}{2} - 6[/tex]
Step-by-step explanation:
Solution:-
- We are given the following initial value problem:
[tex]\frac{dy}{dx} = 2 + x , y ( 2 ) = -6[/tex]
- We will first isolate the variables:
[tex]dy = ( 2 + x ).dx[/tex]
- Perform integration for both sides of the equation:
[tex]\int {dy} = \int {( 2 + x )}.dx + c\\\\y = 2x + \frac{x^2}{2} + c\\[/tex]
Where,
c: The constant of integration
- We will solve for the constant of integration by using the initial value y ( 0 ) = -6 as follows:
[tex]-6 = 2(0) + \frac{0^2}{2} + c\\\\c = -6[/tex]
- The final solution can be expressed as follows:
[tex]y = 2x + \frac{x^2}{2} - 6[/tex]