Solve DE: Find Solution for y Through (-1,-1)

  • Thread starter ssb
  • Start date
In summary, the conversation is about solving a differential equation with the given initial condition and the solution involves taking the absolute value of the natural logarithm in order to avoid taking the logarithm of a negative number.
  • #1
ssb
119
0

Homework Statement



[tex]\frac{dy}{dt}=y\cos(t)[/tex]

Find the solution of the DE that passes through the point (-1, -1).

Homework Equations


The Attempt at a Solution



[tex]\frac{dy}{dt}=y\cos(t)[/tex]

[tex]\frac{1}{y}dy=cos(t)dt[/tex]

integrate both sides:

[tex] ln(y) = sin(t) + C [/tex]

Normally I would plug in -1 for y and t and solve for C but I can't take the LN of -1. When I try to isolate y first then plug in, I get the same problem with t. How can I solve this? I am stuck! Is it that the ln(y) is actually ln(|y|) ?
 
Physics news on Phys.org
  • #2
You figured it out for yourself in the end:smile::

[tex]\int\frac{dy}{y}=\ln|y|[/tex]
 
Last edited:
  • #3
You could do the absolute value, since ln(-y)'=ln(y)=1/y*y'. Or you could just exponentiate your solution to get y=exp(sin(t)+C)=D*exp(sin(t)). Now you can put D negative.
 

FAQ: Solve DE: Find Solution for y Through (-1,-1)

What is a differential equation?

A differential equation is an equation that relates a function to its derivatives. It is commonly used to model natural phenomena and physical systems.

How do you solve a differential equation?

To solve a differential equation, you need to find the function or set of functions that satisfy the equation. This can be done through various methods such as separation of variables, substitution, or using specific techniques for different types of equations.

What is the solution for y in the given coordinates (-1,-1)?

The solution for y in the given coordinates (-1,-1) means finding the value of y when x=-1 and y=-1. This can be done by plugging in the values into the equation and solving for y.

Can a differential equation have multiple solutions?

Yes, a differential equation can have multiple solutions. This is because the equation may have different initial conditions or constants, leading to different solutions.

What are some real-life applications of solving differential equations?

Differential equations are used to model various phenomena in physics, engineering, economics, and biology. They can be used to predict the behavior of systems such as population growth, chemical reactions, and electrical circuits.

Back
Top