A. Consider the differential equation f′(x)=(x+1)f(x) with f(0)=1. What is the exact formula for f(x)? B. Solve for f(.2) using Eulers approximation method with increment h=.01 for x in [0,0.2].

Annalise Wilson

Annalise Wilson

Open question

2022-08-22

Having trouble wrapping my brain around this question.. don't know where to start.
A. Consider the differential equation f ( x ) = ( x + 1 ) f ( x ) with f ( 0 ) = 1. What is the exact formula for f ( x )?
I tried solving for f ( x ) but that just gives me ( x + 1 ) f ( x ). I feel like that's not sufficient here.
B. Solve for f ( .2 ) using Eulers approximation method with increment h = .01 for x [ 0 , 0.2 ].
Edit- my work for part A.
integral f'(x) = integral(x+1) *f(x)+(x+1) * integral (f(x)
so f(x) = ((x^2+x)/2)*f(x) + (x+1) * (f(x)^2)/2.
I don't believe this is the right answer.

Answer & Explanation

lywyk0

lywyk0

Beginner2022-08-23Added 12 answers

f ( x ) = ( x + 1 ) f ( x )
Is a separable differential equation of first order.

Rewrite as:
d f d x = ( x + 1 ) f
d f f = ( x + 1 ) d x
Integrate both sides and apply initial condition.

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?