cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

How to enter differential equation?

JasonC
1-Newbie

How to enter differential equation?

How do I enter this differential equation into Mathcad 15, and make it find the symbolic result?

f'(x)=1+f(x)
solve for f(x)

( where f'(x) is the derivative of f(x) )

I know the answer is

f(x) =  e^x - 1


Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
-MFra-
21-Topaz II
(To:JasonC)

Hi Jason,

At each differential equation, you have to associate the initial conditions.

The simplest  method to solve the given type I first order ordinary differential equation, is the following:

Type 1 first order diff eq.jpg

View solution in original post

9 REPLIES 9

LOL yes I did use W.A., but I wanted to know how to enter it into Mathcad 

-MFra-
21-Topaz II
(To:JasonC)

Hi Jason,

At each differential equation, you have to associate the initial conditions.

The simplest  method to solve the given type I first order ordinary differential equation, is the following:

Type 1 first order diff eq.jpg

JasonC
1-Newbie
(To:-MFra-)

Thanks all.

I've been a heavy user for many years, but embarrassingly, I've never used the below syntax, and don't know how to type in the circled part:

circled.png

Could someone nudge me in the right direction? What key stroke or mouse click? Which toolbar?

TIA!

-MFra-
21-Topaz II
(To:JasonC)

Hi Jason

procedure 0.jpg

JasonC
1-Newbie
(To:-MFra-)

Thanks!!!

BTW what did you use to create the above tutorial image?

-MFra-
21-Topaz II
(To:JasonC)

This is achieved with a patient copy and paste work. You must click on the "Print" button of the first row of keys on the keyboard, to copy in memory the current screen, then paste it into Paint (windows). Reduce the image, and clicking outside the image, uncheck the same. Then, select the part that interests you, and cut it. Press the undo button until you get the blank page, then paste what you had selected, and so on.

procedure 0.jpg

LucMeekes
23-Emerald III
(To:JasonC)

Note that the solution to the DE you provide is not THE solution but A solution to that DE.

Unfortunately Mathcad, nor Prime, provide a feature to solve for differential equations symbolically.

F.M. shows a nice way of working around that, above.

Then of course there is this method (A classical math problem: differential equations), which can be automated in Mathcad 11, but requires some hand work in later versions.

Wit your specific example:

Luc

Werner_E
24-Ruby V
(To:JasonC)

You were already told that Mathcad can't solve differential equations symbolically automatically. You have to do it manually and Mathcad helps you with the integrals.

But for the case of very simple ODEs of first order like yours, long time ago I once wrote a small routine (VdK) to solve them automatically (its for Mathcad 15 (and below)). Maybe you find it useful.

VdK assumes that the independent variable is named x. There is also a routine Vdk2 in the attached file, which can deal with arbitrary variable names. As far as I remember that was the tricky part ,-)

Top Tags