# Thread:

1. ## 1st Order Differential Equations: Checking

Is there an effective method of checking a solution to a differential equation once you have solved it (or thought you have)? Using a calculator or even MathCAD.

Both implicitly and explicitly and with the use of an arbitrary constant?

2. If you have a solution of the differential equation you can apply it to the equation and see if it's right.

3. I understand that, but how can you substitute (and consequently check) you solution to an equation such as:

$y+\frac{dy}{dx}tan(x)=7$

4. If you solve this equation for example you get $y=\frac{c}{sinx}+7$ where c i s a constant.
Now find that $y'=-c\frac{cosx}{(sinx)^2}$.
Your differential equation is $(tanx)y'+y=7$ and you know both y and y', apply them and you will see that it is true

5. Originally Posted by MaverickUK82
I understand that, but how can you substitute (and consequently check) you solution to an equation such as:

$y+\frac{dy}{dx}tan(x)=7$
That's a strange question. The answer- by doing exactly what it says! Differentiate whatever y you have (using implicit differentiation if necessary) and put y and its derivative into that equation. If the problem is that you cannot differentiate your y, what is your y?

6. I've had to remove previous post because I typed the wrong solution out. Sorry guys. I've wasted you time. Mods please remove this thread. I give up.

7. From the things we said before didn't you understand what to do?

8. I'm sorry for giving up. I'm getting really stressed out with the maths I'm trying to learn and and some aspects of this forum, but more on topic: I used the equation above as an example - the thing I wanted to check is this:

$\sqrt{t^2+9}\frac{dy}{dt}=y^2$

I thought i'd solved it with:

$y=\frac{1}{ln(t+\sqrt{t^2+9})+C}$

It's probably wrong - but I wondered whether there was an easy way of checking whether or not it was correct before trying to solve for C to find the value of the arbitrray constant for when y(0)=1

9. When integrating

$\frac{1}{\sqrt{t^2+9}}$

in math cad, it gives me $asinh(\frac{1}{3}t)$

But I can only see it to be:

$ln(x+\sqrt{x^2+3^2})+C$

Where am I going wrong?

10. The solution of mathcad is right.
It is in the form $\int\frac{1}{\sqrt{t^2+a^2}}dt$ so you set $t=|a|sinhz$ and you can find it.
How you worked to find your solution?

11. Hmmmm...

My course has given me a book of all the things I need to know when it comes to exam - it's like the bible - lol.

I have not came across sinh.

In the section showing the standard integrals, it gives me:

$\int\frac{1}{\sqrt{t^2+a^2}}dt=ln(x+\sqrt{x^2+a^2} )$

Could this be the same thing in a different format?

12. Ah ha!

I just found this on another website:

arcsinh x = ln [x + (x2 + 1)1/2]

All is not lost?

13. Originally Posted by MaverickUK82
I'm sorry for giving up. I'm getting really stressed out with the maths I'm trying to learn and and some aspects of this forum, but more on topic: I used the equation above as an example - the thing I wanted to check is this:

$\sqrt{t^2+9}\frac{dy}{dt}=y^2$

I thought i'd solved it with:

$y=\frac{1}{ln(t+\sqrt{t^2+9})+C}$

It's probably wrong - but I wondered whether there was an easy way of checking whether or not it was correct before trying to solve for C to find the value of the arbitrray constant for when y(0)=1
Originally Posted by MaverickUK82
When integrating

$\frac{1}{\sqrt{t^2+9}}$

in math cad, it gives me $asinh(\frac{1}{3}t)$

But I can only see it to be:

$ln(x+\sqrt{x^2+3^2})+C$

Where am I going wrong?
If only you had posted the real question (quoted above) in the first place, a lot of time (and frustration on your part) might have been avoided.

As you have discovered the hard way, both answers are correct. It is not uncommon for somethng like this to happen. You should research hyperbolic functions and inverse hyperbolic functions, just to fill out some useful mathematical background you haven't been formally taught.

14. Thank you Mr. Fantastic - I will research them this evening.

#### Search Tags

View Tag Cloud

Copyright © 2005-2013 Math Help Forum. All rights reserved.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 18, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": false}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9566452503204346, "perplexity_flag": "middle"}