Skip to main content
deleted 3 characters in body
Source Link
David
  • 15k
  • 4
  • 47
  • 121

We were doing variation of parameters in differential equations tonight and had to do the following integral, the result given by hand calculations.

$$\int \cos t\tan^2 t\,dt=\ln|\sec t+\tan t|-\sin t$$

The students then tried the following in Mathematica:

v2 = Integrate[Cos[t] Tan[t]^2, t]

and got the following result:

-Log[Cos[t/2] - Sin[t/2]] + Log[Cos[t/2] + Sin[t/2]] - Sin[t]

I was able to come home and send them some hand calculatedsome hand calculated steps to equate this to our solution (minus the absolute value), but I was unable to show them equivalency using Mathematica.

Any suggestions?

We were doing variation of parameters in differential equations tonight and had to do the following integral, the result given by hand calculations.

$$\int \cos t\tan^2 t\,dt=\ln|\sec t+\tan t|-\sin t$$

The students then tried the following in Mathematica:

v2 = Integrate[Cos[t] Tan[t]^2, t]

and got the following result:

-Log[Cos[t/2] - Sin[t/2]] + Log[Cos[t/2] + Sin[t/2]] - Sin[t]

I was able to come home and send them some hand calculated steps to equate this to our solution (minus the absolute value), but I was unable to show them equivalency using Mathematica.

Any suggestions?

We were doing variation of parameters in differential equations tonight and had to do the following integral, the result given by hand calculations.

$$\int \cos t\tan^2 t\,dt=\ln|\sec t+\tan t|-\sin t$$

The students then tried the following in Mathematica:

v2 = Integrate[Cos[t] Tan[t]^2, t]

and got the following result:

-Log[Cos[t/2] - Sin[t/2]] + Log[Cos[t/2] + Sin[t/2]] - Sin[t]

I was able to come home and send them some hand calculated steps to equate this to our solution (minus the absolute value), but I was unable to show them equivalency using Mathematica.

Any suggestions?

added 8 characters in body
Source Link

We were doing variation of parameters in differential equations tonight and had to do the following integral, the result given by hand calculations.

$$\int \cos t\tan^2 t\,dt=\ln|\sec t+\tan t|-\sin t$$

The students then tried the following in MathematicaMathematica:

v2 = Integrate[Cos[t] Tan[t]^2, t]

Andand got the following result.:

-Log[Cos[t/2] - Sin[t/2]] + Log[Cos[t/2] + Sin[t/2]] - Sin[t]

-Log[Cos[t/2] - Sin[t/2]] + Log[Cos[t/2] + Sin[t/2]] - Sin[t]

I was able to come home and send them some hand calculated steps to equate this to our solution (minus the absolute value), but I was unable to show them equivalency using MathematicaMathematica.

Any suggestions?

We were doing variation of parameters in differential equations tonight and had to do the following integral, the result given by hand calculations.

$$\int \cos t\tan^2 t\,dt=\ln|\sec t+\tan t|-\sin t$$

The students then tried the following in Mathematica:

v2 = Integrate[Cos[t] Tan[t]^2, t]

And got the following result.

-Log[Cos[t/2] - Sin[t/2]] + Log[Cos[t/2] + Sin[t/2]] - Sin[t]

I was able to come home and send them some hand calculated steps to equate this to our solution (minus the absolute value), but I was unable to show them equivalency using Mathematica.

Any suggestions?

We were doing variation of parameters in differential equations tonight and had to do the following integral, the result given by hand calculations.

$$\int \cos t\tan^2 t\,dt=\ln|\sec t+\tan t|-\sin t$$

The students then tried the following in Mathematica:

v2 = Integrate[Cos[t] Tan[t]^2, t]

and got the following result:

-Log[Cos[t/2] - Sin[t/2]] + Log[Cos[t/2] + Sin[t/2]] - Sin[t]

I was able to come home and send them some hand calculated steps to equate this to our solution (minus the absolute value), but I was unable to show them equivalency using Mathematica.

Any suggestions?

edited tags
Link
Michael E2
  • 245k
  • 18
  • 351
  • 775
edited title
Link
David G. Stork
  • 42.3k
  • 3
  • 37
  • 106
Loading
Source Link
David
  • 15k
  • 4
  • 47
  • 121
Loading