Wondering if these two First Linear Order IVPs are correct

Click For Summary
SUMMARY

This discussion focuses on solving two initial value problems (IVPs) involving first-order differential equations. For the first equation, the integrating factor is correctly identified as μ(x) = sin(x), leading to the solution y = sin(x) - csc^2(x) after applying the initial condition y(π/2) = 0. However, the user incorrectly isolates y in the second equation, y' + y tan(x) = y^2, where the integration factor μ(x) = 1/cos(x) is misapplied, as integrating factors do not apply to nonlinear equations. The correct approach for the second IVP requires a different method due to its nonlinearity.

PREREQUISITES
  • Understanding of first-order differential equations
  • Knowledge of integrating factors in linear differential equations
  • Familiarity with initial value problems (IVPs)
  • Basic calculus skills, including integration techniques
NEXT STEPS
  • Study the method of integrating factors for linear differential equations
  • Learn about nonlinear differential equations and appropriate solution techniques
  • Explore the concept of initial value problems in greater depth
  • Review integration techniques, particularly for trigonometric functions
USEFUL FOR

Students and educators in mathematics, particularly those focusing on differential equations, as well as anyone seeking to improve their problem-solving skills in calculus and IVPs.

garr6120
Messages
42
Reaction score
0

Homework Statement


I am having trouble proving if the equation i have found for number 1 is correct. I have posted my solution to get back to the main problem in the first photo below.

For number 2 I am having trouble isolating for 1 y(x). Did i do the integration and setup properly?

Homework Equations


Question 1:

given y' + ycotanx+2cosx (1) and y(π/2)=0 find the IVP.

find the integrating factor from equation 1.
μ(x)=e∫cotanxdx=sinx (2)

multiply equation 2 by 1.
y'sinx+ysinxcotanx=2cosxsinx
(sinxy)'=2cosxsinx (3)

integrate equation 3.
sinxy=∫2cosxsinx=sin2x+c (4)

Isolate y in 4.
y=sinx+c(csc2x)

plug in the initial value to find c which is found to be -1.
y=sinx-csc2x (5)

proving that this is a solution to the differential:
take the derivative of equation 5.
y'=cosx+2csc2xcotanx

plug y and y' into differential equation 1.
y'+ycotanx=cosx+2csc2xcotanx+cosx-cotanxcsc2x
2cosx+3csc2xcotanx

I cannot get an answer for 2cosx. I did everything right.

For Question 2:

y'+ytanx=y2 (1) for y(0)=1/2

find an integration factor.
μ(x)=e∫tanxdx=1/cosx {2}

multiply equation 1 by 2.
(y(x)/cosx)'=y2/cosx (3)

integrating equation 3.
y(x)/cosx=y2∫secx=y2ln|secx+tanx|+c (4)

isolating y in equation 4.
y(x)=cosxy2ln|secx+tanx|+c(cosx) (4)
Here is where I get stuck i don't know how to isolate for y.

The Attempt at a Solution

.[/B]
 

Attachments

  • IMG_0103.jpg
    IMG_0103.jpg
    23.9 KB · Views: 685
  • IMG_7594.JPG
    IMG_7594.JPG
    26.4 KB · Views: 740
Last edited:
Physics news on Phys.org
garr6120 said:

Homework Statement


I am having trouble proving if the equation i have found for number 1 is correct. I have posted my solution to get back to the main problem in the first photo below.

For number 2 I am having trouble isolating for 1 y(x). Did i do the integration and setup properly?

Homework Equations


As you can see y'+ycotx should equal 2cosx but when proven it equals 2cosx+sin-3xcosx

The Attempt at a Solution

View attachment 211963 View attachment 211964 [/B]
Your posted photo is unreadable. Just type out the problem, so we can all see clearly what you want to do.
 
garr6120 said:

Homework Statement


I am having trouble proving if the equation i have found for number 1 is correct. I have posted my solution to get back to the main problem in the first photo below.

For number 2 I am having trouble isolating for 1 y(x). Did i do the integration and setup properly?

Homework Equations


Question 1:

given y' + ycotanx+2cosx (1) and y(π/2)=0 find the IVP.

find the integrating factor from equation 1.
μ(x)=e∫cotanxdx=sinx (2)

multiply equation 2 by 1.
y'sinx+ysinxcotanx=2cosxsinx
(sinxy)'=2cosxsinx (3)

integrate equation 3.
sinxy=∫2cosxsinx=sin2x+c (4)

Isolate y in 4.
y=sinx+c(csc2x)

******************************************************************
This is incorrect. From ##y \sin x = c + \sin^2 x## we get ##y = c/\sin(x) + \sin(x) = \sin(x) + c \csc(x)## (not ##\csc^2(x)##).

*******************************************************************

plug in the initial value to find c which is found to be -1.
y=sinx-csc2x (5)

proving that this is a solution to the differential:
take the derivative of equation 5.
y'=cosx+2csc2xcotanx

plug y and y' into differential equation 1.
y'+ycotanx=cosx+2csc2xcotanx+cosx-cotanxcsc2x
2cosx+3csc2xcotanx

I cannot get an answer for 2cosx. I did everything right.

**************************************************
No, you did not do everything right.

**************************************************

For Question 2:

y'+ytanx=y2 (1) for y(0)=1/2

find an integration factor.
μ(x)=e∫tanxdx=1/cosx {2}

multiply equation 1 by 2.
(y(x)/cosx)'=y2/cosx (3)

integrating equation 3.
y(x)/cosx=y2∫secx=y2ln|secx+tanx|+c (4)

***************************************************************************************************
This is incorrect. From ##(y/\cos x)' = y^2 / \cos x## you get ##y / \cos x = \int y(x)^2 / \cos x \; dx##. You cannot pull the ##y^2## outside the integral sign.

Integrating factors do not work for nonlinear differential equations, and yours is definitely nonlinear because it contains ##y^2##.

***************************************************************************************************isolating y in equation 4.
y(x)=cosxy2ln|secx+tanx|+c(cosx) (4)
Here is where I get stuck i don't know how to isolate for y.

The Attempt at a Solution

.[/B]
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 10 ·
Replies
10
Views
6K
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K