Help with some fiddly algebra around a 1st order ODE

In summary, the author seems to be having some trouble solving the ODE for a boat coasting with resistance proportional to $V^n$, but seems to have gotten it solved for the general case. However, when simplifying the power of the exponent, they get a different answer. The author is looking for help from someone who knows more about the subject.
  • #1
ognik
643
2
Frustratingly although I can solve the ODE, I am getting a different answer to the book. Now going in circles so would appreciate a fresh pair of eyes.

The ODE (for a boat coasting with resistance proportional to $V^n$) starts as $ m\frac{dV}{dt} =-kV^n $ Find V(t) and x(t), V(0) = $V_0$

I solved the general case for n as $ V={V}_{0}[1+(n-1)\frac{k}{m}t{V}_{0}^{n-1}]^{\frac{1}{1-n}} $, which happily agrees with the book. But I simplified the power of the [...] term to $ V={V}_{0}[1+(n-1)\frac{k}{m}t{V}_{0}^{n-1}]^{n-1} $ - can't see that would make a difference?

Then, integrating again to get x(t), I let the term [...] = u, then $ dt=\frac{m}{(n-1)k{V}_{0}^{n-1}}du $

and $ x(t)=\frac{m{V}_{0}}{(n-1)k{V}_{0}^{n-1}}\int{u}^{n-1}du = \frac{m{V}_{0}}{(n-1)k{V}_{0}^{n-1}}\frac{{u}^{n}}{n} = \frac{m{V}_{0}^{2-n}}{kn(n-1)}[...]^n $

But the book shows $ \frac{m{V}_{0}^{2-n}}{k(2-n)}(1 - [...]^\frac{n-2}{n-1}) $?
 
Physics news on Phys.org
  • #2
ognik said:
Frustratingly although I can solve the ODE, I am getting a different answer to the book. Now going in circles so would appreciate a fresh pair of eyes.

The ODE (for a boat coasting with resistance proportional to $V^n$) starts as $ m\frac{dV}{dt} =-kV^n $ Find V(t) and x(t), V(0) = $V_0$

I solved the general case for n as $ V={V}_{0}[1+(n-1)\frac{k}{m}t{V}_{0}^{n-1}]^{\frac{1}{1-n}} $, which happily agrees with the book. But I simplified the power of the [...] term to $ V={V}_{0}[1+(n-1)\frac{k}{m}t{V}_{0}^{n-1}]^{n-1} $ - can't see that would make a difference?

Why is
$$\frac{1}{1-n}=n-1?$$
That's the only thing you've changed in the expression. But this equality is manifestly not true. If for no other reason, $n=1$ is not in the domain of the LHS, but it is in the RHS.
 
  • #3
How I can get the hard stuff done and then do something like that is beyond my understanding... maybe it's time to take a break, I think I mixed up $a^{-n} $ as $ a^{\frac{1}{n}}$ instead of $\frac{1}{{a}^{n}} $ - there is no simplification of a power like $ \frac{1}{1-n}$ is there?
 
  • #4
Hey, it happens to the best of us. Algebra mistakes are by far the most common I run across, even in advanced math courses.

No, I don't think you can simplify the exponent at all. I think you're stuck with it.

Cheers!
 

FAQ: Help with some fiddly algebra around a 1st order ODE

What is a 1st order ODE?

A 1st order ODE (ordinary differential equation) is a mathematical equation that relates an unknown function to its derivatives. It involves only the first derivative of the unknown function.

How do I solve a 1st order ODE?

To solve a 1st order ODE, you can use various methods such as separation of variables, integrating factors, or substitution. It is important to understand the initial conditions and choose the appropriate method for the specific ODE.

What is the purpose of algebra in solving a 1st order ODE?

Algebra is used in solving a 1st order ODE to manipulate the equation and isolate the unknown function. It helps to simplify the equation and make it easier to solve using various techniques.

Can you provide an example of solving a 1st order ODE using algebra?

Sure, for example, if we have the ODE dy/dx = 2x, we can use algebra to manipulate the equation to get dy = 2x dx. We can then integrate both sides to get y = x^2 + C, where C is a constant of integration.

What are some common mistakes to avoid when dealing with algebra in 1st order ODEs?

Some common mistakes to avoid include not being careful with signs, forgetting to distribute or combine like terms, and not properly isolating the unknown function. It is important to double-check all algebraic manipulations to avoid errors in the final solution.

Similar threads

Back
Top