Some questions regarding a differential equation

Click For Summary
SUMMARY

The discussion centers on the differential equation A\frac{d^{2}y}{dx^{2}}+B\frac{dy}{dx}=f(x,\lambda), where A and B are constants, and x and λ are independent variables. The user seeks clarification on whether integrating the term f(x,λ) over λ before solving the equation is a valid approach. The consensus is that since x and λ are independent, integrating f(x,λ) to obtain f(x) before solving the equation is permissible, but it may lead to different solutions compared to integrating after solving. The user has already solved both methods and noted discrepancies in the results.

PREREQUISITES
  • Understanding of ordinary differential equations (ODEs)
  • Familiarity with integration techniques
  • Knowledge of independent variables in differential equations
  • Basic concepts of analytical solutions in differential equations
NEXT STEPS
  • Study the method of integrating factors in ODEs
  • Learn about the implications of variable independence in differential equations
  • Explore the concept of Green's functions for solving differential equations
  • Investigate numerical methods for solving ODEs when analytical solutions differ
USEFUL FOR

Students and researchers in mathematics, particularly those focusing on differential equations, as well as engineers and physicists dealing with analytical and numerical solutions of ODEs.

nothingisreal
Messages
2
Reaction score
0
Hello,

I am new here. I hope I am posting my problem at the right place.

I need some urgent help regarding the following differential equation:

A[itex]\frac{d^{2}y}{dx^{2}}[/itex]+B[itex]\frac{dy}{dx}[/itex]=f(x,[itex]\lambda[/itex])...(1)

where, A and B are constants. x and [itex]\lambda[/itex] are independent.

I have solved the equation analytically and the solution is a function of x and [itex]\lambda[/itex], i.e y(x,[itex]\lambda[/itex]).

Afterwards, to obtain y(x) [i.e to make it [itex]\lambda[/itex] independent], I have integrated the solution over a region of [itex]\lambda[/itex], i.e [itex]\int{y(x,\lambda)}[/itex]d[itex]\lambda[/itex]=y(x) ...(2)

My question is - can I integrate the term f(x,[itex]\lambda[/itex]) over a region of [itex]\lambda[/itex] before solving the eqn (1)? i.e if I replace f(x,[itex]\lambda[/itex]) by [itex]\int{f(x,\lambda)}[/itex]d[itex]\lambda[/itex] = f(x) in eqn (1) and solve the following equation:

A[itex]\frac{d^{2}y}{dx^{2}}[/itex]+B[itex]\frac{dy}{dx}[/itex]=f(x) ...(3)

Is it a correct way to solve (1)?

I have solved the eqn (3). But, the solution (y(x) curve) is completely different than (2).

Which method should I use (first or second method)? Any explanation of getting different results would also help me. Please pardon my ignorance - I am new in this field.

Many many thanks in advance...
 
Physics news on Phys.org
Yes if x and lambda are independent, then it does not matter if you integrate before or after you solve the ode.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K