Initial Value Problem (complex example)

Click For Summary

Discussion Overview

The discussion revolves around solving an initial value problem involving a first-order differential equation: dy/dx + y(-2) Sin(3x) = 0 for t > 0, with the initial condition y(0) = 2. Participants explore methods for separating variables and integrating the equation, while addressing potential confusion regarding the dependent variable and the integration process.

Discussion Character

  • Homework-related
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant expresses difficulty in integrating due to the term -y-2 and seeks advice on how to eliminate it from the equation.
  • Another participant suggests multiplying the original equation by y^2, but acknowledges that this would also affect the dy/dx term.
  • Confusion arises regarding the dependent variable, with some participants noting the inconsistency between the variable x and the restriction t > 0.
  • Several participants discuss the separation of variables method, with one asking for clarification on how to rearrange the equation correctly.
  • There are multiple exchanges about the correct form of the integrals, with participants correcting each other on the placement of integral signs and terms.
  • One participant shares their integration result, leading to a calculation of the constant C based on the initial condition.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best approach to eliminate the term -y-2, and there is ongoing confusion regarding the dependent variable. The discussion remains unresolved as participants explore different methods and corrections.

Contextual Notes

There are limitations in clarity regarding the dependent variable and the integration process, as well as potential misunderstandings in the manipulation of the equation.

King_Silver
Messages
83
Reaction score
6
I know the method and can solve other initial value problems. This is the question given:
dy/dx + y(-2) Sin(3x) = 0 for t > 0, with y(0) = 2.

I've brought the dy/dx and let it equal to the rest of the expression so it is now:
dy/dx = -y-2 Sin(3x) , with y(0) = 2 (i.e. when x = 0, y = 2 )

The -y-2 is obstructing me from integrating both sides and solving for constant C using the information given. What would I have to do to eliminate the -y-2 entirely from the question so I can continue standard procedures?
 
Physics news on Phys.org
Maybe I'm overlooking something, but can't you just multiply the original equation by ##y^2##?
 
Krylov said:
Maybe I'm overlooking something, but can't you just multiply the original equation by ##y^2##?
But if you multiply the original by y2 then you will need to do the same to the left hand side as you have done to the right hand side, meaning the dy/dx would also be affected.
 
King_Silver said:
I know the method and can solve other initial value problems. This is the question given:
dy/dx + y(-2) Sin(3x) = 0 for t > 0, with y(0) = 2.

It's not clear which is the dependent variable here. The equation suggests x, but there's this 't > 0' restriction. I'm confused.
I've brought the dy/dx and let it equal to the rest of the expression so it is now:
dy/dx = -y-2 Sin(3x) , with y(0) = 2 (i.e. when x = 0, y = 2 )

It looks like you want to use separation of variables here. Do you know how to get all y and dy to one side of the equation, and all x and dx to the other?
The -y-2 is obstructing me from integrating both sides and solving for constant C using the information given. What would I have to do to eliminate the -y-2 entirely from the question so I can continue standard procedures?

If you separate the variables, everything should be smooth sailing after that. :smile:
 
SteamKing said:
It's not clear which is the dependent variable here. The equation suggests x, but there's this 't > 0' restriction. I'm confused.It looks like you want to use separation of variables here. Do you know how to get all y and dy to one side of the equation, and all x and dx to the other?If you separate the variables, everything should be smooth sailing after that. :smile:

What do you mean by that? all y to the left and all x terms to the right?

so like ∫ y-2 dy = ∫Sin(3x) dx ? :)
 
SteamKing said:
If you separate the variables, everything should be smooth sailing after that. :smile:
Indeed. Just allow yourself to do the usual abuse of differentials.
 
King_Silver said:
What do you mean by that? all y to the left and all x terms to the right?

so like ∫ y-2 ∫dy = Sin(3x) dx ? :)
I think you have too many integral signs on one side of the equation, and not enough on t'other.
 
  • Like
Likes   Reactions: King_Silver
SteamKing said:
I think you have too many integral signs on one side of the equation, and not enough on t'other.
Sorry that was just an accident edited the post :) thanks! got it sorted now cheers! :D
 
King_Silver said:
What do you mean by that? all y to the left and all x terms to the right?

so like ∫ y-2 dy = ∫Sin(3x) dx ? :)
Shouldn't that be ∫ y+2 dy?
 
  • Like
Likes   Reactions: King_Silver
  • #10
Samy_A said:
Shouldn't that be ∫ y+2 dy?
And a -Sin(3x) I think, sorry my bad!
I'm sure it should be a -Sin(3x) as well.
 
  • Like
Likes   Reactions: Samy_A
  • #11
integrated it.
y3/3 = 1/3 Cos(3x) + C, with y(0) = 2

so 23/3 = 1/3 Cos(0) + C
2 2/3 = 1/3 + C

C = 2 1/3

That is what I got :)
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 10 ·
Replies
10
Views
1K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 14 ·
Replies
14
Views
3K