A community for students.
Here's the question you clicked on:
 0 viewing
anonymous
 5 years ago
how to solve dy/dx=x+y,y(0)=1
anonymous
 5 years ago
how to solve dy/dx=x+y,y(0)=1

This Question is Closed

anonymous
 5 years ago
Best ResponseYou've already chosen the best response.0Noting that this is a linear ordinary differential equation, we can rewrite it in the form \[\frac{dy}{dx} + p(x) \cdot y = g(x)\] where \[p(x) = 1, g(x) = x\]Finding the integration factor u(x) is trivial, as \[u(x) = e^{\int p(x) dx} = e^{x}\] Multiplying both sides by the integration factor, we arrive at \[e^{x} \frac{dy}{dx} + e^{x} \cdot y = e^{x} \cdot x\] The left side may be rewritten as \[(e^{x} \cdot y)' = e^{x} \cdot x\] and integrating both sides, we find that \[\int (e^{x} \cdot y)' dx = \int e^{x} x dx\] which is \[e^{x} \cdot y + c_1 = e^{x} (x+ 1) + c_2\] for some c_1, c_2. Letting \[c = c_2  c_1\] we may rewrite the differential equation as \[e^{x} y = e^{x} (x + 1) + c\] Solving for y, we arrive at \[y = \frac{e^{x} (x+ 1) + c}{e^{x}} = c e^{x}  x  1\] which is our general solution. Solving for c we find that \[y(0) = c \cdot e^{0}  0  1 = c  1 = 1\] thus c equals 2.
Ask your own question
Sign UpFind more explanations on OpenStudy
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.