First order differentials & euler's method

Click For Summary
SUMMARY

The discussion centers on solving the first-order differential equation y' = x + y with the initial condition y(0) = 1 using Euler's method. The user initially attempts to apply an analytical approach involving integrating factors but realizes that they are actually seeking to evaluate the accuracy of Euler's method by finding the exact solution to the initial value problem. The correct approach involves recognizing that Euler's method is a numerical technique, and the user needs to focus on deriving the exact solution to compare against the numerical approximation.

PREREQUISITES
  • Understanding of first-order differential equations
  • Familiarity with Euler's method for numerical solutions
  • Knowledge of integrating factors in differential equations
  • Ability to compute integrals and evaluate initial value problems
NEXT STEPS
  • Study the derivation and application of Euler's method for numerical solutions of differential equations
  • Learn how to find exact solutions for first-order differential equations
  • Explore the concept of integrating factors and their role in solving linear differential equations
  • Investigate methods for comparing numerical solutions with exact solutions to assess accuracy
USEFUL FOR

Students and professionals in mathematics, engineering, or physics who are working with differential equations and numerical methods, particularly those interested in understanding and applying Euler's method.

raincheck
Messages
38
Reaction score
0
I'm having trouble solving first order differential equations for euler's method.

right now I'm trying to figure out: y' = x + y y(0) = 1

i have: dy/dx - y = x
p(x)=-1 , q(x)=x

u=e^(-x)

y=e^x [integral](xe^-x)dx

.. i don't think I'm doing this right, where am i going wrong?

[sorry about not using the right symbols & thank you!]
 
Last edited:
Physics news on Phys.org
I thought Euler's method was to do it numerically.

I have no idea.
 
JasonRox said:
I thought Euler's method was to do it numerically.

I have no idea.

well, i guess it isn't exactly Euler's method, but it's finding the accuracy OF it, i just realized that. And to find it, I have to find the exact solution of that initial value problem..
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
Replies
19
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
4
Views
3K
Replies
3
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
7
Views
2K
Replies
5
Views
2K
Replies
4
Views
2K
Replies
10
Views
2K