Linked Questions

0 votes
1 answer
275 views

DSolve not returning "trivial" solutions [duplicate]

When I enter this DSolve[y'[x]^2 + y[x]^2 == 1, y[x], x] the answer I get is ...
Frunobulax's user avatar
1 vote
0 answers
32 views

Solving a simple ODE [duplicate]

I am trying to solve $y(x)' = \sqrt{y(x)}$ with initial condition $y(0)=0$ for $x\in \mathbb{R}$. I have tried this: DSolve[{y'[x] == Sqrt[y[x]], y[0] == 0}, y[x], x] but this gives {{y[x] -> x^2/4}...
Presquevu's user avatar
  • 163
12 votes
2 answers
3k views

DSolve misses a solution of a differential equation

[Note that in the cited duplicate, DSolve not finding solution I expected, the general solution returned by DSolve is missing a solution for quite different reasons ...
Ferenc Beleznay's user avatar
3 votes
1 answer
4k views

Solving a differential equation with initial conditions

I want to get a solution to an ordinary differential equation with imposed initial conditions. I'm confused about why my following code doesn't work: ...
Lawerance's user avatar
  • 517
6 votes
2 answers
302 views

How to obtain these ODE solutions using DSolve?

V 12.1.1 on windows 10 Any one has any suggestions how to persuade Mathematica to obtain these solutions below? I have small collection of such ODE's from textbooks. But do not know now how to obtain ...
Nasser's user avatar
  • 150k
5 votes
1 answer
2k views

DSolve with Piecewise Function in System of DEQs

I have been messing around with this problem from MSE, which is given by: $$ \ddot{x} = \begin{cases} -x + c\cdot \operatorname{sgn}(x)& |x| > c\\ 0 & |x|\leq c \end{cases} $$ where $c &...
Moo's user avatar
  • 3,462
1 vote
2 answers
429 views

DSolve doesn't give all the solutions

I'm trying to solve the following ODE $\frac{df}{dx}=-\sqrt{2}\left(\frac{1}{4}-2f(x)^{2}\right)$ In the text where it appears, the authors make a distinction into three cases: $f=-1/(2\sqrt{2})$, $...
GregVoit's user avatar
  • 157
2 votes
1 answer
615 views

I was wondering why I got the different answer of the same differential equation in two different ways?

Cross-posted in https://www.zhihu.com/question/40784580 In Mathematica I got the different answer of the same differential equation respectively in analytical method and numerical method. At the ...
dcydhb's user avatar
  • 615
2 votes
1 answer
470 views

How can I get DSolve to solve my ODE?

I evaluated DSolve[{x[t] x''[t] + x'[t]^2 - g x[t] == 0, x[0] == 0, x'[0] == 0}, x, t] and the output was {}. But this ODE ...
czp's user avatar
  • 103
2 votes
1 answer
188 views

How to Solve $y'(x)=x\ln(y(x))$ with $y(1)=1$ using DSolve

The solution to $y'=x \ln(y)$ with initial conditions $y(1)=1$ is $y=1$. How to persuade DSolve to obtain this solution? ...
Nasser's user avatar
  • 150k