Differential Equations y" + y = tanx, solve this DE

Click For Summary

Homework Help Overview

The discussion revolves around solving differential equations, specifically the second-order linear differential equation y" + y = tan(x), verifying a solution for a first-order equation dP/dt = P(1 - P), and demonstrating that given functions satisfy a system of first-order equations.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants explore various methods for solving the differential equations, including attempts to rearrange terms for integration and questions about the standard forms of the equations.
  • Some participants question the interpretation of the term "explicit solution" and discuss the implications of verifying given solutions rather than solving the equations from scratch.
  • There is a focus on the necessity of computing derivatives and checking identities rather than solving the equations directly.

Discussion Status

Participants have shared different perspectives on how to approach the problems, with some providing guidance on verifying solutions and others expressing uncertainty about the methods. There is an ongoing exploration of the definitions and requirements of the problems presented.

Contextual Notes

Some participants note confusion regarding the forms of the equations and the specific requirements for verification versus solving, indicating a need for clarity on the problem statements.

twoski
Messages
177
Reaction score
2

Homework Statement



1. y" + y = tanx, solve this DE.

2. dP/dt = P(1 - P) where P = (c1et / 1 + c1et), verify that P is a solution to this DE.

3. Given the pair of functionsx and y, show they solve this system:
dx/dt = x + 3y
dy/dt = 5x+3y

x = e-2t + 3e6t
y = -e-2t + 5e6t

The Attempt at a Solution



For 1, we want to get x and y on the left and right hand sides of the equation so we can integrate i think.

so we go

dy/dx + y = tanx
dy + ydy = tanxdx
∫dy + ∫ydy = ∫tanxdx (is this right?)

For 2, the equation is not quite in standard form (dy/dx + P(x)y = f(x)), but it doesn't look like we can achieve this form. How do you proceed?

For 3, I'm not even sure how to solve it. There aren't any examples in this format... :eek:
 
Physics news on Phys.org
twoski said:

Homework Statement



1. y" + y = tanx, solve this DE.

2. dP/dt = P(1 - P) where P = (c1et / 1 + c1et), verify that P is a solution to this DE.

3. Given the pair of functionsx and y, show they solve this system:
dx/dt = x + 3y
dy/dt = 5x+3y

x = e-2t + 3e6t
y = -e-2t + 5e6t

The Attempt at a Solution



For 1, we want to get x and y on the left and right hand sides of the equation so we can integrate i think.

so we go

dy/dx + y = tanx
dy + ydy = tanxdx
No, this is wrong. Your "ydy" term on the left should be "ydx" since you multiplied both sides by dx. In any case this isn't the right approach. What you have is a first-order nonhomogeneous equation. Your general solution will consist of one part that is a solution to the homogenous equation and another part that is a particular solution to the nonhomogeneous equation. Look in your textbook to see if there are any similar worked examples.
twoski said:
∫dy + ∫ydy = ∫tanxdx (is this right?)

For 2, the equation is not quite in standard form (dy/dx + P(x)y = f(x)), but it doesn't look like we can achieve this form. How do you proceed?
To proceed, just show that P as defined above is a solution to the equation. You are not asked to solve the equation.

If you were, the equation is separable, meaning that it isn't too hard to get P and dP on one side and t and dt on the other. Again, though, you are NOT asked to solve the equation.
twoski said:
For 3, I'm not even sure how to solve it. There aren't any examples in this format... :eek:
You are GIVEN the solution, so there is nothing to solve. Just show that x(t) and y(t) satisfy the system of differential equations.

My advice to you is to pay closer attention to what is being asked for in a problem. Whenever a problem asks you to verify that such-and-such is a solution of some differential equation, you don't have to solve the equation. All you need to do is to verify that substituting the solutions function(s) into the differential equation(s) results in a statement that is identically true; i.e., for all values of the independent variable.
 
twoski said:

Homework Statement



1. y" + y = tanx, solve this DE.

The Attempt at a Solution



For 1, we want to get x and y on the left and right hand sides of the equation so we can integrate i think.

so we go

dy/dx + y = tanx
dy + ydy = tanxdx
∫dy + ∫ydy = ∫tanxdx (is this right?)
Isn't that the second derivative of y in the given equation ?

##\displaystyle\ \frac{d^2y}{dx^2}+y=\tan(x) \ ##
 
Good eye, Sammy. I missed the double prime (y'') in the equation.
 
Okay so the first question is slightly different as well.

The solution y = -(cos x) ln(sec x tan x) is given, all that is needed is to verify it is the explicit solution.

To do this, could i derive y twice then add y" to y and show that the result is tanx?
 
twoski said:
Okay so the first question is slightly different as well.

The solution y = -(cos x) ln(sec x tan x) is given, all that is needed is to verify it is the explicit solution.
"Explicit solution" - what is that? If they have given you a solution, then that solution would be explicit, since it was "explained" to you, which is what "explicit" literally means.
twoski said:
To do this, could i derive y twice then add y" to y and show that the result is tanx?
Yes, in a way. If you differentiate y twice (the process to get the first and second derivative - we don't say "derive" in this context, in English), and substitute for y'' and y, the equation y'' + y = tan(x) should be identically true. That's what it means for a particular function to be a solution of a differential equation.
 
From my text, here is what they mean by explicit

You should be familiar with the terms explicit
and implicit functions from your study of calculus. A solution in which the dependent variable
is expressed solely in terms of the independent variable and constants is said to be an
explicit solution. For our purposes, let us think of an explicit solution as an explicit formula
y = Φ(x) that we can manipulate, evaluate, and differentiate using the standard rules
 
twoski said:
From my text, here is what they mean by explicit

You should be familiar with the terms explicit
and implicit functions from your study of calculus. A solution in which the dependent variable
is expressed solely in terms of the independent variable and constants is said to be an
explicit solution. For our purposes, let us think of an explicit solution as an explicit formula
y = Φ(x) that we can manipulate, evaluate, and differentiate using the standard rules
Gotcha - explicit function. On the other hand, a solution given as, say, x2 + y3 = 3 would represent a solution given implicitly.
 
Okay so i solved the first 2, all that you got to do is compute some derivatives, not too bad. The third is a bit trickier though. Do i solve them one at a time, or is there some trick i need to do?
 
  • #10
twoski said:
Okay so i solved the first 2, all that you got to do is compute some derivatives, not too bad. The third is a bit trickier though. Do i solve them one at a time, or is there some trick i need to do?
For #3, there's nothing to solve -- they have given you the solutions!
3. Given the pair of functionsx and y, show they solve this system:
dx/dt = x + 3y
dy/dt = 5x+3y

x = e-2t + 3e6t
y = -e-2t + 5e6t
For the last two equations, find, respectively, dx/dt and dy/dt. Show that dx/dt is identically equal to x + 3y, and that dy/dt is identically equal to 5x + 3y.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
7
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 25 ·
Replies
25
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K