Message Boards Message Boards

3 Replies
0 Total Likes
View groups...
Share this post:

How do I solve?

Posted 10 years ago
I am suppose to solve (fg)'=f'g' given f(x)=e^(x^2). I am suppose to find g(x)
POSTED BY: Joe Morrow
3 Replies
In[1]:= DSolve[D[Exp[x^2]*g[x], x] == Exp[x^2] g'[x], g[x], x]

Out[1]= {{g[x] -> 0}}
POSTED BY: Frank Kampas
f[x_] := Exp[x^2]

DSolve[D[f[x] g[x], x] == f'[x] g'[x], g[x], x] // Simplify

{{g[x] -> E^(-(1/2) + x) Sqrt[-1 + 2 x] C[1]}}
Since E^(-(1/2)+x) can be rewritten as e^-(1/2) e^x , the e^-(1/2) can be included within the arbitrary constant and the solution is 

g =  C_1 e^x Sqrt[2x-1]
 In[3]:= f[x_] := Exp[x^2]
 In[4]:= DSolve[f[x] g'[x] + f'[x] g[x] == f'[x] g'[x], g[x], x]
 Out[4]= {{g[x] -> E^(1/2 (-1 + 2 x + Log[-1 + 2 x])) C[1]}}
In[5]:= Simplify[%]

Out[5]= {{g[x] -> E^(-(1/2) + x) Sqrt[-1 + 2 x] C[1]}}
POSTED BY: S M Blinder
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract