Differential Equations - am I doing this right

Click For Summary
SUMMARY

The discussion centers on solving the differential equation \(\frac{dy}{dx} = 3\frac{y}{x}\) with the boundary condition \(y = y_0\) at \(x = x_0\). The user successfully separates variables and integrates to find the general solution \(y = y_0\left(\frac{x}{x_0}\right)^3\). The user confirms the solution by substituting back to verify that it satisfies the original differential equation. The discussion emphasizes the importance of checking work in differential equations to ensure correctness.

PREREQUISITES
  • Understanding of differential equations
  • Knowledge of separation of variables technique
  • Familiarity with logarithmic properties
  • Ability to perform integration
NEXT STEPS
  • Study the method of separation of variables in more complex differential equations
  • Learn about boundary value problems and their applications
  • Explore the verification of solutions to differential equations
  • Investigate numerical methods for solving differential equations
USEFUL FOR

Students studying differential equations, educators teaching calculus, and anyone looking to improve their problem-solving skills in mathematical analysis.

protonchain
Messages
98
Reaction score
0

Homework Statement



What is y(x) [y as a function of x] given that

Homework Equations



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

where you are given the boundary condition that y = y_0 at x = x_0 where y_0 and x_0 are constants.



The Attempt at a Solution



Separating variables \Rightarrow \frac{dy}{y} = \frac{3 dx}{x}

Integrating \Rightarrow \int{\frac{dy}{y}} = \int{\frac{3 dx}{x}

Integrals give \Rightarrow ln(y) = 3 ln(x) + C

Given the boundary conditions then \Rightarrow ln(y_0) = 3 ln(x_0) + C

Therefore \Rightarrow C = ln(y_0) - 3ln(x_0) = ln(\frac{y_0}{x_0^3})

Plugging back into ln(y) = 3 ln(x) + C gives
ln(y) = 3 ln(x) + ln(\frac{y_0}{x_0^3})

Therefore \Rightarrow y = exp\left(ln(x^3) + ln(\frac{y_0}{x_0^3})\right)

\Rightarrow y = exp\left(ln(x^3 \bullet \frac{y_0}{x_0^3})\right) \Rightarrow y = y_0(\frac{x}{x_0})^3
 
Physics news on Phys.org
Looks good to me.

One way you can check your work is to find dy/dx from your final equation, and verify that you get your initial equation...
 
That's the part where I got worried about whether I did it right or not.

I think I was getting stucking trying to prove that it was correct, and I just did it.

Thank you for the assurance and the help! :) Really appreciate it
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
744
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
14
Views
10K