- #1
yoshtov
- 29
- 0
Homework Statement
int[sin(x)*cos(x)]dx
Homework Equations
U-substitution
The Attempt at a Solution
Alternative #1:
u=sin(x)
du=cos(x)dx
intdu = u^2/2 + K = sin^2(x)/2+K
Alternative #2
u=cos(x)
du=-sin(x)dx
-intdu = -u^2/2 + K = -cos^2(x)/2+K
From where I'm sitting, both approaches to using U-substitution are equally valid, but yield different solutions. As near as I can tell, they are not equal. Can you please point out where I made a logical misstep?