Solve Integral of y dx: Step-by-Step Guide

  • Thread starter Thread starter imull
  • Start date Start date
  • Tags Tags
    Dx Integral
Click For Summary

Homework Help Overview

The discussion revolves around solving the differential equation dy/dx = y + 3, with participants exploring various approaches to integration and solution methods. The subject area is differential equations, specifically focusing on separation of variables and integration techniques.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the integration of y with respect to x and question the appropriate methods for handling the unknown function. Some suggest using separation of variables, while others emphasize the importance of understanding particular and homogeneous solutions.

Discussion Status

There is ongoing exploration of different methods to approach the problem, with some participants providing guidance on how to set up the equation for integration. Multiple interpretations of the problem are being discussed, and while guidance has been offered, there is no explicit consensus on a single method.

Contextual Notes

Some participants note that the original poster may be referencing a specific calculus textbook, and there is mention of potential gaps in the coverage of the topic in their course. The discussion reflects a mix of understanding and uncertainty regarding the integration of functions in differential equations.

imull
Messages
40
Reaction score
0

Homework Statement


Solve the differential equation: dy/dx = y+3


Homework Equations





The Attempt at a Solution


When I try to integrate with respect to x, I get ∫dy/dxdx - ∫ydx=∫3dx→y-∫ydx=3x
So what does one do about the integral of y with respect to x? There is nothing in the text about this type of thing.
 
Physics news on Phys.org
imull said:

Homework Statement


Solve the differential equation: dy/dx = y+3

Homework Equations



The Attempt at a Solution


When I try to integrate with respect to x, I get ∫dy/dxdx - ∫ydx=∫3dx→y-∫ydx=3x
So what does one do about the integral of y with respect to x? There is nothing in the text about this type of thing.
Start with \displaystyle \frac{dy}{dx}=y+3 .

Multiply both sides by \displaystyle \frac{1}{y+3} .

Then integrate (both sides) with respect to x .
 
  • Like
Likes   Reactions: 1 person
imull said:
There is nothing in the text about this type of thing.
What text? What class?

This is a simple problem that can easily be attacked by a number of approaches. Does your text talk about homogeneous and particular solutions? There is an easy-to-find particular solution of y'(x)=y+3. What is the form of the solutions to the homogeneous ODE y'(x)=y?
 
Ron Larson
Bruce Edwards
Calculus 10E
 
SammyS has mapped out a clear approach which you should closely follow. :approve:

Start with ...

Multiply both sides by ...
and tidy up by performing any 'cancels'

Multiply both sides by dx
and tidy up by performing any 'cancels' (maybe you didn't know you can cancel dx/dx )

Now, write an integral sign in front of the expressions on each side

Look closely at what you have on each side

Perform the easy integrations involved on each side :smile:

Good luck with your study! http://imageshack.us/scaled/landing/109/holly1756.gif
 
Last edited by a moderator:
To answer your question: "So what does one do about the integral of y with respect to x? "
one does NOTHING. y is an unknown function of x so we can't integrate.

We can, as SammyS said, write it as \frac{dy}{y+ 3}= dx and integrate.
 
I see you're talking about a well-known and widely-used single-variable calculus textbook here, OP. I presume it's for Calc II or a high school AP Calculus course?

In any case, perhaps your teacher/professor did not cover it yet, but the best way (and the easiest way) to solve such things is something known as the method of separation of variables (forgive me if you already know this and I sound idiotic right now).

Try to put all the same variables on one side:

\frac{dy}{dx} = y + 3

\frac{dy}{y + 3} = dx

Let u = y + 3. Then, \frac{du}{dy} = 1 and du = dy. Make these substitutions:

\frac{du}{u} = dx

Integrate: \int \frac{du}{u} = \int dx

ln\left|u\right| = x + c, where c is a constant dependent on initial conditions. Now just plug back into have an equation for y in terms of x.

ln\left|y + 3\right| = x + c

\left|y + 3\right| = e^{x + c} = e^{x}e^{c}

Solving gives: y + 3 = \pm e^{c}e^{x}

Since \pm e^{c} is just another constant (a constant raised to a constant's power), we'll rename it as "k". Then we can solve and arrive at our final answer:

\boxed{y = -3 + ke^{x}}, where k is a constant dependent on initial conditions for y. Note: You do NOT lose out on solutions by ignoring the \pm. This is accounted for in the fact that k can be negative or positive.
 
Antiderivative, why are you doing the student's homework? It is for him to work through, it's his homework. He asked how to proceed and has been given ample guidance. It is now up to him to apply that and to do the actual computations himself. That is the whole point of the homework forums.

Presenting the OP with a fully worked solution is verboten.
 
Thanks for the help guys. I didn't even think about doing what SammyS did, but I got it now and I've moved on. BTW, I'm self studying Calc 2.
 
  • #10
NascentOxygen said:
Antiderivative, why are you doing the student's homework? It is for him to work through, it's his homework. He asked how to proceed and has been given ample guidance. It is now up to him to apply that and to do the actual computations himself. That is the whole point of the homework forums.

Presenting the OP with a fully worked solution is verboten.

My fault, I wasn't aware of that in the PF guidelines. I'll refrain from posting fully-worked-out solutions in the future. Sorry about that guys.
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
2K
Replies
7
Views
2K
  • · Replies 24 ·
Replies
24
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
2K
Replies
6
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K