Initial value differential

In summary, the problem is to find the solution to the initial value problem (differential equations) y'=-y+e^-2x, y(0)=3. The solution involves using the linear equation of first order and finding the integrating factor e^-x. The final solution is y = (-1/3) e^(-2x) + (10/3) e^x. There was a discrepancy between the problem statement and the solution given, but it was not significant in this case. Using other methods such as solving the homogeneous equation or using a Laplace transform may also be possible.
  • #1
vanitymdl
64
0
Problem: Find the solution to the initial Value problem (differential equations)?

y'=-y+e^-2x
y(0) = 3


Attempt: y' -y = e^(-2x) ----- (1)

Linear equation of first order of form y' + y p(x) = q(x)
p(x)= -1
q(x) = e^(-2x)

Find the integrating factor e^∫p(x) dx = e^∫ - dx = e^-x

Multiply equation (1) by the integrating factor e^-x
y' e^-x - y e^-x = e^(-3x) ----- (2)

The left-hand side of (2) is the derivative of y times the integrating factor or (y e^-x)'
(y e^-x)' = e^(-3x) ----- (3)

Integrate both sides of (3)
y e^-x = ∫ e^(-3x)
y e^-x = (-1/3) e^(-3x) + C
multiply everything by e^x

y = (-1/3) e^(-2x) + C
y(0)=3
3 = (-1/3) e^0 + C
C = 3+1/3 = 10/3

y = (-1/3) e^(-2x) + (10/3) e^xHow does this look?
 
Physics news on Phys.org
  • #2
vanitymdl said:
Problem: Find the solution to the initial Value problem (differential equations)?

y'=-y+e^-2x
y(0) = 3


Attempt: y' -y = e^(-2x) ----- (1)

Linear equation of first order of form y' + y p(x) = q(x)
p(x)= -1
q(x) = e^(-2x)

Find the integrating factor e^∫p(x) dx = e^∫ - dx = e^-x

Multiply equation (1) by the integrating factor e^-x
y' e^-x - y e^-x = e^(-3x) ----- (2)

The left-hand side of (2) is the derivative of y times the integrating factor or (y e^-x)'
(y e^-x)' = e^(-3x) ----- (3)

Integrate both sides of (3)
y e^-x = ∫ e^(-3x)
y e^-x = (-1/3) e^(-3x) + C
multiply everything by e^x

y = (-1/3) e^(-2x) + C
y(0)=3
3 = (-1/3) e^0 + C
C = 3+1/3 = 10/3

y = (-1/3) e^(-2x) + (10/3) e^x


How does this look?

The first thing you should do is to substitute your solution back into the d.e. Does it solve the equation?

Is this ##y' = -y + e^{-2x}## or is this ##y' - y = e^{-2x}## your equation?

Because in the problem statement, you gave the former, but you solved the latter. The solution for the latter is correct, but if you made a simple algebraic error in bringing the ##y## over, then the solution is obviously wrong.
 
Last edited:
  • #3
vanitymdl said:
Problem: Find the solution to the initial Value problem (differential equations)?

y'=-y+e^-2x
y(0) = 3


Attempt: y' -y = e^(-2x) ----- (1)

Linear equation of first order of form y' + y p(x) = q(x)
p(x)= -1
q(x) = e^(-2x)

Find the integrating factor e^∫p(x) dx = e^∫ - dx = e^-x

Multiply equation (1) by the integrating factor e^-x
y' e^-x - y e^-x = e^(-3x) ----- (2)

The left-hand side of (2) is the derivative of y times the integrating factor or (y e^-x)'
(y e^-x)' = e^(-3x) ----- (3)

Integrate both sides of (3)
y e^-x = ∫ e^(-3x)
y e^-x = (-1/3) e^(-3x) + C
multiply everything by e^x

y = (-1/3) e^(-2x) + C

Isn't C included in the "everything"?
 
  • #4
LCKurtz said:
Isn't C included in the "everything"?

Yes, it should be. The reason it didn't affect the answer is because ##e^0 = 1##.
 
  • #5
Why not using the standard way of solving linear equations, i.e., first solving the homogeneous equation
[tex]y'=-y[/tex]
and then using the ansatz of the variation of the constant?
 
  • #6
vanhees71 said:
Why not using the standard way of solving linear equations, i.e., first solving the homogeneous equation
[tex]y'=-y[/tex]
and then using the ansatz of the variation of the constant?

The integrating factor is the usual elementary method that's taught for questions like this, I think.

I was about to suggest using a Laplace transform, which gives a quick algebraic solution in an initial value problem like this, but thought better of it, simply because it's unlikely the thread starter has covered it yet.
 
Last edited:

1. What is an initial value differential equation?

An initial value differential equation is a type of mathematical equation that involves a function and its derivative. It is characterized by an initial condition, which specifies the value of the function at a given point in the domain.

2. What is the significance of initial value differential equations?

Initial value differential equations are used to model many real-world phenomena, such as population growth, chemical reactions, and electrical circuits. They also play a crucial role in many areas of science and engineering, including physics, biology, and economics.

3. How do you solve an initial value differential equation?

The most common method for solving initial value differential equations is by using integration techniques, such as separation of variables or the method of undetermined coefficients. Other approaches include numerical methods, such as Euler's method, and series solutions.

4. What are some applications of initial value differential equations?

Initial value differential equations have a wide range of applications, including predicting the growth or decay of populations, analyzing the behavior of electrical circuits, and determining the concentration of reactants in chemical reactions. They are also used in many engineering fields, such as control systems and signal processing.

5. What are the differences between initial value differential equations and boundary value differential equations?

While initial value differential equations have the initial condition specified at a single point, boundary value differential equations have conditions specified at multiple points. Additionally, initial value differential equations typically have a unique solution, while boundary value differential equations may have multiple solutions or no solution at all.

Similar threads

  • Calculus and Beyond Homework Help
Replies
8
Views
750
  • Calculus and Beyond Homework Help
Replies
5
Views
611
  • Calculus and Beyond Homework Help
Replies
10
Views
411
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
25
Views
305
  • Calculus and Beyond Homework Help
Replies
7
Views
673
  • Calculus and Beyond Homework Help
Replies
7
Views
768
  • Calculus and Beyond Homework Help
Replies
5
Views
714
  • Calculus and Beyond Homework Help
Replies
1
Views
690
  • Calculus and Beyond Homework Help
Replies
2
Views
130
Back
Top