Integration of 1/2x & sinxcosx & x+1

  • Context: Undergrad 
  • Thread starter Thread starter ankur29
  • Start date Start date
  • Tags Tags
    Integration
Click For Summary
SUMMARY

The discussion focuses on the integration techniques used to solve differential equations, specifically the equations involving the terms dy/dx + y cot(x) = cos(x) and (x-2) dy/dx - y = (x-2)^3. The participants clarify that different integration methods, such as trigonometric substitution and u-substitution, yield equivalent results up to an arbitrary constant. The confusion arises from the integration of terms like 1/2x, where participants explore the relationship between logarithmic expressions and constants. Ultimately, the discussion confirms that while different methods may produce different constants, the underlying solutions remain consistent.

PREREQUISITES
  • Understanding of differential equations, specifically first-order linear equations.
  • Familiarity with integration techniques, including trigonometric substitution and u-substitution.
  • Knowledge of integration of logarithmic functions and their properties.
  • Basic understanding of arbitrary constants in mathematical solutions.
NEXT STEPS
  • Study the method of integrating first-order linear differential equations.
  • Learn about trigonometric identities and their applications in integration.
  • Explore the properties of logarithmic functions and their integration techniques.
  • Investigate the concept of arbitrary constants in integration and their implications in solutions.
USEFUL FOR

Mathematics students, educators, and anyone interested in mastering integration techniques and solving differential equations effectively.

ankur29
Messages
9
Reaction score
0
Hello I was wondering why in this differential equation they did not use double angle identity, I understand how to get the other result also

So

1)Dif eqn:

Dy/dx +ycotx= cosx


Integrating factor IF= e^ (integrand of cotx) = sinx

Solution
yIF= integrand of QIF where Q is cotx from original question)

y sinx= integral of cosxsinx

Now I recognised this as ½ sin2x and the integral would be

ysinx= ½(-cos2x/2+ c)

therefore y= 1/sinx (-cos2x/4+ c/2)

however this could be done by substitution

y sinx= integral of cosxsinx let u=sinx to give
ysinx= integral of cosx./u du/cosx
ysinx= sin^2x +c
y=1/sinx (sin^2x +c)

why are they not the same ?? or are they really the same

I mean if we differentiate either sin^2x or -cos2x/2 we would get back to cosxsinx

2)
(x-2)dy/dx –y = (x-2)^3
dy/dx – y/(x-2)= (x-2)^2
IF= 1/(x-2)
yIF= intergral of QIF

y/(x-2)= integral of (x-2)^2 .1/(x-2)
y/(x-2)= integral of (x-2)

If I were to integrate (x-2) why is it (x-2)^2/2 +c is it the same as x^2/2-2x+c
(I am confused about this one as from expansion I can see its similar but if I put any value for c into either say 1 I get different answers)



3)Finally integral of 1/2x I can do this by dividing by a half
i.e ½ integral of 1/x =1/2 lnx

but is itthe same as 1/2ln2x as this wway I say what must I do to denominator (2x) to get to numerator and then simply multiply this coefficient to the natural log of the bottom

i.e 1/4x+3 = ½ ln 4x+3

Can I only do that if I cannot factorise out a coeff?
 
Physics news on Phys.org
Two typical reasons why using two integration techniques yield different answers are
  • You made a mistake in one or both integrations.
  • The answers are the same, to within an arbitrary constant.

You did both here. \int u du = 1/2u^2 + c. You forgot the factor of 1/2.

The trig substitution and u substitution techniques yield solutions of

\aligned<br /> y\sin x &amp;= -\,\frac 1 4 \cos 2x + c_1 &amp;&amp; \text{trig substitution} \\<br /> &amp;= \phantom{-}\frac 1 2 \sin^2 x + c_2 &amp;&amp; \text{ u-substitution}<br /> \endaligned

With the trig substitution \cos 2x = 1 - 2\sin^2x, the first becomes

y\sin x = -\,\frac 1 4 (1-2\sin^2 x) + c_1 = \frac 1 2 \sin^2 x + c_1 - \frac 1 4[/itex]<br /> <br /> So the two techniques do agree to within an arbitrary constant.
 
so a diff technique will give a diff constant?
 
Not always, but in this case, yes.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K