First Differential Equation Ever

In summary, the conversation covers the topic of differential equations, specifically the problem involving the equation \frac{dy}{dx}=15x^2-\frac{2xy}{1+x^2}. The person asking for help is confused and makes some errors in their steps, but the expert summarizer points out the mistakes and suggests the use of an integrating factor. The conversation then moves on to another problem, \frac{dy}{dx}=e^{2x+3y}, and the expert explains how to solve it using separation of variables.
  • #1
PCSL
146
0
[tex]\frac{dy}{dx}=15x^2-\frac{2xy}{1+x^2}[/tex]

This is the first differential equation problem I have ever done and I am kind of confused so let me know where I went wrong.

[tex]\frac{1}{y}dy=15x^2-\frac{2x}{1+x^2}[/tex]

[tex]ln(y)=5x^3-ln(1+x^2)+C[/tex]

Then I raised each side to the e and got an answer that was not correct :(

Thanks for any help.
 
Physics news on Phys.org
  • #2
In the first step,
- you divided both sides by y, you forgot the first term on the RHS needs to be divided also;
- you multiplied the LHS by dx, but forgot to do the same to the RHS.

This is a bit rough for your first DE, you'd normally start with homogeneous ones and build your skills from there.
 
  • #3
Simon Bridge said:
In the first step,
- you divided both sides by y, you forgot the first term on the RHS needs to be divided also;
- you multiplied the LHS by dx, but forgot to do the same to the RHS.

This is a bit rough for your first DE, you'd normally start with homogeneous ones and build your skills from there.

Just to clarify, this problem was assigned by my teacher, I'm not trying to self-study or anything.

Can you give me an additional hint on how to get the y's on one side and x's on the other so that I can integrate both sides. I know this is asking for more help then you are supposed to on this forum, but I have only had 50 minutes of lecture on DE.
 
  • #4
You want the equation to look like:

[tex]\frac{d}{dx}y+a(x)y(x)=b(x)[/tex]
... where a and b are known functions of x, y is the one you want to find.

Then you use an integrating factor [itex]\sigma(x)[/itex]:

[tex]\frac{d}{dx}\sigma y = \sigma \frac{d}{dx} y + \sigma a y[/tex]

... find that (hint: compare with the power rule) and you can multiply through by [itex]\sigma[/itex] and simplify the DE into something you can solve.

Since this is supplied by your teacher, you must have some course notes or a textbook which covers this. lynchpin: "integrating factor".

-----------------------
http://www.physics.ohio-state.edu/~physedu/mapletutorial/tutorials/diff_eqs/non_homo.htm
 
Last edited by a moderator:
  • #5
PCSL said:
Just to clarify, this problem was assigned by my teacher, I'm not trying to self-study or anything.

Can you give me an additional hint on how to get the y's on one side and x's on the other so that I can integrate both sides. I know this is asking for more help then you are supposed to on this forum, but I have only had 50 minutes of lecture on DE.
The method you're referring to is called separation of variables. It's where you try to get all the x's on one side and all the y's on the other. If it works, great, but typically, like in this problem, you can't achieve the necessary separation. You'll need to try a different method.

As Simon has wisely counseled, look up "integrating factor." It's a standard method of attacking first-order differential equations when separation fails.
 
  • #6
Thank you for the help on that problem! For:
[tex]e^{2x+3y}\frac{dy}{dx}=1[/tex] I can't put it in the form for finding the integrating factor (or am I missing something?). Is there an easier way to solve this where you don't have to find I?
 
  • #7
PCSL said:
Thank you for the help on that problem! For:
[tex]e^{2x+3y}\frac{dy}{dx}=1[/tex] I can't put it in the form for finding the integrating factor (or am I missing something?). Is there an easier way to solve this where you don't have to find I?

[itex]\displaystyle e^{2x+3y}=e^{2x}e^{3y}[/itex]

So this is separable. [itex]\displaystyle e^{3y}\,dy=e^{-2x}\,dx[/itex]
 
  • #8
SammyS said:
[itex]\displaystyle e^{2x+3y}=e^{2x}e^{3y}[/itex]

So this is separable. [itex]\displaystyle e^{3y}\,dy=e^{-2x}\,dx[/itex]

Thank you so much.
 

FAQ: First Differential Equation Ever

What is a first differential equation?

A first differential equation is a mathematical equation that describes the relationship between a function and its derivative. It is often used in physics and engineering to model real-world phenomena.

How do you solve a first differential equation?

There are several methods for solving a first differential equation, including separation of variables, integrating factors, and using power series. The specific method used depends on the form and complexity of the equation.

Why are first differential equations important?

First differential equations are important because they allow us to mathematically model and predict the behavior of physical systems. They are used in a wide range of fields, including physics, engineering, economics, and biology.

What is the difference between a first and a second differential equation?

The main difference between a first and a second differential equation is the number of derivatives present in the equation. A first differential equation has one derivative, while a second differential equation has two. The methods for solving these equations also differ.

Can you give an example of a first differential equation?

One example of a first differential equation is the simple harmonic oscillator equation, which describes the motion of a mass attached to a spring. It is written as:

m(d^2x/dt^2) + kx = 0

Where m is the mass, k is the spring constant, and x is the displacement of the mass from its equilibrium position.

Back
Top