Is my ODE solution reliable enough to submit for the exam?
cos y dx - sin y dy = 0
cos y dx = sin y dy
cos y = sin y dy/dx
exp x) cos y = exp x) sin y dy/dx
exp x) cos y - exp x) sin y dy/dx = 0
(exp(x) cos y)' = 0
int (exp(x) cos y)' dx = 0
exp x) cos y + c = 0
exp x) cos y = c
The reason I am being cautious is that:
I was taught that this method of solving applies only to linear cases; and
I was told that one must be careful when dealing with dy dx and that I am not yet at a level where I can fully grasp those concepts.
This method is generally valid -- but only for linear ODE's is it a general solution strategy.
Regarding "dy, dx": If you want to keep it rigorous, don't split them, like in this assignment. Instead, rewrite the ODE as "cos(y) - sin(y)*y' = 0". Multiply by "exp(x)", and use product- and chain-rule of derivatives backwards
I agree with you to the third line, then I'm not sure what you are doing. The image shows my working and check of the solution using the Maths from Nothing computer algebra system.
The typical approach with this type of ODE is to get all of the y terms on one side of the equation with the dydx and the x terms on the other. The derivative and the integral combine to make it an integral with respect to y and the other side with respect to x. Perform the integration and solve for y.
3
u/espressoristretto New User 23h ago
Why not just separate the variables?
int dx = int tan y dy
x+c=ln sec y
Aexp(x)cos(y)=1