1st order differential equation

Click For Summary

Homework Help Overview

The discussion revolves around finding the general solution of a first order differential equation, specifically (y+x^{2}y)\frac{dy}{dx}=3x+xy^{2}, with an initial condition y(1)=1.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to solve the differential equation by separating variables and integrating both sides. Some participants question the accuracy of the exponential rules applied in the solution.

Discussion Status

Participants are actively engaging with the original poster's approach, with some providing feedback on specific errors related to exponential rules. There is a light-hearted acknowledgment of common mistakes, indicating a supportive atmosphere for learning.

Contextual Notes

There is a focus on ensuring correct application of mathematical principles, particularly regarding exponential functions. The initial condition is also a point of consideration in the discussion.

subzero0137
Messages
91
Reaction score
4
Find the general solution of the first order differential equation [itex](y+x^{2}y)\frac{dy}{dx}=3x+xy^{2}[/itex], with [itex]y(1)=1[/itex].



My attempt:
[tex]\frac{y}{3+y^{2}}dy=\frac{x}{1+x^{2}}dx ∴ \frac{1}{2}\int \frac{2y}{3+y^{2}}dy=\frac{1}{2}\int \frac{2x}{1+x^2}dx[/tex]
[tex]=\frac{1}{2}ln|3+y^{2}|=\frac{1}{2}ln|1+x^{2}|+C[/tex] ∴ [tex]y^{2}+3=x^{2}+1+e^{C}[/tex] ∴ [tex]y=\pm\sqrt{x^{2}-2+e^{C}}[/tex] Applying boundary conditions gives [tex]1=\pm\sqrt{1^{2}-2+e^{C}} \Rightarrow e^{C}=2[/tex] Therefore [tex]y=\pm x[/tex].


Is this right?
 
Physics news on Phys.org
subzero0137 said:
[tex]y^{2}+3=x^{2}+1+e^{C}[/tex]

Not quite right here. Pay particular attention to your exponential rules. Remember that

[tex]a^{b+c}=a^ba^c[/tex]
 
Mentallic said:
Not quite right here. Pay particular attention to your exponential rules. Remember that

[tex]a^{b+c}=a^ba^c[/tex]

Ohhh! Of course...silly me.
 
subzero0137 said:
Ohhh! Of course...silly me.

Don't worry, I answered a whole homework problem set on this topic with the exact same mistake in each and every question haha :biggrin:
 

Similar threads

Replies
6
Views
2K
Replies
4
Views
3K
Replies
4
Views
2K
Replies
3
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
955
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K