Message Boards Message Boards

0
|
5120 Views
|
3 Replies
|
0 Total Likes
View groups...
Share
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[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
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[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
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract