Understanding Euler's Method & Estimating Area Enclosed

In summary, the question asks why y_{20} is an estimate of the magnitude of the area enclosed by the curve f(x) = \log_e(4-x^2), the coordinate axes, and the line x=1, when using Euler's method to solve the differential equation \frac{{dy}}{{dx}} = \log _e \left( {4 - x^2 } \right) with a step size of 0.05 and initial condition y = 0 when x = 0. The answer explains that the initial condition is reflected in the limits of integration and that y_{20} is chosen as an approximation due to the step size and initial condition. Additional information about Taylor's series method is also provided
  • #1
Benny
584
0
Hello, I am having trouble understanding a question in relation to Euler's method.

Basically, the question goes something like Euler's method is solved to solve the differential equation [tex]\frac{{dy}}{{dx}} = \log _e \left( {4 - x^2 } \right)[/tex], with a step size of 0.05 and initial condition y = 0 when x = 0. Let A be magnitude of the area enclosed by the curve [tex]f\left( x \right) = \log _e \left( {4 - x^2 } \right)[/tex], the coordinate axes and the line x = 1. Why is [tex]y_{20}[/tex] an estimate of A?

Answer: [tex]y_{20} \approx \int\limits_0^{x_{20} } {\log _e \left( {4 - x^2 } \right)} dx = \int\limits_0^1 {\log _e \left( {4 - x^2 } \right)dx} = A[/tex]

I do not understand the answer. As far as I understand, [tex]y_{20}[/tex] is just the value of the antiderivative at x = 1, given initial conditions but the answer does not make use of the initial conditions. I do not see how [tex]y_{20}[/tex] can be considered to be an approximation of A if the initial conditions are not used.
 
Physics news on Phys.org
  • #2
Benny said:
Hello, I am having trouble understanding a question in relation to Euler's method.

Basically, the question goes something like Euler's method is solved to solve the differential equation [tex]\frac{{dy}}{{dx}} = \log _e \left( {4 - x^2 } \right)[/tex], with a step size of 0.05 and initial condition y = 0 when x = 0. Let A be magnitude of the area enclosed by the curve [tex]f\left( x \right) = \log _e \left( {4 - x^2 } \right)[/tex], the coordinate axes and the line x = 1. Why is [tex]y_{20}[/tex] an estimate of A?

Answer: [tex]y_{20} \approx \int\limits_0^{x_{20} } {\log _e \left( {4 - x^2 } \right)} dx = \int\limits_0^1 {\log _e \left( {4 - x^2 } \right)dx} = A[/tex]

I do not understand the answer. As far as I understand, [tex]y_{20}[/tex] is just the value of the antiderivative at x = 1, given initial conditions but the answer does not make use of the initial conditions. I do not see how [tex]y_{20}[/tex] can be considered to be an approximation of A if the initial conditions are not used.

1.[tex]A=:\int_{0}^{1} \ln(4-x^{2}) dx [/tex]
2.The initial condition imposed on the solution of the ODE is reflected in the limits of integration.Namely the inferior limit is chosen x=0 and the superior one corresponds to [itex] x_{20}=20\cdot 0.05=1 [/itex],where i made use of the fact that the step size is 0.05.So the initial conditions are used and the fact that [itex] y_{20} [/itex] and not other 'y' gives u the approximatimation is due to the fact that the initial condition is y(x=0)=0 and the step is 0.05.Had the step been 0.01,you would have found x=1 for x_{100} and similar the corresponding 'y'.

Daniel.
 
  • #3
I see what you mean. I was thinking about it along those lines but I probably thought about the comments included with the solution too much which obscured by understanding of the solution. Thanks for your help.
 
  • #4
In addition, Euler's method is a special case of the "Taylor's series" method.

Suppose the differential equation is dy/dx= f(x,y).

The general definition of Taylor's series for an infinitely differentiable function y, about x0 is y(x0)+ y'(x0)(x- x0+ (1/2)y"(x0)(x-x0)+ ...
If x- x0= h (so that x= x0+h) is small then the higher powers of (x-x0) will be "negligible" and we have y(x0+h)= y(x0)+ f(x0,y(x0))(x-x0) so that
δy= y(x0+h)- y(x0)= f(x0,y(x0))h.

If you have a way of evaluating df(x,y)/dx (you will need to use the chain rule), you can get a better approximation by y(x0+h)= y(x0)+ f(x0,y(x0))h+ (1/2)(df(x0,y(x0))/dx)h2.
 
  • #5
Thanks for posting the extra information.
 
  • #6
Benny said:
Hello, I am having trouble understanding a question in relation to Euler's method.

Basically, the question goes something like Euler's method is solved to solve the differential equation [tex]\frac{{dy}}{{dx}} = \log _e \left( {4 - x^2 } \right)[/tex], with a step size of 0.05 and initial condition y = 0 when x = 0. Let A be magnitude of the area enclosed by the curve [tex]f\left( x \right) = \log _e \left( {4 - x^2 } \right)[/tex], the coordinate axes and the line x = 1. Why is [tex]y_{20}[/tex] an estimate of A?

Answer: [tex]y_{20} \approx \int\limits_0^{x_{20} } {\log _e \left( {4 - x^2 } \right)} dx = \int\limits_0^1 {\log _e \left( {4 - x^2 } \right)dx} = A[/tex]

I do not understand the answer. As far as I understand, [tex]y_{20}[/tex] is just the value of the antiderivative at x = 1, given initial conditions but the answer does not make use of the initial conditions. I do not see how [tex]y_{20}[/tex] can be considered to be an approximation of A if the initial conditions are not used.

2002 VCE Specialist Maths exam Benny?
 

What is Euler's Method?

Euler's Method is a numerical technique used to approximate the solution of a differential equation. It involves breaking down a continuous function into small segments and using linear approximations to estimate the values at each point. This method was developed by Swiss mathematician Leonhard Euler in the 18th century.

How does Euler's Method work?

Euler's Method works by using the slope of a tangent line at a given point to approximate the value of the function at that point. The smaller the segments, the more accurate the approximation will be. The process is repeated for each segment until the desired accuracy is achieved.

What is the purpose of estimating area enclosed using Euler's Method?

Euler's Method can be used to estimate the area enclosed by a curve and the x-axis. This can be useful in many fields such as physics, engineering, and economics, where finding the area under a curve is necessary for solving real-world problems.

What are the limitations of Euler's Method?

Euler's Method is a simple and effective method for approximating solutions to differential equations, but it has its limitations. It can only provide an estimation and not an exact solution, and the accuracy of the approximation depends on the size of the segments used. Additionally, it may not work well with functions that have rapidly changing slopes or large intervals between points.

How can Euler's Method be improved?

There are several ways to improve the accuracy of Euler's Method. One approach is to use smaller segments, which will result in a more accurate approximation. Another method is to use higher-order numerical techniques, such as the Runge-Kutta method, which can provide more accurate estimates with fewer segments. It is also important to carefully choose the interval over which the function is being approximated to minimize errors.

Similar threads

Replies
7
Views
2K
  • Differential Equations
Replies
1
Views
758
  • Differential Equations
Replies
5
Views
2K
  • Differential Equations
Replies
10
Views
3K
  • Differential Equations
Replies
9
Views
2K
  • Differential Equations
Replies
1
Views
658
  • Differential Equations
Replies
9
Views
2K
Replies
16
Views
2K
Replies
3
Views
305
  • Differential Equations
Replies
3
Views
2K
Back
Top