Solve the differential equation $sin xfrac {dy}{dx}+(cos x)y=sin(x^2)$ [closed]
$begingroup$
$$sin xfrac {dy}{dx}+(cos x)y=sin(x^2)$$
$$frac {d}{dx} y sin x=sin(x^2)$$
$$ysin x=int sin(x^2)dx = -frac{1}{2x}cos(x^2)+C$$
$$y=-frac{cos(x^2)}{2xsin x}+frac {C}{sin x}$$
where C is constant
Is my answer correct?
ordinary-differential-equations
$endgroup$
closed as off-topic by Nosrati, metamorphy, Ali Caglayan, Namaste, Paul Frost Jan 5 at 23:35
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Nosrati, metamorphy, Ali Caglayan, Namaste, Paul Frost
If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
$begingroup$
$$sin xfrac {dy}{dx}+(cos x)y=sin(x^2)$$
$$frac {d}{dx} y sin x=sin(x^2)$$
$$ysin x=int sin(x^2)dx = -frac{1}{2x}cos(x^2)+C$$
$$y=-frac{cos(x^2)}{2xsin x}+frac {C}{sin x}$$
where C is constant
Is my answer correct?
ordinary-differential-equations
$endgroup$
closed as off-topic by Nosrati, metamorphy, Ali Caglayan, Namaste, Paul Frost Jan 5 at 23:35
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Nosrati, metamorphy, Ali Caglayan, Namaste, Paul Frost
If this question can be reworded to fit the rules in the help center, please edit the question.
1
$begingroup$
You cannot integrate $sin(x^2)$ to get $-frac1{2x}cos(x^2)$! If you differentiate this result, you will not end up back at $sin(x^2)$. In fact, integrating $sin(x^2)$ is very hard, and probably requires some special functions. Where did you find this problem?
$endgroup$
– John Doe
Jan 5 at 13:52
$begingroup$
It is $sin(x^2)$. This question is in my textbook.
$endgroup$
– Maggie
Jan 5 at 13:55
$begingroup$
Maybe there is a typo. What is the result given by your textbook?
$endgroup$
– Robert Z
Jan 5 at 13:59
$begingroup$
The answer is $y=frac {int sin(x^2)dx+C}{sinx}$. I don't know why the constant C is there.
$endgroup$
– Maggie
Jan 5 at 13:59
1
$begingroup$
The constant $C$ is just a constant of integration. You could just include it in the integral if you really wanted, so I'd agree that it is not necessary to write there.
$endgroup$
– John Doe
Jan 5 at 14:03
add a comment |
$begingroup$
$$sin xfrac {dy}{dx}+(cos x)y=sin(x^2)$$
$$frac {d}{dx} y sin x=sin(x^2)$$
$$ysin x=int sin(x^2)dx = -frac{1}{2x}cos(x^2)+C$$
$$y=-frac{cos(x^2)}{2xsin x}+frac {C}{sin x}$$
where C is constant
Is my answer correct?
ordinary-differential-equations
$endgroup$
$$sin xfrac {dy}{dx}+(cos x)y=sin(x^2)$$
$$frac {d}{dx} y sin x=sin(x^2)$$
$$ysin x=int sin(x^2)dx = -frac{1}{2x}cos(x^2)+C$$
$$y=-frac{cos(x^2)}{2xsin x}+frac {C}{sin x}$$
where C is constant
Is my answer correct?
ordinary-differential-equations
ordinary-differential-equations
edited Jan 5 at 13:54
John Doe
11.2k11239
11.2k11239
asked Jan 5 at 13:48
MaggieMaggie
888
888
closed as off-topic by Nosrati, metamorphy, Ali Caglayan, Namaste, Paul Frost Jan 5 at 23:35
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Nosrati, metamorphy, Ali Caglayan, Namaste, Paul Frost
If this question can be reworded to fit the rules in the help center, please edit the question.
closed as off-topic by Nosrati, metamorphy, Ali Caglayan, Namaste, Paul Frost Jan 5 at 23:35
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Nosrati, metamorphy, Ali Caglayan, Namaste, Paul Frost
If this question can be reworded to fit the rules in the help center, please edit the question.
1
$begingroup$
You cannot integrate $sin(x^2)$ to get $-frac1{2x}cos(x^2)$! If you differentiate this result, you will not end up back at $sin(x^2)$. In fact, integrating $sin(x^2)$ is very hard, and probably requires some special functions. Where did you find this problem?
$endgroup$
– John Doe
Jan 5 at 13:52
$begingroup$
It is $sin(x^2)$. This question is in my textbook.
$endgroup$
– Maggie
Jan 5 at 13:55
$begingroup$
Maybe there is a typo. What is the result given by your textbook?
$endgroup$
– Robert Z
Jan 5 at 13:59
$begingroup$
The answer is $y=frac {int sin(x^2)dx+C}{sinx}$. I don't know why the constant C is there.
$endgroup$
– Maggie
Jan 5 at 13:59
1
$begingroup$
The constant $C$ is just a constant of integration. You could just include it in the integral if you really wanted, so I'd agree that it is not necessary to write there.
$endgroup$
– John Doe
Jan 5 at 14:03
add a comment |
1
$begingroup$
You cannot integrate $sin(x^2)$ to get $-frac1{2x}cos(x^2)$! If you differentiate this result, you will not end up back at $sin(x^2)$. In fact, integrating $sin(x^2)$ is very hard, and probably requires some special functions. Where did you find this problem?
$endgroup$
– John Doe
Jan 5 at 13:52
$begingroup$
It is $sin(x^2)$. This question is in my textbook.
$endgroup$
– Maggie
Jan 5 at 13:55
$begingroup$
Maybe there is a typo. What is the result given by your textbook?
$endgroup$
– Robert Z
Jan 5 at 13:59
$begingroup$
The answer is $y=frac {int sin(x^2)dx+C}{sinx}$. I don't know why the constant C is there.
$endgroup$
– Maggie
Jan 5 at 13:59
1
$begingroup$
The constant $C$ is just a constant of integration. You could just include it in the integral if you really wanted, so I'd agree that it is not necessary to write there.
$endgroup$
– John Doe
Jan 5 at 14:03
1
1
$begingroup$
You cannot integrate $sin(x^2)$ to get $-frac1{2x}cos(x^2)$! If you differentiate this result, you will not end up back at $sin(x^2)$. In fact, integrating $sin(x^2)$ is very hard, and probably requires some special functions. Where did you find this problem?
$endgroup$
– John Doe
Jan 5 at 13:52
$begingroup$
You cannot integrate $sin(x^2)$ to get $-frac1{2x}cos(x^2)$! If you differentiate this result, you will not end up back at $sin(x^2)$. In fact, integrating $sin(x^2)$ is very hard, and probably requires some special functions. Where did you find this problem?
$endgroup$
– John Doe
Jan 5 at 13:52
$begingroup$
It is $sin(x^2)$. This question is in my textbook.
$endgroup$
– Maggie
Jan 5 at 13:55
$begingroup$
It is $sin(x^2)$. This question is in my textbook.
$endgroup$
– Maggie
Jan 5 at 13:55
$begingroup$
Maybe there is a typo. What is the result given by your textbook?
$endgroup$
– Robert Z
Jan 5 at 13:59
$begingroup$
Maybe there is a typo. What is the result given by your textbook?
$endgroup$
– Robert Z
Jan 5 at 13:59
$begingroup$
The answer is $y=frac {int sin(x^2)dx+C}{sinx}$. I don't know why the constant C is there.
$endgroup$
– Maggie
Jan 5 at 13:59
$begingroup$
The answer is $y=frac {int sin(x^2)dx+C}{sinx}$. I don't know why the constant C is there.
$endgroup$
– Maggie
Jan 5 at 13:59
1
1
$begingroup$
The constant $C$ is just a constant of integration. You could just include it in the integral if you really wanted, so I'd agree that it is not necessary to write there.
$endgroup$
– John Doe
Jan 5 at 14:03
$begingroup$
The constant $C$ is just a constant of integration. You could just include it in the integral if you really wanted, so I'd agree that it is not necessary to write there.
$endgroup$
– John Doe
Jan 5 at 14:03
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
The answer given in your textbook is correct - you have tried to oversimplify it! You got to $$frac {d}{dx} y sin x=sin(x^2)$$Then you integrate both sides $$ysin x=intsin(x^2) mathrm dx+C$$Then you divide by $sin x$ to get $$y=frac{intsin(x^2)mathrm dx+C}{sin x}$$
as required.
There is no need to try and integrate the $sin(x^2)$ term, the way you did it is not correct. To check why this is the case, try to differentiate your result. If you had done it correctly, it would give you $sin(x^2)$. However, what it really gives you is $$sin(x^2)+frac{cos(x^2)}{2x^2}$$so there has been a mistake.
$endgroup$
$begingroup$
Thanks! I will check my integral next time carefully. You help me a lot.
$endgroup$
– Maggie
Jan 5 at 14:09
add a comment |
$begingroup$
The obeservation you have done is pretty good! You have correctly identified the LHS as an application of the product rule since
$$frac{mathrm d}{mathrm d x}left(ysin(x)right)=frac{mathrm d y}{mathrm d x}sin(x)+ycos(x)$$
However, without trying to discourage you but the integration of $sin(x^2)$ is sadly speaking not that simple. You can check that you conjectured anti-derivative is wrong by simple taking the derivative. Thus, the whole solution is given by the following
$$begin{align*}
frac{mathrm d y}{mathrm d x}sin(x)+ycos(x)&=sin(x^2)\
frac{mathrm d}{mathrm d x}left(ysin(x)right)&=sin(x^2)\
ysin(x)&=intsin(x^2)mathrm d x+C
end{align*}$$
$$therefore~y(x)~=~frac1{sin(x)}left(intsin(x^2)mathrm d x+Cright)$$
Adding some details concerning the still remaining integral: According to WolframAlpha the integral can be written in terms of the special function Fresnel Integral. For a straightforward "solution" you can expand the sine as a series and integrate termwise. On the other hand for definite integrals there are some value known, the I would say most important is
$$int_0^infty sin(x^2)mathrm d x~=~frac{sqrt{pi}}{2sqrt 2}$$
$endgroup$
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
The answer given in your textbook is correct - you have tried to oversimplify it! You got to $$frac {d}{dx} y sin x=sin(x^2)$$Then you integrate both sides $$ysin x=intsin(x^2) mathrm dx+C$$Then you divide by $sin x$ to get $$y=frac{intsin(x^2)mathrm dx+C}{sin x}$$
as required.
There is no need to try and integrate the $sin(x^2)$ term, the way you did it is not correct. To check why this is the case, try to differentiate your result. If you had done it correctly, it would give you $sin(x^2)$. However, what it really gives you is $$sin(x^2)+frac{cos(x^2)}{2x^2}$$so there has been a mistake.
$endgroup$
$begingroup$
Thanks! I will check my integral next time carefully. You help me a lot.
$endgroup$
– Maggie
Jan 5 at 14:09
add a comment |
$begingroup$
The answer given in your textbook is correct - you have tried to oversimplify it! You got to $$frac {d}{dx} y sin x=sin(x^2)$$Then you integrate both sides $$ysin x=intsin(x^2) mathrm dx+C$$Then you divide by $sin x$ to get $$y=frac{intsin(x^2)mathrm dx+C}{sin x}$$
as required.
There is no need to try and integrate the $sin(x^2)$ term, the way you did it is not correct. To check why this is the case, try to differentiate your result. If you had done it correctly, it would give you $sin(x^2)$. However, what it really gives you is $$sin(x^2)+frac{cos(x^2)}{2x^2}$$so there has been a mistake.
$endgroup$
$begingroup$
Thanks! I will check my integral next time carefully. You help me a lot.
$endgroup$
– Maggie
Jan 5 at 14:09
add a comment |
$begingroup$
The answer given in your textbook is correct - you have tried to oversimplify it! You got to $$frac {d}{dx} y sin x=sin(x^2)$$Then you integrate both sides $$ysin x=intsin(x^2) mathrm dx+C$$Then you divide by $sin x$ to get $$y=frac{intsin(x^2)mathrm dx+C}{sin x}$$
as required.
There is no need to try and integrate the $sin(x^2)$ term, the way you did it is not correct. To check why this is the case, try to differentiate your result. If you had done it correctly, it would give you $sin(x^2)$. However, what it really gives you is $$sin(x^2)+frac{cos(x^2)}{2x^2}$$so there has been a mistake.
$endgroup$
The answer given in your textbook is correct - you have tried to oversimplify it! You got to $$frac {d}{dx} y sin x=sin(x^2)$$Then you integrate both sides $$ysin x=intsin(x^2) mathrm dx+C$$Then you divide by $sin x$ to get $$y=frac{intsin(x^2)mathrm dx+C}{sin x}$$
as required.
There is no need to try and integrate the $sin(x^2)$ term, the way you did it is not correct. To check why this is the case, try to differentiate your result. If you had done it correctly, it would give you $sin(x^2)$. However, what it really gives you is $$sin(x^2)+frac{cos(x^2)}{2x^2}$$so there has been a mistake.
answered Jan 5 at 14:02
John DoeJohn Doe
11.2k11239
11.2k11239
$begingroup$
Thanks! I will check my integral next time carefully. You help me a lot.
$endgroup$
– Maggie
Jan 5 at 14:09
add a comment |
$begingroup$
Thanks! I will check my integral next time carefully. You help me a lot.
$endgroup$
– Maggie
Jan 5 at 14:09
$begingroup$
Thanks! I will check my integral next time carefully. You help me a lot.
$endgroup$
– Maggie
Jan 5 at 14:09
$begingroup$
Thanks! I will check my integral next time carefully. You help me a lot.
$endgroup$
– Maggie
Jan 5 at 14:09
add a comment |
$begingroup$
The obeservation you have done is pretty good! You have correctly identified the LHS as an application of the product rule since
$$frac{mathrm d}{mathrm d x}left(ysin(x)right)=frac{mathrm d y}{mathrm d x}sin(x)+ycos(x)$$
However, without trying to discourage you but the integration of $sin(x^2)$ is sadly speaking not that simple. You can check that you conjectured anti-derivative is wrong by simple taking the derivative. Thus, the whole solution is given by the following
$$begin{align*}
frac{mathrm d y}{mathrm d x}sin(x)+ycos(x)&=sin(x^2)\
frac{mathrm d}{mathrm d x}left(ysin(x)right)&=sin(x^2)\
ysin(x)&=intsin(x^2)mathrm d x+C
end{align*}$$
$$therefore~y(x)~=~frac1{sin(x)}left(intsin(x^2)mathrm d x+Cright)$$
Adding some details concerning the still remaining integral: According to WolframAlpha the integral can be written in terms of the special function Fresnel Integral. For a straightforward "solution" you can expand the sine as a series and integrate termwise. On the other hand for definite integrals there are some value known, the I would say most important is
$$int_0^infty sin(x^2)mathrm d x~=~frac{sqrt{pi}}{2sqrt 2}$$
$endgroup$
add a comment |
$begingroup$
The obeservation you have done is pretty good! You have correctly identified the LHS as an application of the product rule since
$$frac{mathrm d}{mathrm d x}left(ysin(x)right)=frac{mathrm d y}{mathrm d x}sin(x)+ycos(x)$$
However, without trying to discourage you but the integration of $sin(x^2)$ is sadly speaking not that simple. You can check that you conjectured anti-derivative is wrong by simple taking the derivative. Thus, the whole solution is given by the following
$$begin{align*}
frac{mathrm d y}{mathrm d x}sin(x)+ycos(x)&=sin(x^2)\
frac{mathrm d}{mathrm d x}left(ysin(x)right)&=sin(x^2)\
ysin(x)&=intsin(x^2)mathrm d x+C
end{align*}$$
$$therefore~y(x)~=~frac1{sin(x)}left(intsin(x^2)mathrm d x+Cright)$$
Adding some details concerning the still remaining integral: According to WolframAlpha the integral can be written in terms of the special function Fresnel Integral. For a straightforward "solution" you can expand the sine as a series and integrate termwise. On the other hand for definite integrals there are some value known, the I would say most important is
$$int_0^infty sin(x^2)mathrm d x~=~frac{sqrt{pi}}{2sqrt 2}$$
$endgroup$
add a comment |
$begingroup$
The obeservation you have done is pretty good! You have correctly identified the LHS as an application of the product rule since
$$frac{mathrm d}{mathrm d x}left(ysin(x)right)=frac{mathrm d y}{mathrm d x}sin(x)+ycos(x)$$
However, without trying to discourage you but the integration of $sin(x^2)$ is sadly speaking not that simple. You can check that you conjectured anti-derivative is wrong by simple taking the derivative. Thus, the whole solution is given by the following
$$begin{align*}
frac{mathrm d y}{mathrm d x}sin(x)+ycos(x)&=sin(x^2)\
frac{mathrm d}{mathrm d x}left(ysin(x)right)&=sin(x^2)\
ysin(x)&=intsin(x^2)mathrm d x+C
end{align*}$$
$$therefore~y(x)~=~frac1{sin(x)}left(intsin(x^2)mathrm d x+Cright)$$
Adding some details concerning the still remaining integral: According to WolframAlpha the integral can be written in terms of the special function Fresnel Integral. For a straightforward "solution" you can expand the sine as a series and integrate termwise. On the other hand for definite integrals there are some value known, the I would say most important is
$$int_0^infty sin(x^2)mathrm d x~=~frac{sqrt{pi}}{2sqrt 2}$$
$endgroup$
The obeservation you have done is pretty good! You have correctly identified the LHS as an application of the product rule since
$$frac{mathrm d}{mathrm d x}left(ysin(x)right)=frac{mathrm d y}{mathrm d x}sin(x)+ycos(x)$$
However, without trying to discourage you but the integration of $sin(x^2)$ is sadly speaking not that simple. You can check that you conjectured anti-derivative is wrong by simple taking the derivative. Thus, the whole solution is given by the following
$$begin{align*}
frac{mathrm d y}{mathrm d x}sin(x)+ycos(x)&=sin(x^2)\
frac{mathrm d}{mathrm d x}left(ysin(x)right)&=sin(x^2)\
ysin(x)&=intsin(x^2)mathrm d x+C
end{align*}$$
$$therefore~y(x)~=~frac1{sin(x)}left(intsin(x^2)mathrm d x+Cright)$$
Adding some details concerning the still remaining integral: According to WolframAlpha the integral can be written in terms of the special function Fresnel Integral. For a straightforward "solution" you can expand the sine as a series and integrate termwise. On the other hand for definite integrals there are some value known, the I would say most important is
$$int_0^infty sin(x^2)mathrm d x~=~frac{sqrt{pi}}{2sqrt 2}$$
answered Jan 5 at 14:17
mrtaurhomrtaurho
6,00551641
6,00551641
add a comment |
add a comment |
1
$begingroup$
You cannot integrate $sin(x^2)$ to get $-frac1{2x}cos(x^2)$! If you differentiate this result, you will not end up back at $sin(x^2)$. In fact, integrating $sin(x^2)$ is very hard, and probably requires some special functions. Where did you find this problem?
$endgroup$
– John Doe
Jan 5 at 13:52
$begingroup$
It is $sin(x^2)$. This question is in my textbook.
$endgroup$
– Maggie
Jan 5 at 13:55
$begingroup$
Maybe there is a typo. What is the result given by your textbook?
$endgroup$
– Robert Z
Jan 5 at 13:59
$begingroup$
The answer is $y=frac {int sin(x^2)dx+C}{sinx}$. I don't know why the constant C is there.
$endgroup$
– Maggie
Jan 5 at 13:59
1
$begingroup$
The constant $C$ is just a constant of integration. You could just include it in the integral if you really wanted, so I'd agree that it is not necessary to write there.
$endgroup$
– John Doe
Jan 5 at 14:03