0
$\begingroup$

I try so not working.

DSolve[x Dt[x] == y [x] Dt[y], y[x], x] 

I need to solve $x\ dx = y\ dy$.

$\endgroup$
1
  • 2
    $\begingroup$ DSolve[x Dt[x] == y[x] Dt[y[x]], y[x], x] $\endgroup$ Commented Jan 23, 2017 at 14:05

2 Answers 2

6
$\begingroup$
DSolve[x Dt[x] == y[x] Dt[y], y[x], x] 

DSolve::dvnoarg: The function y appears with no arguments.

The warning says that the function y in some place is without any arguments, i.e., Dt[y]. Thus you need to change Dt[y] to this Dt[y[x]]

DSolve[x Dt[x] == y[x] Dt[y[x]], y[x], x] 

enter image description here

$\endgroup$
2
$\begingroup$

The MMM answer is the simplest but remember how in textbooks they show how to solve an exact differential equation :

Solve[\!\( \*SubsuperscriptBox[\(∫\), \(a\), \(x\)]\(s \[DifferentialD]s\)\) == \!\( \*SubsuperscriptBox[\(∫\), \(y[a]\), \(y[x]\)]\(t \[DifferentialD]t\)\), y[x]] 
$\endgroup$

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.