Learning Differential equations, week 2 level material

SYoungblood
Messages
64
Reaction score
1

Homework Statement



Find the general solution to the equation.

Homework Equations


(dy/dx) - y - e^3x=0

The Attempt at a Solution


[/B]
I rewrote this as dy/dx - y = e^3x

This is a linear first order ODE, in the form dy/dx + P(x)y = f(x)

P(x) = 1; f(x) = e^3x

The integrating factor = e^(integral)P(x) dx = e^(integral) 1* dx = e^x

Set the LHS equal to the integrating factor, e^x * y, and multiply the RHS by the integrating factor e^x)

d/dx (ye^x) = e^x e^3x

(integral) d/dx (ye^x) =(integral) e^(3x^2) dx

On the LHS, the integral and d/dx cancel out, but I am getting a ridiculously complicated integral that I just know isn't right on the RHS, and I am not sure where I went astray.

Thank you for your time,

SY
 
Physics news on Phys.org
e^xe^{3x}= e^{4x}, NOT e^{3x^2}.
 
  • Like
Likes SYoungblood
SYoungblood said:
(dy/dx) - y - e^3x=0
.
.
.
I rewrote this as dy/dx - y = e^3x
Please use parentheses where needed. e^3x would normally be interpreted as ##e^3 \cdot x##. In your first equation above, you have parentheses around dy/dx, where they aren't needed, but don't have them around the exponent 3x, where they are needed.

BTW, I changed the thread title to say "... week 2 level material". I think that's what you intended.
 
  • Like
Likes SYoungblood
will do, thank you
 
HallsofIvy said:
e^xe^{3x}= e^{4x}, NOT e^{3x^2}.

Thank you, that is not the first silly mistake I will make, and will not be the last...
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top