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

Click For Summary
SUMMARY

The discussion focuses on solving three differential equations: y" + y = tanx, dP/dt = P(1 - P), and a system of equations involving functions x and y. The explicit solution for the first equation is y = -(cos x) ln(sec x tan x), which needs verification by substituting into the original equation. For the second equation, participants clarify that verification of P as a solution is required, not solving it. The third part involves showing that given functions x and y satisfy the system of differential equations dx/dt = x + 3y and dy/dt = 5x + 3y.

PREREQUISITES
  • Understanding of differential equations, specifically second-order and first-order equations.
  • Familiarity with explicit and implicit functions in calculus.
  • Knowledge of integration techniques and verification methods for solutions.
  • Ability to compute derivatives and apply them in the context of differential equations.
NEXT STEPS
  • Study the method of undetermined coefficients for solving nonhomogeneous differential equations.
  • Learn about the verification of solutions in differential equations.
  • Explore the concept of explicit vs. implicit solutions in greater detail.
  • Practice solving systems of differential equations using substitution and verification methods.
USEFUL FOR

Students and educators in mathematics, particularly those focusing on differential equations, calculus, and mathematical analysis. This discussion is beneficial for anyone looking to deepen their understanding of solving and verifying solutions to differential equations.

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