Is There More Than One Method to Solve Nonhomogeneous Differential Equations?

In summary: Doing this will just make the equation more complicated.In summary, the equation is not exact and requires a change of variables to solve.
  • #1
Leptos
173
0

Homework Statement


y-(sinx)2)dx + sinx)dy


Homework Equations


Since the result wouldn't be a line, the equation would only be linear in one of its variables.


The Attempt at a Solution


y-(sinx)2 = 0 ; sinx = 0 --- y = (sinx)2 + sinx

No clue... Also, is there more than one way to solve this? For example I came across a couple problems that could be solved by as many as 3 different techniques.

I'm wondering how I can get a general feel for these problems because it's not always immediately obvious what approach should be used to solve them(of course that's the point of practicing)... For example when should I generally try determining the integration factor: My - Nx/M = f(x) where u = eint(f(x)) is the I.F. Or things like reducing a problem into common differentials such as d(xy), d(y/x), d(x3/y) or making several changes of variables... The last one is really troublesome for me because I find that picking one way say ZX = V can take one order of magnitude longer than picking ZV = X in some cases, it's hard to develop this intuition of which method is better, or which works, etc. Any advice?
 
Last edited:
Physics news on Phys.org
  • #2
First let's try to write an equation instead of an expression. Is it supposed to be:

y - sin^2(x)dx + sin(x) dy = 0 ?

[tex] y - \sin^2(x) dx + \sin(x) dy = 0 [/tex]
 
  • #3
Stephen Tashi said:
First let's try to write an equation instead of an expression. Is it supposed to be:

y - sin^2(x)dx + sin(x) dy = 0 ?

[tex] y - \sin^2(x) dx + \sin(x) dy = 0 [/tex]

Yes... I know that I have to use the method of linear coefficients but I'm not sure how to go about using it in this case.
 
  • #4
I don't know what "the method linear cofficients" is. Do you have a link to it?

Are you sure the equation isn't:

[tex] ( y - \sin^2(x)) dx + \sin(x) dy = 0 [/tex]
 
  • #5
Stephen Tashi said:
I don't know what "the method linear cofficients" is. Do you have a link to it?

Are you sure the equation isn't:

[tex] ( y - \sin^2(x)) dx + \sin(x) dy = 0 [/tex]

That's the same as the first line in the OP.
Yes, ydx - (sinx)2dx +sinxdy = 0

We would treat the two parts under dx and dy separately as follows:
E1 = _______dx
E2 = _______dy
And we would try to find where E1 and E2 intersect. In the case they don't intersect, they must be parallel therefore there will be some part that repeats so in that case it's just substitution.

For example: (x + 2y - 4)dx - (2x + y - 5)dy = 0
E1 is x + 2y - 4 = 0
E2 is 2x + y - 5 = 0
We can easily see they are not parallel(to be parallel E2 would have to be x + 2y + constant = 0) and so we solve the system of equations and find an intersection at (2,1) meaning we want a change of variables that will transform the equation so the origin is shifted to (h,k) = (2, 1)

Thus we change variables: u = x + h = x + 2 and v = y + k = y + 1
Thus the original equation is transformed to (u + 2v)du - (2u + v)dv and from here we would make a second change of variables since the equation in u and v is homogenous and of degree 1 in said variables. We get u = vz and du = vdz + zdv which transforms the equation into something separable...

That being said, I have no clue how to handle the equation I posted in the OP.
 
Last edited:
  • #6
Generally if an equation is of that form, I do check if it's exact since it takes a second. If the equation is not exact, as in this case, I probably rewrite the equation in the form y' = f(x,y) to see if I can work with that.

Doing this gives y' = sin(x) - y/sin(x), which is a first-order nonhomgeneous equation. You should have known how to solve this before you encountered exact equations.

Also you can make this equation exact simply by multiplying the original equation through by the integrating factor p, imposing the conditions for exactness, then setting p = p(x) (stipulating that p is a function of x alone) and solving a separate first order equation.

However, there is no reason to do this if you realized that your equation is actually of first order in the first place.
 

Related to Is There More Than One Method to Solve Nonhomogeneous Differential Equations?

1. What is a differential equation?

A differential equation is a mathematical equation that describes the relationship between a function and its derivatives. It is used to model and analyze systems that involve rates of change, such as growth, decay, motion, and diffusion.

2. What are linear coefficients in a differential equation?

Linear coefficients in a differential equation refer to the constants that are multiplied by the highest order derivative in the equation. They determine the behavior of the solution to the equation and can be used to classify the type of differential equation.

3. How do linear coefficients affect the solution to a differential equation?

The linear coefficients in a differential equation affect the type and behavior of the solution. For example, if the linear coefficients are all positive, the solution will exhibit exponential growth. If they are negative, the solution will exhibit exponential decay. If they are equal to zero, the solution will be constant.

4. What is a homogeneous differential equation?

A homogeneous differential equation is one where all of the terms involve the dependent variable and its derivatives. This means that the linear coefficients are constant and do not involve the independent variable. Homogeneous differential equations are often easier to solve than non-homogeneous ones.

5. How are linear coefficients used to classify differential equations?

The linear coefficients in a differential equation can be used to classify it into different types, such as first-order, second-order, or higher-order equations. They can also help determine if the equation is linear or non-linear, and whether it is homogeneous or non-homogeneous.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
10
Views
522
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
369
  • Calculus and Beyond Homework Help
Replies
1
Views
320
  • Calculus and Beyond Homework Help
Replies
3
Views
613
  • Calculus and Beyond Homework Help
Replies
21
Views
912
  • Calculus and Beyond Homework Help
Replies
2
Views
297
  • Calculus and Beyond Homework Help
Replies
6
Views
900
Back
Top